lkml.org 
[lkml]   [2004]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] call_usermodehelper hang
Brian King <brking@us.ibm.com> wrote:
>
> >> Ok, you've convinced me of the mess that would cause. So what should we
> >> do to help fix this? Serialize call_usermodehelper()?
> >
> >
> > May as well bring back call_usermodehelper_async() I guess.
> >
> >
> > There are two patches here, and they are totally untested...
>
> I loaded the patches on my ppc64 box and they worked fine after I fixed a compile
> bug. The attached patch fixes the compile bug and changes the call_usermodehelper
> call in kset_hotplug to call_usermodehelper_async.

yup, thanks. I've changed the patch in my tree so that we always perform
the fully-async operation if call_usermodehelper() is passed "wait=0". It
gets the new code some more testing and keeps the kernel API simpler.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.056 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site