[ sorry for html crud, I'm at the airport reading email on my phone ]
On Thu, Jan 13, 2022, 13:07 Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:
On Thu,
+ if (page_count(page) > 5)
goto copy;
Heh. That 5 was just supposed to be an example situation, not an actual value to test.
Using 1+PageSwapCache(page) is fine with a comment about how it's an optimistic comment
Linus