Re: sched_setaffinity usability

From: Christoph Hellwig
Date: Thu Mar 18 2004 - 07:09:19 EST


On Thu, Mar 18, 2004 at 12:29:13PM +0100, Ingo Molnar wrote:
> or, maybe it would be better to introduce some sort of 'system
> constants' syscall that would be a generic umbrella for such things -
> and could easily be converted into a vsyscall. Or we could make it part
> of the .data section of the VDSO - thus no copying overhead, only one
> symbol lookup.

Like, umm, the long overdue sysconf()? For the time beeing a sysctl might
be the easiest thing..

-
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/