Re: [PATCH 1/7] cpu-timers: high-resolution CPU clocks for POSIXclock_* syscalls
From: Linus Torvalds
Date: Tue Dec 14 2004 - 18:03:15 EST
On Tue, 14 Dec 2004, Ulrich Drepper wrote:
>
> Indeed. It's so much easier to grant additional rights at a later time
> than to take something away for whatever reasons.
Yes.
> Globally accessible clocks would need to have the semantic carefully
> defined, SELinux hooks would have to be added etc.
More interestingly (where "interesting" is defined as "could be really
nasty") it's likely to interact very badly in cases where we have some
_physically_ local clocks. Ie we might have some situation where we do
some node-local thing for intra-node scheduling, with some other clock for
inter-node scheduling. Exposing such a clock to a process that isn't
actually using it could result in the node-local clock source suddenly
needing to be exposed outside the node.
Think single-image clusters etc.
So in general, it's better to try to keep things as local as possible,
even if it's not a visibility issue today. Some day you might be happy you
did..
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/