linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf 0/4] bpf_prog_pack and vmalloc-on-huge-page fixes
@ 2022-04-22  5:18 Song Liu
  2022-04-22  5:18 ` [PATCH bpf 1/4] bpf: invalidate unused part of bpf_prog_pack Song Liu
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Song Liu @ 2022-04-22  5:18 UTC (permalink / raw)
  To: bpf, linux-mm, linux-kernel
  Cc: ast, daniel, kernel-team, akpm, rick.p.edgecombe, hch, imbrenda,
	mcgrof, Song Liu

NOTE: This set is based on Linus' master branch (d569e86915b7), not
bpf/master.

There are various discussion about these changes, check out [1] [2].
I guess we can use this thread to discuss which patches should go in 5.18.
AFAICT, 1/4 need to with 5.18; 2/4 seems safe to go as well; 3/4 and 4/4
may still need more work/discussion.

Thanks!

[1] https://lore.kernel.org/linux-mm/20220415164413.2727220-1-song@kernel.org/
[2] https://lore.kernel.org/linux-mm/20220421072212.608884-1-song@kernel.org/

Song Liu (4):
  bpf: invalidate unused part of bpf_prog_pack
  page_alloc: use vmalloc_huge for large system hash
  module: introduce module_alloc_huge
  bpf: use module_alloc_huge for bpf_prog_pack

 arch/x86/kernel/module.c     | 21 +++++++++++++++++++++
 arch/x86/net/bpf_jit_comp.c  | 22 ++++++++++++++++++++++
 include/linux/bpf.h          |  2 ++
 include/linux/moduleloader.h |  5 +++++
 kernel/bpf/core.c            | 28 +++++++++++++++++++++-------
 kernel/module.c              |  8 ++++++++
 mm/page_alloc.c              |  2 +-
 7 files changed, 80 insertions(+), 8 deletions(-)

--
2.30.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-04-22 14:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22  5:18 [PATCH bpf 0/4] bpf_prog_pack and vmalloc-on-huge-page fixes Song Liu
2022-04-22  5:18 ` [PATCH bpf 1/4] bpf: invalidate unused part of bpf_prog_pack Song Liu
2022-04-22  5:18 ` [PATCH bpf 2/4] page_alloc: use vmalloc_huge for large system hash Song Liu
2022-04-22  9:06   ` kernel test robot
2022-04-22  5:18 ` [PATCH bpf 3/4] module: introduce module_alloc_huge Song Liu
2022-04-22  9:48   ` kernel test robot
2022-04-22  5:18 ` [PATCH bpf 4/4] bpf: use module_alloc_huge for bpf_prog_pack Song Liu
2022-04-22 14:42 ` [PATCH bpf 0/4] bpf_prog_pack and vmalloc-on-huge-page fixes Luis Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox