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

Re: [patch] only-one-cache-query [was Re: [patch] arca-vm-2.2.5]



On Wed, 7 Apr 1999, Andrea Arcangeli wrote:

>I would ask Chuck to bench this my new code (it should be an obvious
>improvement).

Don't try it!! I have a bug in the code that is corrupting the cache
(noticed now).

I am working on a fix now.

I just noticed that kmem_cache_reap can theorically sleep in down() so
here I moved the cookie++ in do_try_to_free_pages(), it will be less
finegrined but safer... But I still have corruption so I am looking at
filemap.c now...

BTW, why kmem_cache_reap() need a serializing semaphore?

Andrea Arcangeli

--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/