Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3231777yba; Mon, 8 Apr 2019 14:06:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxHo/7T00Jqz1vWnEEyA0wHKYmwObtZHmwLrHuITZp+LYsko/CH5xcxhBf/P1vBIFfbP7f X-Received: by 2002:a62:e80f:: with SMTP id c15mr32101536pfi.93.1554757591695; Mon, 08 Apr 2019 14:06:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554757591; cv=none; d=google.com; s=arc-20160816; b=LogyyniF4UrmlKY05BTKDF1x6TlUUqfBwiAu/n9eECtz2YDfJsF+lYU3zsD61Tz9W2 chmHryh/gYt7R7VdxG/07C8jd8BOIbl7vfgn1/WvNcULbJbHaBCQs+baup7N7xIA8Oig 5De2MZRALAtwOk/6Uf6n2ksyJQoC2VawVSiEgwC4ea4a4w77v7w78MqTQDQl4mcehkao z02aU1lyXwmUiucWbQUWRfQ3ol9pOYmhnIB6jVcnAgypStZ6evWv67gR7qNazGVAcPB9 0aVfCLA0pl5o6S4sS3yzGUN/p9lbEFgE93lSphKZzqgYLOrjnonDyufCRWl3aURmTPPl 9ONQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date:dkim-signature; bh=1jo2iMrB0owQ9V5kkgcFERnG5vKtykcZHem1fyaBDFo=; b=RL8iMO7jbjEeHU867Ql9lvaUwIM2hViAjpu0zSVemUgHxVX12eMvQpVsTjP34HsRak piWKW+V7ctiP7a97dFEp0SoMutggtRDeNbFMWSuyLrHIMMdcN4TvtFL+/QlYOLkkN4Qi lMUzHcrXRH7qPMfv5MYyNnwpPbp1lvTLOIr8gxyAq/xuFG5UTNzPfC/QgTj4k1HRCD/u 7MNFm7e6UXSxpXtRSfg64lyhmtpAxgzCMZ7m122uoB6CBR17AhvJtWsoShJgDLLXQhsr BgUDf/asPvERUXWAXgckvqjJr2l79Mwh/tCTZC3Zsw+t1RH19nn+c4b4YWKfPgwZ+yH0 sm4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ecLqHUnz; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189si16519382pge.378.2019.04.08.14.06.15; Mon, 08 Apr 2019 14:06:31 -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=@google.com header.s=20161025 header.b=ecLqHUnz; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726654AbfDHTyO (ORCPT + 99 others); Mon, 8 Apr 2019 15:54:14 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:40262 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726220AbfDHTyO (ORCPT ); Mon, 8 Apr 2019 15:54:14 -0400 Received: by mail-pf1-f193.google.com with SMTP id c207so8233382pfc.7 for ; Mon, 08 Apr 2019 12:54:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=1jo2iMrB0owQ9V5kkgcFERnG5vKtykcZHem1fyaBDFo=; b=ecLqHUnzNU7+FbXXx978+5RbQ1KF8vvKyf67EIY6PXNk03FzmiRTrZrDLsmXWptuPL /Rb82V3XEi9XGLiZ42bffTnISaWVr3H169b9bpmR2tFq/RhVtkWJOOu/QS9AMyAB8B5y 2KVZpADsQ1m7nZIrGh806AiIUjWePNUVr4OfPFKZR/9o96Kz6i/CdEVSnOAW/ZwzeiS7 XZOuLjnCVeaK2C8k3V2V2IkgbdipI+CABwpaebFQEKMN25A86sGs1a/YLs2eCP5+HKSK Dkuu9VTxFelntySxMNW/MbT9ehFwaNnQFF+Pu++P/EitwO1spGJDnJa3EgOOKOyQTvkC OBZw== 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:user-agent :mime-version; bh=1jo2iMrB0owQ9V5kkgcFERnG5vKtykcZHem1fyaBDFo=; b=KIhQzLxGUzZ3wI5lIdVwuBuwfvcSIGy0C6KPrOFhu/TgQS0CyHWcIuAjN1x07mdAVp rsvfT/MwOrw2lS6qLyeBciCiGjSDv+hv/dy9JXoWfozM9JSAB2t1iocq/cPfN2MNGPqf /EGEAlig0yVeMEKECrDeh5p8g+9QVLN3qJkqE0cqJC3tYrVKvm50OpenizPPvr19Fn3F KDCN9z4Ay+iTVW9PzhrAkUuu9OLElf35Cng1ugsZBeDGbQQCIsBWYROli4c4jcqVi0wX P9NwMIdSwGcJczAG28BGCNYqTNAHB+6GAiKnquMZdbqltl78QKy5Xnte/GCKSSOmaejb mdCg== X-Gm-Message-State: APjAAAUaKnye/ZliKUuPJxgtnlOrCySm6LK4UhBMW+CpQkV2GXdXD+Ir Uv0hZiVKAEeohPFSVNUUEba+z4y+Bc8= X-Received: by 2002:a65:4185:: with SMTP id a5mr29606204pgq.82.1554753252418; Mon, 08 Apr 2019 12:54:12 -0700 (PDT) Received: from [100.112.89.103] ([104.133.8.103]) by smtp.gmail.com with ESMTPSA id 6sm12828984pfp.143.2019.04.08.12.54.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Apr 2019 12:54:11 -0700 (PDT) Date: Mon, 8 Apr 2019 12:53:50 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Andrew Morton cc: Konstantin Khlebnikov , "Alex Xu (Hello71)" , Vineeth Pillai , Kelley Nielsen , Rik van Riel , Huang Ying , Hugh Dickins , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/4] mm: swapoff: fixes for 5.1-rc Message-ID: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here are four fixes to the new "rid quadratic" swapoff in 5.1-rc: 1/4 mm: swapoff: shmem_find_swap_entries() filter out other types 2/4 mm: swapoff: remove too limiting SWAP_UNUSE_MAX_TRIES 3/4 mm: swapoff: take notice of completion sooner 4/4 mm: swapoff: shmem_unuse() stop eviction without igrab() include/linux/shmem_fs.h | 1 mm/shmem.c | 57 +++++++++++++++++-------------------- mm/swapfile.c | 32 +++++++++++--------- 3 files changed, 45 insertions(+), 45 deletions(-) Hugh