Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp442648pxb; Fri, 16 Apr 2021 09:15:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGH9ELbuldkxYkQyD5gDYBtmkIkq3s6Z9+uyRJB6VO7R7sRVrjy7dxNQ53EfYREaPFNc+L X-Received: by 2002:a05:6402:10c6:: with SMTP id p6mr10883471edu.241.1618589741283; Fri, 16 Apr 2021 09:15:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618589741; cv=none; d=google.com; s=arc-20160816; b=hhlIlAtXKAbK7cexpKbfMNg9Qa0JvLK7gyWL407QJEtQAtHf1INCFry7GFIOwVJVoV M3xdRlrkOYL7P1Vwnzea6tYHAXJ7j4x74BT0BktZdvmtXB92xNClsfrpTO8mRp07E6ua Kcr/CVMejQ7c4favuEk0nXvRYVRhS97Ya8vnsseVmxzxcfzK/bWCVJes5NwGICvH3GiJ KGHgAX+NoH/SHgsLg+JJez+xk16GKnp7yhi0qtPDNU5qKj0Hwdv/0RQwMR0c8uMAiMMd JVXyhCCrVcJaAF01atbGOpIXEHYNirht85QtmWabWBLpZ9oCHR1tfPGjh3VIoNJPI+bW kXqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zLDzDS9UlIWp51s2VYij1UMAETw6FlEgnQT5aRCLKZ8=; b=mOOoYbcN22BuN9kBPu+N30SEADz0bP7GppenlSdH+xCcvm5o4LjAQPlrbex6V+4SIZ mhUp+ZyiSnW9+t1aOPVWwLelOqh8H6klo49P3sYRGMvDUDPjuGFEnNLTnrvGYEl9aZYH 7SMF7BWOiJw1rgNKumUf8X1nN1h0JbgQzpAogDGzzBKyJfmagxijFdGtL+OyU8t0XO8x DX5ZnuGqrRQXk6yMt2Ag6QDh6JfPcET1pPg8zL9FWoe0F+VA4zkaR+QXttsZdI6ZOIkx LOZkPhi3lp0broFn8zpb9es1vwY5qF/rLV5hWzFt8fNUCsb9Ln+LmvRLObl2HVv6VE9e hSJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=DirpUMun; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si4962392ejq.692.2021.04.16.09.15.17; Fri, 16 Apr 2021 09:15:41 -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=pass header.i=@google.com header.s=20161025 header.b=DirpUMun; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343779AbhDPPel (ORCPT + 99 others); Fri, 16 Apr 2021 11:34:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343730AbhDPPek (ORCPT ); Fri, 16 Apr 2021 11:34:40 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D578C061574 for ; Fri, 16 Apr 2021 08:34:15 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id a25so18231500ljm.11 for ; Fri, 16 Apr 2021 08:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zLDzDS9UlIWp51s2VYij1UMAETw6FlEgnQT5aRCLKZ8=; b=DirpUMunw7EJUFeo+SjDvEj+yxk4h+B0bfUUPJg74pxOGjtiQ7fNb9Oq58fXbOZ+mu D//Ql481hiNCpWPsetH1q0ztOVvxhFhVkFsq6cNIfQcWfrRRSksKD8UXIEGTUXIjJ1eX +oGhlhG+lOI8eNadbFYgc8soiLSGydn4hLUPxsUNepf8lTcXFcL5DLBV8lo9w3lhTkNa t1Z0VlCHvWjXr2FCpP68tOLtp9uy8Nrn4ZIZBL+X8dH4ydFOdaAun9Lk8E5NtKKeL64x k3kvzoGm8+XO26Ni3LixU3DAhEt4BV1A0MGf+uFwRATaU/KQ4nhRLAv0oV2Cgj3/mAjD v8VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zLDzDS9UlIWp51s2VYij1UMAETw6FlEgnQT5aRCLKZ8=; b=ilSnOTqzcXNUsGekMHPIEho4BG5pxOnzZlm7jx5ZJRAnUeOhvYYtW7i0sD1HGRdEtL 9hQzAJPQM7WDjQofYrQnfxaY+1hIV7SGIcT2ioW9i8VXovAaKnGGao4FILMulqAcZAkN HM8SttX7fqzvylZV3P2kaPDJzs1ingcEGduoF2WnixGstFsmr3tp90aTk6fSbHikubrq NkB6mHjxTj9fUkqI5kYvMh8o0wSnH+uSl8ai1kAB7qPPlTu84tPoXdQrFoYBrsVw3WPS RNdyNPmxn6iFG2whaCg7l5/rQxs2dLNdU6n8EGKrbKnOPt/G8hMLc5xJBzcKVreBRSO9 +biA== X-Gm-Message-State: AOAM531XRb0VBvwzpd4LkIrV5dCkZktYcS6N5tINoY72VpZbOgTtPt0d 4kGMpbUw5ezi2jzmwweXYGIYzfvLK590wn94VNrbaw== X-Received: by 2002:a2e:b17b:: with SMTP id a27mr837141ljm.160.1618587253744; Fri, 16 Apr 2021 08:34:13 -0700 (PDT) MIME-Version: 1.0 References: <20210416051407.54878-1-songmuchun@bytedance.com> <20210416051407.54878-6-songmuchun@bytedance.com> In-Reply-To: <20210416051407.54878-6-songmuchun@bytedance.com> From: Shakeel Butt Date: Fri, 16 Apr 2021 08:34:02 -0700 Message-ID: Subject: Re: [PATCH v2 5/8] mm: memcontrol: rename lruvec_holds_page_lru_lock to page_matches_lruvec To: Muchun Song Cc: Roman Gushchin , Johannes Weiner , Michal Hocko , Andrew Morton , Vladimir Davydov , LKML , Linux MM , Xiongchun duan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 15, 2021 at 10:16 PM Muchun Song wrote: > > lruvec_holds_page_lru_lock() doesn't check anything about locking and is > used to check whether the page belongs to the lruvec. So rename it to > page_matches_lruvec(). > > Signed-off-by: Muchun Song Reviewed-by: Shakeel Butt