lkml.org 
[lkml]   [2023]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v7 3/8] KVM: Make __kvm_follow_pfn not imply FOLL_GET
    > 
    > +void kvm_set_page_accessed(struct page *page);
    > +void kvm_set_page_dirty(struct page *page);
    > +
    No one calls these 2 routines in this patch. How about move this change to
    [PATCH v7 5/8] KVM: x86/mmu: Don't pass FOLL_GET to __kvm_follow_pfn ?

    ...

    > @@ -2930,17 +2933,19 @@ static bool kvm_is_ad_tracked_page(struct page *page)
    > return !PageReserved(page);
    > }
    >
    > -static void kvm_set_page_dirty(struct page *page)
    > +void kvm_set_page_dirty(struct page *page)
    > {
    > if (kvm_is_ad_tracked_page(page))
    > SetPageDirty(page);
    > }
    > +EXPORT_SYMBOL_GPL(kvm_set_page_dirty);
    >
    > -static void kvm_set_page_accessed(struct page *page)
    > +void kvm_set_page_accessed(struct page *page)
    > {
    > if (kvm_is_ad_tracked_page(page))
    > mark_page_accessed(page);
    > }
    > +EXPORT_SYMBOL_GPL(kvm_set_page_accessed);

    Same here.

    B.R.
    Yu

    \
     
     \ /
      Last update: 2023-07-05 09:25    [W:2.093 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site