commit | 9dfa9a5c9bae3417b87824e7ac73b00c10b6a874 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Fri Oct 30 14:58:48 2020 +0100 |
committer | Peter Zijlstra <peterz@infradead.org> | Mon Nov 09 18:12:33 2020 +0100 |
tree | 2c36d0070f18e59ff947b56b4ca53ffad5be1744 | |
parent | 267fb27352b6fc9fdbad753127a239f75618ecbc [diff] |
perf/x86: Reduce stack usage for x86_pmu::drain_pebs() intel_pmu_drain_pebs_*() is typically called from handle_pmi_common(), both have an on-stack struct perf_sample_data, which is *big*. Rewire things so that drain_pebs() can use the one handle_pmi_common() has. Reported-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20201030151955.054099690@infradead.org