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)
commit748f1a2ed7a68e15b28a1da3559afbebba121772
treeafe3e4d26bac397788be964d2cd0d89e7b0daa80
parentfb75109834ca5c5e2f0f17f0c9e20182ea55b65f
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