diff options
| author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2024-05-15 15:07:09 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-03 19:29:53 -0700 |
| commit | 6f775463d0027733caebfb75d62ec7c4f807f834 (patch) | |
| tree | 1fd68094169e588e87747405856793079e7c496d /include | |
| 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
