]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove unevictable's show_page_path
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Fri, 14 Nov 2008 07:25:01 +0000 (16:25 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Nov 2008 19:36:07 +0000 (11:36 -0800)
commitcb152e99bcdb569d6a0a36e659045fee42bee3d7
treeafe3e4d26bac397788be964d2cd0d89e7b0daa80
parent8dd6e8a4c2564525c94e7d0169a1b2c11e503451
mm: remove unevictable's show_page_path

Hugh Dickins reported show_page_path() is buggy and unsafe because

 - lack dput() against d_find_alias()
 - don't concern vma->vm_mm->owner == NULL
 - lack lock_page()

it was only for debugging, so rather than trying to fix it, just remove
it now.

Reported-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
CC: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
CC: Rik van Riel <riel@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c