]> git.baikalelectronics.ru Git - kernel.git/commit
revert "mm/z3fold.c: allow __GFP_HIGHMEM in z3fold_alloc"
authorMiaohe Lin <linmiaohe@huawei.com>
Fri, 29 Apr 2022 06:40:43 +0000 (14:40 +0800)
committerakpm <akpm@linux-foundation.org>
Fri, 27 May 2022 16:33:43 +0000 (09:33 -0700)
commit0ac6bbdc3770e827cb6d0d44b589b65ce27d693e
tree981af459f91b7c7f4775db7386a3b57d61b8fb99
parent5441584840f2b503fbaf72aba9e1354f0223f09a
revert "mm/z3fold.c: allow __GFP_HIGHMEM in z3fold_alloc"

Revert commit b37d09c0e51a ("mm/z3fold.c: allow __GFP_HIGHMEM in
z3fold_alloc").

z3fold can't support GFP_HIGHMEM page now.  page_address is used directly
at all places.  Moreover, z3fold_header is on per cpu unbuddied list which
could be accessed anytime.  So we should remove the support of GFP_HIGHMEM
allocation for z3fold.

Link: https://lkml.kernel.org/r/20220429064051.61552-6-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/z3fold.c