Re: [RFC] mm, slab: reschedule cache_reap() on the same CPU
From: Tejun Heo
Date: Tue Apr 10 2018 - 16:24:02 EST
Hello,
On Tue, Apr 10, 2018 at 10:13:33PM +0200, Vlastimil Babka wrote:
> > For percpu work items, they'll keep executing on the same cpu it
> > started on unless the cpu goes down while executing.
>
> Right, but before this patch, with just schedule_delayed_work() i.e.
> non-percpu? If such work can migrate in the middle, the slab bug is
> potentially much more serious.
That's still per-cpu. The only time the local binding breaks is when
the kernel is explicitly told to do so through explicit unbound_mask
or force_rr debug option.
Thanks.
--
tejun