From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: Re: swsusp 'disk' fails in bk-current - intel_agp at fault? Date: Wed, 30 Mar 2005 00:35:19 +0200 Message-ID: <20050329223519.GI8125@elf.ucw.cz> References: <20050329181831.GB8125@elf.ucw.cz> <20050329192339.GE8125@elf.ucw.cz> <20050329205225.GF8125@elf.ucw.cz> <20050329211239.GG8125@elf.ucw.cz> <20050329214408.GH8125@elf.ucw.cz> <1112135477.29392.16.camel@desktop.cunningham.myip.net.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============24701272069197477==" Return-path: In-Reply-To: <1112135477.29392.16.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces-qjLDD68F18O7TbgM5vRIOg@public.gmane.org Errors-To: linux-pm-bounces-qjLDD68F18O7TbgM5vRIOg@public.gmane.org To: Nigel Cunningham Cc: Vojtech Pavlik , Andy Isaacson , Linux-pm mailing list , Stefan Seyfried , Linux Kernel Mailing List List-Id: linux-pm@vger.kernel.org --===============24701272069197477== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! > > We currently freeze processes for suspend-to-ram, too. I guess that > > disable_usermodehelper is probably better and that in_suspend() should > > only be used for sanity checks... go with disable_usermodehelper and > > sorry for the noise. > > Here's another possibility: Freeze the workqueue that > call_usermodehelper uses (remember that code I didn't push hard enough > to Andrew?), and let invocations of call_usermodehelper block in > TASK_UNINTERRUPTIBLE. In refrigerating processes, don't choke on There may be many devices in the system, and you are going to need quite a lot of RAM for all that... That's why they do not queue it during boot, IIRC. Disabling usermode helper seems right. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! --===============24701272069197477== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============24701272069197477==--