[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1184244078.20032.48.camel@twins>
Date: Thu, 12 Jul 2007 14:41:18 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: "Ni@m" <niam.niam@...il.com>
Cc: davids@...master.com, LKML <linux-kernel@...r.kernel.org>
Subject: Re: NPTL
On Thu, 2007-07-12 at 15:37 +0300, Ni@m wrote:
> So I can say that in linux 'thread' == 'process'?
No, a process also contains an address space.
> Is kernel routine 'kthread' creating a process?
No, that is creating a schedule unit (task) without an address space.
> I'm just thinking on this subject: if to create 'real threads' - will
> it increase performance? Should I ever think in this way?
> When I say 'real thread' - I mean the thread that doen't switch
> context when it's starting to run.
Surely you need some context switch when switching between runnable
contexts.
BTW, please do _NOT_ top post!
-
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