Messages in this thread | | | Date | Mon, 6 Mar 2017 15:56:12 -0500 | From | Tejun Heo <> | Subject | Re: [PATCH 2/3] percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages |
| |
On Sat, Feb 25, 2017 at 01:00:19PM -0800, Tahsin Erdogan wrote: > Update to pcpu_nr_empty_pop_pages in pcpu_alloc() is currently done > without holding pcpu_lock. This can lead to bad updates to the variable. > Add missing lock calls. > > Fixes: b539b87fed37 ("percpu: implmeent pcpu_nr_empty_pop_pages and chunk->nr_populated") > Signed-off-by: Tahsin Erdogan <tahsin@google.com>
Applied to percpu/for-4.11-fixes w/ stable cc'd.
Thanks.
-- tejun
| |