mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Lameter <clameter@sgi.com>
To: Roland McGrath <roland@redhat.com>
Cc: Ulrich Drepper <drepper@redhat.com>,
	akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/7] cpu-timers: high-resolution CPU clocks for POSIX clock_* syscalls
Date: Tue, 14 Dec 2004 13:58:25 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0412141355170.4330@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <200412142150.iBELoJc0011582@magilla.sf.frob.com>

On Tue, 14 Dec 2004, Roland McGrath wrote:

> I believe Christoph may have been referring exclusively to the per-process
> clocks, not the per-thread clocks.  I'm not entirely sure since he used the
> term "process" exclusively, but quoted my paragraph about the per-thread
> clock access.  Ulrich's reply is apropos to the individual thread clocks.
>
> It was about the per-process clocks that I raised the question.  For those,
> POSIX says it's implementation-defined what process can see the CPU clock
> of another process.  That means we can make it as restricted or as free as
> we like, but we are obliged to document up front for the users what the
> semantics are.  That's why I would like to make sure we have thought a
> little about the choices now, rather than someone coming along later and
> deciding we really ought to impose security on it (which might be be
> changing the story after developers reasonably coded to the
> implementation-defined behavior we documented in the first place).

The threads are processes under Linux and thus may also be identified by a
pid. You are right, this is a Linux centric view and this identificaition
is not applicable to other systems.

  reply	other threads:[~2004-12-14 22:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-14  3:55 Roland McGrath
2004-12-14 18:36 ` Christoph Lameter
2004-12-14 21:38   ` Ulrich Drepper
2004-12-14 21:50     ` Roland McGrath
2004-12-14 21:58       ` Christoph Lameter [this message]
2004-12-14 22:18       ` Linus Torvalds
2004-12-14 22:26         ` Ulrich Drepper
2004-12-14 22:44           ` Linus Torvalds
2004-12-14 23:08             ` Roland McGrath
2004-12-14 22:14   ` Roland McGrath
2004-12-14 22:23     ` Christoph Lameter
2004-12-15 18:43     ` Christoph Lameter
     [not found] <200412140355.iBE3t7KL008040@magilla.sf.frob.com.suse.lists.linux.kernel>
2004-12-14 19:07 ` Andi Kleen
2004-12-14 22:44   ` Ulrich Drepper
2004-12-15  4:51     ` Andi Kleen

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=Pine.LNX.4.58.0412141355170.4330@schroedinger.engr.sgi.com \
    --to=clameter@sgi.com \
    --cc=akpm@osdl.org \
    --cc=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@redhat.com \
    --cc=torvalds@osdl.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

all inboxes | Powered by JetHome®