Re: kmod: provide wrappers for kmod_concurrent inc/dec

2017-01-10 Thread Luis R. Rodriguez
On Wed, Dec 21, 2016 at 09:07:21PM -0800, Jessica Yu wrote: > +++ Luis R. Rodriguez [08/12/16 11:48 -0800]: > > diff --git a/kernel/kmod.c b/kernel/kmod.c > > index cb6f7ca7b8a5..049d7eabda38 100644 > > --- a/kernel/kmod.c > > +++ b/kernel/kmod.c > > @@ -108,6 +111,20 @@ static int

Re: kmod: provide wrappers for kmod_concurrent inc/dec

2017-01-06 Thread Luis R. Rodriguez
On Wed, Dec 21, 2016 at 08:48:06PM -0800, Jessica Yu wrote: > +++ Luis R. Rodriguez [16/12/16 09:05 +0100]: > > On Thu, Dec 15, 2016 at 01:46:25PM +0100, Petr Mladek wrote: > > > On Thu 2016-12-08 22:08:59, Luis R. Rodriguez wrote: > > > > On Thu, Dec 08, 2016 at 12:29:42PM -0800, Kees Cook wrote:

Re: kmod: provide wrappers for kmod_concurrent inc/dec

2016-12-21 Thread Jessica Yu
+++ Luis R. Rodriguez [08/12/16 11:48 -0800]: kmod_concurrent is used as an atomic counter for enabling the allowed limit of modprobe calls, provide wrappers for it to enable this to be expanded on more easily. This will be done later. Signed-off-by: Luis R. Rodriguez ---

Re: kmod: provide wrappers for kmod_concurrent inc/dec

2016-12-21 Thread Jessica Yu
+++ Luis R. Rodriguez [16/12/16 09:05 +0100]: On Thu, Dec 15, 2016 at 01:46:25PM +0100, Petr Mladek wrote: On Thu 2016-12-08 22:08:59, Luis R. Rodriguez wrote: > On Thu, Dec 08, 2016 at 12:29:42PM -0800, Kees Cook wrote: > > On Thu, Dec 8, 2016 at 11:48 AM, Luis R. Rodriguez