From patchwork Fri Sep 9 20:28:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12972163 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 46773ECAAA1 for ; Fri, 9 Sep 2022 20:29:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5695A8D0007; Fri, 9 Sep 2022 16:29:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4F38D8D0006; Fri, 9 Sep 2022 16:29:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2A8A68D000A; Fri, 9 Sep 2022 16:29:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 064D58D0007 for ; Fri, 9 Sep 2022 16:29:10 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id CA8931403E4 for ; Fri, 9 Sep 2022 20:29:09 +0000 (UTC) X-FDA: 79893686418.02.C0C21CB Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf19.hostedemail.com (Postfix) with ESMTP id 48EA41A0076 for ; Fri, 9 Sep 2022 20:29:09 +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 sin.source.kernel.org (Postfix) with ESMTPS id 480A8CE246E; Fri, 9 Sep 2022 20:29:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62CBAC433C1; Fri, 9 Sep 2022 20:29:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662755344; bh=q2B2bEaPY32bxTmDNGxPgX/Wuh5TeAA8MV5nuqGrMY0=; h=From:To:Cc:Subject:Date:From; b=JOWwHZQRdqyALR69+cnV85S7ykdL4p0wVWzxrBTBq2FA7dWXUKUkEBYH0oNiXuTNk N1dSyZ3C1hSybrC5qAeuhTeVcaJu2f3YdwkT0Ih+1HnplsqaP034mNihuILp2qBRbV pMg+fDB4NG9qn3ppAGbeie/zRVGli3HuzNEWDgMcfnXdLMbCZ3VtB1X4emL8Kya/Y9 LefLdbVRjEoRvwLAwM6mcejPt8YEejNCybn/YbY2vS9uh4VVktYssprBhvbsMRGhFT EaFqQbRVuUFI8AbfPcGL9uWO8RHDDf3w57tpXLveg7WVuXwaY5XvNPzt+4nrRn1jTT LiwIiJkqv7ugw== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Jonathan Corbet , Shuah Khan , Brendan Higgins , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] mm/damon: minor fixes and cleanups Date: Fri, 9 Sep 2022 20:28:54 +0000 Message-Id: <20220909202901.57977-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662755349; a=rsa-sha256; cv=none; b=Ii7/EEtgOVe/i6f5sdCg1ezrQjyvggbC0xxEPslMZB1vKCOUbDDGZCayJvwhos7eFGvTQt EoM9XxC5iiCWBojAaeecaHDl6tnxqeSHfESSErgZSnvUvikAQiC9NTt3BJogpX1o+8kD7E K4ZSNhdSiiC631vSS7wOnTBuTvyPQ14= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=JOWwHZQR; spf=pass (imf19.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662755349; 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=fnh1jhzFlUZz9WnBi0QEXYd2tTHrcS9lxtj6JEtEmjM=; b=DmBlaGUBjHNDJeU6nX24TzkY/Ofhe6720ir6HrvLR+iHZT/nH7hErzo6tDWA2fVgvtR4Ll JHDcwjRH7wiHwqrz96YvIoZ0rdEapOMsyEoxmpfzfdY6lm6TRrbFhirWeVRNw7fr+/JFA5 Un/tiRmj7d3ms925/kq8b/iIQXZL88w= Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=JOWwHZQR; spf=pass (imf19.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Rspam-User: X-Stat-Signature: 3rbm1y1693atr77okx5abargcmbwdocq X-Rspamd-Queue-Id: 48EA41A0076 X-Rspamd-Server: rspam08 X-HE-Tag: 1662755349-78737 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: This patchset contains minor fixes and cleanups for DAMON including - selftest for a bug we found before (Patch 1), - fix of region holes in vaddr corner case and a kunit test for it (Patches 2 and 3), and - documents/Kconfig updates for title wordsmithing (Patch 4) and more aggressive DAMON debugfs interface deprecation announcement (Patches 5-7). SeongJae Park (7): selftest/damon: add a test for duplicate context dirs creation mm/damon/core: avoid holes in newly set monitoring target ranges mm/damon/core-test: test damon_set_regions Docs/admin-guide/mm/damon: rename the title of the document mm/damon/Kconfig: Notify debugfs deprecation plan Docs/DAMON/start: mention the dependency as sysfs instead of debugfs Docs/admin-guide/mm/damon/usage: note DAMON debugfs interface deprecation plan Documentation/admin-guide/mm/damon/index.rst | 6 ++--- Documentation/admin-guide/mm/damon/start.rst | 13 +++------ Documentation/admin-guide/mm/damon/usage.rst | 5 ++++ mm/damon/Kconfig | 3 +++ mm/damon/core-test.h | 23 ++++++++++++++++ mm/damon/core.c | 24 +++++++++++++++++ tools/testing/selftests/damon/Makefile | 1 + .../debugfs_duplicate_context_creation.sh | 27 +++++++++++++++++++ 8 files changed, 89 insertions(+), 13 deletions(-) create mode 100644 tools/testing/selftests/damon/debugfs_duplicate_context_creation.sh