Re: [BUG] selftests/net: test_vxlan_mdb.sh: 84 out of 642 tests [FAIL]

2024-03-17 Thread Hangbin Liu
On Sun, Mar 17, 2024 at 12:19:12AM +0100, Mirsad Todorovac wrote: > Hi, > > While running kselftest on vanilla torvalds tree kernel commit > v6.8-11167-g4438a810f396, > the test suite reported a number of errors. > > I was using the latest iproute2-next suite on an Ubuntu 22.04 LTS box. > > #

Re: [PATCH 00/14] Add support for suppressing warning backtraces

2024-03-17 Thread Michael Ellerman
Guenter Roeck writes: > On 3/14/24 07:37, Guenter Roeck wrote: >> On 3/14/24 06:36, Geert Uytterhoeven wrote: >>> Hi Günter, >>> >>> On Tue, Mar 12, 2024 at 6:03 PM Guenter Roeck wrote: Some unit tests intentionally trigger warning backtraces by passing bad parameters to kernel API

Re: [PATCH V2 bpf-next 2/2] selftests/bpf: add selftest for bpf_task_get_cgroup

2024-03-17 Thread Alexei Starovoitov
On Sun, Mar 17, 2024 at 8:10 PM Ratheesh Kannoth wrote: > > On 2024-03-16 at 21:52:41, Jose Fernandez (jo...@netflix.com) wrote: > > This patch adds a selftest for the `bpf_task_get_cgroup` kfunc. The test > > focuses on the use case of obtaining the cgroup ID of the previous task > > in a

Re: [PATCH V2 bpf-next 2/2] selftests/bpf: add selftest for bpf_task_get_cgroup

2024-03-17 Thread Ratheesh Kannoth
On 2024-03-16 at 21:52:41, Jose Fernandez (jo...@netflix.com) wrote: > This patch adds a selftest for the `bpf_task_get_cgroup` kfunc. The test > focuses on the use case of obtaining the cgroup ID of the previous task > in a `sched_switch` tracepoint. > > The selftest involves creating a test

Re: [PATCH] selftests/mm: Fix build with _FORTIFY_SOURCE

2024-03-17 Thread Zi Yan
On 17 Mar 2024, at 22:34, Vitaly Chikunov wrote: > Add missing flags argument to open(2) call with O_CREAT. > > Some tests fail to compile if _FORTIFY_SOURCE is defined (to any valid > value) (together with -O), resulting in similar error messages such as: > > In file included from

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

2024-03-17 Thread David Wei
On 2024-03-17 19:02, Christoph Hellwig wrote: > On Mon, Mar 04, 2024 at 06:01:37PM -0800, Mina Almasry wrote: >> From: Jakub Kicinski >> >> The page providers which try to reuse the same pages will >> need to hold onto the ref, even if page gets released from >> the pool - as in releasing the

Re: [BUG] selftests/net: icmp_redirect.sh: 12 out of 40 test result with [FAIL]

2024-03-17 Thread Hangbin Liu
Hi Mirsad, On Sat, Mar 16, 2024 at 11:59:54PM +0100, Mirsad Todorovac wrote: > Hi, > > With the commit v6.8-11167-g4438a810f396 in vanilla torvalds tree, there seem > to be problems with > the icmp_redirect.sh tests. > > The iproute2-next tools were used, commit 7a6d30c95da9. > > # timeout

[PATCH] selftests/mm: Fix build with _FORTIFY_SOURCE

2024-03-17 Thread Vitaly Chikunov
Add missing flags argument to open(2) call with O_CREAT. Some tests fail to compile if _FORTIFY_SOURCE is defined (to any valid value) (together with -O), resulting in similar error messages such as: In file included from /usr/include/fcntl.h:342, from gup_test.c:1: In

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

2024-03-17 Thread Christoph Hellwig
On Mon, Mar 04, 2024 at 06:01:37PM -0800, Mina Almasry wrote: > From: Jakub Kicinski > > The page providers which try to reuse the same pages will > need to hold onto the ref, even if page gets released from > the pool - as in releasing the page from the pp just transfers > the "ownership"