Re: sched_setaffinity usability

From: Ulrich Drepper
Date: Thu Mar 18 2004 - 03:48:25 EST


Replying to my own post.

Forget the proposed patch. If we ever want to get the new interfaces
standardized saying the affinity mask is undefined after a failed
setaffinity call is not acceptable.

So I'm going to hardcode the fact that the value returned by a
successful getaffinity call will never change. Regardless of how many
hotplug CPUs as added. Can this be guaranteed?

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-
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/