From: Rusty Russell on
On Wed, 2 Jun 2010 03:02:20 pm Eric Dumazet wrote:
> No need to clear mod->refptr in module_unload_init(), since
> alloc_percpu() already clears allocated chunks.
>
> Signed-off-by: Eric Dumazet <eric.dumazet(a)gmail.com>

Thanks, applied!

I know it's trivial, but you should have cc'd Nick since this was his patch.

Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Rusty Russell on
On Wed, 2 Jun 2010 03:46:33 pm Rusty Russell wrote:
> On Wed, 2 Jun 2010 03:02:20 pm Eric Dumazet wrote:
> > No need to clear mod->refptr in module_unload_init(), since
> > alloc_percpu() already clears allocated chunks.
> >
> > Signed-off-by: Eric Dumazet <eric.dumazet(a)gmail.com>
>
> Thanks, applied!
>
> I know it's trivial, but you should have cc'd Nick since this was his patch.

Hmm, and checked for warnings:

kernel/module.c: In function 'module_unload_init':
kernel/module.c:529: warning: unused variable 'cpu'

Fixed,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Eric Dumazet on
Le mercredi 02 juin 2010 à 15:55 +0930, Rusty Russell a écrit :

> Hmm, and checked for warnings:
>
> kernel/module.c: In function 'module_unload_init':
> kernel/module.c:529: warning: unused variable 'cpu'
>
> Fixed,
> Rusty.

Oops, sorry Rusty, thanks !


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