lkml.org 
[lkml]   [2001]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: raid5d, page_launder and scheduling latency
Alan Cox wrote:
>
> > Happily, we've just fixed the four most gross sources of poor
> > interactivity in the kernel, so let's knock over some of the others as
> > well - a few /proc functions. That mainly leaves zap_page_range() and
> > exit() with a lot of open files.
>
> Nowhere near it. We have to fix copy_*_user and strlen_user (there are reasons
> 2.2 uses strnlen_user). Map the same page into 2Gig of address space filled with
> non zero bytes. Map a zero terminator on the end of it. Pass pointers to this
> for all your args and do an exec().

By "interactivity" I mean "things which make it feel jerky".
The commonly occurring things, not the oddball corner cases.

- huge reads from /dev/mem
- exit with 1,000 files open
- exit with half a million pages to be zapped

And "fixing" copy_*_user is outright dumb. Just fix the four
or five places where it matters.

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