Skip to content

bpf: MM related minor changes

Yafang Shao bpf linux-mm 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: mark mm->owner as __safe_rcu_or_nullkernel/bpf/verifier.c+3 -00 repliesApplied
2/2bpf: mark vma->{vm_mm,vm_file} as __safe_trusted_or_nullkernel/bpf/verifier.c tools/testing/selftests/bpf/progs/lsm.c+11 -30 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLorenzo StoakesSong Liu
SeriesA-b
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf-next 0/2] bpf: MM related minor changes

From: root <[email protected]>

These two minor patches were developed during the implementation of BPF-THP:

https://lwn.net/Articles/1042138/

As suggested by Andrii, they are being submitted separately for review.

Yafang Shao (2):
bpf: mark mm->owner as __safe_rcu_or_null
bpf: mark vma->{vm_mm,vm_file} as __safe_trusted_or_null

 kernel/bpf/verifier.c                   | 9 +++++++++
 tools/testing/selftests/bpf/progs/lsm.c | 8 +++++---
 2 files changed, 14 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.3