From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D34EBC47404 for ; Mon, 7 Oct 2019 22:20:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 89DA520835 for ; Mon, 7 Oct 2019 22:20:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="gf1eiBRO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89DA520835 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 38A838E0005; Mon, 7 Oct 2019 18:20:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 33B648E0003; Mon, 7 Oct 2019 18:20:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 22A398E0005; Mon, 7 Oct 2019 18:20:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0238.hostedemail.com [216.40.44.238]) by kanga.kvack.org (Postfix) with ESMTP id F0A7F8E0003 for ; Mon, 7 Oct 2019 18:20:31 -0400 (EDT) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 5764B181AC9B6 for ; Mon, 7 Oct 2019 22:20:31 +0000 (UTC) X-FDA: 76018408662.05.light46_78ec0d70dff0c X-HE-Tag: light46_78ec0d70dff0c X-Filterd-Recvd-Size: 3722 Received: from mail-qt1-f201.google.com (mail-qt1-f201.google.com [209.85.160.201]) by imf49.hostedemail.com (Postfix) with ESMTP for ; Mon, 7 Oct 2019 22:20:30 +0000 (UTC) Received: by mail-qt1-f201.google.com with SMTP id h10so16879287qtq.11 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=Z6CwrLhSB20k8/4SULkWZEKjwosY0cefCfIyOiz8qZ7sLHSGdTOMnGRhjOVZ7rsviv dz9Iib4Eph39Bkr+c0E+Y4+jLhKX1tcbiIa07WyTaiqcu1kjpHBMWt9+q4u5+yT+INQs MNp0ul+LtMyn0aTxU29IwvkKd9Fy/YA3EHSAX25B2m1e7NL21DQ97vbG5ZtYgAryulMv kWa57JTGbvQKsLOWN33awpeFITPQLuCzGLYgP7h3FUgjiFsypXmjBH51R+p4zE76AN3B poLNJo6y0OTdlqMxpwIFTfdpcw6kqFRdYI4l8SIyGr2sSLr35Skw7BRP8eIgZtmi8lyk bGbw== X-Gm-Message-State: APjAAAU5PSDI9mqOOfyFl4Qs5aXKzCjtzgEW4gbPpfGjfE7+9I8j6fCA XqUxnys8vrx7cxsiKTQuCNCUbp8/lNw= X-Google-Smtp-Source: APXvYqxna5U/YbHXLmtzy893qlEj+JXOevUDENdZ3H84rjZemNR7AiPksdRy1bMwRjorvUp6vdO/EIMuJaw= 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" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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