From patchwork Wed Dec 29 13:10:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12700877 Return-Path: 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 CFA74C433F5 for ; Wed, 29 Dec 2021 13:10:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 18A596B0072; Wed, 29 Dec 2021 08:10:33 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 13B326B0073; Wed, 29 Dec 2021 08:10:33 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0296F6B0074; Wed, 29 Dec 2021 08:10:32 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0137.hostedemail.com [216.40.44.137]) by kanga.kvack.org (Postfix) with ESMTP id E4D476B0072 for ; Wed, 29 Dec 2021 08:10:32 -0500 (EST) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id A224C86E96 for ; Wed, 29 Dec 2021 13:10:32 +0000 (UTC) X-FDA: 78970865904.04.B94A458 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf04.hostedemail.com (Postfix) with ESMTP id 45A8A40005 for ; Wed, 29 Dec 2021 13:10:32 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 88BB661448; Wed, 29 Dec 2021 13:10:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A61BBC36AE9; Wed, 29 Dec 2021 13:10:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640783431; bh=6gjZQe7t1Tu8HByN+SHLsG3+BkQ8l61PG0mXkGZg1L4=; h=From:To:Cc:Subject:Date:From; b=qz0OKCqx9+j3TbM0fselt1vhl9fyLiRU7oi1bGxFCRCZBQ2GnJhLa9taV7NgD2cVx AXQnyughfBsklWdT6lau2kM6gRtnlB1NrG8AwEKvgkKhajPAbV1oqYQtKROavPH1mM 1/fS0MfgosyzZcBo/yZrUNlzW7+2aWCp8N+MxAHdPBOQKEeIpMy3MkKa7OilnA5vvt tpCiiZmf52A4somq8QLEJ0VY9jtCtapZXadEMl7CMzXkTPRFEYjv3V6lAyXA7kp0N8 LcNg6qUSU9jz4qlkmz6LdLb7/LlImPrhGZCpO8FvBBXRBek8Xtd8iCxZ89tMfCkhYX codNyn4o6La9Q== From: SeongJae Park To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 0/4] mm/damon: Hide unnecessary information disclosures Date: Wed, 29 Dec 2021 13:10:12 +0000 Message-Id: <20211229131016.23641-1-sj@kernel.org> X-Mailer: git-send-email 2.17.1 X-Rspamd-Queue-Id: 45A8A40005 X-Stat-Signature: b5mxitsm9kwzcyb6hsq97wz3oebubjfk Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=qz0OKCqx; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf04.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org X-Rspamd-Server: rspam02 X-HE-Tag: 1640783432-586476 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: DAMON is exposing some unnecessary information including kernel pointer in kernel log and tracepoint. This patchset hides such information. The first patch is only for a trivial cleanup, though. SeongJae Park (4): mm/damon/dbgfs: Remove a unnecessary variable mm/damon/vaddr: Use pr_debug() for damon_va_three_regions() failure logging mm/damon/vaddr: Hide kernel pointer from damon_va_three_regions() failure log mm/damon: Hide kernel pointer from tracepoint event include/trace/events/damon.h | 8 ++++---- mm/damon/core.c | 4 +++- mm/damon/dbgfs.c | 5 ++--- mm/damon/vaddr.c | 10 ++++++++-- 4 files changed, 17 insertions(+), 10 deletions(-)