Re: [PATCH] percpu: drop useless macro PER_CPU_DEF_ATTRIBUTES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 29, 2017 at 10:38:17AM +0800, Cao jin wrote:
> On 03/29/2017 12:00 AM, Tejun Heo wrote:
> > On Tue, Mar 28, 2017 at 04:35:07PM +0800, Cao jin wrote:
> >> Signed-off-by: Cao jin <caoj.fnst@xxxxxxxxxxxxxx>
> > 
> > I'm not sure.  I think I used it during development and it's not like
> > it costs anything to keep.
> 
> It easily confusing newbies without any comments for its purpose.

percpu variable handling is pretty complex to begin with.  I don't buy
that an empty default attribute macro adds anything noticeable there.

> Temporary using during development seems not good to persist. Could I
> know its purpose?

I don't remember the exact details but at the same time I don't see
the value of the proposed change.  We can apply or not apply the patch
and either way wouldn't make any noticeable difference.  What's the
point?

Thanks.

-- 
tejun



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux