Re: Illegal use of reserved word in system.h

From: Jeff Woods
Date: Thu May 19 2005 - 19:15:50 EST


At 5/19/2005 23:10 +0000, J.A. Magallon wrote:
But the interesting part would be how to know at runtime on what processor I'm running. Will have to look at x86info...

This statement is semantically void. If you were given a hypothetical current_proc_id() function that would tell you, because a userland process can (and normally *will*) be rescheduled at any time from one processor to another, by the time the hypothetical function returns it's answer it may be incorrect. What use would that be?

--
Jeff Woods <kazrak+kernel@xxxxxxxxxxx>

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