diff options
author | Vineeth Remanan Pillai <vpillai@digitalocean.com> | 2019-03-06 02:46:58 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-06 08:07:18 +0300 |
commit | c5bf121e4350a933bd431385e6fcb72a898ecc68 (patch) | |
tree | 83cc8c0050d70e9ae073030674e72d2af7f5d5e8 /include/linux/shmem_fs.h | |
parent | a9e7c39fa9fd908bc914d691045c96fdc97da7cd (diff) | |
download | linux-c5bf121e4350a933bd431385e6fcb72a898ecc68.tar.xz |
mm: refactor swap-in logic out of shmem_getpage_gfp
swapin logic can be reused independently without rest of the logic in
shmem_getpage_gfp. So lets refactor it out as an independent function.
Link: http://lkml.kernel.org/r/20190114153129.4852-1-vpillai@digitalocean.com
Signed-off-by: Vineeth Remanan Pillai <vpillai@digitalocean.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Kelley Nielsen <kelleynnn@gmail.com>
Cc: Rik van Riel <riel@surriel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/shmem_fs.h')
0 files changed, 0 insertions, 0 deletions