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! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Dmitry Torokhov <[email protected]>
- Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Nigel Cunningham <[email protected]>
- Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- References:
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Pavel Machek <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Dmitry Torokhov <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Pavel Machek <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Dmitry Torokhov <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Pavel Machek <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Dmitry Torokhov <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Dmitry Torokhov <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Pavel Machek <[email protected]>
- Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- From: Nigel Cunningham <[email protected]>
- Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- Prev by Date: Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10
- Next by Date: Re: Do not misuse Coverity please (Was: sound/oss/cs46xx.c: fix a check after use)
- Previous by thread: Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- Next by thread: Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault?
- Index(es):