Message ID | 5558236.DvuYhMxLoT@kreacher |
---|---|
State | New |
Headers | show |
Series | cpuidle: intel_idle: Kerneldoc update and cleanup | expand |
On Tue, Mar 15, 2022 at 8:37 PM Rafael J. Wysocki <rjw@rjwysocki.net> wrote: > > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > Commit bf9282dc26e7 ("cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic") > moved the leave_mm() call away from intel_idle(), but it didn't update > its kerneldoc comment accordingly, so do that now. > > Fixes: bf9282dc26e7 ("cpuidle: Make CPUIDLE_FLAG_TLB_FLUSHED generic") > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > --- > drivers/idle/intel_idle.c | 3 --- > 1 file changed, 3 deletions(-) > > Index: linux-pm/drivers/idle/intel_idle.c > =================================================================== > --- linux-pm.orig/drivers/idle/intel_idle.c > +++ linux-pm/drivers/idle/intel_idle.c > @@ -122,9 +122,6 @@ static unsigned int mwait_substates __in > * If the local APIC timer is not known to be reliable in the target idle state, > * enable one-shot tick broadcasting for the target CPU before executing MWAIT. > * > - * Optionally call leave_mm() for the target CPU upfront to avoid wakeups due to > - * flushing user TLBs. > - * > * Must be called under local_irq_disable(). > */ > static __cpuidle int intel_idle(struct cpuidle_device *dev, > Assuming no objections, so applied.
Index: linux-pm/drivers/idle/intel_idle.c =================================================================== --- linux-pm.orig/drivers/idle/intel_idle.c +++ linux-pm/drivers/idle/intel_idle.c @@ -122,9 +122,6 @@ static unsigned int mwait_substates __in * If the local APIC timer is not known to be reliable in the target idle state, * enable one-shot tick broadcasting for the target CPU before executing MWAIT. * - * Optionally call leave_mm() for the target CPU upfront to avoid wakeups due to - * flushing user TLBs. - * * Must be called under local_irq_disable(). */ static __cpuidle int intel_idle(struct cpuidle_device *dev,