mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Anastasios Papagiannis <tasos.papagiannnis@gmail.com>,
	andrii.nakryiko@gmail.com, ljs@kernel.org
Cc: akpm@linux-foundation.org, andrii@kernel.org, ast@kernel.org,
	bpf@vger.kernel.org, brauner@kernel.org, daniel@iogearbox.net,
	eddyz87@gmail.com, kpsingh@kernel.org,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, matt@bobrowski.net, memxor@gmail.com,
	song@kernel.org, sun.jian.kdev@gmail.com,
	utilityemal77@gmail.com, viro@zeniv.linux.org.uk
Subject: Re: [PATCH bpf-next v7 1/5] mm: Add copy_remote_mm_str()
Date: Fri, 18 Sep 2026 14:04:15 +0200	[thread overview]
Message-ID: <44d70b77-8ef0-4eb1-9f6a-11c244086761@kernel.org> (raw)
In-Reply-To: <20260918091359.297923-1-tasos.papagiannnis@gmail.com>

On 9/18/26 11:13, Anastasios Papagiannis wrote:
>> 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.

No string opinion, fine with me.

-- 
Cheers,

David

  reply	other threads:[~2026-09-18 12:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15  8:02 [PATCH bpf-next v7 0/5] bpf: Add user memory access kfuncs for mm_struct Anastasios Papagiannis
2026-09-15  8:02 ` [PATCH bpf-next v7 1/5] mm: Add copy_remote_mm_str() Anastasios Papagiannis
2026-09-15  9:01   ` bot+bpf-ci
2026-09-17 22:08   ` Andrii Nakryiko
2026-09-18  9:13     ` Anastasios Papagiannis
2026-09-18 12:04       ` David Hildenbrand (Arm) [this message]
2026-09-15  8:02 ` [PATCH bpf-next v7 2/5] exec: Clear bprm->mm before dropping its reference Anastasios Papagiannis
2026-09-17 22:09   ` Andrii Nakryiko
2026-09-15  8:02 ` [PATCH bpf-next v7 3/5] bpf: Add user memory access kfuncs for mm_struct Anastasios Papagiannis
2026-09-18  1:04   ` Matt Bobrowski
2026-09-15  8:02 ` [PATCH bpf-next v7 4/5] bpf: Mark linux_binprm->mm as trusted-or-null Anastasios Papagiannis
2026-09-15  8:02 ` [PATCH bpf-next v7 5/5] selftests/bpf: Test mm_struct user memory kfuncs with linux_binprm Anastasios Papagiannis
2026-09-15  9:01   ` bot+bpf-ci
2026-09-17 22:14   ` Andrii Nakryiko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44d70b77-8ef0-4eb1-9f6a-11c244086761@kernel.org \
    --to=david@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=andrii.nakryiko@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=brauner@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=kpsingh@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=ljs@kernel.org \
    --cc=matt@bobrowski.net \
    --cc=memxor@gmail.com \
    --cc=song@kernel.org \
    --cc=sun.jian.kdev@gmail.com \
    --cc=tasos.papagiannnis@gmail.com \
    --cc=utilityemal77@gmail.com \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®