Messages in this thread | | | Date | Tue, 10 Apr 2018 07:17:07 -0700 | From | Tejun Heo <> | Subject | Re: [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
| |