On Fri, 13 Jul 2018 07:36:56 +0100 Janosch Frank <frankja@xxxxxxxxxxxxx> wrote: > From: Janosch Frank <frankja@xxxxxxxxxxxxxxxxxx> I'm not starting to review mm stuff, but I wanted to note that you might want to update the author email address :) > > To do dirty loging with huge pages, we protect huge pmds in the > gmap. When they are written to, we unprotect them and mark them dirty. > > We introduce the function gmap_test_and_clear_dirty_segment which > handles dirty sync for huge pages. > > Signed-off-by: Janosch Frank <frankja@xxxxxxxxxxxxx> > --- > arch/s390/include/asm/gmap.h | 3 ++ > arch/s390/kvm/kvm-s390.c | 19 ++++--- > arch/s390/mm/gmap.c | 119 ++++++++++++++++++++++++++++++++++++++++++- > arch/s390/mm/pgtable.c | 6 --- > 4 files changed, 132 insertions(+), 15 deletions(-)