Re: [RFC PATCH v1 13/50] Avoid some useless msecs/jiffies conversions

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

 



On Thu, 22 Aug 2019 02:25:10 +0200,
George Spelvin wrote:
> Likewise, "msecs_to_jiffies(seconds * 1000)" is more
> conveniently written "seconds * HZ".

I thought the compiler already optimizes to the constant calculation
for the above case?


thanks,

Takashi



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux