Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview

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

 



On 04/23/2010 07:26 PM, Dan Magenheimer wrote:

Looks like "init" == open, "put_page" == write, "get_page" == read,
"flush_page|flush_area" == trim.  The only difference seems to be that
an overwriting put_page may fail.  Doesn't seem to be much of a win,
No, ANY put_page can fail, and this is a critical part of the API
that provides all of the flexibility for the hypervisor and all
the guests. (See previous reply.)

The guest isn't required to do any put_page()s. It can issue lots of them when memory is available, and keep them in the hypervisor forever. Failing new put_page()s isn't enough for a dynamic system, you need to be able to force the guest to give up some of its tmem.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]