Re: [PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-29 Thread Alistair Popple
On Friday, 29 October 2021 2:33:31 AM AEDT Felix Kuehling wrote: > Am 2021-10-27 um 9:42 p.m. schrieb Alistair Popple: > > On Wednesday, 27 October 2021 3:09:57 AM AEDT Felix Kuehling wrote: > >> Am 2021-10-25 um 12:16 a.m. schrieb Alistair Popple: > >>> MIGRATE_PFN_LOCKED is used to indicate to

Re: [PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-28 Thread Felix Kuehling
Am 2021-10-27 um 9:42 p.m. schrieb Alistair Popple: > On Wednesday, 27 October 2021 3:09:57 AM AEDT Felix Kuehling wrote: >> Am 2021-10-25 um 12:16 a.m. schrieb Alistair Popple: >>> MIGRATE_PFN_LOCKED is used to indicate to migrate_vma_prepare() that a >>> source page was already locked during

Re: [PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-27 Thread Alistair Popple
On Wednesday, 27 October 2021 3:09:57 AM AEDT Felix Kuehling wrote: > Am 2021-10-25 um 12:16 a.m. schrieb Alistair Popple: > > MIGRATE_PFN_LOCKED is used to indicate to migrate_vma_prepare() that a > > source page was already locked during migrate_vma_collect(). If it > > wasn't then the a second

Re: [PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-27 Thread Alistair Popple
On Tuesday, 26 October 2021 11:57:06 AM AEDT Ralph Campbell wrote: > > On 10/24/21 21:16, Alistair Popple wrote: > > MIGRATE_PFN_LOCKED is used to indicate to migrate_vma_prepare() that a > > source page was already locked during migrate_vma_collect(). If it > > wasn't then the a second attempt

Re: [PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-26 Thread Felix Kuehling
Am 2021-10-25 um 12:16 a.m. schrieb Alistair Popple: > MIGRATE_PFN_LOCKED is used to indicate to migrate_vma_prepare() that a > source page was already locked during migrate_vma_collect(). If it > wasn't then the a second attempt is made to lock the page. However if > the first attempt failed it's

Re: [PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-25 Thread Ralph Campbell
On 10/24/21 21:16, Alistair Popple wrote: MIGRATE_PFN_LOCKED is used to indicate to migrate_vma_prepare() that a source page was already locked during migrate_vma_collect(). If it wasn't then the a second attempt is made to lock the page. However if the first attempt failed it's unlikely a

[PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-24 Thread Alistair Popple
MIGRATE_PFN_LOCKED is used to indicate to migrate_vma_prepare() that a source page was already locked during migrate_vma_collect(). If it wasn't then the a second attempt is made to lock the page. However if the first attempt failed it's unlikely a second attempt will succeed, and the retry adds