Messages in this thread | | | Subject | Re: Scheduling instructions from userspace. | Date | Wed, 22 Sep 1999 16:28:11 +0100 (BST) | From | Alan Cox <> |
| |
> Is it possible to force an assembly instruction to execute > on a specific CPU in a userspace app ?
No
> If not, I guess it'll have to be done using an insertable kernel > module with a routine such as.. > > for number_of_CPUs { > scheduling magic to switch to desired CPU > instruction > } > > Any pointers on how to write the scheduling part ?
Have a look at arch/i386/kernel/mtrr.c - thats about as hairy as it gets where you need to change the setup on all CPU's at the same time
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |