Tony Bark@pawb.social to Linux@lemmy.world · edit-212 days agoTorvalds blasts kernel dev for late 'garbage' RISC-V patcheswww.theregister.comexternal-linkmessage-square10linkfedilinkarrow-up17arrow-down11cross-posted to: linux@programming.dev
arrow-up16arrow-down1external-linkTorvalds blasts kernel dev for late 'garbage' RISC-V patcheswww.theregister.comTony Bark@pawb.social to Linux@lemmy.world · edit-212 days agomessage-square10linkfedilinkcross-posted to: linux@programming.dev
minus-squaresquaresinger@lemmy.worldlinkfedilinkEnglisharrow-up1·11 days agoIt really is kinda hard to justify wrapping a << 16 | b in a function.
minus-squareMysteriousSophon21@lemmy.worldlinkfedilinkEnglisharrow-up2·6 days agoYep, these kind of wrapper functions actually hurt kernel readability and add unecessary call overhead - in critical kernel paths every instruction counts.
minus-squareTheTechnician27@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-210 days agoEspecially given that one actually tells you where the values get placed.
It really is kinda hard to justify wrapping
a << 16 | b
in a function.Yep, these kind of wrapper functions actually hurt kernel readability and add unecessary call overhead - in critical kernel paths every instruction counts.
Especially given that one actually tells you where the values get placed.