From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCHSET 0/6 version 2] kmod: Optional timeout on the wait in call_usermodehelper_exec Date: Tue, 27 Mar 2012 14:07:09 -0700 Message-ID: <20120327140709.60ab7bda.akpm@linux-foundation.org> References: <4F691059.30405@panasas.com> <4F711EA2.4030608@panasas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Oleg Nesterov , Tetsuo Handa , , Ingo Molnar , Peter Zijlstra , Paul Turner , Thomas Gleixner , linux-fsdevel , linux-kernel , NFS list , Trond Myklebust , "Bhamare, Sachin" , David Howells , Eric Paris , "Srivatsa S. Bhat" , Kay Sievers , James Morris , "Eric W. Biederman" , Greg Kroah-Hartman , "Rafael J. Wysocki" , "keyrings-6DNke4IJHB0gsBAKwltoeQ@public.gmane.org" To: Boaz Harrosh Return-path: In-Reply-To: <4F711EA2.4030608-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 26 Mar 2012 18:57:54 -0700 Boaz Harrosh wrote: > My motivation is that I added yet another Kernel dependency on the > call_usermodehelper() function and am not completely happy with the > error case of having the user-mode program stuck forever. In such > case I would like the Kernel part to timeout and properly error recover > and clean up. So therefor the proposed 5th patch. Before adding a new feature we should hear more about why you think it's needed. afaik we haven't needed this capability in the past ten years or so and may not need it for another ten. Hence we probably shouldn't add it! IOW, please explain at some length why you need this. Do you think that there are existing call sites which can usefully use this feature? Do you expect that new callers are likely to need this? etcetera. Patches 1-3 are general cleanups and look good, so I grabbed those. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html