RE: [PATCH v4 08/17] iommufd: Always setup MSI and anforce cc on kernel-managed domains

2023-10-22 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Monday, October 23, 2023 8:18 AM > > On Sat, Oct 21, 2023 at 01:38:04PM -0300, Jason Gunthorpe wrote: > > On Fri, Oct 20, 2023 at 11:59:13AM -0700, Nicolin Chen wrote: > > > On Fri, Oct 20, 2023 at 10:55:01AM -0300, Jason Gunthorpe wrote: > > > > On Fri, Oct 20, 2023

Re: [PATCH v4 08/17] iommufd: Always setup MSI and anforce cc on kernel-managed domains

2023-10-22 Thread Nicolin Chen
On Sat, Oct 21, 2023 at 01:38:04PM -0300, Jason Gunthorpe wrote: > On Fri, Oct 20, 2023 at 11:59:13AM -0700, Nicolin Chen wrote: > > On Fri, Oct 20, 2023 at 10:55:01AM -0300, Jason Gunthorpe wrote: > > > On Fri, Oct 20, 2023 at 02:43:58AM +, Tian, Kevin wrote: > > > > > > > What we want to

[PATCH 2/2] mm/damon/sysfs-test: add a unit test for damon_sysfs_set_targets()

2023-10-22 Thread SeongJae Park
damon_sysfs_set_targets() had a bug that can result in unexpected memory usage and monitoring overhead increase. The bug has fixed by a previous commit. Add a unit test for avoiding a similar bug of future. Signed-off-by: SeongJae Park --- mm/damon/Kconfig | 12 ++

[PATCH 0/2] mm/damon/sysfs: fix unexpected targets adding bug

2023-10-22 Thread SeongJae Park
The sysfs code for online targets updating can result in adding more than expected monigoring targets to the context. It can result in unexpected amount of memory consumption and monitoring overhead. This patchset fixes the issue (patch 1), and add a kunit test for avoiding similar bug of future

Re: [PATCH] selftests:net change ifconfig with ip command

2023-10-22 Thread David Ahern
On 10/22/23 5:31 AM, Swarup Laxman Kotiaklapudi wrote: > diff --git a/tools/testing/selftests/net/route_localnet.sh > b/tools/testing/selftests/net/route_localnet.sh > index 116bfeab72fa..3ab9beb4462c 100755 > --- a/tools/testing/selftests/net/route_localnet.sh > +++

Re: [PATCH v3 2/3] userfaultfd: UFFDIO_MOVE uABI

2023-10-22 Thread Peter Xu
On Thu, Oct 19, 2023 at 02:24:06PM -0700, Suren Baghdasaryan wrote: > On Thu, Oct 12, 2023 at 3:00 PM Peter Xu wrote: > > > > On Sun, Oct 08, 2023 at 11:42:27PM -0700, Suren Baghdasaryan wrote: > > > From: Andrea Arcangeli > > > > > > Implement the uABI of UFFDIO_MOVE ioctl. > > > UFFDIO_COPY

Re: [PATCH v3 2/3] userfaultfd: UFFDIO_MOVE uABI

2023-10-22 Thread Peter Xu
On Fri, Oct 20, 2023 at 07:16:19PM +0200, David Hildenbrand wrote: > These are rather the vibes I'm getting from Peter. "Why rename it, could > confuse people because the original patches are old", "Why exclude it if it > has been included in the original patches". Not the kind of reasoning I can

[PATCH] selftests:net change ifconfig with ip command

2023-10-22 Thread Swarup Laxman Kotiaklapudi
Change ifconfig with ip command, on a system where ifconfig is not used this script will not work correcly. Test result with this patchset: sudo make TARGETS="net" kselftest TAP version 13 1..1 timeout set to 1500 selftests: net: route_localnet.sh run arp_announce test

Re: [PATCH 5/5] selftests/nolibc: generate config automatically

2023-10-22 Thread Willy Tarreau
On Tue, Oct 10, 2023 at 02:34:00PM +0200, Thomas Weißschuh wrote: > This new target generates a .config if none exists yet. > > Also drop the defconfig target with its hidden call to 'mrproper' which > is fairly invasive. > If users want to overwrite their kernel existing kernel configuration >

Re: [PATCH 4/5] selftests/nolibc: support out-of-tree builds

2023-10-22 Thread Willy Tarreau
On Tue, Oct 10, 2023 at 02:33:59PM +0200, Thomas Weißschuh wrote: > Out of tree builds are much more convenient when building for multiple > architectures or configurations in parallel. > > Only absolute O= parameters are supported as Makefile.include will > always resolve relative paths in

Re: [PATCH 3/5] selftests/nolibc: anchor paths in $(srcdir) if possible

2023-10-22 Thread Willy Tarreau
On Tue, Oct 10, 2023 at 02:33:58PM +0200, Thomas Weißschuh wrote: > It is easier to recognize paths from their well-known location in the > source tree than having to resolve the relative path in ones head. > > Signed-off-by: Thomas Weißschuh > --- > tools/testing/selftests/nolibc/Makefile | 4