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


Groups > linux.kernel > #1594574

Re: + mm-reclaim-madv_free-pages.patch added to -mm tree

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Johannes Weiner <hannes@cmpxchg.org>
Newsgroups linux.kernel
Subject Re: + mm-reclaim-madv_free-pages.patch added to -mm tree
Date Tue, 07 Mar 2017 20:30:03 +0100
Message-ID <tisY3-3CB-27@gated-at.bofh.it> (permalink)
References <tgMxP-3GU-3@gated-at.bofh.it> <tgMxP-3GU-1@gated-at.bofh.it> <tgXjz-35T-15@gated-at.bofh.it> <thRc6-1Dq-7@gated-at.bofh.it> <ti3dg-1Ug-17@gated-at.bofh.it> <tigka-2R6-3@gated-at.bofh.it>
X-Original-To Minchan Kim <minchan@kernel.org>
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cmpxchg.org ; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=p6sROicv50CPZOQblxJDR3LUKsOFhNQAePkOpCSvv1c=; b=gHC6rp35Fic1N7Gdm+ysl10x8i yLe1K++FYDXCVzzzCd8Wmo8b7tSgQ30KceD9fQ3jKH8C7rt5skiYOfs/qkEh07fywbTxF1JYS6EYE l8oQN7MR1jn3+bJ0FE3d2tOBKP9Z0sDtL1eTQnhJfym7+qCOiD6KcGJYzbSJGMdzjXTI=;
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.7.2 (2016-11-26)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
X-Original-Cc Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org, shli@fb.com, hillf.zj@alibaba-inc.com, hughd@google.com, mgorman@techsingularity.net, mhocko@suse.com, riel@redhat.com, mm-commits@vger.kernel.org
X-Original-Date Tue, 7 Mar 2017 11:59:22 -0500
X-Original-Message-ID <20170307165922.GB21425@cmpxchg.org>
X-Original-References <58b616a6.hCl1D/BVn0fPDi+K%akpm@linux-foundation.org> <20170303025237.GB3503@bbox> <20170303151851.GA16835@cmpxchg.org> <20170306030344.GG8779@bbox> <20170306154906.GA2090@cmpxchg.org> <20170307055551.GC29458@bbox>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1594574

Show key headers only | View raw


On Tue, Mar 07, 2017 at 02:55:51PM +0900, Minchan Kim wrote:
> From d42d296950c3bbce74afddcff307fa18eef305fe Mon Sep 17 00:00:00 2001
> From: Minchan Kim <minchan@kernel.org>
> Date: Tue, 7 Mar 2017 14:48:37 +0900
> Subject: [PATCH] mm: fix lazyfree bug on check in try_to_unmap_one
> 
> If a page is swapbacked, it means it should be in swapcache
> in try_to_unmap_one's path.
> 
> If a page is !swapbacked, it mean it shouldn't be in swapcache
> in try_to_unmap_one's path.
> 
> Check both two cases all at once and if it fails, warn and
> return SWAP_FAIL. Such bug never mean we should shut down
> the kernel.
> 
> Suggested-by: Johannes Weiner <hannes@cmpxchg.org>
> Signed-off-by: Minchan Kim <minchan@kernel.org>

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

Thanks Minchan

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


Thread

Re: + mm-reclaim-madv_free-pages.patch added to -mm tree Minchan Kim <minchan@kernel.org> - 2017-03-03 05:00 +0100
  Re: + mm-reclaim-madv_free-pages.patch added to -mm tree Johannes Weiner <hannes@cmpxchg.org> - 2017-03-03 16:30 +0100
    Re: + mm-reclaim-madv_free-pages.patch added to -mm tree Minchan Kim <minchan@kernel.org> - 2017-03-06 04:10 +0100
      Re: + mm-reclaim-madv_free-pages.patch added to -mm tree Johannes Weiner <hannes@cmpxchg.org> - 2017-03-06 17:00 +0100
        Re: + mm-reclaim-madv_free-pages.patch added to -mm tree Minchan Kim <minchan@kernel.org> - 2017-03-07 06:50 +0100
        Re: + mm-reclaim-madv_free-pages.patch added to -mm tree Minchan Kim <minchan@kernel.org> - 2017-03-07 07:00 +0100
          Re: + mm-reclaim-madv_free-pages.patch added to -mm tree Michal Hocko <mhocko@kernel.org> - 2017-03-07 11:00 +0100
          Re: + mm-reclaim-madv_free-pages.patch added to -mm tree Johannes Weiner <hannes@cmpxchg.org> - 2017-03-07 20:30 +0100

csiph-web