lkml.org 
[lkml]   [2012]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 6/6] PM / Sleep: Mitigate race between the freezer and request_firmware()
    On 03/25/12 15:04, Rafael J. Wysocki wrote:
    > Index: linux/kernel/power/process.c
    > ===================================================================
    > --- linux.orig/kernel/power/process.c
    > +++ linux/kernel/power/process.c
    > @@ -135,6 +135,7 @@ int freeze_processes(void)
    > error = try_to_freeze_tasks(true);
    > if (!error) {
    > printk("done.");
    > + __usermodehelper_reset(UMH_DISABLED);
    > oom_killer_disable();
    > }
    > printk("\n");

    nitpick: This doesn't seem to be doing a reset, more like a set. Perhaps
    this function should be called __usermodehelper_set()?

    --
    Sent by an employee of the Qualcomm Innovation Center, Inc.
    The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.



    \
     
     \ /
      Last update: 2012-03-26 20:19    [W:4.069 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site