Re: [PATCH v7] mm: Add set/end/wait functions for PG_private_2

2021-04-13 Thread Matthew Wilcox
On Tue, Apr 13, 2021 at 04:11:41PM +0100, David Howells wrote: > Suggested-by: Linus Torvalds > Signed-off-by: David Howells > Tested-by: Jeff Layton > Tested-by: Dave Wysochanski Reviewed-by: Matthew Wilcox (Oracle)

[PATCH v7] mm: Add set/end/wait functions for PG_private_2

2021-04-13 Thread David Howells
Add three functions to manipulate PG_private_2: (*) set_page_private_2() - Set the flag and take an appropriate reference on the flagged page. (*) end_page_private_2() - Clear the flag, drop the reference and wake up any waiters, somewhat analogously with end_page_writeback(). (*)