From patchwork Mon Oct 7 22:20:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Zhao X-Patchwork-Id: 11178579 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2E41C13BD for ; Mon, 7 Oct 2019 22:20:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id EEACF21871 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 EEACF21871 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) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 33B648E0003; Mon, 7 Oct 2019 18:20:32 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org 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-Original-To: linux-mm@kvack.org 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-Spam-Summary: 2,0,0,8ddcbcc72d0627fc,d41d8cd98f00b204,3lrqbxqykcau3z4mftlttlqj.htrqnsz2-rrp0fhp.twl@flex--yuzhao.bounces.google.com,:akpm@linux-foundation.org:cl@linux.com:penberg@kernel.org:rientjes@google.com:iamjoonsoo.kim@lge.com::linux-kernel@vger.kernel.org:yuzhao@google.com,RULES_HIT:41:152:355:379:541:800:960:966:973:988:989:1260:1277:1313:1314:1345:1437:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2196:2199:2393:2553:2559:2562:3138:3139:3140:3141:3142:3152:3352:3865:3866:3867:3868:3870:3871:3874:4250:4385:5007:6261:6653:8957:9010:9969:10004:10400:11026:11473:11658:11914:12296:12297:12555:12895:13069:13311:13357:14096:14097:14181:14394:14659:14721:21080:21444:21627:30054:30062:30070:30090,0,RBL:209.85.160.201:@flex--yuzhao.bounces.google.com:.lbl8.mailshell.net-62.18.0.100 66.100.201.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none 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 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 Acked-by: David Rientjes --- 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. */