lkml.org 
[lkml]   [2004]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux speed on sun4c
Did anybody wrote a patch for that?

Nico

David S. Miller [Tue, Jul 03, 2001 at 04:07:16PM -0700]:
>
> Guenter Millahn writes:
> > David, can you publish your idea for a fix? Possibly anybody elese can make
> > the patch?
>
> Currently under Linux when a constext is recycled because a new
> context is needed but all are in use, we basically toss all of
> the MMU segments that context owned.
>
> This is bogus because if the contexts are the limited resource
> not the MMU segments themselves, we take a lot of false MMU
> misses on each context switch for no reason.
>
> The solution is to link the MMU segment software state structures
> into the mm_struct. When an 'mm' reacquires a hw context, if any
> MMU segments remain on the mm's list, just pluck them back into
> the MMU.
>
> Later,
> David S. Miller
> davem@redhat.com
> -
> 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/
>

--
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.048 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site