diff options
author | Vishal Moola (Oracle) <vishal.moola@gmail.com> | 2023-01-30 13:43:49 -0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-13 15:54:31 -0800 |
commit | 3c1ea2c729ef8ef07bcb80d01ab2ead45b3406dd (patch) | |
tree | cc98b8ca8028bb49bb76e4abe203edce6cc79ff4 /ipc | |
parent | 4a64981dfee9119aa2c1f243b48f34cbbd67779c (diff) | |
download | linux-stable-3c1ea2c729ef8ef07bcb80d01ab2ead45b3406dd.tar.gz linux-stable-3c1ea2c729ef8ef07bcb80d01ab2ead45b3406dd.tar.bz2 linux-stable-3c1ea2c729ef8ef07bcb80d01ab2ead45b3406dd.zip |
mm: add folio_get_nontail_page()
Patch series "Convert a couple migrate functions to use folios", v2.
This patchset introduces folio_movable_ops() and converts 3 functions in
mm/migrate.c to use folios. It also introduces folio_get_nontail_page()
for folio conversions which may want to distinguish between head and tail
pages.
This patch (of 4):
folio_get_nontail_page() returns the folio associated with a head page.
This is necessary for folio conversions where the behavior of that
function differs between head pages and tail pages.
Link: https://lkml.kernel.org/r/20230130214352.40538-1-vishal.moola@gmail.com
Link: https://lkml.kernel.org/r/20230130214352.40538-2-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions