lkml.org 
[lkml]   [2023]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v1 15/39] mm/huge_memory: batch rmap operations in __split_huge_pmd_locked()
    From


    On 12/11/2023 11:56 PM, David Hildenbrand wrote:
    > Let's use folio_add_anon_rmap_ptes(), batching the rmap operations.
    >
    > While at it, use more folio operations (but only in the code branch we're
    > touching), use VM_WARN_ON_FOLIO(), and pass RMAP_EXCLUSIVE instead of
    > manually setting PageAnonExclusive.
    >
    > We should never see non-anon pages on that branch: otherwise, the
    > existing page_add_anon_rmap() call would have been flawed already.
    >
    > Signed-off-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>

    \
     
     \ /
      Last update: 2023-12-15 03:28    [W:3.697 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site