Huang Ying 98cc093cba 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/20170724051840.2309-6-ying.huang@intel.com
Signed-off-by: "Huang, Ying" <ying.huang@intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@intel.com> [for brd.c, zram_drv.c, pmem.c]
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Vishal L Verma <vishal.l.verma@intel.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Shaohua Li <shli@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-09-06 17:27:27 -07:00
..
2017-09-05 11:08:17 -07:00
2017-09-05 12:45:03 -07:00
2017-09-05 12:45:03 -07:00
2017-09-05 10:41:21 -07:00
2017-09-05 11:08:17 -07:00
2017-08-15 16:16:58 +10:00
2017-09-05 11:08:17 -07:00
2017-08-29 13:46:35 +02:00
2017-09-03 17:49:17 -07:00
2017-09-05 11:08:17 -07:00
2017-09-05 12:45:03 -07:00
2017-09-05 11:08:17 -07:00
2017-09-04 00:06:02 +02:00
2017-08-01 15:22:55 -07:00
2017-07-13 11:49:52 -07:00
2017-08-21 11:08:03 +02:00
2017-09-05 12:45:03 -07:00
2017-09-05 12:45:03 -07:00
2017-09-05 11:08:17 -07:00
2017-09-05 10:41:21 -07:00
2017-09-05 10:41:21 -07:00
2017-08-24 09:57:28 +02:00