]> git.ipfire.org Git - thirdparty/linux.git/commit
kernel: relay: use __GFP_ZERO in relay_alloc_buf
authorElijah Wright <git@elijahs.space>
Tue, 10 Jun 2025 22:56:28 +0000 (15:56 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 10 Jul 2025 05:57:50 +0000 (22:57 -0700)
commit0ba5a25ad1c951fa25baa8c30a526b647ab50d47
tree218b7c163d910788e12195865686462e612fb7c1
parentf7b0ff2bc91d8bb2ba9fdb182da39dd9733b1c50
kernel: relay: use __GFP_ZERO in relay_alloc_buf

Passing the __GFP_ZERO flag to alloc_page should result in less overhead
th= an using memset()

Link: https://lkml.kernel.org/r/20250610225639.314970-3-git@elijahs.space
Signed-off-by: Elijah Wright <git@elijahs.space>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/relay.c