From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: swsusp3: system suspend/resume from userspace Date: Wed, 21 Sep 2005 20:32:30 +1000 Message-ID: <1127298751.4386.114.camel@gaston> References: <20050901201714.GA2027@openzaurus.ucw.cz> <1127259699.4386.82.camel@gaston> <20050921101811.GC25297@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============15474866681678923==" Return-path: In-Reply-To: <20050921101811.GC25297@atrey.karlin.mff.cuni.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Pavel Machek Cc: Linux-pm mailing list , Nigel Cunningham List-Id: linux-pm@vger.kernel.org --===============15474866681678923== Content-Type: text/plain Content-Transfer-Encoding: 7bit > I still do my "userspace freezing", except that it does not freeze the > process doing that. (Thats no change from previous design, > BTW). System snapshot works single CPU and with interrupts disabled; > so it indeed should be atomic. That should mean there are no > interesting races, as long as userspace app is not doing anything > stupid. Which include things like taking page faults etc... are you mlock'ing it all ? I really don't see the point though. It's not like we actually need a 3rd version of swsusp, and there are plenty of other more important things to work on ! > Userland application is currently simple port of kernel swsusp.c into > userspace, so it should not do anything stupid... > > Pavel --===============15474866681678923== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============15474866681678923==--