Thread (15 messages) 15 messages, 6 authors, 2024-01-04

Re: [0/2] net/smc: Adjustments for two function implementations

From: Markus Elfring <hidden>
Date: 2024-01-02 11:50:31
Also in: kernel-janitors, linux-s390, lkml

But it is not very attractive to me since the calls occur on low-frequency paths
or unlikely condition, resulting in limited performance loss and the current
kfree() usage is fine and common.
The prioritisation of development activities influences progress in related areas.

So what is the benfit?
* Source code clarity

* Nicer run time characteristics


See also:
https://wiki.sei.cmu.edu/confluence/display/c/MEM12-C.+Consider+using+a+goto+chain+when+leaving+a+function+on+error+when+using+and+releasing+resources

I noticed that some other discussions are on-going. It seems like you are trying
to change other similiar places.
I would appreciate if improvements can be achieved also for similarly affected
software components.

Regards,
Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help