[PATCH] selftests/harness: Prevent infinite loop due to Assert in FIXTURE_TEARDOWN

2024-03-24 Thread Shengyu Li
This patch addresses an issue in the selftests/harness where an assertion within FIXTURE_TEARDOWN could trigger an infinite loop. The problem arises because the teardown procedure is meant to execute once, but the presence of failing assertions (ASSERT_EQ(0, 1)) leads to repeated attempts to ex

Re: [PATCH bpf-next v5 2/6] bpf/verifier: add bpf_timer as a kfunc capable type

2024-03-24 Thread Alexei Starovoitov
On Sat, Mar 23, 2024 at 9:57 PM Kumar Kartikeya Dwivedi wrote: > > > > > > > > Observation is correct. The patch is buggy, > > > > but the suggestion to follow process_dynptr_func() will lead > > > > to unnecessary complexity. > > > > dynptr-s are on stack with plenty of extra checks. > > > > > >

Re: [RFC PATCH net-next v6 02/15] net: page_pool: create hooks for custom page providers

2024-03-24 Thread Christoph Hellwig
On Fri, Mar 22, 2024 at 04:19:44PM -0700, Jakub Kicinski wrote: > On Fri, 22 Mar 2024 10:40:26 -0700 Mina Almasry wrote: > > Other designs for this hugepage use case are possible, I'm just > > describing Jakub's idea for it as a potential use-case for these > > hooks. > > I made it ops because I

Re: [RFC PATCH net-next v6 02/15] net: page_pool: create hooks for custom page providers

2024-03-24 Thread Christoph Hellwig
On Fri, Mar 22, 2024 at 10:54:54AM -0700, Mina Almasry wrote: > Sorry I don't mean to argue but as David mentioned, there are some > plans in the works and ones not in the works to extend this to other > memory types. David mentioned io_uring & Jakub's huge page use cases > which may want to re-use