• Thomas Hellstrom's avatar
    mm: Add a walk_page_mapping() function to the pagewalk code · ecaad8ac
    Thomas Hellstrom authored
    For users that want to travers all page table entries pointing into a
    region of a struct address_space mapping, introduce a walk_page_mapping()
    function.
    
    The walk_page_mapping() function will be initially be used for dirty-
    tracking in virtual graphics drivers.
    
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Matthew Wilcox <willy@infradead.org>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Rik van Riel <riel@surriel.com>
    Cc: Minchan Kim <minchan@kernel.org>
    Cc: Michal Hocko <mhocko@suse.com>
    Cc: Huang Ying <ying.huang@intel.com>
    Cc: Jérôme Glisse <jglisse@redhat.com>
    Cc: Kirill A. Shutemov <kirill@shutemov.name>
    Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
    Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    ecaad8ac
pagewalk.c 12 KB