On Thu, 1 Jun 2000, Matt Yourst wrote:
> Christoph Rohland <email@example.com> writes:
> >> I guess we really want to integrate the SHM swapout routine
> >> with shrink_mmap...
> > I would love to integrate the whole shm page handling into the page
> > cache.
> I have some code that does this quite nicely using a variant of
> ramfs that simply maintains a hash table of any swapped out
> pages (i.e., offset->swp_entry_t mappings.) The performance of
> this was excellent and simple (code was less than ~200 lines).
> However, I can't post it right now since it only supports the
> new shm_open() style virtual mappings (not the current SysV
> IPC-style shmget/shmat/etc. system),
IMHO this is quite important. Integrating the shm swap code with
shrink_mmap will make it possible to have a better "natural" balance
between the different memory users in the system.
-- The Internet is not a network of computers. It is a network of people. That is its real strength.
Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies http://www.conectiva.com/ http://www.surriel.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:12 EST