Thread (45 messages) 45 messages, 10 authors, 2007-02-13

Re: [PATCH 6/10] lguest code: the little linux hypervisor.

From: Zachary Amsden <hidden>
Date: 2007-02-09 11:54:38
Also in: lkml

Andi Kleen wrote:
quoted
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.
  
My bad, I fell for the same mistake as everyone.  Set_fs is just way too 
confusing of a name now.  But good to know interrupts must be disable in 
such a circumstance.

Zach
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help