Ack to merge through DRM? WAS Re: [PATCH v2 1/5] mm: Add write-protect and clean utilities for address space ranges
Thomas Hellström (VMware)
thomas_os at shipmail.org
Thu Sep 26 12:03:19 UTC 2019
On 9/26/19 1:55 PM, Thomas Hellström (VMware) wrote:
> From: Thomas Hellstrom <thellstrom at vmware.com>
> Add two utilities to a) write-protect and b) clean all ptes pointing into
> a range of an address space.
> The utilities are intended to aid in tracking dirty pages (either
> driver-allocated system memory or pci device memory).
> The write-protect utility should be used in conjunction with
> page_mkwrite() and pfn_mkwrite() to trigger write page-faults on page
> accesses. Typically one would want to use this on sparse accesses into
> large memory regions. The clean utility should be used to utilize
> hardware dirtying functionality and avoid the overhead of page-faults,
> typically on large accesses into small memory regions.
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Matthew Wilcox <willy at infradead.org>
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: Peter Zijlstra <peterz at infradead.org>
> Cc: Rik van Riel <riel at surriel.com>
> Cc: Minchan Kim <minchan at kernel.org>
> Cc: Michal Hocko <mhocko at suse.com>
> Cc: Huang Ying <ying.huang at intel.com>
> Cc: Souptick Joarder <jrdr.linux at gmail.com>
> Cc: "Jérôme Glisse" <jglisse at redhat.com>
> Cc: linux-mm at kvack.org
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
> Reviewed-by: Ralph Campbell <rcampbell at nvidia.com>
I wonder if I can get an ack from an mm maintainer to merge this through
DRM along with the vmwgfx patches? Andrew? Matthew?
More information about the dri-devel