[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding new zone in Linux MM
On Tue, 8 Jan 2002, Ravi K wrote:
> --- Rik van Riel <riel@conectiva.com.br> wrote:
> > The big problem is teaching kswapd to not try and
> > free pages in this zone, since it will never succeed
> > if you have all pages used and you don't want kswapd
> > to loop ;)
>
> Can it be handled by one additional check in
> __alloc_pages()? If need_balance is never set for the
> new zone, kswapd shouldn't touch it.
> Of course, users of the new zone should be coded to
> handle null return values. Apart from this, is there
> anything else to worry about?
That should work, indeed.
Rik
--
Shortwave goes a long way: irc.starchat.net #swl
http://www.surriel.com/ http://distro.conectiva.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/