]> www.infradead.org Git - users/willy/pagecache.git/commit
mm: Add default definition of set_ptes()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 3 Mar 2023 16:52:17 +0000 (11:52 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 1 Aug 2023 19:14:16 +0000 (15:14 -0400)
commit6b02f5f592ef62e173d0cfa78674494cd4f5439f
tree9ec13156c04876d75faf23a73992ed4bfc502a57
parentacbc8df18751eb06021dedeb304d4ca5086e831a
mm: Add default definition of set_ptes()

Most architectures can just define set_pte() and PFN_PTE_SHIFT to
use this definition.  It's also a handy spot to document the guarantees
provided by the MM.

Suggested-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
include/linux/pgtable.h