Messages in this thread | | | Date | Fri, 5 Apr 2024 09:23:49 +0200 | Subject | Re: [PATCH v3 01/14] mm/ksm: add ksm_get_folio | From | David Hildenbrand <> |
| |
On 25.03.24 13:48, 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> > 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> > --- > mm/ksm.c | 40 ++++++++++++++++++++++++---------------- > 1 file changed, 24 insertions(+), 16 deletions(-) >
Reviewed-by: David Hildenbrand <david@redhat.com>
-- Cheers,
David / dhildenb
| |