Tony Bark@pawb.social to Linux@lemmy.world · edit-227 days agoTorvalds blasts kernel dev for late 'garbage' RISC-V patcheswww.theregister.comexternal-linkmessage-square13linkfedilinkarrow-up172arrow-down16
arrow-up166arrow-down1external-linkTorvalds blasts kernel dev for late 'garbage' RISC-V patcheswww.theregister.comTony Bark@pawb.social to Linux@lemmy.world · edit-227 days agomessage-square13linkfedilink
minus-squaresquaresinger@lemmy.worldlinkfedilinkEnglisharrow-up7·26 days agoIt really is kinda hard to justify wrapping a << 16 | b in a function.
minus-squareTheTechnician27@lemmy.worldlinkfedilinkEnglisharrow-up3·edit-225 days agoEspecially given that one actually tells you where the values get placed.
minus-squareMysteriousSophon21@lemmy.worldlinkfedilinkEnglisharrow-up2·21 days agoYep, these kind of wrapper functions actually hurt kernel readability and add unecessary call overhead - in critical kernel paths every instruction counts.
It really is kinda hard to justify wrapping
a << 16 | b
in a function.Especially given that one actually tells you where the values get placed.
Yep, these kind of wrapper functions actually hurt kernel readability and add unecessary call overhead - in critical kernel paths every instruction counts.