Re: [PATCH v3 2/7] mm: Add a walk_page_mapping() function to the pagewalk code

From: Linus Torvalds
Date: Wed Oct 02 2019 - 13:52:51 EST


On Wed, Oct 2, 2019 at 6:47 AM Thomas HellstrÃm (VMware)
<thomas_os@xxxxxxxxxxxx> wrote:
>
> From: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
>
> 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.

This looks non-offensive to me.

My main reaction was "oh, really good that we split up the walker ops
from the mm_walk structure, this would have been much uglier before
that" due to the added vma entry/exit ops.

Linus