]> 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)
commit4ac2bbcb9f29b76c5992e977137493923c421196
treecdbb52745f9e1744adfa0c9fdb15d410c30bfd85
parent90007598d9a0283eacf8ec7c67ce7a5268227fcd
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