]> err.no Git - linux-2.6/commit
Revert "[PATCH] mm: micro optimise zone_watermark_ok"
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Feb 2007 00:43:36 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 1 Feb 2007 00:46:40 +0000 (16:46 -0800)
commit6fd6b17c6d9713f56b5f20903ec3e00fa6cc435e
treef5dd7477e48fc5a1184d3472548291397be9c2b5
parentf56df2f4db6e4af87fb8e941cff69f4501a111df
Revert "[PATCH] mm: micro optimise zone_watermark_ok"

This reverts commit e80ee884ae0e3794ef2b65a18a767d502ad712ee.

Pawel Sikora had a boot-time oops due to it - because the sign change
invalidates the following comparisons, since 'free_pages' can be
negative.

The micro-optimization just isn't worth it.

Bisected-by: Pawel Sikora <pluto@agmk.net>
Acked-by: Andrew Morton <akpm@osdl.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c