]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mapping_dirty_helpers: update huge page-table entry callbacks
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 2 Apr 2020 04:07:42 +0000 (21:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 2 Apr 2020 16:35:29 +0000 (09:35 -0700)
commitab4cb4b335fc19727dcc17c5e168881e66f13192
tree04fad6558694e469dcffdf11b1c76e5349e6c339
parent0985c16c4c594cc453426e61a72f8baa3bf53238
mm/mapping_dirty_helpers: update huge page-table entry callbacks

Following the update of pagewalk code commit a07984d48146 ("mm: pagewalk:
add p4d_entry() and pgd_entry()") we can modify the mapping_dirty_helpers'
huge page-table entry callbacks to avoid splitting when a huge pud or -pmd
is encountered.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Steven Price <steven.price@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200203154305.15045-1-thomas_os@shipmail.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mapping_dirty_helpers.c