lkml.org 
[lkml]   [2018]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] mm, slab: reschedule cache_reap() on the same CPU
On Tue, Apr 10, 2018 at 09:12:08AM -0500, Christopher Lameter wrote:
> > @@ -4074,7 +4086,8 @@ static void cache_reap(struct work_struct *w)
> > next_reap_node();
> > out:
> > /* Set up the next iteration */
> > - schedule_delayed_work(work, round_jiffies_relative(REAPTIMEOUT_AC));
> > + schedule_delayed_work_on(reap_work->cpu, work,
> > + round_jiffies_relative(REAPTIMEOUT_AC));
>
> schedule_delayed_work_on(smp_processor_id(), work, round_jiffies_relative(REAPTIMEOUT_AC));
>
> instead all of the other changes?

Yeah, that'd make more sense.

Thanks.

--
tejun

\
 
 \ /
  Last update: 2018-04-10 16:17    [W:0.137 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site