lkml.org 
[lkml]   [2017]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: drop hotplug lock from lru_add_drain_all
On Tue, 14 Nov 2017, Thomas Gleixner wrote:

> On Tue, 14 Nov 2017, Michal Hocko wrote:
>
> > On Tue 14-11-17 15:23:47, Michal Hocko wrote:
> > [...]
> > > +/*
> > > + * Doesn't need any cpu hotplug locking because we do rely on per-cpu
> > > + * kworkers being shut down before our page_alloc_cpu_dead callback is
> > > + * executed on the offlined cpu
> > > + */
> > > void lru_add_drain_all(void)
> > > {
> > > static DEFINE_MUTEX(lock);
> >
> > Ble the part of the comment didn't go through
>
> Looks good.

With that added, feel free to add:

Acked-by: Thomas Gleixner <tglx@linutronix.de>

\
 
 \ /
  Last update: 2017-11-14 16:12    [W:0.037 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site