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

Re: accounting bh->b_count in page->count



On Mon, 7 May 2001, Alexey Zhuravlev wrote:

> why do not change bh->b_page->count on getblk/brelse?
> this could prevent situation when a page that can't be
> freed by try_to_free_buffers from buffercache lives on
> inactive_dirty list and VM try to free it every time...

We have to watch out for one thing though ... we have
to be able to write inactive_dirty pages to disk without
having them move back to the active list ;)

regards,

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/		http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/