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

From
Naveen N. Rao <hidden>
Date
2022-09-20 17:03:34
Also in
linux-arm-kernel, linux-riscv, linux-s390, lkml
Reply to
Yipeng Zou, 2022-09-17
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@linux.vnet.ibm.com/ (local)
Thread (6 messages) 6 messages, 4 authors, last reply 2022-09-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help