Re: [PATCH] hmm-tests: Fix migrate_dirty_page test

2022-09-14 Thread David Hildenbrand
On 13.09.22 10:20, Alistair Popple wrote: David Hildenbrand writes: On 13.09.22 07:22, Alistair Popple wrote: As noted by John Hubbard the original test relied on side effects of the implementation of migrate_vma_setup() to detect if pages had been swapped to disk or not. This is subject to

Re: [PATCH] hmm-tests: Fix migrate_dirty_page test

2022-09-13 Thread Mika Penttilä
On 13.9.2022 8.22, Alistair Popple wrote: As noted by John Hubbard the original test relied on side effects of the implementation of migrate_vma_setup() to detect if pages had been swapped to disk or not. This is subject to change in future so explicitly check for swap entries via pagemap inst

Re: [PATCH] hmm-tests: Fix migrate_dirty_page test

2022-09-13 Thread Alistair Popple
David Hildenbrand writes: > On 13.09.22 07:22, Alistair Popple wrote: >> As noted by John Hubbard the original test relied on side effects of the >> implementation of migrate_vma_setup() to detect if pages had been >> swapped to disk or not. This is subject to change in future so >> explicitly

Re: [PATCH] hmm-tests: Fix migrate_dirty_page test

2022-09-13 Thread David Hildenbrand
On 13.09.22 07:22, Alistair Popple wrote: As noted by John Hubbard the original test relied on side effects of the implementation of migrate_vma_setup() to detect if pages had been swapped to disk or not. This is subject to change in future so explicitly check for swap entries via pagemap instead

[PATCH] hmm-tests: Fix migrate_dirty_page test

2022-09-12 Thread Alistair Popple
As noted by John Hubbard the original test relied on side effects of the implementation of migrate_vma_setup() to detect if pages had been swapped to disk or not. This is subject to change in future so explicitly check for swap entries via pagemap instead. Fix a spelling mistake while we're at it.