]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
lib/test_hmm: make dmirror_atomic_map() consume a single page
authorDavid Hildenbrand <david@redhat.com>
Wed, 26 Feb 2025 13:22:53 +0000 (14:22 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 07:05:29 +0000 (00:05 -0700)
commit66add5e9093b4b4112aebacbc91d43ae4e030456
tree858b887a33c1e2dba77c05657e430cbba5a16a1a
parent173a3dc051bda746e284ff3933fcf6771d7247b8
lib/test_hmm: make dmirror_atomic_map() consume a single page

Patch series "mm: cleanups for device-exclusive entries (hmm)", v2.

Some smaller device-exclusive cleanups I have lying around.

This patch (of 5):

The caller now always passes a single page; let's simplify, and return "0"
on success.

Link: https://lkml.kernel.org/r/20250226132257.2826043-1-david@redhat.com
Link: https://lkml.kernel.org/r/20250226132257.2826043-2-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Alistair Popple <apopple@nvidia.com>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Jérôme Glisse <jglisse@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/test_hmm.c