lkml.org 
[lkml]   [2023]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH mm-unstable v2 01/10] mm/kvm: add mmu_notifier_ops->test_clear_young()
    On Fri, May 26, 2023 at 05:44:26PM -0600, Yu Zhao wrote:
    > @@ -122,6 +124,10 @@ struct mmu_notifier_ops {
    > struct mm_struct *mm,
    > unsigned long address);
    >
    > + int (*test_clear_young)(struct mmu_notifier *mn, struct mm_struct *mm,
    > + unsigned long start, unsigned long end,
    > + bool clear, unsigned long *bitmap);
    > +

    Why leave clear_young behind? Just make a NULL bitmap mean
    clear_young?

    Jason

    \
     
     \ /
      Last update: 2023-05-31 21:19    [W:5.503 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site