lkml.org 
[lkml]   [2003]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Strange dcache memory pressure when highmem enabled
On Wed, 15 Oct 2003 15:46:11 +1000
Neil Brown <neilb@cse.unsw.edu.au> wrote:

> On Tuesday October 14, akpm@osdl.org wrote:
> > Neil Brown <neilb@cse.unsw.edu.au> wrote:
> > >
> > > I noticed that shrink_caches calls shrink_dcache_memory independant
> > > of the classzone that is being shrunk. So if we are trying to
> > > shrink ZONE_HIGHMEM, the dentry_cache is shrunk, even though the
> > > dentry_cache doesn't live in highmem. However I'm not sure if I have
> > > understood the classzones well enough for that observation even to
> > > make sense.
> >
> > Makes heaps of sense. Here's an instabackport of what we did in
> > 2.6:
>
> Hey!!! That's what I call *Service*.
>
> I'll give it a try tomorrow (let the poor students get a feeling of
> stability first before I start changing things again :-)
>
> > + if (classzone - classzone->zone_pgdat->node_zones <
> > + ZONE_HIGHMEM) {
>
> That's the bit I was missing. I feel that once I fully understand
> that, I will be a long way towards understanding the zones memory
> management :-)
>
> NeilBrown

I have another simple advice for you: use the latest 2.4.23-pre. I think I saw
your problem and it seems solved.

Regards,
Stephan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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