Re: [PATCH bpf-next v7 1/5] mm: Add copy_remote_mm_str()
From: Anastasios Papagiannis
Date: Fri Sep 18 2026 - 05:21:24 EST
> AI has a point, declarations in mm.h are not guarded by #ifdef
> CONFIG_BPF_SYSCALL, no? These look generic, I'd remove BPF_SYSCALL
> guard
Yes, this sounds reasonable. I have removed the #ifdefs in v8 [1].
CC David, who proposed removing the #ifdefs from the header file in [2],
and Lorenzo, who has already acked the patch.
[1] https://lore.kernel.org/bpf/20260918091058.297740-1-tasos.papagiannnis@xxxxxxxxx/
[2] https://lore.kernel.org/bpf/daeab5a8-44b8-4933-80c5-e4145b01a0a1@xxxxxxxxxx/