Re: [PATCH v3 1/5] mm/migrate.c: make putback_movable_page() static

2021-03-25 Thread Yang Shi
On Thu, Mar 25, 2021 at 6:16 AM Miaohe Lin wrote: > > The putback_movable_page() is just called by putback_movable_pages() and > we know the page is locked and both PageMovable() and PageIsolated() is > checked right before calling putback_movable_page(). So we make it static > and remove all the

Re: [PATCH v3 1/5] mm/migrate.c: make putback_movable_page() static

2021-03-25 Thread David Hildenbrand
On 25.03.21 14:15, Miaohe Lin wrote: The putback_movable_page() is just called by putback_movable_pages() and we know the page is locked and both PageMovable() and PageIsolated() is checked right before calling putback_movable_page(). So we make it static and remove all the 3 VM_BUG_ON_PAGE(). S

[PATCH v3 1/5] mm/migrate.c: make putback_movable_page() static

2021-03-25 Thread Miaohe Lin
The putback_movable_page() is just called by putback_movable_pages() and we know the page is locked and both PageMovable() and PageIsolated() is checked right before calling putback_movable_page(). So we make it static and remove all the 3 VM_BUG_ON_PAGE(). Signed-off-by: Miaohe Lin --- include/