[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080813111635.657febc0@infradead.org>
Date: Wed, 13 Aug 2008 11:16:35 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Ulrich Drepper <drepper@...hat.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>, akpm@...ux-foundation.org,
hugh@...itas.com, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
briangrant@...gle.com, cgd@...gle.com, mbligh@...gle.com,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>
Subject: Re: pthread_create() slow for many threads; also time to revisit
64b context switch optimization?
On Wed, 13 Aug 2008 11:04:29 -0700
Ulrich Drepper <drepper@...hat.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Linus Torvalds wrote:
> > Ulrich, I don't understand why you worry more about a _potential_
> > (and fairly unlikely) complaint, than about a real one today.
>
> Of course I care. All I try to do is to prevent going from one
> extreme (all focus on P4s) to the other (ignore P4s completely).
(fwiw as far as I know this is only about early 64 bit P4s, not later
generations)
>
> Even ignoring this one case here, I think it's in any case useful for
> userlevel to tell the kernel that an anonymous memory region is needed
> for a stack. This might allow better optimizations and/or security
> implementations.
yeah maybe we should also tell it we expect it to be used downwards.
Oh wait.. MAP_GROWSDOWN ?
--
If you want to reach me at my work email, use arjan@...ux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists