Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4864771ybp; Mon, 7 Oct 2019 15:22:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOQ0VBARMZUthWT98U85wR4pAbu77PQNx2e7SqUQlMYrGXwuBTzly8X5xcwP1F3+r5CsQD X-Received: by 2002:a50:9eac:: with SMTP id a41mr11726928edf.193.1570486922099; Mon, 07 Oct 2019 15:22:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570486922; cv=none; d=google.com; s=arc-20160816; b=VQj76nwOysozipmSZr4yAYgNbrPJlsRwhx4v/NDwLJp5AEZefuynMjgrzVwpkMP4qs 2fznY8YYI3XBQGRdapWVU9zfcWMeaO2JMzj/Ej+mGiIbZiGJ9b0ejfhZOt1aqsWLxiQT mIO36J2l/oePfIRkFDW7wxTGaDU57ZjiTk5dI5xuxI3MbSxdBqGYC6HSA26H+ydDXfbD Q+8wDXavHNiYn8Am/MuQjwCaewYD55jlXufoVV9mmcbHfy/0zplX97rqK5ngxJFuokhw sYVp1PsvGYHPqo6Egg/RcA32j4/q88KxNM5H5XDSZxCdtRzZzMwOmpNGZTt2NjFq6FCV i6pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=wlN9EjPdJPL0a4w0W+nF7Wogpcxb94Am0mW1KAsykOM=; b=vFlYr5SxDkYNXP9GiCprhIepmrC/CtLv1GNWAIpB30/qfkwpeu8o7NeaXRFXUzAHgE 9MAuWGlRwDWjm8Z+4PHy8z1sMlCtcA3uMAO2DWVnYrIaGmGREmkEfWGOi4860oppW5em A+IlLmNxt3xHvUI5C5ztFQBST/NugtfdLiYz+GkM25qtsbwRXvN05mtanwuatp6ZGZpR 1MI26cYaFgM3ikrO5rs785Cxj4LQuu5rHCt5sK3+w/3Yuogui+YB4hxNGPLbW7ernBTE hX5hm3UPT197uzdilwlAHMj81Mnluynaz8rhGvow8nJYrMjAlBIh1dU1UwhsGJebwGLA NpXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=gf1eiBRO; 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 e11si7745016ejr.383.2019.10.07.15.21.38; Mon, 07 Oct 2019 15:22:02 -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=gf1eiBRO; 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 S1729285AbfJGWUb (ORCPT + 99 others); Mon, 7 Oct 2019 18:20:31 -0400 Received: from mail-qt1-f201.google.com ([209.85.160.201]:56772 "EHLO mail-qt1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728654AbfJGWUb (ORCPT ); Mon, 7 Oct 2019 18:20:31 -0400 Received: by mail-qt1-f201.google.com with SMTP id m6so16798753qtk.23 for ; Mon, 07 Oct 2019 15:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=wlN9EjPdJPL0a4w0W+nF7Wogpcxb94Am0mW1KAsykOM=; b=gf1eiBROFqGGBLV0FzXqK9MYWbtPPBdxeGnpQjM1C66U4p86VdFxYBTz+IVfG3s5V+ L4nb7hKYq03E3JsliAmA4/dyN6ozjOaa0RYoxfo/fFw9U0MlrRxwGu1YtzslO2zTJ/Mj q9T05C55NJMQN3oy93Dlhegk7j760rnimMVFSagdk+pMEFR6sGcUYLcx6pLO9+56ekY2 acQ5SR5lXz7jLrYwWoKlFbnmK5ObS7Im/t3whYKxY1qicRLXTm+5V4h/JhloHdCkMh9s 7qwm6Eu+Clk46L90xVZ1dlWHSaoT4iqg53z3mAGqBiurLOa1ayIooPjJdQ8XWU0um6BI B4IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=wlN9EjPdJPL0a4w0W+nF7Wogpcxb94Am0mW1KAsykOM=; b=c68OTRMwBVGWBtv2RizBO2wathmy0RDckvmzdx/jU48RWpIxVO2Aq3BDRz6s2r4XzJ eRuziW75S1mYQJW2GufoWMR3w59uShhMGFBtkavgKBau9wSTR6cfpGd1+Ft4lGBVOIhy yb+leHOxrVamfmyDMkdWIi35d4ikWTKwbwmiPmSaxzPujx2jyFe426Ra/tbgpqk1XQTE s3IJB9/ECKpa1nFZze9fBv6MyOL/dtv1Hpm1jzF7Jg1MKyxF4rj7DT8NlBRrRjXfdMiV erD9PqYU/5vJhpnx45AY9hKDSzhO6Pe4x9ZcKmK1xLyDucyXeF7Lz7P2wal+CdAWoaYC NCpQ== X-Gm-Message-State: APjAAAUoWB8aLMWuW9M0rQqSrhqW6hI9y8yLzTlRKsvEJJBqywMlcfd3 JtS3za8NiYYKLS0j0PyWNk9AUdlMkEU= X-Received: by 2002:ac8:27d9:: with SMTP id x25mr30930141qtx.321.1570486830137; Mon, 07 Oct 2019 15:20:30 -0700 (PDT) Date: Mon, 7 Oct 2019 16:20:23 -0600 Message-Id: <20191007222023.162256-1-yuzhao@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.23.0.581.g78d2f28ef7-goog Subject: [PATCH] mm: update comments in slub.c From: Yu Zhao To: Andrew Morton Cc: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yu Zhao Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Slub doesn't use PG_active and PG_error anymore. Signed-off-by: Yu Zhao --- mm/slub.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 320a1c375e1b..cfbc839dc2ea 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -93,9 +93,7 @@ * minimal so we rely on the page allocators per cpu caches for * fast frees and allocs. * - * Overloading of page flags that are otherwise used for LRU management. - * - * PageActive The slab is frozen and exempt from list processing. + * page->frozen The slab is frozen and exempt from list processing. * This means that the slab is dedicated to a purpose * such as satisfying allocations for a specific * processor. Objects may be freed in the slab while @@ -111,7 +109,7 @@ * free objects in addition to the regular freelist * that requires the slab lock. * - * PageError Slab requires special handling due to debug + * SLAB_DEBUG_FLAGS Slab requires special handling due to debug * options set. This moves slab handling out of * the fast path and disables lockless freelists. */ -- 2.23.0.581.g78d2f28ef7-goog