commit | 6f775463d0027733caebfb75d62ec7c4f807f834 | [log] [tgz] |
---|---|---|
author | Kefeng Wang <wangkefeng.wang@huawei.com> | Wed May 15 15:07:09 2024 +0800 |
committer | Andrew Morton <akpm@linux-foundation.org> | Wed Jul 03 19:29:53 2024 -0700 |
tree | 1fd68094169e588e87747405856793079e7c496d | |
parent | 1d9cb7852bae9884eef413c213f82158ea84bebf [diff] |
mm: shmem: use folio_alloc_mpol() in shmem_alloc_folio() Let's change shmem_alloc_folio() to take a order and use folio_alloc_mpol() helper, then directly use it for normal or large folio to cleanup code. Link: https://lkml.kernel.org/r/20240515070709.78529-5-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>