]> err.no Git - linux-2.6/commit
mm: fix incorrect variable type in do_try_to_free_pages()
authorkosaki.motohiro@jp.fujitsu.com <kosaki.motohiro@jp.fujitsu.com>
Thu, 12 Jun 2008 22:21:27 +0000 (15:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jun 2008 01:05:39 +0000 (18:05 -0700)
commitc700be3d1320d2be4f04c8a5330186b7df724438
treef6f44d9fc37462ecc7ae7bac6b26c3da9ac29964
parentdf0bcab2c66ac876d5e80864fca5cce944a44540
mm: fix incorrect variable type in do_try_to_free_pages()

"Smarter retry of costly-order allocations" patch series change behaver of
do_try_to_free_pages().  But unfortunately ret variable type was
unchanged.

Thus an overflow is possible.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c