Messages in this thread | | | Date | Wed, 21 Nov 2018 14:11:00 -0800 | From | Matthew Wilcox <> | Subject | Re: [PATCH v3] mm: use swp_offset as key in shmem_replace_page() |
| |
On Wed, Nov 21, 2018 at 02:54:42PM -0700, Yu Zhao wrote: > We changed key of swap cache tree from swp_entry_t.val to > swp_offset. Need to do so in shmem_replace_page() as well. > > Fixes: f6ab1f7f6b2d ("mm, swap: use offset of swap entry as key of swap cache") > Cc: stable@vger.kernel.org # v4.9+ > Signed-off-by: Yu Zhao <yuzhao@google.com>
Reviewed-by: Matthew Wilcox <willy@infradead.org>
| |