From patchwork Thu Dec 14 00:47:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: andrey.konovalov@linux.dev X-Patchwork-Id: 178391 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp8222843dys; Wed, 13 Dec 2023 16:48:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEP1EAbthnBtrpZMWZh1wh1V3VzyvswxMK2kHwOEsODOKgN/Alp/zMFnUyjHt5fxElCuNJ2 X-Received: by 2002:a05:6870:8908:b0:1fb:75a:6d4a with SMTP id i8-20020a056870890800b001fb075a6d4amr10053995oao.113.1702514903917; Wed, 13 Dec 2023 16:48:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702514903; cv=none; d=google.com; s=arc-20160816; b=CjgUDd6eQYvfom/7jJIiAey36EyIXJEk7xk/EX+5PoHhi53A38pfr1XciywTmmNN8U zKNjm3InzBxW7Jj7jZ+9o6SMPWKF4fyMOdkF7GgvCd6mMs9icZRAtlyU9BThHopKCEJ0 oZ7uKE1nZUtkEvgW1vhtmUODXQmEufuvvpXHvzfddM81eDLsbvG4Doq+YMoMZkry5/cK 8pYxrlRZV3HdoT+s9l9t0r+isPOcSYnt+epnWo0+hBjGKjR2JhgmaP0eiroLzjaxTU2X c8fRfqM1DdReDzjO/INxQqxY4ChNhdk8taPEtv8xgroa3Ehlb6DmWw3Gz2pIijtMbB6Y RwTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nCFM+nFcyoFd/gCQWZCb7EKvVZ+qSBSDeoPEA8Jfh0A=; fh=R37Itr4vM4DSdM7nCVEJRaUzpyR01xRhpmD5Puf7xME=; b=vKXRKtIujOO+FrJIo0LBHLhgiJKA+g/ppgMrMPr2WnZe4NZb2QS4qfluSAnwIzFAbH dyW/8PaxSSCPPsZHkJp4aoN9lZpCBI24l+Jdy9oRXVKGEU0p2VpB3ymuc5ljqLwbfnhE Zh+HS+XIdBPING5vmfmGsoCvdzb3IUX/C+avBle1D+rpTBTqQVxgseQxFRGtkDZzE7IG ktQbzmHdt1YO2873dHLh5btqhK+r5pP4jxM1RDUOjt2Y796x7G8s7MIVIq//s8HB+Mlj nyhXyAsVYhuNUP+h5V83UzLJAlgG77tK1Fggz3gXuZPjWNIyJmpkxO7iCu/G+6GDvTJo 2Rtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=chtz44aT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id n10-20020a634d4a000000b005c1b2d279f3si10193850pgl.342.2023.12.13.16.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 16:48:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=chtz44aT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id AABB980CE7E5; Wed, 13 Dec 2023 16:48:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442928AbjLNAsE (ORCPT + 99 others); Wed, 13 Dec 2023 19:48:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442898AbjLNAr5 (ORCPT ); Wed, 13 Dec 2023 19:47:57 -0500 Received: from out-170.mta1.migadu.com (out-170.mta1.migadu.com [95.215.58.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B54A9A for ; Wed, 13 Dec 2023 16:48:03 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1702514881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nCFM+nFcyoFd/gCQWZCb7EKvVZ+qSBSDeoPEA8Jfh0A=; b=chtz44aTYYSc5cpdlXhKLUKTZ86AJYhUci1b1n4MvFn6OsB2ibs7ZQcAic22uNrBAd8YVr Eaf1Gto/kQeCtiRuJu5GHpZr6mJXhZ9iHzXRU8IBsCW4j6J1IghuG97ROmbXrolwlXm6SD iEGh8YGKXQ0g7vJ2SGCdtWFc78uL3S4= From: andrey.konovalov@linux.dev To: Andrew Morton Cc: Andrey Konovalov , Marco Elver , Alexander Potapenko , Dmitry Vyukov , Vlastimil Babka , kasan-dev@googlegroups.com, Evgenii Stepanov , Tetsuo Handa , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Subject: [PATCH -v2 mm 4/4] lib/stackdepot: fix comment in include/linux/stackdepot.h Date: Thu, 14 Dec 2023 01:47:54 +0100 Message-Id: <4123304d92b1ca3831113be5be7771fd225cddf9.1702514411.git.andreyknvl@google.com> In-Reply-To: References: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 16:48:20 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785216267585746068 X-GMAIL-MSGID: 1785216267585746068 From: Andrey Konovalov As stack traces can now be evicted from the stack depot, remove the comment saying that they are never removed. Fixes: 108be8def46e ("lib/stackdepot: allow users to evict stack traces") Reviewed-by: Marco Elver Signed-off-by: Andrey Konovalov --- include/linux/stackdepot.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/stackdepot.h b/include/linux/stackdepot.h index a6796f178913..adcbb8f23600 100644 --- a/include/linux/stackdepot.h +++ b/include/linux/stackdepot.h @@ -11,8 +11,6 @@ * SLUB_DEBUG needs 256 bytes per object for that). Since allocation and free * stack traces often repeat, using stack depot allows to save about 100x space. * - * Stack traces are never removed from the stack depot. - * * Author: Alexander Potapenko * Copyright (C) 2016 Google, Inc. *