lkml.org 
[lkml]   [1997]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: X and VT-switching bug?
Zlatko Calusic wrote:

> Did anybody in fact EVER saw error message from mm/vmscan:478?
>
> printk("kswapd: failed, got %d of %d\n",
> nr_free_pages, min_free_pages);
>
> Just curious if that change was needed. :)
> I had never seen it.

I think one or two people have reported it, but it should be very rare.
But it is possible for the system to get in a state where
try_to_free_page() fails repeatedly.

It would be nice if try_to_free_page() could return more information,
such as an indication of whether further attempts would be of any use.
This probably wouldn't be too hard to add; just create a data structure
for tracking information like number of locked pages, pages needing
aging, etc. This would allow a smarter decision to be made about whether
to keep trying.

Regards,
Bill

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.064 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site