Skip to contentSkip to conversation

Intel P6 vs P7 system call performance

DISCUSSION John Reiser 1 participant 1 message Dec 17, 2002

lore
Share & tools
lore
#0 lore raw

On Mon, 16 Dec 2002, Linus Torvalds wrote [regarding vsyscall implementation]:

Quoted 1 line

The good news is that the kernel part really looks pretty clean.

Where is the CPU serializing instruction which must be executed before return to user mode, so that kernel accesses to hardware devices are guaranteed to complete before any subsequent user access begins? (Otherwise a read/write by the user to a memory-mapped device page can appear out-of-order with respect to the kernel accesses in a preceding syscall.) The only generally useful serializing instructions are IRET and CPUID; only IRET is implemented univerally.

Signature · 1 line
John Reiser, [email protected]