Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert "mm: oom analysis: add buffer cache information to show_free_a…
…reas()" Revert commit 71de1cc Author: KOSAKI Motohiro <[email protected]> AuthorDate: Mon Sep 21 17:01:31 2009 -0700 Commit: Linus Torvalds <[email protected]> CommitDate: Tue Sep 22 07:17:27 2009 -0700 mm: oom analysis: add buffer cache information to show_free_areas() show_free_areas() is called during page allocation failures, and page allocation failures can occur in any calling context. But nr_blockdev_pages() takes VFS locks which should not be taken from hard IRQ context (at least). The result is lockdep warnings (and deadlockability) during page allocation failures. Cc: KOSAKI Motohiro <[email protected]> Cc: Wu Fengguang <[email protected]> Cc: Rik van Riel <[email protected]> Cc: David Rientjes <[email protected]> Cc: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information