]> Gentwo Git Trees - linux/.git/commit
mm/slub: Refactor note_cmpxchg_failure for better readability
authorYe Liu <liuye@kylinos.cn>
Tue, 9 Sep 2025 01:33:07 +0000 (09:33 +0800)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 10 Sep 2025 20:52:33 +0000 (22:52 +0200)
commit41534d499e50e23571d6b9960498777d93f817ce
tree52fc80b2081877f6e4aa616f2e36c69b001fca21
parentba7a896427cbade13d30f3c7e18c15e8be243c18
mm/slub: Refactor note_cmpxchg_failure for better readability

Use IS_ENABLED() and standard if-else to make the code clearer.

Signed-off-by: Ye Liu <liuye@kylinos.cn>
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Reviewed-by: Christoph Lameter (Ampere) <cl@gentwo.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c