From patchwork Mon Oct 28 23:30:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13854262 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 49C82D5B845 for ; Mon, 28 Oct 2024 23:31:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C2B896B00A4; Mon, 28 Oct 2024 19:31:08 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BC2076B00AA; Mon, 28 Oct 2024 19:31:08 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9E14F6B00AC; Mon, 28 Oct 2024 19:31:08 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 796286B00A4 for ; Mon, 28 Oct 2024 19:31:08 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id DBE91807A8 for ; Mon, 28 Oct 2024 23:31:07 +0000 (UTC) X-FDA: 82724608512.18.91947F2 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf03.hostedemail.com (Postfix) with ESMTP id 362FF20030 for ; Mon, 28 Oct 2024 23:30:55 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=adxrEJO2; spf=pass (imf03.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 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=1730158186; 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:references:dkim-signature; bh=QSMzDaA/kjxBjRNgRGMES85okoHiC3JYYWizViaaX6g=; b=0uZq2dMGJRhAIPjFjZ9CbaWGFv0SrmlDB/5lz6s1IBNB7gV3xvcGXGtsMUM7foT6dSKrpG fRLQ3HkeeWlKJcw86Uj9u/KlyWy2S5NZO6tkqfhK4B5wLu1PEVLESTWDvIXm36pLrqeO5R TrIeSYvBjisml9d/Veg3LVkYu+MxZXM= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=adxrEJO2; spf=pass (imf03.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 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=1730158186; a=rsa-sha256; cv=none; b=ZXrXEr2VSNtI8Z/R4ztlAnMDzDgyRWvoR/68kaZBufSsD5aOBPLXRI4Q2cJ3I9IO/qrZiX HOshHFi554g7POYadLp7rG8HOKVjak867uwsvP4uWRTaDKWqGxTZ8L8mWXSW+XSsHS+A4j tmCNmokmT12el1yqrDy0yT8jQx06gSM= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 4868C5C5BB9; Mon, 28 Oct 2024 23:30:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC259C4CEC3; Mon, 28 Oct 2024 23:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730158265; bh=HKc1o0/C7r3MGYeFYTfFeVOVH7j7sttnDPnYOtW0PLk=; h=From:To:Cc:Subject:Date:From; b=adxrEJO24bmDoUKOpxXJ2+XvWjOSq9UIh01TnE0Bz3BEZeD0H6ZyerkfxcL1Iz4M3 pX0AAMPF8F8mTqdy8C3ptJFFUKkntaG42GqROikR8EKrOCppaWJUAToU2e6OWoy4iw MWYMH7eXYfOwR2xQpfQhzH3mPGDpAMJQg2+g9ZFXYB8/++wii+3DnkmL/17GSjlS+O Vvv3jTsECw3AWsGLUWz+MxSApzdEg6l6tatlHrQJBJkNgdZLPS2MtSd342YsdyFrQh TikkI6isIeTBjyqpn3FnHNlWu8oaA8ksuwoOwEb8adUWDEEdeKwneZXZjQCW7aC1LJ rGJKfwZtvVguA== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Andrew Paniakin , Shuah Khan , Brendan Higgins , David Gow , damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] damon/{self,kunit}tests: minor fixups for DAMON debugfs interface tests Date: Mon, 28 Oct 2024 16:30:52 -0700 Message-Id: <20241028233058.283381-1-sj@kernel.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 362FF20030 X-Stat-Signature: yo4xj1w45wer8ocojaitnmqzqkhwqez1 X-HE-Tag: 1730158255-182459 X-HE-Meta: U2FsdGVkX18XY24QWtMfx7e5d+E4pDSv+vkMPn3Eh9pddTa1g/IKF6b4onncfunzcWgQvUwz8mB5KBURvOBPNZrxVg0pYUyaZ7tKyBOjnGrsIAKbLFdk8x5RYs3mgjm6ZSSCcAHnMJ60l7H8S1oeWSgmGz1PRWrrVoArdtZvAk+AjwQ5IuylaF4F0rr+SBlA9roZ9URbM39xsWSJep45/yBgviEn8QUwHzaKX6Iu88pZLNvPQWXRkBWdPr+jA5JX2Bw4T8HV7nJdV6AYBSvwt3HcXZ1l4yfrP1XBFr7xUD5KdmMR2FbIlNR6iddqh8s9CgCdrRwp/HHfuhYjheCosrs8iE3C4O9jvQTMnNVlFybvXC/VKJyBaB9RfiKA+5VJuBVzilKWk/3yy5GwuJEC+v1wZ4z1J1+WVYmLDJWEjORM89c7gjFkCQ0wfwcJW1Y/NCtcC+yj1LxmLWqHhqfhBJFpMqmhpWOYZCFmy4O3qccBnv1B9+OmnrGb2kGQkze2Si83KJXfo6yAhXr4zdZS9Ker8GVsgXSgzq6zuD+ts+G+jsP0Ng2v7H7R0dCtgJ1pKppgh+BIG5X+jP1UA+wHvn4iNn8YhHioHTV5rVY/CMHzdEf/Ya7aOlh2mSecQRBxceonsglms0wL3s2znqQ3pbOy/E0uHME7hjs/SdRDNKSQrGP4uArfdHdO1QTW7Ek3/wiT0j80cAM7AgXN6BNUgYtMvGZ4nUG7pgn1iNMSgn3Fwu7YgmFqjswirH8/o+rC0OPfeZkDNMcc5cWc9OY0psi+kqlz91ErX6qtZfBAvGpaNz2MZ69YPUfuO26G4DLYUYDJ2EZ24Y/wI7taXPeoxQEruDxzcnEJa+jytbQ2g3yDMziKw6IUOy4DJiy1uNHa8ieuEW1tNLJkT56sDuS+Pg2aKCEjCXzLENSsxE5+WLBl/UqVukx08exx6+do/XGZQaXUh2qD45IzkRAtxAT BHdFuBSt FRc0Gj6Gxcfvn6XTzQCOU6f0PunroRV1nsVpBgaUrxN91g/Xr5JsFiPI/2Uu9HuBEuCT/K4s2VlwrfTvDiytrG0/Eb0DypJd8nbMKR1uSsyu0RTfonVvAIgON1Svv33EW8Aa40lh9h0KVbi//jA8jCfFhw5NpVzZOxf17bgfjUshBrM8bRGpdinna0YWre/EZmOpGlBMsCfWVR7Xo/CwAbQGIgFFSiGMIxEUJjKwuZHIqKHg= 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: List-Subscribe: List-Unsubscribe: Fixup small broken window panes in DAMON selftests and kunit tests. First four patches clean up DAMON debugfs interface selftests output, by fixing segmentation fault of a test program (patch 1), removing unnecessary debugging messages (patch 2), and hiding error messages from expected failures (patches 3 and 4). Following two patches fix copy-paste mistakes in DAMON Kconfig help message that copied from debugfs kunit test (patch 5) and a comment on the debugfs kunit test code (patch 6). Signed-off-by: SeongJae Park Andrew Paniakin (1): selftests/damon/huge_count_read_write: provide sufficiently large buffer for DEPRECATED file read SeongJae Park (5): selftests/damon/huge_count_read_write: remove unnecessary debugging message selftests/damon/_debugfs_common: hide expected error message from test_write_result() selftests/damon/debugfs_duplicate_context_creation: hide errors from expected file write failures mm/damon/Kconfig: update DBGFS_KUNIT prompt copy for SYSFS_KUNIT mm/damon/tests/dbgfs-kunit: fix the header double inclusion guarding ifdef comment mm/damon/Kconfig | 2 +- mm/damon/tests/dbgfs-kunit.h | 2 +- tools/testing/selftests/damon/_debugfs_common.sh | 7 ++++++- .../selftests/damon/debugfs_duplicate_context_creation.sh | 2 +- tools/testing/selftests/damon/huge_count_read_write.c | 4 +--- 5 files changed, 10 insertions(+), 7 deletions(-) base-commit: 13583c750117b4e10cdaf5578dcc7723b305ce4e