Re: [Patch] shm cleanup

2000-12-17 Thread Christoph Rohland
Linus Torvalds <[EMAIL PROTECTED]> writes: > The only comment I have is that as far as I can tell, your shm_writepage() > has a small bug: if "__get_swap_page()" fails, we can't just drop the > dirty page in question, so instead of returning -ENOMEM we should really > return a "1" to tell the VM t

[Patch] shm cleanup

2000-12-17 Thread Christoph Rohland
Hi Linus, Here is my shm cleanup patch. It survived several days of stress testing on my 8way. It is somewhat conservative wrt to locking and the truncate logic could be optimised for speed. But it is robust and passes all the SYSV compatibilty tests I remembered. I had to implement some semant

[PATCH] shm cleanup (2)

2000-12-13 Thread Christoph Rohland
Hi all, Here is my latest patch. It survived ten hours stress testing on my 8way/870MB without oops. (The highmem stuff is too much io/kmap limited and I will come back to this if we have the mm cleanup ready :-( ) It apparently has some race condition left since I had some undead swap entries a