Re: Adding new zone in Linux MM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- 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?

-Thanks,
 Ravi.

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
--
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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux