lkml.org 
[lkml]   [2012]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v8]: Hibernation: lower/better control the amount of pages used for buffering
From
Date
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



\
 
 \ /
  Last update: 2012-04-10 04:29    [W:0.040 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site