Skip to content

Commit

Permalink
mm: refactor swap-in logic out of shmem_getpage_gfp
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Vineeth Remanan Pillai <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Huang Ying <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Kelley Nielsen <[email protected]>
Cc: Rik van Riel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Vineeth Remanan Pillai authored and torvalds committed Mar 6, 2019
1 parent a9e7c39 commit c5bf121
Showing 1 changed file with 244 additions and 205 deletions.
Loading

0 comments on commit c5bf121

Please sign in to comment.