[PATCH v1 4/7] net/rds: use GFP_HIGHUSER_KASAN for message pages
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Nov 16 15:15:29 PST 2026
> RDS allocates the pages that carry message payload with GFP_HIGHUSER:
> the receive fragments in rds_ib_recv_refill_one() and the send payload
> in rds_message_copy_from_user(). The kernel fills and drains them
> through copy_page_from_iter(), copy_page_to_iter() and kmap_atomic(),
> and they are not mapped into userspace.
>
> Allocate them with GFP_HIGHUSER_KASAN, so that they keep their KASAN
> tagging when GFP_HIGHUSER starts to skip it later in this series.
>
> No functional change: GFP_HIGHUSER_KASAN has the same value as
> GFP_HIGHUSER at this point. Build tested only.
>
> Assisted-by: LLM
> Cc: Allison Henderson <achender at kernel.org>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Eric Dumazet <edumazet at kernel.org>
> Cc: Jakub Kicinski <kuba at kernel.org>
> Cc: Paolo Abeni <pabeni at redhat.com>
> Cc: Simon Horman <horms at kernel.org>
> Cc: netdev at vger.kernel.org
> Cc: linux-rdma at vger.kernel.org
> Cc: rds-devel at oss.oracle.com
> Signed-off-by: Jeff Xu <jeffxu at chromium.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261116230627.3537051-1-jeffxu@chromium.org?part=4
More information about the kexec
mailing list