From: Thomas Gleixner Date: Tue, 30 Jun 2009 18:41:25 +0000 (-0700) Subject: dmapools: protect page_list walk in show_pools() X-Git-Tag: v2.6.31-rc2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c49568235dd7b4a2ffad63aa950562f4ffb9455f;p=pandora-kernel.git dmapools: protect page_list walk in show_pools() show_pools() walks the page_list of a pool w/o protection against the list modifications in alloc/free. Take pool->lock to avoid stomping into nirvana. Signed-off-by: Thomas Gleixner Signed-off-by: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed