Re: [tip: perf/core] perf/x86: Reset the dirty counter to prevent the leak for an RDPMC task

2021-04-16 Thread Liang, Kan
On 4/16/2021 12:45 PM, Peter Zijlstra wrote: On Fri, Apr 16, 2021 at 03:01:48PM -, tip-bot2 for Kan Liang wrote: @@ -2331,6 +2367,9 @@ static void x86_pmu_event_unmapped(struct perf_event *event, struct mm_struct *m if (!(event->hw.flags & PERF_X86_EVENT_RDPMC_ALLOWED))

Re: [tip: perf/core] perf/x86: Reset the dirty counter to prevent the leak for an RDPMC task

2021-04-16 Thread Peter Zijlstra
On Fri, Apr 16, 2021 at 03:01:48PM -, tip-bot2 for Kan Liang wrote: > @@ -2331,6 +2367,9 @@ static void x86_pmu_event_unmapped(struct perf_event > *event, struct mm_struct *m > if (!(event->hw.flags & PERF_X86_EVENT_RDPMC_ALLOWED)) > return; > > + if (x86_pmu.sched_ta

[tip: perf/core] perf/x86: Reset the dirty counter to prevent the leak for an RDPMC task

2021-04-16 Thread tip-bot2 for Kan Liang
The following commit has been merged into the perf/core branch of tip: Commit-ID: 01fd9661e168de7cfc4f947e7220fca0e6791999 Gitweb: https://git.kernel.org/tip/01fd9661e168de7cfc4f947e7220fca0e6791999 Author:Kan Liang AuthorDate:Wed, 14 Apr 2021 07:36:30 -07:00 Committer: