summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorFeng Yang <yangfeng@kylinos.cn>2025-08-27 11:28:12 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2025-09-02 17:29:52 +0200
commite4980fa6463624cb608c0f49882e11e8d6ccd590 (patch)
tree65bbc0e1a7c6be767b13c0b36abc03a2ad744138 /scripts/lib/kdoc/kdoc_re.py
parent6417ca85305ecaffef13cf9063ac35da8fba8500 (diff)
bpf: Replace kvfree with kfree for kzalloc memory
These pointers are allocated by kzalloc. Therefore, replace kvfree() with kfree() to avoid unnecessary is_vmalloc_addr() check in kvfree(). This is the remaining unmodified part from [1]. Signed-off-by: Feng Yang <yangfeng@kylinos.cn> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yonghong.song@linux.dev> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20250811123949.552885-1-rongqianfeng@vivo.com [1] Link: https://lore.kernel.org/bpf/20250827032812.498216-1-yangfeng59949@163.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions