Re: [PATCH] shrink_list: Use of && instead || leads to unintendedwriting of pages

From: Christoph Lameter
Date: Thu Jan 19 2006 - 19:49:14 EST


On Thu, 19 Jan 2006, Andrew Morton wrote:

> The effects of this fix will be a) slightly improved memory allocator
> latency, b) somehat improved disk writeout patterns and c) somewhat
> increased risk of ooms.

If we do not operate in laptop mode and are not using zone_reclaim
(!may_writepage) which is the common case then there will be no effect at
all.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/