Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3906376ybb; Mon, 23 Mar 2020 09:51:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vux5liHAq6dj4m8JRdTq4mhhjcSVFJlF/K1A8mA2YRJLxPGcCYXEySQVG0ez0KmXGpzzY1F X-Received: by 2002:a9d:d0f:: with SMTP id 15mr19251628oti.161.1584982311019; Mon, 23 Mar 2020 09:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584982311; cv=none; d=google.com; s=arc-20160816; b=SKhL+lhUOYtRk1RHVcxx9bH2h64JJTXcPECDGK3bQVSSw2GF54S2D2gIOF8MqGOkma XjHzUXttQGJjn41ZpgTKuU6icYzAj8L0bCWpROQWOxPyh1W2CuxvtSwxH5M7NE0PpNoO PYuIsUMm4Psb9tGaAJFTKJScwJQfKY3eR+J7dmG1Ry33OLRz2AXhtyGMDCtXyiNii2AZ erMQS2OXp4m0tjfe5KrjMlQTmnsH+nYAblar8tEZMTmOaHZO7LMXxuZ+ye6zlsqfz/Pf cFVQnMVZJ9HXaTlSkehgHDpTBozHy18EiZ3pgomK5jgPrerVasdGcIJKm7zE5avoWdh3 k3aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=DAmo83OU6Z9FY3EAp1eIchXxAfwetYnQdz8RvRwBuLE=; b=qhKuz8O0v4UpBqew0hsigTNTLlML7lPWgFvqQa6i5juCNGs4Ssr/YG7SxKNXl8vpgF 3bPk2h9VyQJH4872Pt8+wrjnwWj+B10L4vXLBIeVklqEmVDgT+CtPdEnw7q58iwO3qrK JnWWafWLJc4nwqcrwH3aBM08vUBnnwB7x/xASZMmcDCsv5329pRhsASMiGBLQ470YrnS Nx638EzKaqn42FoghTtDG9lUqivc7LV4ldbDi9hG9T25oJfhq/1nIU7u012nJhbXHf2N 3cPyhvhRgfRTXxpTf0JxYzFclMRqgpWUwWJTX7kt5mtQPx1SKgGl2NWVOS3WfrXxTo/r fAcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=ZcZyAY3W; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x73si8096474oif.16.2020.03.23.09.51.38; Mon, 23 Mar 2020 09:51:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=ZcZyAY3W; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727739AbgCWQuF (ORCPT + 99 others); Mon, 23 Mar 2020 12:50:05 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:40234 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727067AbgCWQuE (ORCPT ); Mon, 23 Mar 2020 12:50:04 -0400 Received: by mail-qk1-f193.google.com with SMTP id l25so11104613qki.7 for ; Mon, 23 Mar 2020 09:50:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=DAmo83OU6Z9FY3EAp1eIchXxAfwetYnQdz8RvRwBuLE=; b=ZcZyAY3Wd1okpJtclZ7/IBkX8wfbqKUNN5lO1oFhQNxyLZ1FZsPVoKOeBj/ZuiMW80 4jLbw4Rh6Xn56iu+4PnTK7aYWQJhH9qrOEN7YukpCw7h9Xzm7X78NSxn2wc+gybfdhrd MpbcwW4y9psWgwKT2m9gUau5GEfxyzMbv2/H94x8pttsANppUemk62gfr/LEPNvWZ0uC 66DRMIIGGYQNJWeM31j9rwS5A6NxmIjoBGTv4i1PfbEbV3lLWFhHgI9ZgwVJvaHE4VUT ltDS7BPoEw1CtiidbjM0Emm1Bg2qJioiKVsI74SOl37DJxnwyDyaHNFWFHW3WIcZ1Fzn UvFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DAmo83OU6Z9FY3EAp1eIchXxAfwetYnQdz8RvRwBuLE=; b=iJD9gSEz0xXhIIYlPcz27/ECUy5g0GHh98XprDmQUjq9A8xkZzt0uNNGtnPjXepMO+ Es14f2uot5tjKCGQRMDZrbEnoul6aXo/G9R5fqeo/Wwy06C7Ol4c21YFtLwmV4/r43Jp 4xyQWxYWMuADCEjLfRKeZHr6LxTZgmppkY2Fqe8nx/KYS7FZAevzU4P7x9YGWaJ4MuUr PyYMt0UxNHyRMJkpQHSrO8TffuO5jyeZAnNS6i9ymEuB7AHmqe7EYzW2sj9YKWsNb9Ka WBaNGSqpVe0/3Z82GSRvEd0RRHF6+c/rh2wLV5EetpmqcdXk8Nz55sAnrhg/Mx+RbXXs Ix3Q== X-Gm-Message-State: ANhLgQ1VDdxVQhQuPChvgPipKL3vqRrIE0vSiUyoUa6OnKbJf1tayDAG ZJBv9HIB6N3XR8ieql1suXeQQg== X-Received: by 2002:a37:a297:: with SMTP id l145mr20930518qke.322.1584982203273; Mon, 23 Mar 2020 09:50:03 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::1:a9a9]) by smtp.gmail.com with ESMTPSA id p17sm3561970qkk.18.2020.03.23.09.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2020 09:50:02 -0700 (PDT) Date: Mon, 23 Mar 2020 12:50:01 -0400 From: Johannes Weiner To: js1304@gmail.com Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Michal Hocko , Hugh Dickins , Minchan Kim , Vlastimil Babka , Mel Gorman , kernel-team@lge.com, Joonsoo Kim Subject: Re: [PATCH v4 4/8] mm/swapcache: support to handle the exceptional entries in swapcache Message-ID: <20200323165001.GB204561@cmpxchg.org> References: <1584942732-2184-1-git-send-email-iamjoonsoo.kim@lge.com> <1584942732-2184-5-git-send-email-iamjoonsoo.kim@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1584942732-2184-5-git-send-email-iamjoonsoo.kim@lge.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 23, 2020 at 02:52:08PM +0900, js1304@gmail.com wrote: > From: Joonsoo Kim > > Swapcache doesn't handle the exceptional entries since there is no case > using it. In the following patch, workingset detection for anonymous > page will be implemented and it stores the shadow entries as exceptional > entries into the swapcache. So, we need to handle the exceptional entries > and this patch implements it. > > Signed-off-by: Joonsoo Kim Acked-by: Johannes Weiner