Messages in this thread | | | Date | Wed, 10 Apr 2024 10:12:56 +0800 | Subject | Re: [PATCH v4 1/9] mm/ksm: add ksm_get_folio | From | Alex Shi <> |
| |
On 4/9/24 6:50 PM, David Hildenbrand wrote: > On 09.04.24 11:28, alexs@kernel.org wrote: >> From: "Alex Shi (tencent)" <alexs@kernel.org> >> >> The ksm only contains single pages, so we could add a new func >> ksm_get_folio for get_ksm_page to use folio instead of pages to save a >> couple of compound_head calls. >> >> After all caller replaced, get_ksm_page will be removed. >> >> Signed-off-by: Alex Shi (tencent) <alexs@kernel.org> >> To: Andrew Morton <akpm@linux-foundation.org> >> Cc: Izik Eidus <izik.eidus@ravellosystems.com> >> Cc: Matthew Wilcox <willy@infradead.org> >> Cc: Andrea Arcangeli <aarcange@redhat.com> >> Cc: Hugh Dickins <hughd@google.com> >> Cc: Chris Wright <chrisw@sous-sol.org> >> Reviewed-by: David Hildenbrand <david@redhat.com> > > Note that the more common way is to have RBs ets fist. Further, I haven't really seen "To:" that often :)
Hi David,
Thanks a lot for notice, will change it in next version. >
| |