Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1640592

Re: [PATCH 2/2] mm: swap: move anonymous THP split logic to vmscan

From Johannes Weiner <hannes@cmpxchg.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] mm: swap: move anonymous THP split logic to vmscan
Date 2017-05-12 18:50 +0200
Message-ID <tGlVo-7jv-31@gated-at.bofh.it> (permalink)
References <tFKCt-7Iq-7@gated-at.bofh.it> <tG8v8-6jk-5@gated-at.bofh.it> <tG8v8-6jk-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, May 12, 2017 at 11:21:24AM +0900, Minchan Kim wrote:
> The add_to_swap aims to allocate swap_space(ie, swap slot and
> swapcache) so if it fails due to lack of space in case of THP
> or something(hdd swap but tries THP swapout) *caller* rather
> than add_to_swap itself should split the THP page and retry it
> with base page which is more natural.
> 
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Signed-off-by: Minchan Kim <minchan@kernel.org>

Acked-by: Johannes Weiner <hannes@cmpxchg.org>

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] mm: swap: move anonymous THP split logic to vmscan Minchan Kim <minchan@kernel.org> - 2017-05-12 04:30 +0200
  Re: [PATCH 2/2] mm: swap: move anonymous THP split logic to vmscan Johannes Weiner <hannes@cmpxchg.org> - 2017-05-12 18:50 +0200

csiph-web