Re: [PATCH 21/26] tty: Convert tty_struct bitfield to bools

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

 



> Ahh. Thanks for the insight, Alan.
> 
> But set_bit() et. al. will generate an incredible amount of churn;
> what if I split the fields up to prevent false-sharing?

Do you feel lucky ;-)

I'd rather set_bit and friends were used. They exist largely for this
kind of reason and they also have atomic test/set methods which may in
the longer term be very useful.

Yes it is churn can't argue with that.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux