Messages in this thread | | | Date | Mon, 31 May 2004 20:42:00 +1000 | From | Nick Piggin <> | Subject | Re: swappiness=0 makes software suspend fail. |
| |
Andrew Morton wrote: > Pavel Machek <pavel@suse.cz> wrote: > >>Right solution is to make sure that shrink_all_memory() works, no >> matter how swappiness is set. > > > off-by-one in balance_pgdat() was the main problem. >
I think it might be intentional, because 1/2 + 1/4 + ... + 1/4096 ~ 1.
If so, it instead needs fixing in try_to_free_pages, and a comment. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |