commit | c49568235dd7b4a2ffad63aa950562f4ffb9455f | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Tue Jun 30 11:41:25 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jun 30 18:56:00 2009 -0700 |
tree | fbfcc2e0ffc4a82bd9f481e1a746bfb49955800f | |
parent | 4d6c13f87db12ae1ce35ea6a15688ac72419b133 [diff] |
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 <tglx@linutronix.de> Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>