From patchwork Tue Dec 12 00:14:03 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: 176971 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp7419289vqy; Mon, 11 Dec 2023 16:15:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNJMVjHdjXtCIm+Mozky6EoDt6/W0Xm7RcvIU7ADv14J4ujmBMsRItJzgvBbq9kVdqjmwu X-Received: by 2002:a92:d150:0:b0:35d:6220:ac8b with SMTP id t16-20020a92d150000000b0035d6220ac8bmr6261177ilg.58.1702340110029; Mon, 11 Dec 2023 16:15:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702340109; cv=none; d=google.com; s=arc-20160816; b=jBrNQ8SrmJx2XcnuPF4RNFCkJb2NyKTaVIdaj5MyaGa/Ur3qCpgUaDUay2JOY2L/2l YOo3WaenXifl7BirH+ShYvtTOjYya2oEh/nbzJ4zqkUHqXScIhbBGyuLK/xeDAQf8Api mLwQ49KWHiGy3GsO8FGXSdWEsQaLH5DNt51Eg+ihByBJTTmx1B0FK74HmhLZ3Jkb1N6j sQaZYpyxgGLQPDUbfsJ14ojjbMx0j7UAOHeS+6XyBQWCA79m0815InnhvYGSw3o10z2R eIXZ3d0kWyTf3YBrw3OBV7RiMuDo85VgHRISCwIKk+XsA5lN5RSfJVPKjS34FC8TraeL fEmw== 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=4v2xeqlY3bmUQ3FXCYD1mACtOfLEO5nvek1y1ZiQa0s=; fh=R37Itr4vM4DSdM7nCVEJRaUzpyR01xRhpmD5Puf7xME=; b=q7WeBUJ2Svg+Vpn+KPdUx1WHwLspOc/uWPJ76CxZLUCOZqY7oHiKva3B+3/IA4ZAS4 yGcXZZImS4puWakfamazbJ2IEcmEoMkqsXEqO0ixftgxCEuhDWcgykchLffv6c14lf9F a+CT41vHsKxM6Yc2e94IIx1a8wC5DuBkUyzqmhh6JxBCp8DQAETOdWZ4ipKbnVCzOmx3 dMC6VWZ4WQckHDRlNNtsJqoL9dyM5RKNtw7SRF2iXaDc3lzdbN0GgovcILtHKzBRzmkh mBfKPAQJlNUMz3zdSplWSvdx2kKecWQv0bfeUzpWNRaPtWTMFOPjLRcllXHupkz8ijUZ he2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=pkglrqnI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id o20-20020a656154000000b005c14fc66cc4si6784497pgv.380.2023.12.11.16.15.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 16:15:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=pkglrqnI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 0187380BC124; Mon, 11 Dec 2023 16:15:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345472AbjLLAOK (ORCPT + 99 others); Mon, 11 Dec 2023 19:14:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345426AbjLLAOG (ORCPT ); Mon, 11 Dec 2023 19:14:06 -0500 Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9946EB8 for ; Mon, 11 Dec 2023 16:14:12 -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=1702340051; 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=4v2xeqlY3bmUQ3FXCYD1mACtOfLEO5nvek1y1ZiQa0s=; b=pkglrqnIvLL1i2TrN6B8oPzonG4Tx1w7mQXL6y13N9tGc5e12sY7eb+AJFYGp9qNNRA6C8 fsFj5WhSBPxuf9OzL/2ucnnjhPh0g/dy12UZ2lGf3lPYNFaJYLPQY3wu39tWi6RGT9VYZk uDz7QstHoOYA5j+8ntWl6s9I7C6+Dv4= 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 mm 4/4] lib/stackdepot: fix comment in include/linux/stackdepot.h Date: Tue, 12 Dec 2023 01:14:03 +0100 Message-Id: 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 pete.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 (pete.vger.email [0.0.0.0]); Mon, 11 Dec 2023 16:15:03 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785032983357645527 X-GMAIL-MSGID: 1785032983357645527 From: Andrey Konovalov As stack traces can now be evicted from the stack depot, remove the comment saying that they are never removed. Signed-off-by: Andrey Konovalov Reviewed-by: Marco Elver --- Can be squashed into "lib/stackdepot: allow users to evict stack traces" or left standalone. --- 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. *