Re: [PATCH,incomplete] shm integration into shrink_mmap

Rik van Riel
2000-06-08T15:35:41Z

On 8 Jun 2000, Christoph Rohland wrote:

> Here is my first proposal for changing shm to be integrated into
> shrink_mmap.
>
> It gives you a function 'int shm_write_swap (struct page *page)'
> to write out a page to swap and replace the pte in the shm
> structures.

> What do you think?

This is a great start. We probably want to make the
shm_write_swap() function a function pointer in the
page->mapping struct so the shrink_mmap() code can
call the same function for every page, but other than
that this is the direction I'd like VM to go.

I've seen Juan Quintela is already looking into your
patch trying to write the missing part, so I guess
I'll continue on the active/inactive/scavenge list
code and not look at your patch in detail today ;)

regards,

Rik
--
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/