KUnit file naming conventions (was Re: [GIT PULL] execve updates for v6.11-rc1)

2024-07-16 Thread Kees Cook
On Tue, Jul 16, 2024 at 01:10:41PM -0700, Linus Torvalds wrote: > On Mon, 15 Jul 2024 at 09:21, Kees Cook wrote: > > > > fs/exec.c | 49 -- > > fs/exec_test.c | 141 > > > > I've pulled this,

Re: [PATCH v9 20/39] arm64/gcs: Ensure that new threads have a GCS

2024-07-16 Thread Thiago Jung Bauermann
Mark Brown writes: > diff --git a/arch/arm64/mm/gcs.c b/arch/arm64/mm/gcs.c > index b0a67efc522b..4a3ce8e3bdfb 100644 > --- a/arch/arm64/mm/gcs.c > +++ b/arch/arm64/mm/gcs.c > @@ -8,6 +8,139 @@ > #include > #include > > +static unsigned long alloc_gcs(unsigned long addr, unsigned long

Re: [PATCH v9 05/39] arm64/gcs: Document the ABI for Guarded Control Stacks

2024-07-16 Thread Thiago Jung Bauermann
Mark Brown writes: > +3. Allocation of Guarded Control Stacks > + > + > +* When GCS is enabled for a thread a new Guarded Control Stack will be > + allocated for it of size RLIMIT_STACK or 4 gigabytes, whichever is s/4 gigabytes/2 gigabytes/ > +

Re: [GIT PULL] Kselftest update for Linux 6.11-rc1

2024-07-16 Thread pr-tracker-bot
The pull request you sent on Tue, 16 Jul 2024 14:10:10 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux_kselftest-next-6.11-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0434dbe32053d07d658165be681505120c6b1abc Thank

Re: [GIT PULL] KUnit update for Linux 6.11-rc1

2024-07-16 Thread pr-tracker-bot
The pull request you sent on Tue, 16 Jul 2024 11:12:38 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux_kselftest-kunit-6.11-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f8d22a3195b8e2eaacbc5073ae1d5d5bb7386de9 Thank

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread David Finkel
On Tue, Jul 16, 2024 at 4:00 PM Tejun Heo wrote: > > Hello, > > On Tue, Jul 16, 2024 at 08:00:52PM +0200, Michal Hocko wrote: > ... > > > If we want to allow peak measurement of time periods, I wonder whether we > > > could do something similar to pressure triggers - ie. let users register > > >

Re: [PATCH v2 0/4] selftest: x86: conform tests to TAP format output

2024-07-16 Thread Shuah Khan
On 7/12/24 02:46, Muhammad Usama Anjum wrote: In this series, 4 tests are being conformed to TAP. Changes since v1: - Correct the description of patches with what improvements they are bringing and why they are required Muhammad Usama Anjum (4): selftests: x86: check_initial_reg_state:

Re: [PATCH 2/2] selftests: x86: vdso_restorer: Return correct exit statuses

2024-07-16 Thread Shuah Khan
On 7/12/24 01:30, Muhammad Usama Anjum wrote: Return correct exit status, KSFT_SKIP if the pre-conditions aren't met. Return KSFT_FAIL if error occurs. Use ksft_finished() which will compmare the total planned tests with passed tests to return the exit value. Signed-off-by: Muhammad Usama Anjum

Re: [PATCH 1/2] selftests: x86: vdso_restorer: remove manual counting of pass/fail tests

2024-07-16 Thread Shuah Khan
On 7/12/24 01:30, Muhammad Usama Anjum wrote: Use kselftest wrapper to mark tests pass/fail instead of manually counting. This is needed to return correct exit status. This also improves readability and mainability. Signed-off-by: Muhammad Usama Anjum As mentioned earlier, include before and

[PATCH] kunit: add test duration attribute

2024-07-16 Thread Rae Moar
Add a new test duration attribute to print the duration of a test run. Example: KTAP version 1 # Subtest: memcpy # module: memcpy_kunit 1..4 # memcpy_large_test.speed: slow # memcpy_large_test.duration: 1.134787584s ok 1 memcpy_large_test ... This attribute is

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread David Finkel
On Tue, Jul 16, 2024 at 3:48 PM Tejun Heo wrote: > > Hello, > > On Tue, Jul 16, 2024 at 01:10:14PM -0400, David Finkel wrote: > > > Swap still has bad reps but there's nothing drastically worse about it > > > than > > > page cache. ie. If you're under memory pressure, you get thrashing one way >

Re: [PATCH RFC 0/5] mm/gup: Introduce exclusive GUP pinning

2024-07-16 Thread Jason Gunthorpe
On Tue, Jul 16, 2024 at 10:34:55AM -0700, Sean Christopherson wrote: > On Tue, Jul 16, 2024, Jason Gunthorpe wrote: > > On Tue, Jul 16, 2024 at 09:03:00AM -0700, Sean Christopherson wrote: > > > > > > + To support huge pages, guest_memfd will take ownership of the > > > > hugepages, and > > > >

[GIT PULL] Kselftest update for Linux 6.11-rc1

2024-07-16 Thread Shuah Khan
Hi Linus, Please pull the kselftest update for Linux 6.11-rc1. This kselftest next update for Linux 6.11-rc1 consists of: -- changes to resctrl test to cleanup resctrl_val() and generalize it by removing test name specific handling from the function. -- several clang build failure fixes

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Tejun Heo
Hello, On Tue, Jul 16, 2024 at 08:00:52PM +0200, Michal Hocko wrote: ... > > If we want to allow peak measurement of time periods, I wonder whether we > > could do something similar to pressure triggers - ie. let users register > > watchers so that each user can define their own watch periods.

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Tejun Heo
Hello, On Tue, Jul 16, 2024 at 05:01:15PM +, Roman Gushchin wrote: > > If we want to allow peak measurement of time periods, I wonder whether we > > could do something similar to pressure triggers - ie. let users register > > watchers so that each user can define their own watch periods. This

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Tejun Heo
Hello, On Tue, Jul 16, 2024 at 01:10:14PM -0400, David Finkel wrote: > > Swap still has bad reps but there's nothing drastically worse about it than > > page cache. ie. If you're under memory pressure, you get thrashing one way > > or another. If there's no swap, the system is just memlocking

Re: [PATCH v9 05/39] arm64/gcs: Document the ABI for Guarded Control Stacks

2024-07-16 Thread Edgecombe, Rick P
+Stephen, who had been asking about RIP integrity awhile back. Thread context for Stephen: https://lore.kernel.org/lkml/zo7sddt_cbp6u...@finisterre.sirena.org.uk/#t On Wed, 2024-07-10 at 19:27 +0100, Mark Brown wrote: > On Wed, Jul 10, 2024 at 12:36:21PM +0200, Florian Weimer wrote: > > * Mark

[PATCH AUTOSEL 4.19 2/3] selftests/vDSO: fix clang build errors and warnings

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit 73810cd45b99c6c418e1c6a487b52c1e74edb20d ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...there are several warnings, and an error. This fixes all of those and allows these tests to run and pass. 1. Fix linker error

[PATCH AUTOSEL 5.4 2/3] selftests/vDSO: fix clang build errors and warnings

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit 73810cd45b99c6c418e1c6a487b52c1e74edb20d ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...there are several warnings, and an error. This fixes all of those and allows these tests to run and pass. 1. Fix linker error

[PATCH AUTOSEL 5.10 2/4] selftests/vDSO: fix clang build errors and warnings

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit 73810cd45b99c6c418e1c6a487b52c1e74edb20d ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...there are several warnings, and an error. This fixes all of those and allows these tests to run and pass. 1. Fix linker error

[PATCH AUTOSEL 5.15 2/4] selftests/vDSO: fix clang build errors and warnings

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit 73810cd45b99c6c418e1c6a487b52c1e74edb20d ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...there are several warnings, and an error. This fixes all of those and allows these tests to run and pass. 1. Fix linker error

[PATCH AUTOSEL 6.1 3/5] selftests/vDSO: fix clang build errors and warnings

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit 73810cd45b99c6c418e1c6a487b52c1e74edb20d ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...there are several warnings, and an error. This fixes all of those and allows these tests to run and pass. 1. Fix linker error

[PATCH AUTOSEL 6.6 7/8] selftests/bpf: Extend tcx tests to cover late tcx_entry release

2024-07-16 Thread Sasha Levin
From: Daniel Borkmann [ Upstream commit 5f1d18de79180deac2822c93e431bbe547f7d3ce ] Add a test case which replaces an active ingress qdisc while keeping the miniq in-tact during the transition period to the new clsact qdisc. # ./vmtest.sh -- ./test_progs -t tc_link [...] ./test_progs -t

[PATCH AUTOSEL 6.6 5/8] selftests/vDSO: fix clang build errors and warnings

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit 73810cd45b99c6c418e1c6a487b52c1e74edb20d ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...there are several warnings, and an error. This fixes all of those and allows these tests to run and pass. 1. Fix linker error

[PATCH AUTOSEL 6.6 4/8] selftest/timerns: fix clang build failures for abs() calls

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit f76f9bc616b7320df6789241ca7d26cedcf03cf3 ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...clang warns about mismatches between the expected and required integer length being supplied to abs(3). Fix this by using the correct

[PATCH AUTOSEL 6.9 10/11] selftests/bpf: Extend tcx tests to cover late tcx_entry release

2024-07-16 Thread Sasha Levin
From: Daniel Borkmann [ Upstream commit 5f1d18de79180deac2822c93e431bbe547f7d3ce ] Add a test case which replaces an active ingress qdisc while keeping the miniq in-tact during the transition period to the new clsact qdisc. # ./vmtest.sh -- ./test_progs -t tc_link [...] ./test_progs -t

[PATCH AUTOSEL 6.9 08/11] selftests/vDSO: fix clang build errors and warnings

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit 73810cd45b99c6c418e1c6a487b52c1e74edb20d ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...there are several warnings, and an error. This fixes all of those and allows these tests to run and pass. 1. Fix linker error

[PATCH AUTOSEL 6.9 07/11] selftest/timerns: fix clang build failures for abs() calls

2024-07-16 Thread Sasha Levin
From: John Hubbard [ Upstream commit f76f9bc616b7320df6789241ca7d26cedcf03cf3 ] When building with clang, via: make LLVM=1 -C tools/testing/selftests ...clang warns about mismatches between the expected and required integer length being supplied to abs(3). Fix this by using the correct

Re: Converting kselftest test modules to kunit

2024-07-16 Thread Kees Cook
On Tue, Jul 16, 2024 at 11:04:06AM -0700, John Hubbard wrote: > This is a classic case of testing a kernel API via ioctl into the > kernel, so I think it meets your criteria for moving to KUnit. > Having said that, I must now go try out KUnit in a bit more depth > before I'm sure that this will

Re: Converting kselftest test modules to kunit

2024-07-16 Thread John Hubbard
On 7/16/24 10:59 AM, Kees Cook wrote: On Tue, Jul 16, 2024 at 01:11:14PM +0500, Muhammad Usama Anjum wrote: On 7/15/24 9:40 PM, Kees Cook wrote: On Mon, Jul 15, 2024 at 03:09:24PM +0500, Muhammad Usama Anjum wrote: Hi Kees and All, There are several tests in kselftest subsystem which load

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Michal Hocko
On Tue 16-07-24 06:44:11, Tejun Heo wrote: > Hello, > > On Tue, Jul 16, 2024 at 03:48:17PM +0200, Michal Hocko wrote: > ... > > > This behavior is particularly useful for work scheduling systems that > > > need to track memory usage of worker processes/cgroups per-work-item. > > > Since memory

Re: [PATCH v2] selftests/rtc:Fix a resource leak

2024-07-16 Thread John Hubbard
On 7/10/24 9:00 AM, Shuah Khan wrote: On 7/10/24 01:55, Alexandre Belloni wrote: On 10/07/2024 00:43:09-0700, Zhu Jun wrote: The opened file should be closed before exit, otherwise resource leak will occur that this problem was discovered by code reading The question is still why should it

Re: Converting kselftest test modules to kunit

2024-07-16 Thread Kees Cook
On Tue, Jul 16, 2024 at 01:11:14PM +0500, Muhammad Usama Anjum wrote: > On 7/15/24 9:40 PM, Kees Cook wrote: > > On Mon, Jul 15, 2024 at 03:09:24PM +0500, Muhammad Usama Anjum wrote: > >> Hi Kees and All, > >> > >> There are several tests in kselftest subsystem which load modules to tests > >> the

Re: [PATCH RFC 0/5] mm/gup: Introduce exclusive GUP pinning

2024-07-16 Thread Sean Christopherson
On Tue, Jul 16, 2024, Jason Gunthorpe wrote: > On Tue, Jul 16, 2024 at 09:03:00AM -0700, Sean Christopherson wrote: > > > > + To support huge pages, guest_memfd will take ownership of the > > > hugepages, and > > > provide interested parties (userspace, KVM, iommu) with pages to be > > >

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread David Finkel
On Tue, Jul 16, 2024 at 1:01 PM Roman Gushchin wrote: > > On Tue, Jul 16, 2024 at 06:44:11AM -1000, Tejun Heo wrote: > > Hello, > > > > On Tue, Jul 16, 2024 at 03:48:17PM +0200, Michal Hocko wrote: > > ... > > > > The removal of resets was intentional. The problem was that it wasn't clear > > who

[GIT PULL] KUnit update for Linux 6.11-rc1

2024-07-16 Thread Shuah Khan
Hi Linus, Please pull the following KUnit next update for Linux 6.11-rc1. This KUnit next update for Linux 6.11-rc1 consists of: -- adds vm_mmap() allocation resource manager -- converts usercopy kselftest to KUnit -- disables usercopy testing on !CONFIG_MMU -- adds MODULE_DESCRIPTION() to

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread David Finkel
On Tue, Jul 16, 2024 at 12:44 PM Tejun Heo wrote: > > Hello, > > On Tue, Jul 16, 2024 at 03:48:17PM +0200, Michal Hocko wrote: > ... > > > This behavior is particularly useful for work scheduling systems that > > > need to track memory usage of worker processes/cgroups per-work-item. > > > Since

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Roman Gushchin
On Tue, Jul 16, 2024 at 06:44:11AM -1000, Tejun Heo wrote: > Hello, > > On Tue, Jul 16, 2024 at 03:48:17PM +0200, Michal Hocko wrote: > ... > > The removal of resets was intentional. The problem was that it wasn't clear > who owned those counters and there's no way of telling who reset what

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Tejun Heo
Hello, On Tue, Jul 16, 2024 at 03:48:17PM +0200, Michal Hocko wrote: ... > > This behavior is particularly useful for work scheduling systems that > > need to track memory usage of worker processes/cgroups per-work-item. > > Since memory can't be squeezed like CPU can (the OOM-killer has > >

Re: [PATCH RFC 0/5] mm/gup: Introduce exclusive GUP pinning

2024-07-16 Thread Jason Gunthorpe
On Tue, Jul 16, 2024 at 09:03:00AM -0700, Sean Christopherson wrote: > > + To support huge pages, guest_memfd will take ownership of the hugepages, > > and > > provide interested parties (userspace, KVM, iommu) with pages to be used. > > + guest_memfd will track usage of (sub)pages, for both

Re: [PATCH RFC 0/5] mm/gup: Introduce exclusive GUP pinning

2024-07-16 Thread Sean Christopherson
Thanks for doing the dirty work! On Fri, Jul 12, 2024, Ackerley Tng wrote: > Here’s an update from the Linux MM Alignment Session on July 10 2024, 9-10am > PDT: > > The current direction is: > > + Allow mmap() of ranges that cover both shared and private memory, but > disallow > faulting in

[PATCH v2 2/2] kselftest/alsa: Log the PCM ID in pcm-test

