summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorKirill Korotaev2006-06-23 11:03:50 +0200
committerLinus Torvalds2006-06-23 16:42:52 +0200
commit8f9de51a4a98ba32f839903b7d009788bc2c295d (patch)
tree65cde3cd75bfc1df172f53ca956cba4fa4954a4e /mm/migrate.c
parent[PATCH] Delete unused definitions of kvaddr_to_nid (diff)
downloadkernel-qcow2-linux-8f9de51a4a98ba32f839903b7d009788bc2c295d.tar.gz
kernel-qcow2-linux-8f9de51a4a98ba32f839903b7d009788bc2c295d.tar.xz
kernel-qcow2-linux-8f9de51a4a98ba32f839903b7d009788bc2c295d.zip
[PATCH] printk() should not be called under zone->lock
This patch fixes printk() under zone->lock in show_free_areas(). It can be unsafe to call printk() under this lock, since caller can try to allocate/free some memory and selfdeadlock on this lock. I found allocations/freeing mem both in netconsole and serial console. This issue was faced in reallity when meminfo was periodically printed for debug purposes and netconsole was used. Signed-off-by: Kirill Korotaev <dev@openvz.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions