Message ID | 20240826042323.87025-4-sj@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF322C5321D for <linux-mm@archiver.kernel.org>; Mon, 26 Aug 2024 04:32:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0BF7F8D0041; Mon, 26 Aug 2024 00:32:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E7EB28D0049; Mon, 26 Aug 2024 00:32:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C2E658D0048; Mon, 26 Aug 2024 00:32:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 92A3D8D0047 for <linux-mm@kvack.org>; Mon, 26 Aug 2024 00:32:23 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id EE1FF1A0B0B for <linux-mm@kvack.org>; Mon, 26 Aug 2024 04:32:22 +0000 (UTC) X-FDA: 82493124924.14.DCBD323 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf29.hostedemail.com (Postfix) with ESMTP id D6DF712000A for <linux-mm@kvack.org>; Mon, 26 Aug 2024 04:32:20 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=su1FSJ+k; spf=pass (imf29.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724646628; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=dRsKPuhQNAxutv4EkN+E9WF17SPHpYcT0QZCGIU1Jrc=; b=ZxyW6IMVnC4YkEvUmqnHVp6IEy3Iaoz3tcLRbxGipHXOpLteUfbY84l1bXwCDWRfoLSucD r5xzyYaOzvqbOpIIJWGRhJf5cBwG88bdNK6lE6lnsnLSQ9flvvgub/DZw6NNar5OXyAoxu cPzOcEVcHCFf69cMz4h4aZm3Ik1r1Fg= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=su1FSJ+k; spf=pass (imf29.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1724646628; a=rsa-sha256; cv=none; b=cX7hd2DFo9w9ZMeeEG6VQCQS0wamsoxYgqEtuZiQ7A1rYYPjhpSYC70SiJp8EGlY+i1ZTj 8g6dYY5ZaswZKqL+ZNSXllCXCWe+ryqOqiweJQMFORCVPutaIYXk/tsIuIEvdBYbzOtjH6 oCJlDNMeFjwNRzT79gK2ITfU7Loh4tI= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id AD189CE0B82; Mon, 26 Aug 2024 04:32:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61391C4AF55; Mon, 26 Aug 2024 04:23:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724646209; bh=n5ClRs5YIXQT8CMYq5oeALUYRkNDMyxAjHzrI1UVrP0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=su1FSJ+kiS0GzuCEOWg1E6hJR1S4LhNnJ4sp+JK3RfLL+KW+mjJr0lSEFkdyouPD4 SxAjSLe6CNApUTwxE2wY9pSAt7LxTkVplkTBixMzP3f9FGpul3/0Jx4iS6YWuUiI90 QXKZTZAnEcbmbnXOSLjEyqrsJPQicwV/70w/V0S5e4CkwTO8HAn7D/TjJ8FYUdvibi 14nTMIXIIaIMLgwpATQcOJ6QC1qhLL3treWUkN9FIhGrcUzLOwXGiIOUIRJs+E5YbX hMHZq60WD3vH38VBrk1f5tSSQG/S/9Cxv7NTMwu6VdYqb5f0SY5KtYhiLNWI+bDNv3 uekw/S9J2ivBQ== From: SeongJae Park <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] mm/damon/core: remove per-scheme region priority histogram buffer Date: Sun, 25 Aug 2024 21:23:22 -0700 Message-Id: <20240826042323.87025-4-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826042323.87025-1-sj@kernel.org> References: <20240826042323.87025-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: D6DF712000A X-Stat-Signature: e1j1fc16p6j5em3e9xss75u3y6a93pn7 X-Rspam-User: X-HE-Tag: 1724646740-488015 X-HE-Meta: U2FsdGVkX19zcrzUQHnMI1RbOxla7/DaGMWaVDDKJ9KGqiPQNfK28bl8nXaQEmKn/+ZCr0J626+LLDgoodwgcr0yNB+sQ3D+genNiyjf3V75pR1RZe5UwmXR0XM+JJAomRVoSEUGHi2ROiurEKF+0A1R+dg8lqUr5VNFyP4BFS1nD47DsDbVZCTueZY2Eidq2qNeDs3c/lgsN37bdGYgwtnnXhOSxZngWw1CDQA1YIthlKhMMI0t5N5oHNF9Fy8W9fGQC1cXHlDOZds+NYlbp+ous2S9Sv4Br7gVmJMpH9joYyPkp24IQoCWpdk//zuAa9tVNydDAFPoZy7G6DpfSSvvKinNsV03BghJY7XaCT4tQ5mKSXMKDKqVLhQrnZvivbT3h5QC8/rPoCE7Wj9PE3pGvyvVzhyiB5W3qsmvwUu91X1dLBK7oifiaMAC1qM6eGszibT3QxMElWrunovf8ucR0aS9bxMtIHV1kSvY2alBURbbgsFcnS3ZqGaVNsAmg/aT7fLOmN3lwSxGBba0SPRInIPbEAkn57MAJfzJH/jIzJW3ByFJuLGUIdXpwNu784aZvpTw0/3GiUUuMa8+dTJWA8zPFLBsb3ko9a6L7P+jfEIfWNdhlJfG9NMRxEJ0wYAlmpCpL9EPmlK0srzKilm6uSFZib8RcynT3R4rrQNLR4zqAXiq5fZ7Ey4RlZwwmAGiQmKhntzlYDMGdi97H6TVbZ0xQLgRF7s+OE5O/PgBI3nAn7itO6gqHl1B8A3Emk8jR76BNo2KBFlFVFSByPg5bRXnyPny+8iTHU5AaDG9mDtJT5rmOtQkBFxzxHMfvnk8QK763l/JqjNzgfivBjTVLxL4YsvKHWh65/YDTF3siWSY4UHMgHsJfrNppW2BRVsCjOEgrrAxWs4+T6CeRwDZUMoMRWtxlKmy7vzZnhdcNkoFOS84h3OXYL/vc/CiCxriF/lva6402ucx2Yx 5EMTulTu p0mGFS5I37hY3y4f14GUcs2gMVzkbTj6dFvowDT9ioMXqKtZJVU3OpIQbOqi9jDmpkIvLUcQGT4GzK5aLR9yYASxGTQdG2jv9uxutU/B1cj77gliBE6DhAL22DBrogjeSM3/3/X+d10wc/tgihqTNT5ZGwc2GmbwXNCdx3Z/GZctqGwS5V5PROkJ0BemH4PFoRSpqaJ0WCeHbA8PDOrPHaUTxGjPC/QHJu0Fa7EhVaq00gHk= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
replace per-quota region priorities histogram buffer with per-context one
|
expand
|
diff --git a/include/linux/damon.h b/include/linux/damon.h index 6342d8f9b0fd..0ac8b862bdcb 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -242,7 +242,6 @@ struct damos_quota { unsigned long charge_addr_from; /* For prioritization */ - unsigned long histogram[DAMOS_MAX_SCORE + 1]; unsigned int min_score; /* For feedback loop */
Nobody is reading from or writing to the per-scheme region priorities histogram buffer. It is only wasting memory. Remove it. Signed-off-by: SeongJae Park <sj@kernel.org> --- include/linux/damon.h | 1 - 1 file changed, 1 deletion(-)