2024-07-16 Thread Mark Brown
Drivers report a string with a name for each PCM, log it during startup of pcm-test as a diagnostic aid. Signed-off-by: Mark Brown --- tools/testing/selftests/alsa/pcm-test.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/alsa/pcm-test.c

[PATCH v2 1/2] kselftest/alsa: Use card name rather than number in test names

2024-07-16 Thread Mark Brown
Currently for the PCM and mixer tests we report test names which identify the card being tested with the card number. This ensures we have unique names but since card numbers are dynamically assigned at runtime the names we end up with will often not be stable on systems with multiple cards

[PATCH v2 0/2] kselftest/alsa: Diagnostic improvements

2024-07-16 Thread Mark Brown
The first patch fixes unstable naming of tests due to probe ordering not being stable, the second just provides a bit more information. Signed-off-by: Mark Brown --- Changes in v2: - Switch to using ID rather than longame. - Log the PCM ID too. - Link to v1:

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread David Finkel
On Tue, Jul 16, 2024 at 9:48 AM Michal Hocko wrote: > > On Mon 15-07-24 16:36:26, David Finkel wrote: > > Other mechanisms for querying the peak memory usage of either a process > > or v1 memory cgroup allow for resetting the high watermark. Restore > > parity with those mechanisms. > > > > For

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Michal Hocko
On Mon 15-07-24 16:36:26, David Finkel wrote: > Other mechanisms for querying the peak memory usage of either a process > or v1 memory cgroup allow for resetting the high watermark. Restore > parity with those mechanisms. > > For example: > - Any write to memory.max_usage_in_bytes in a cgroup v1

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread David Finkel
On Tue, Jul 16, 2024 at 9:19 AM Michal Hocko wrote: > > On Tue 16-07-24 08:47:59, David Finkel wrote: > > On Tue, Jul 16, 2024 at 3:20 AM Michal Hocko wrote: > > > > > > On Mon 15-07-24 16:46:36, David Finkel wrote: > > > > > On Mon, Jul 15, 2024 at 4:38 PM David Finkel wrote: > > > > > > > > >

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Michal Hocko
On Tue 16-07-24 08:47:59, David Finkel wrote: > On Tue, Jul 16, 2024 at 3:20 AM Michal Hocko wrote: > > > > On Mon 15-07-24 16:46:36, David Finkel wrote: > > > > On Mon, Jul 15, 2024 at 4:38 PM David Finkel wrote: > > > > > > > > > > Other mechanisms for querying the peak memory usage of either

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread David Finkel
On Tue, Jul 16, 2024 at 3:20 AM Michal Hocko wrote: > > On Mon 15-07-24 16:46:36, David Finkel wrote: > > > On Mon, Jul 15, 2024 at 4:38 PM David Finkel wrote: > > > > > > > > Other mechanisms for querying the peak memory usage of either a process > > > > or v1 memory cgroup allow for resetting

[PATCH v1] selftests/ftrace: Skip test for optimized probes on PowerPC if Secure Boot is enabled

2024-07-16 Thread Akanksha J N
Currently while accessing debugfs with Secure Boot enabled on PowerPC, it is causing the kprobe_opt_types.tc test to fail. Below is the snippet of the error: +++ grep kernel_clone /sys/kernel/debug/kprobes/list grep: /sys/kernel/debug/kprobes/list: Operation not permitted ++ PROBE= + '[' 2 -ne 0

Re: [PATCH v7 1/8] of/platform: Allow overlays to create platform devices from the root node

2024-07-16 Thread Geert Uytterhoeven
On Tue, Jul 16, 2024 at 11:48 AM Geert Uytterhoeven wrote: > On Wed, Jul 10, 2024 at 10:14 PM Stephen Boyd wrote: > > We'd like to apply overlays to the root node in KUnit so we can test > > platform devices created as children of the root node. > > > > On some architectures (powerpc), the root

[PATCH v3 2/2] selftests/bpf: integrate test_xdp_veth into test_progs

