]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: implement dirty bits for large segment table entries
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 24 Jul 2014 09:03:41 +0000 (11:03 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Aug 2014 12:55:05 +0000 (14:55 +0200)
commita54b8e5d1339b78880b53a29dc08548b871c8149
tree247d93a58d6ff9ff9ccbe66840acaa240069d879
parent20d8f056b54b1be8c4034d39818479aba210d989
s390/mm: implement dirty bits for large segment table entries

The large segment table entry format has block of bits for the
ACC/F values for the large page. These bits are valid only if
another bit (AV bit 0x10000) of the segment table entry is set.
The ACC/F bits do not have a meaning if the AV bit is off.
This allows to put the THP splitting bit, the segment young bit
and the new segment dirty bit into the ACC/F bits as long as
the AV bit stays off. The dirty and young information is only
available if the pmd is large.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h
arch/s390/mm/hugetlbpage.c
arch/s390/mm/pgtable.c