Re: [PATCH] refcount: trim headers

From: Ingo Molnar
Date: Sat Mar 31 2018 - 14:46:26 EST



* Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> On Sat, Mar 31, 2018 at 10:36:32AM +0200, Ingo Molnar wrote:
> > > --- a/include/linux/refcount.h
> > > +++ b/include/linux/refcount.h
> > > #include <linux/atomic.h>
> > > -#include <linux/mutex.h>
> > > -#include <linux/spinlock.h>
> > > -#include <linux/kernel.h>
> > > +#include <linux/compiler.h>
> > > +#include <linux/spinlock_types.h>
> > > +
> > > +struct mutex;
>
> > Doesn't build on x86-64 defconfig...
>
> Yeah, it doesn't :-(
> Is this going to go through -tip?
> Or I'll build test over both trees.

Yeah, refcount changes go through the locking tree, so testing it against -tip
would be useful.

Thanks,

Ingo