diff options
author | Huang Ying <[email protected]> | 2017-09-06 16:22:27 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-09-06 17:27:27 -0700 |
commit | 98cc093cba1e925eb34963dedb5f1684f1bdb2f4 (patch) | |
tree | 1651b9aed181959b1f5bae885a81ca130de09162 /lib/mpi/mpi-cmp.c | |
parent | f0eea189e8e969b66e03bac8a7d92888ba267854 (diff) |
block, THP: make block_device_operations.rw_page support THP
The .rw_page in struct block_device_operations is used by the swap
subsystem to read/write the page contents from/into the corresponding
swap slot in the swap device. To support the THP (Transparent Huge
Page) swap optimization, the .rw_page is enhanced to support to
read/write THP if possible.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: "Huang, Ying" <[email protected]>
Reviewed-by: Ross Zwisler <[email protected]> [for brd.c, zram_drv.c, pmem.c]
Cc: Johannes Weiner <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Vishal L Verma <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: "Kirill A . Shutemov" <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Shaohua Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions