accounting bh->b_count in page->count
Hello!
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...
--
poka, lexa
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Quoted 4 lines · Alexey Zhuravlev
why do not change
bh->b_page->counton getblk/brelse? this could prevent situation when a page that can't be freed bytry_to_free_buffersfrom buffercache lives oninactive_dirtylist 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 [email protected] (spam digging piggy)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/