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

2024-08-04 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Friday, August 2, 2024 7:22 PM > > On Fri, Aug 02, 2024 at 08:26:48AM +, Tian, Kevin wrote: > > > From: Jason Gunthorpe > > > Sent: Thursday, June 20, 2024 10:34 PM > > > > > > On Thu, Jun 20, 2024 at 04:14:23PM +0200, David Hildenbrand wrote: > > > > > > >

[PATCH-cgroup 3/5] cgroup/cpuset: Eliminate unncessary sched domains rebuilds in hotplug

2024-08-04 Thread Waiman Long
It was found that some hotplug operations may cause multiple rebuild_sched_domains_locked() calls. Some of those intermediate calls may use cpuset states not in the final correct form leading to incorrect sched domain setting. Fix this problem by using the existing force_rebuild flag to inhibit

[PATCH-cgroup 5/5] selftest/cgroup: Add new test cases to test_cpuset_prs.sh

2024-08-04 Thread Waiman Long
Add new test cases to test_cpuset_prs.sh to cover corner cases reported in previous fix commits. Signed-off-by: Waiman Long --- tools/testing/selftests/cgroup/test_cpuset_prs.sh | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git

[PATCH-cgroup 4/5] cgroup/cpuset: Check for partition roots with overlapping CPUs

2024-08-04 Thread Waiman Long
With the previous commit that eliminates the overlapping partition root corner cases in the hotplug code, the partition roots passed down to generate_sched_domains() should not have overlapping CPUs. Enable overlapping cpuset check for v2 and warn if that happens. This patch also has the benefit

[PATCH-cgroup 2/5] cgroup/cpuset: Clear effective_xcpus on cpus_allowed clearing only if cpus.exclusive not set

2024-08-04 Thread Waiman Long
Commit e2ffe502ba45 ("cgroup/cpuset: Add cpuset.cpus.exclusive for v2") adds a user writable cpuset.cpus.exclusive file for setting exclusive CPUs to be used for the creation of partitions. Since then effective_xcpus depends on both the cpuset.cpus and cpuset.cpus.exclusive setting. If

[PATCH-cgroup 1/5] cgroup/cpuset: fix panic caused by partcmd_update

2024-08-04 Thread Waiman Long
From: Chen Ridong We find a bug as below: BUG: unable to handle page fault for address: 0003 PGD 0 P4D 0 Oops: [#1] PREEMPT SMP NOPTI CPU: 3 PID: 358 Comm: bash Tainted: GW I6.6.0-10893-g60d6 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/4 RIP:

[PATCH-cgroup 0/5] cgroup/cpuset: Miscellaneous cpuset updates for 6.12

2024-08-04 Thread Waiman Long
The first 2 patches in this series fix cpuset bugs found by Chen Ridong. Patch 3 streamlines the sched domain rebuild process for hotplug operation and eliminates the use of intermediate cpuset states for sched domain generation. Patch 4 modifies generate_sched_domains() to check the correctness

Re: [PATCH 09/12] selftests/nolibc: add support for LLVM= parameter

2024-08-04 Thread Thomas Weißschuh
On 2024-08-03 11:45:30+, Willy Tarreau wrote: > On Sun, Jul 28, 2024 at 12:10:03PM +0200, Thomas Weißschuh wrote: > > Makefile.include can modify CC and CFLAGS for usage with clang. > > Make use of it. > > > > Signed-off-by: Thomas Weißschuh > > --- > >

Re: [PATCH 07/12] selftests/nolibc: determine $(srctree) first

2024-08-04 Thread Thomas Weißschuh
On 2024-08-03 11:40:24+, Willy Tarreau wrote: > On Sun, Jul 28, 2024 at 12:10:01PM +0200, Thomas Weißschuh wrote: > > Avoid needing relative includes. > > I'm not opposed, but what's the benefit ? IMHO relative paths are > generally more flexible and robust. you could imagine a completely >

Re: [PATCH 1/2] KVM: selftests: arm64: Simplify specification of filtered registers

2024-08-04 Thread Marc Zyngier
On Fri, 02 Aug 2024 22:57:53 +0100, Mark Brown wrote: > > Since we already import the generated sysreg definitions from the main > kernel and reference them in processor.h for use in other KVM tests we > can also make use of them for get-reg-list as well instead of having hard > coded magic

Re: [PATCH net-next v2 6/7] selftests/net: Synchronize client/server before counters checks

2024-08-04 Thread Simon Horman
On Fri, Aug 02, 2024 at 10:23:30AM +0100, Dmitry Safonov via B4 Relay wrote: > From: Dmitry Safonov <0x7f454...@gmail.com> > > On tests that are expecting failure the timeout value is > TEST_RETRANSMIT_SEC == 1 second. Which is big enough for most of devices > under tests. But on a particularly