Re: RFC: Self-snapshotting in Linux

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Jenkins <alan-jenkins@...>
Cc: Peter Teoh <htmldeveloper@...>, Vivek Goyal <vgoyal@...>, <linux-kernel@...>, Huang, Ying <ying.huang@...>, Eric W. Biederman <ebiederm@...>
Date: Thursday, April 17, 2008 - 12:01 pm

Alan Jenkins wrote:
IIRC, linux/kernel/arch/x86/smp_32.c.  I think that the barrier calls 
are macroed in.  I'm not sure about whether or not you can just freeze 
them, but I would think so long as the thread hasn't completed its 
critical section, nothing can really go too wrong (except for the 
universe imploding - but that's a risk we must take!) so long as all the 
memory and registers are put back as they were.  Unfortunately this is 
well above my knowledge to speak on with any authority whatsoever.  My 
gut says that if the barriers are implemented in a rational way and good 
programming principles have been used, it should mostly take care of 
itself (I know the code checks if the process loses the CPU it's on and 
acts accordingly).  I wish I could comment further, but I have to spend 
some heads down time in the code and get a VMWare box up that I can 
break a few dozen times.
I'm not sure off the top of my head.  Peter, do you have any ideas on this?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: RFC: Self-snapshotting in Linux, Peter Teoh, (Thu Apr 17, 2:23 am)
Re: RFC: Self-snapshotting in Linux, Alan Jenkins, (Thu Apr 17, 4:43 am)
Re: RFC: Self-snapshotting in Linux, Scott Lovenberg, (Thu Apr 17, 12:01 pm)