Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp175282pxa; Fri, 14 Aug 2020 00:21:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2wd49e+UaUE47w7/26OIcvSZrpHh7lf4C/gDkcI5mXYJACj8poCoUVmdZYdHaLDEnPqYw X-Received: by 2002:a17:906:1911:: with SMTP id a17mr1069150eje.431.1597389676511; Fri, 14 Aug 2020 00:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597389676; cv=none; d=google.com; s=arc-20160816; b=RnVgCknkSsWp+RNS/gecQSuipgrgeQvwXnIPCaRs3jtD2c+iNTNGzpqPwFzU2xcFe6 2RY9GVKhR6qbc1IWVlyfnWZbTOHgu8KQRnNgRhciA3klVnxBX+ZP0o8oDElSrrBS2X7a gScv163X4Ns+C56hoPTbATM+vyzp2zGZ0lVWf6qNOw9DgP8Up3MGSaGzMcgjR9uYtqqz rmveKgGke/q6t6jUaQCs26h0793niYiuDBXP46aNK3MjeExLFOpHbBN7NQUbRAEaoxOf 4OLGS4b8WreEtlbrGOb5IXBWR4UCHOzs9MxI/CIc2rAawI3iHJfqGSeCbUo+F9zLfqR3 dvzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=lEC4Jh2od4xfJgRd6ZO/Axs+QY6Mj9SF4z9t9M0m6xQ=; b=P3WLCFyXmoajTVEOPKDzWSBr3WHhGznPq1aVuFpXtYWoMuEoDxUZj5YovvCdxHCYw/ Cwf2ixysM/J3oGBZsaIQwmfgmoAojFCVfBl1U+IBjPmjaOvJK6KUrKQ/TorhvZ7F52uM rY6FmxfgBrxIlT6a3PodBbHq/uxu2d3Izg6hmeCWbKp+U6RWp/EP+dErmPsE+ZFVIEHS TYF86lHEP/Q5EikXE4RqXDZIvUb9EbyOmea+UBOKNRhadSsg7op6s+lG/RTCKtyDxg/U /diNS6ryLQplf6qMI/I4cDCR+NCyqY3VKM61/K+XgUhlmFGFT6rZVsbLq7fyPwb6SvgH wCjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si4917378ejr.456.2020.08.14.00.20.53; Fri, 14 Aug 2020 00:21:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726578AbgHNHT6 (ORCPT + 99 others); Fri, 14 Aug 2020 03:19:58 -0400 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:51904 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbgHNHT4 (ORCPT ); Fri, 14 Aug 2020 03:19:56 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04407;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=19;SR=0;TI=SMTPD_---0U5iicOY_1597389589; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0U5iicOY_1597389589) by smtp.aliyun-inc.com(127.0.0.1); Fri, 14 Aug 2020 15:19:51 +0800 Subject: Re: [RFC PATCH 2/3] mm: Drop use of test_and_set_skip in favor of just setting skip To: Alexander Duyck Cc: yang.shi@linux.alibaba.com, lkp@intel.com, rong.a.chen@intel.com, khlebnikov@yandex-team.ru, kirill@shutemov.name, hughd@google.com, linux-kernel@vger.kernel.org, daniel.m.jordan@oracle.com, linux-mm@kvack.org, shakeelb@google.com, willy@infradead.org, hannes@cmpxchg.org, tj@kernel.org, cgroups@vger.kernel.org, akpm@linux-foundation.org, richard.weiyang@gmail.com, mgorman@techsingularity.net, iamjoonsoo.kim@lge.com References: <20200813035100.13054.25671.stgit@localhost.localdomain> <20200813040232.13054.82417.stgit@localhost.localdomain> From: Alex Shi Message-ID: <6c072332-ff16-757d-99dd-b8fbae131a0c@linux.alibaba.com> Date: Fri, 14 Aug 2020 15:19:09 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200813040232.13054.82417.stgit@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2020/8/13 下午12:02, Alexander Duyck 写道: > > Since we have dropped the late abort case we can drop the code that was > clearing the LRU flag and calling page_put since the abort case will now > not be holding a reference to a page. > > Signed-off-by: Alexander Duyck seems the case-lru-file-mmap-read case drop about 3% on this patch in a rough testing. on my 80 core machine. Thanks Alex