* accounting bh->b_count in page->count
@ 2001-05-06 20:37 Alexey Zhuravlev
2001-05-06 21:03 ` Rik van Riel
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Zhuravlev @ 2001-05-06 20:37 UTC (permalink / raw)
To: linux-mm
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 majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: accounting bh->b_count in page->count
2001-05-06 20:37 accounting bh->b_count in page->count Alexey Zhuravlev
@ 2001-05-06 21:03 ` Rik van Riel
0 siblings, 0 replies; 2+ messages in thread
From: Rik van Riel @ 2001-05-06 21:03 UTC (permalink / raw)
To: Alexey Zhuravlev; +Cc: linux-mm
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-06 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-06 20:37 accounting bh->b_count in page->count Alexey Zhuravlev
2001-05-06 21:03 ` Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox