Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932810AbdCGOtK (ORCPT ); Tue, 7 Mar 2017 09:49:10 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33623 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932700AbdCGOsf (ORCPT ); Tue, 7 Mar 2017 09:48:35 -0500 Date: Tue, 7 Mar 2017 17:20:51 +0300 From: "Kirill A. Shutemov" To: Minchan Kim Cc: Andrew Morton , kernel-team@lge.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Johannes Weiner , Michal Hocko , Shaohua Li Subject: Re: [RFC 03/11] mm: remove SWAP_DIRTY in ttu Message-ID: <20170307142051.GC2779@node.shutemov.name> References: <1488436765-32350-1-git-send-email-minchan@kernel.org> <1488436765-32350-4-git-send-email-minchan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1488436765-32350-4-git-send-email-minchan@kernel.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 556 Lines: 14 On Thu, Mar 02, 2017 at 03:39:17PM +0900, Minchan Kim wrote: > If we found lazyfree page is dirty, ttuo can just SetPageSwapBakced > in there like PG_mlocked page and just return with SWAP_FAIL which > is very natural because the page is not swappable right now so that > vmscan can activate it. There is no point to introduce new return > value SWAP_DIRTY in ttu at the moment. > > Cc: Shaohua Li > Signed-off-by: Minchan Kim Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov