From: Andrew Morton <andrewm@uow.edu.au>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Neil Brown <neilb@cse.unsw.edu.au>, Mike Black <mblack@csihq.com>,
lkml <linux-kernel@vger.kernel.org>,
ext2-devel@lists.sourceforge.net
Subject: Re: raid5d, page_launder and scheduling latency
Date: Sun, 15 Jul 2001 02:42:07 +1000 [thread overview]
Message-ID: <3B50765F.6ECF7B17@uow.edu.au> (raw)
In-Reply-To: <3B507380.79381536@uow.edu.au> from "Andrew Morton" at Jul 15, 2001 02:29:52 AM <E15LSMl-0001Pk-00@the-village.bc.nu>
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.
-
next prev parent reply other threads:[~2001-07-14 16:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-14 16:29 Andrew Morton
2001-07-14 16:34 ` Alan Cox
2001-07-14 16:42 ` Andrew Morton [this message]
2001-07-14 16:43 ` Alan Cox
2001-07-14 16:48 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B50765F.6ECF7B17@uow.edu.au \
--to=andrewm@uow.edu.au \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=ext2-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mblack@csihq.com \
--cc=neilb@cse.unsw.edu.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®