Re: [PATCH v3 3/3] selftests/mm: add UFFDIO_MOVE ioctl test

2023-10-19 Thread Peter Xu
On Thu, Oct 19, 2023 at 10:29:27AM -0700, Axel Rasmussen wrote: > On Thu, Oct 19, 2023 at 8:43 AM Suren Baghdasaryan wrote: > > > > On Thu, Oct 12, 2023 at 3:29 PM Peter Xu wrote: > > > > > > On Sun, Oct 08, 2023 at 11:42:28PM -0700, Suren Baghdasaryan wrote: > > > > Add a test for new UFFDIO_MOV

Re: [PATCH v3 3/3] selftests/mm: add UFFDIO_MOVE ioctl test

2023-10-19 Thread Axel Rasmussen
On Thu, Oct 19, 2023 at 8:43 AM Suren Baghdasaryan wrote: > > On Thu, Oct 12, 2023 at 3:29 PM Peter Xu wrote: > > > > On Sun, Oct 08, 2023 at 11:42:28PM -0700, Suren Baghdasaryan wrote: > > > Add a test for new UFFDIO_MOVE ioctl which uses uffd to move source > > > into destination buffer while c

Re: [PATCH v3 3/3] selftests/mm: add UFFDIO_MOVE ioctl test

2023-10-19 Thread Suren Baghdasaryan
On Thu, Oct 12, 2023 at 3:29 PM Peter Xu wrote: > > On Sun, Oct 08, 2023 at 11:42:28PM -0700, Suren Baghdasaryan wrote: > > Add a test for new UFFDIO_MOVE ioctl which uses uffd to move source > > into destination buffer while checking the contents of both after > > remapping. After the operation t

Re: [PATCH v3 3/3] selftests/mm: add UFFDIO_MOVE ioctl test

2023-10-12 Thread Peter Xu
On Sun, Oct 08, 2023 at 11:42:28PM -0700, Suren Baghdasaryan wrote: > Add a test for new UFFDIO_MOVE ioctl which uses uffd to move source > into destination buffer while checking the contents of both after > remapping. After the operation the content of the destination buffer > should match the ori

[PATCH v3 3/3] selftests/mm: add UFFDIO_MOVE ioctl test

2023-10-08 Thread Suren Baghdasaryan
Add a test for new UFFDIO_MOVE ioctl which uses uffd to move source into destination buffer while checking the contents of both after remapping. After the operation the content of the destination buffer should match the original source buffer's content while the source buffer should be zeroed. Sig