From: Andreas Ferber <aferber@techfak.uni-bielefeld.de>
To: Danek Duvall <duvall@emufarm.org>
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: root-owned /proc/pid files for threaded apps?
Date: Fri, 8 Mar 2002 22:29:42 +0100 [thread overview]
Message-ID: <20020308222942.A7163@devcon.net> (raw)
In-Reply-To: <20020307060110.GA303@lorien.emufarm.org> <E16iyBW-0002HP-00@the-village.bc.nu> <20020308100632.GA192@lorien.emufarm.org> <20020308195939.A6295@devcon.net> <20020308203157.GA457@lorien.emufarm.org>
In-Reply-To: <20020308203157.GA457@lorien.emufarm.org>; from duvall@emufarm.org on Fri, Mar 08, 2002 at 12:31:57PM -0800
On Fri, Mar 08, 2002 at 12:31:57PM -0800, Danek Duvall wrote:
>
> So it also turns out that either by changing that argument to 0 or just
> reverting that hunk of the patch, xmms starts skipping whenever mozilla
> loads a page, even a really simple one.
ie. always when mozilla tries to do a socket(PF_INET6, ...), which
ends up requesting the ipv6 module.
As a side note, IMHO it would be sensible to have some way of
disabling module autoloading of protocol modules in the network stack.
As more and more apps start supporting IPv6, those ipv6 module
requests are getting more frequent on machines without IPv6 support
(the vast majority for now), which might turn into a real performance
penalty (fork+exec+wait for modprobe finish...)
> Disk activity and other network
> activity don't seem to cause the skipping, and the skipping disappears
> when I go back to an unaltered ac kernel, so there seems to be something
> wrong with set_user(0, 0) as well, just a different problem.
Uhm, this one seems rather strange. AFAICT, the dumpable flag is used
purely for access control to the processes in-memory data, ie.
/proc/<pid>/*, coredump generation etc., it doesn't affect scheduler,
memory management or the like.
Maybe it's related to the wmb() done by set_user() if dumpclear is
set? (although it's actually a nop on most x86 (which arch are you
using?))
Just for testing, can you try moving the wmb() in set_user()
(kernel/sys.c, line 512 in 2.4.19-pre2-ac3) out of the if statement?
(ie. put it right after the closing brace)
Andreas
--
Andreas Ferber - dev/consulting GmbH - Bielefeld, FRG
---------------------------------------------------------
+49 521 1365800 - af@devcon.net - www.devcon.net
next prev parent reply other threads:[~2002-03-08 21:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-07 6:01 root-owned /proc/pid files for threaded apps? Danek Duvall
2002-03-07 7:43 ` Danek Duvall
2002-03-07 13:43 ` Alan Cox
2002-03-08 10:06 ` Danek Duvall
2002-03-08 13:33 ` Alan Cox
2002-03-08 18:59 ` Andreas Ferber
2002-03-08 20:31 ` Danek Duvall
2002-03-08 21:29 ` Andreas Ferber [this message]
2002-03-08 21:41 ` Danek Duvall
2002-03-08 22:30 ` Andreas Ferber
2002-03-09 3:09 ` Danek Duvall
2002-03-10 20:37 ` Andreas Ferber
2002-03-08 21:47 ` J Sloan
2002-03-08 21:59 ` Danek Duvall
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=20020308222942.A7163@devcon.net \
--to=aferber@techfak.uni-bielefeld.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=duvall@emufarm.org \
--cc=linux-kernel@vger.kernel.org \
/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