Skip to content
  • Nick Piggin's avatar
    mm: percpu-vmap fix RCU list walking · de560423
    Nick Piggin authored
    
    
    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>
    de560423