Skip to content
Commit de560423 authored by Nick Piggin's avatar Nick Piggin Committed by Linus Torvalds
Browse files

mm: percpu-vmap fix RCU list walking



RCU list walking of the per-cpu vmap cache was broken.  It did not use
RCU primitives, and also the union of free_list and rcu_head is
obviously wrong (because free_list is indeed the list we are RCU
walking).

While we are there, remove a couple of unused fields from an earlier
iteration.

These APIs aren't actually used anywhere, because of problems with the
XFS conversion.  Christoph has now verified that the problems are solved
with these patches.  Also it is an exported interface, so I think it
will be good to be merged now (and Christoph wants to get the XFS
changes into their local tree).

Cc: stable@kernel.org
Cc: linux-mm@kvack.org
Tested-by: default avatarChristoph Hellwig <hch@infradead.org>
Signed-off-by: default avatarNick Piggin <npiggin@suse.de>
--
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 489b24f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment