]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: Make gmap_protect_range more modular
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 13 Jul 2018 10:28:16 +0000 (11:28 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 30 Jul 2018 10:20:17 +0000 (11:20 +0100)
commit876e365a07cdf1d284fcbba958888103a6a6617f
treecdbb52745f9e1744adfa0c9fdb15d410c30bfd85
parentb88fc95d5d15b83f5e39849357a70e040702d1d6
s390/mm: Make gmap_protect_range more modular

This patch reworks the gmap_protect_range logic and extracts the pte
handling into an own function. Also we do now walk to the pmd and make
it accessible in the function for later use. This way we can add huge
page handling logic more easily.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/gmap.c