Re: getting processor numbers

From: H. Peter Anvin
Date: Tue Apr 03 2007 - 20:39:11 EST


Jeremy Fitzhardinge wrote:
H. Peter Anvin wrote:
Sounds like it would need a device which can be waited upon for changes.

A vdso-like shared page could have a futex in it.

Yes, but a futex couldn't be waited upon with a bunch of other things as part of a poll or a select. The cost of reading the information is minimal.

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