From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleg Nesterov Subject: Re: [RFC 4/4] {RFC} kmod.c: Add new call_usermodehelper_timeout() API Date: Thu, 22 Mar 2012 15:42:46 +0100 Message-ID: <20120322144246.GA13873@redhat.com> References: <4F691059.30405@panasas.com> <4F691383.5040506@panasas.com> <4F6A92FC.6060702@panasas.com> <20120322142758.GA12370@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Tetsuo Handa , "Rafael J. Wysocki" , keyrings-6DNke4IJHB0gsBAKwltoeQ@public.gmane.org, linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, 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 KH , Rusty Russell , Tejun Heo , David Rientjes To: Boaz Harrosh Return-path: Content-Disposition: inline In-Reply-To: <20120322142758.GA12370-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org BTW, On 03/22, Oleg Nesterov wrote: > > In any case. I do not know why do we need timeout, but this is > orthogonal to KILLABLE. Please redo your patches on top of -mm > tree? Please note that in this case the change becomes trivial. I have found 1-3 on marc.info, they look fine. But 2/4 is not exactly correct, it forgets to do argv_free() if call_usermodehelper_fns() returns -ENOMEM. And I guess you forgot to remove the unused "struct subprocess_info *info". Oleg. -- 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