diff options
author | David Rientjes | 2012-08-29 04:57:21 +0200 |
---|---|---|
committer | Linus Torvalds | 2012-08-29 20:32:21 +0200 |
commit | 51cd8e6ff265650e35e46b5bcbe2ee381a7a2877 (patch) | |
tree | 810b33b488093ecac152252cbe22d4d62c7c9763 /fs/btrfs/super.c | |
parent | Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | kernel-qcow2-linux-51cd8e6ff265650e35e46b5bcbe2ee381a7a2877.tar.gz kernel-qcow2-linux-51cd8e6ff265650e35e46b5bcbe2ee381a7a2877.tar.xz kernel-qcow2-linux-51cd8e6ff265650e35e46b5bcbe2ee381a7a2877.zip |
mm, slab: lock the correct nodelist after reenabling irqs
cache_grow() can reenable irqs so the cpu (and node) can change, so ensure
that we take list_lock on the correct nodelist.
This fixes an issue with commit 072bb0aa5e06 ("mm: sl[au]b: add
knowledge of PFMEMALLOC reserve pages") where list_lock for the wrong
node was taken after growing the cache.
Reported-and-tested-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/btrfs/super.c')
0 files changed, 0 insertions, 0 deletions