Messages in this thread | | | Date | Mon, 17 Jan 2005 15:36:54 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] [request for inclusion] Realtime LSM |
| |
* Sytse Wielinga <s.b.wielinga@student.utwente.nl> wrote:
> We are talking about two different things here. POSIX is just about > API and has, correct me if I'm wrong, nothing to do with system calls > whatsoever. The manpage nice(2) is about the libc library call nice(), > which is per-process, which it should be according to POSIX. The > system call, called sys_nice() in C, is per-thread. Apparently glibc > or some thread library contains some magic to make the translation.
AFAIK there's no such translation at the glibc level - i.e. you'll get per-thread semantics. (glibc really needs kernel help to do the per-process things cleanly.) Anyway, this hasnt been a big issue in the past, and especially for the current testing purpose this behavior is what we need right now.
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |