Re: [patch 3/5] openmosix/fix-mig-syscall-return.patch

Florian Delizy <[email protected]> Tue, 02 Jan 2007 12:04:40 +0100
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
Vincent Hanquez wrote:
> On Fri, Dec 22, 2006 at 11:46:43PM +0100, Florian Delizy wrote:
>   
>> @@ -162,6 +162,7 @@
>>  #ifdef CONFIG_OPENMOSIX
>>  ENTRY(ret_from_kickstart)
>>  	CFI_STARTPROC
>> +	cli
>>  	swapgs
>>  	RESTORE_ALL 8
>>  	iretq
>>     
>
> can you explain why the cli here ?
>
> Cheers,
>   
Well, if an interrupt occurs in the RESTORE_ALL, "bad things 
happens"(TM) after the swapgs (this is also the standard way to do it ...)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV