Re: [PATCH v8]: Hibernation: lower/better control the amount ofpages used for buffering
From: Bojan Smojver
Date: Mon Apr 09 2012 - 22:26:35 EST
On Sun, 2012-04-08 at 10:14 +1000, Bojan Smojver wrote:
> Please ignore this request. As it turns out, the hangs are still
> there, it just takes a bit longer to trigger.
Thanks to Per Olofsson, who actually determined what was going on, we
now know what the problem is.
My "free pages" maths used nr_free_pages() macro, which deals with all
free pages. However, we only allocate buffers from non-high zones. So,
on systems where there is a significant number of high pages free, we
get a very large number (even if only a quarter is used), which then
gets the kernel into a bind and eventually hangs it on page allocation.
Will send a patch shortly, which will also have some other fixes.
--
Bojan
--
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/