[lkml]   [2002]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] limit buffer_head consumption to 10% of ZONE_NORMAL
On Tue, 27 Aug 2002, Andrew Morton wrote:

> This patch addresses the excessive consumption of ZONE_NORMAL by
> buffer_heads on highmem machines.
> The buffer.c change implements the buffer_head accounting - it sets the
> upper limit on buffer_head memory occupancy to 10% of ZONE_NORMAL.
> A possible side-effect of this change is that the kernel will perform
> more calls to get_block() to map pages to disk. This will only be
> observed when a file is being repeatadly overwritten - this is the only
> case in which the "cached get_block result" in the buffers is useful.

Another possible side effect is writing dirty data to disk
earlier when we've got insane amounts.

All in all, this patch should make the system behave much
more sanely. I like it.

"You're one of those condescending OLS attendants"
"Here's a nickle kid. Go buy yourself a real t-shirt"

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.044 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site