s390/mm: use compound page order to distinguish page tables
authorAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 3 Nov 2023 15:40:13 +0000 (16:40 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sun, 5 Nov 2023 21:34:58 +0000 (22:34 +0100)
commit0031f1c7cf2632a068a80261071b9b1f2d32d836
tree4737f15084b49e53a26d1dd8d67302570356cc8c
parentd08d4e7cd6bffe333f09853005aa549a8d57614b
s390/mm: use compound page order to distinguish page tables

CRSTs always have size of four pages, while 2KB-size page tables
always occupy a single page. Use that information to distinguish
page tables from CRSTs.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/pgalloc.c