From: Peter Zijlstra <peterz@infradead.org>
To: "Ni@m" <niam.niam@gmail.com>
Cc: davids@webmaster.com, LKML <linux-kernel@vger.kernel.org>
Subject: Re: NPTL
Date: Thu, 12 Jul 2007 14:41:18 +0200 [thread overview]
Message-ID: <1184244078.20032.48.camel@twins> (raw)
In-Reply-To: <a9e22dff0707120537l1a29de93vdd67f146cf36a120@mail.gmail.com>
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!
next prev parent reply other threads:[~2007-07-12 12:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a9e22dff0707120518q16aeae73p2905226abbadd03d@mail.gmail.com>
2007-07-12 12:18 ` NPTL Ni@m
2007-07-12 12:27 ` NPTL David Schwartz
2007-07-12 12:37 ` NPTL Ni@m
2007-07-12 12:41 ` Peter Zijlstra [this message]
[not found] ` <a9e22dff0707120557t574f9383g5363c26074ea6d6a@mail.gmail.com>
2007-07-12 12:58 ` Fwd: NPTL Ni@m
2007-07-12 13:16 ` Bernd Petrovitsch
2007-07-12 16:48 ` Lennart Sorensen
2007-07-12 12:52 ` NPTL jimmy bahuleyan
2007-07-12 12:58 ` NPTL David Schwartz
2005-04-08 17:11 NPTL Greg Weeks
2005-04-08 17:20 ` NPTL sjhill
2005-04-08 17:21 ` NPTL Daniel Jacobowitz
2005-04-08 17:23 ` NPTL sjhill
2005-04-08 18:18 ` NPTL Daniel Jacobowitz
2005-04-08 17:25 ` NPTL Manish Lachwani
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=1184244078.20032.48.camel@twins \
--to=peterz@infradead.org \
--cc=davids@webmaster.com \
--cc=linux-kernel@vger.kernel.org \
--cc=niam.niam@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.