2024-07-16 Thread eBPF Foundation
test_xdp_veth.sh tests that XDP return codes work as expected, by bringing up multiple veth pairs isolated in different namespaces, attaching specific xdp programs to each interface, and ensuring that the whole chain allows to ping one end interface from the first one. The test runs well but is

[PATCH v3 1/2] selftests/bpf: update xdp_redirect_map prog sections for libbpf

2024-07-16 Thread eBPF Foundation
xdp_redirect_map.c is a bpf program used by test_xdp_veth.sh, which is not handled by the generic test runner (test_progs). To allow converting this test to test_progs, the corresponding program must be updated to allow handling it through skeletons generated by bpftool and libbpf. Update

[PATCH v3 0/2] selftests/bpf: convert test_xdp_veth to test_progs framework

2024-07-16 Thread eBPF Foundation
Hello everyone, this small series is a first step in a larger effort aiming to help improve eBPF selftests and the testing coverage in CI. It focuses for now on test_xdp_veth.sh, a small test which is not integrated yet in test_progs. The series is mostly about a rewrite of test_xdp_veth.sh to

Re: [PATCH v7 1/8] of/platform: Allow overlays to create platform devices from the root node

2024-07-16 Thread Geert Uytterhoeven
Hi Stephen, On Wed, Jul 10, 2024 at 10:14 PM Stephen Boyd wrote: > We'd like to apply overlays to the root node in KUnit so we can test > platform devices created as children of the root node. > > On some architectures (powerpc), the root node isn't marked with > OF_POPULATED_BUS. If an overlay

Re: [PATCH v4 0/2] Add test to distinguish between thread's signal mask and ucontext_t

2024-07-16 Thread Dev Jain
On 6/27/24 09:22, Dev Jain wrote: This patch series is motivated by the following observation: Raise a signal, jump to signal handler. The ucontext_t structure dumped by kernel to userspace has a uc_sigmask field having the mask of blocked signals. If you run a fresh minimalistic program

Re: Converting kselftest test modules to kunit

2024-07-16 Thread Muhammad Usama Anjum
On 7/15/24 9:40 PM, Kees Cook wrote: > On Mon, Jul 15, 2024 at 03:09:24PM +0500, Muhammad Usama Anjum wrote: >> Hi Kees and All, >> >> There are several tests in kselftest subsystem which load modules to tests >> the internals of the kernel. Most of these test modules are just loaded by >> the

Re: [PATCH] rust: str: Use `core::CStr`, remove the custom `CStr` implementation

2024-07-16 Thread Miguel Ojeda
On Mon, Jul 15, 2024 at 6:12 PM Michal Rostecki wrote: > > @@ -71,11 +75,11 @@ macro_rules! kunit_assert { > // > // This mimics KUnit's failed assertion format. > $crate::kunit::err(format_args!( > -"# {}: ASSERTION

Re: Converting kselftest test modules to kunit

2024-07-16 Thread David Gow
On Mon, 15 Jul 2024 at 18:09, Muhammad Usama Anjum wrote: > > Hi Kees and All, > > There are several tests in kselftest subsystem which load modules to tests > the internals of the kernel. Most of these test modules are just loaded by > the kselftest, their status isn't read and reported to the

Re: [PATCH] mm, memcg: cg2 memory{.swap,}.peak write handlers

2024-07-16 Thread Michal Hocko
On Mon 15-07-24 16:46:36, David Finkel wrote: > > On Mon, Jul 15, 2024 at 4:38 PM David Finkel wrote: > > > > > > Other mechanisms for querying the peak memory usage of either a process > > > or v1 memory cgroup allow for resetting the high watermark. Restore > > > parity with those mechanisms. >

Re: [PATCH net v3 2/2] skmsg: bugfix for sk_msg sge iteration

2024-07-16 Thread Geliang Tang
Hi John, On Mon, 2024-07-01 at 18:29 +0800, Geliang Tang wrote: > > > > > > > > Hello, > > > > > > > > > > > > > > > > On Mon, 2024-07-01 at 17:00 +0800, D. Wythe wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 6/28/24 1:47 PM, Geliang