lkml.org 
[lkml]   [1998]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Re: Out Of Memory in v. 2.1
AA> - __get_free_pages() was stalling everything. The system was running
AA> try_to_free_pages() all the time. Now it run try_to_free_pages only
AA> if really there isn' t a free page in the page-order-list. If
AA> try_to_free_pages has freed the whole chunk we try again because
AA> we are sure we' ll find a free page.
AA> And if we can' t free a chunk of pages by hand using try_to_free_pages()
AA> kswapd won' t do better so I don't wakeup it.

I'm not a mm expert (far from it really) but the last two lines sound
suspicios to me. Isn't this what kswapd is made for? Are you duplicating
its work? IOW, it seems not so clear to me.

--
Meelis Roos (mroos@tartu.cyber.ee)

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

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2011 Jasper Spaans