UPSTREAM: mm: remove some calls to page_add_new_anon_rmap()
We already have the folio in these functions, we just need to use it. folio_add_new_anon_rmap() didn't exist at the time they were converted to folios. Link: https://lkml.kernel.org/r/20231211162214.2146080-5-willy@infradead.org Change-Id: I47ce847643da6cee6944d5af31039397663274ce Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by:
David Hildenbrand <david@redhat.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> (cherry picked from commit 2853b66b) Bug: 313807618 Signed-off-by:
Kalesh Singh <kaleshsingh@google.com>
Loading
Please sign in to comment