summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-08-18 17:49:54 -0700
committerJakub Kicinski <kuba@kernel.org>2025-08-18 17:49:54 -0700
commit8e33dc6f787a6193a8b0164876fdcf0617a58616 (patch)
treeb56349d1b2490d0ac9e28815b138930fbcd8841f /rust/helpers/helpers.c
parentab4ee77ed9bddfc1c3461b42ef4875068928d2e6 (diff)
parentdad3280591abde4c100e8185e3e47bfe72ae53c5 (diff)
Merge branch 'net-use-vmalloc_array-to-simplify-code'
Qianfeng Rong says: ==================== net: use vmalloc_array() to simplify code Remove array_size() calls and replace vmalloc() with vmalloc_array() to simplify the code and maintain consistency with existing kmalloc_array() usage. vmalloc_array() is also optimized better, resulting in less instructions being used [1]. [1]: https://lore.kernel.org/lkml/abc66ec5-85a4-47e1-9759-2f60ab111971@vivo.com/ ==================== Link: https://patch.msgid.link/20250816090659.117699-1-rongqianfeng@vivo.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions