From patchwork Tue Dec 19 21:19:53 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: 181265 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2234767dyi; Tue, 19 Dec 2023 13:21:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9OrNJ46SdcDtPJIdHl5k855pz8hLiVQzE9Z6nB60wxeev/axUQAFHPg98+I2vtP0XBphO X-Received: by 2002:a05:6870:2307:b0:1fa:1fa6:231a with SMTP id w7-20020a056870230700b001fa1fa6231amr11379988oao.39.1703020889833; Tue, 19 Dec 2023 13:21:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703020889; cv=none; d=google.com; s=arc-20160816; b=aGiiyFFg5WRH2ZKPkUETsXRgz1jiPg9O1aLuIF1mA9MIthiEcG17P2HauO6rM0kd2d yKbIc71gcUSqT/DXbRRhwinRvRvqlJ2Hu/0AP4ihkCS/2D3iiG2hSheesk2FdmQrzgkO 7VjNxRJUuoXFhIOCXjTG43Ls+9py7NnMwn8wo4JD7lwtE9cRbpoZbG0aBBDjQJxoLrZK gbIoWiDxZ6W3iot9PbpvjLGlnkkaChnj4gxiLjUUBrdWBmhMLXTwuRf2Xpwyw5zATB6E +Hj98k39TuLGz9lR7zy7Dacy6zxktAzPVAWDIDHZnbl6a8Isf5dW56+H61JeUfXcjH5t C48w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=nCFM+nFcyoFd/gCQWZCb7EKvVZ+qSBSDeoPEA8Jfh0A=; fh=R37Itr4vM4DSdM7nCVEJRaUzpyR01xRhpmD5Puf7xME=; b=uq5c+7c4XnD9ak5A40Doq3vtGY5cZXRfbLw+xPsfO2oKH4Ha/lg2EmGsb31qtu6P+Q +aJixcd4qiCRgW/JTVWN3sqNbsORlVVbC8WQO4LihcjgYakjvvvoQF23GW7lY0w3oLgk taUqzGFiPoRK7W3E2poXnCK0lWGx+kPR3BrnmYnvGrdc7D2+uzQA4TAUjXOh6UvgihxO sav/SzT8nIGKuk0qEHFMNTYGT8iGe5iYa3cTCU4bLJzV+zRdkZN6oW007bMRAZjhQSUU skvWFly3oVFPoUVHNAHVS8q14rAkhAHVS1swwXAq0S8X3nEpvqXa4N+EaU795cdxDbqO gHWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=vWTr3qhn; spf=pass (google.com: domain of linux-kernel+bounces-5962-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5962-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j7-20020a654287000000b005c1b2e37aeasi20353364pgp.384.2023.12.19.13.21.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 13:21:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5962-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=vWTr3qhn; spf=pass (google.com: domain of linux-kernel+bounces-5962-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5962-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 05795B24284 for ; Tue, 19 Dec 2023 21:21:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A74240C1A; Tue, 19 Dec 2023 21:20:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="vWTr3qhn" X-Original-To: linux-kernel@vger.kernel.org Received: from out-180.mta1.migadu.com (out-180.mta1.migadu.com [95.215.58.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1569C3D0D5 for ; Tue, 19 Dec 2023 21:20:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev 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=1703020799; 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=vWTr3qhn77AyDPItr7Jb1Va+xZtAYsJMZbCeKfs5+hQd3T8gMEEYCJMliC2zyzhGEytQiS pdedlVWK/90vwulDxVVraP5pN7YgbdG3MBwinwjLSYYIyJMPDTtGDljZA7elKcrlFiXdm6 5vpKeJm4v97c+Ecf3o21M8gf1GjoJH0= 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 v3 mm 4/4] lib/stackdepot: fix comment in include/linux/stackdepot.h Date: Tue, 19 Dec 2023 22:19:53 +0100 Message-Id: <0ebe712d91f8d302a8947d3c9e9123bc2b1b8440.1703020707.git.andreyknvl@google.com> In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785746832596291288 X-GMAIL-MSGID: 1785746832596291288 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. *