[lkml]   [2007]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 6/10] lguest code: the little linux hypervisor.
From: Andi Kleen <>
Date: Fri, 9 Feb 2007 12:50:06 +0100

> > Yes, it is a bit, umm, innovative. If it is going to be kept, even if
> > just for devel logging, you should disable interrupts around it.
> > Changing segments is not a normal thing to do.
> Actually that wouldn't be needed because interrupts are not allowed to do any
> user accesses. And contrary to the name it doesn't actually change
> the segment registers, only state used by *_user.

That's right and we use this construct all throughout the
syscall compatibility layer for 64-bit platforms.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-02-09 23:35    [W:0.205 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site