Re: [PATCH 0/2] make weak attributes in {k,u}probes

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

 



Yipeng Zou wrote:
We have some function implementation under some arch does nothing.
We can mark it with weak attributes to improve.

That's not always an improvement. See [1] for an example, among many other patches to reduce use of __weak functions in the kernel.

As an alternative, please consider the approach used in [1].


- Naveen

[1] https://lore.kernel.org/all/20220519091237.676736-1-naveen.n.rao@xxxxxxxxxxxxxxxxxx/





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux