Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2830699pxa; Tue, 25 Aug 2020 04:41:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAXyGq0cddo8Jdh86vyKo5sFzAoSyh2aEqYKVgap7SLl1zF2MAEi7GvwkyMOgssgOWLyBH X-Received: by 2002:aa7:c0d5:: with SMTP id j21mr10199141edp.259.1598355713630; Tue, 25 Aug 2020 04:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598355713; cv=none; d=google.com; s=arc-20160816; b=tKQjDUzvbf6ESERqG2KWF579xAjwko2+Mq1tVIhIOpVa91VPgJAaQPHdV+Qtj6StVb 4YNpJ93XdV/EJh6//cATECG3YmOU/EY8ZYmtMZ7NmkLMXD6K+ZEMDeHUAnJJgvtdV+Y5 M+F5oEbPrTj8K4Yx6sOse6ily6ykJkg6oLXdaUjGOWX0TYT0JrJRJUhxhLIb56xnEhke FMVxy/SHu8Jpfzyg8yTBXoNa5wVwCVZOAjKvVyglOgPdYOOfMw3Pg/zK96eYWEusFOxd Zy2U9VZjTs/i4j2HjZ3yw/60H/R+fa/5go71hCa2inmbYecWPDgbrS5ZbzIIgS7h5nPD vrag== 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=8tGP1JPc7jordcLr9GYgEH1sQIAUBACeH7562OxDjxY=; b=nHqJ5R3HRZwXYHcIoYven0Mo+JDvnyaL8d4USeRHArpb7jg7C+lNHBwcKvKLpYnC5M 1HuYZzWXUFc3loRn132O4/v2FcoOc1pZtGbLZrFvqagGKN2f3f6F0abpvAfK6U6cRgoQ wCdnrRRzWCFfNyRNdi7UaR/YweOn9nDno/7o1MACW6wEqvQTORQUwVSzJMOFJn6EEUUE ehNkeALasRg8Afl9c/PHyVjHSPFj7FqZrdSSl0UgHJ43ySLm1fHohp9hAVAvGcOh2fYM ttge1Wtc+noU5Z/BtS9Whs39RPNU2QlTN5cqMwpWSl6wYMd6k5ACglXm8B+h9Ksk4OKx 54hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=jh69tqh9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si9921151edv.438.2020.08.25.04.41.30; Tue, 25 Aug 2020 04:41:53 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=jh69tqh9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730038AbgHYLkV (ORCPT + 99 others); Tue, 25 Aug 2020 07:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730067AbgHYLji (ORCPT ); Tue, 25 Aug 2020 07:39:38 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DED8DC061574; Tue, 25 Aug 2020 04:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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; bh=8tGP1JPc7jordcLr9GYgEH1sQIAUBACeH7562OxDjxY=; b=jh69tqh9e33dVk1UNLhHRmhHiL 7OpafBoQ9WlgiW0XNhW64zL1/ETCzp6H4vvEfMB0rWyBOhhR6m6y1f2K8Rm1ANxQ7MfYlSy9BRKBJ 0w+5LDlcoKVpEjuSnMGW4tmb3C2UlWZQBKcZs8cryVhqimrR+Bo1XNrvqh8dWMIinKhxaW3hvf/9Y CwqVStNBSBzAiL1dc7uTBWj97LHP8X1bdfHGsABFRj2uE+jdoEwWe8k2GC7wQXV5LKDDEEPlA1adh /aBCHjF34Wg1fJhQNag+xJ6RKYboemMzFYE4Rot8gJswaDDR7LSF6lLLlUCrLc7JS3IZYlIeULqSn LhCnHHdw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAXIF-0000Sk-1w; Tue, 25 Aug 2020 11:39:11 +0000 Date: Tue, 25 Aug 2020 12:39:10 +0100 From: Matthew Wilcox To: Alex Shi Cc: Daniel Jordan , Hugh Dickins , Andrew Morton , mgorman@techsingularity.net, tj@kernel.org, khlebnikov@yandex-team.ru, hannes@cmpxchg.org, lkp@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, shakeelb@google.com, iamjoonsoo.kim@lge.com, richard.weiyang@gmail.com, kirill@shutemov.name, alexander.duyck@gmail.com, rong.a.chen@intel.com, mhocko@suse.com, vdavydov.dev@gmail.com, shy828301@gmail.com Subject: Re: [PATCH v18 00/32] per memcg lru_lock Message-ID: <20200825113910.GM17456@casper.infradead.org> References: <1598273705-69124-1-git-send-email-alex.shi@linux.alibaba.com> <20200824114204.cc796ca182db95809dd70a47@linux-foundation.org> <20200825015627.3c3pnwauqznnp3gc@ca-dmjordan1.us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 25, 2020 at 11:26:58AM +0800, Alex Shi wrote: > I tried reusing page->prviate to store lruvec pointer, that could remove some > regression on this, since private is generally unused on a lru page. But the patch > is too buggy now. page->private is for the use of the filesystem. You can grep for attach_page_private() to see how most filesystems use it. Some still use set_page_private() for various reasons.