Re: [PATCH] mm: reuse the unshared swapcache page in do_wp_page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ 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
 

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux