lkml.org 
[lkml]   [2004]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dentry bloat.
Arjan van de Ven <arjanv@redhat.com> wrote:
>
> On Mon, 2004-05-10 at 10:27, Helge Hafting wrote:
> > Matt Mackall wrote:
> >
> > >One also wonders about whether all the RCU stuff is needed on UP. I'm
> > >not sure if I grok all the finepoints here, but it looks like the
> > >answer is no and that we can make struct_rcu head empty and have
> > >call_rcu fall directly through to the callback. This would save
> > >something like 16-32 bytes (32/64bit), not to mention a bunch of
> > >dinking around with lists and whatnot.
> > >
> > >So what am I missing?
> > >
> > >
> > Preempt can happen anytime, I believe.
>
> ok so for UP-non-preempt we can still get those 16 bytes back from the
> dentry....

I suppose so. And on small SMP, really. We chose not to play those games
early on so the code got the best testing coverage.

-
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 14:03    [W:0.662 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site