Message ID | 20240614030010.751-5-honggyu.kim@sk.com (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 5A055C27C6E for <linux-mm@archiver.kernel.org>; Fri, 14 Jun 2024 03:05:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 497806B00E0; Thu, 13 Jun 2024 23:00:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 447036B00E2; Thu, 13 Jun 2024 23:00:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 30EB26B00E5; Thu, 13 Jun 2024 23:00:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 128C56B00E0 for <linux-mm@kvack.org>; Thu, 13 Jun 2024 23:00:28 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id B3C8C1C09D0 for <linux-mm@kvack.org>; Fri, 14 Jun 2024 03:00:27 +0000 (UTC) X-FDA: 82227990894.12.D4287AD Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf04.hostedemail.com (Postfix) with ESMTP id CA23240009 for <linux-mm@kvack.org>; Fri, 14 Jun 2024 03:00:25 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf04.hostedemail.com: domain of honggyu.kim@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=honggyu.kim@sk.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718334024; a=rsa-sha256; cv=none; b=uh2PLCOJh9MpxulAQcWNQhbW1jxY15DiuWJ+QZE4DIY7P8FX8V5oEld9+jxZ0JEfCeFMoC SMEz9MdpGVWfQgYUmEa/e6CwtdbJElGpX2QVv/5iceJLrOcmBueeEbPpI/mdGjlRt/JW6x mwl3T9aK7PE4hUYUetF+BV/pipngaRE= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf04.hostedemail.com: domain of honggyu.kim@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=honggyu.kim@sk.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718334024; 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; bh=Twkyo3ljIBjbS2/4ZLgfrWPOETcL3lQW8GhcvAO3s1o=; b=mIL+US/fx1RFKDpdjLO9+8pegAEyS8huczl2igRxW6Z2pzvnfQCh0MHM3MR0CdVojAAGoc CN0hKC3VX0igqfPNTw1zftFHSsw0Gbam3UUE+7eDKtVu08crAPP+Wmy9kcbtG/nysZXuqE LK4t05cQGV4CqGzEz1WbrNz7V/+qYMI= X-AuditID: a67dfc5b-d85ff70000001748-39-666bb2453c5c From: Honggyu Kim <honggyu.kim@sk.com> To: SeongJae Park <sj@kernel.org>, damon@lists.linux.dev Cc: Andrew Morton <akpm@linux-foundation.org>, Masami Hiramatsu <mhiramat@kernel.org>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Steven Rostedt <rostedt@goodmis.org>, Gregory Price <gregory.price@memverge.com>, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, 42.hyeyoo@gmail.com, art.jeongseob@gmail.com, kernel_team@skhynix.com, Honggyu Kim <honggyu.kim@sk.com> Subject: [PATCH v6 4/7] mm/migrate: add MR_DAMON to migrate_reason Date: Fri, 14 Jun 2024 12:00:06 +0900 Message-ID: <20240614030010.751-5-honggyu.kim@sk.com> X-Mailer: git-send-email 2.43.0.windows.1 In-Reply-To: <20240614030010.751-1-honggyu.kim@sk.com> References: <20240614030010.751-1-honggyu.kim@sk.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFLMWRmVeSWpSXmKPExsXC9ZZnka7rpuw0g78veS0m9hhYzFm/hs3i /oPX7BZP/v9mtWhoesRicXnXHDaLe2v+s1ocWX+WxWLz2TPMFouXq1ns63jAZHH46xsmBx6P paffsHnsnHWX3aNl3y12j02rOtk8Nn2axO5xYsZvFo8Xm2cyemz8+J/d4/MmuQDOKC6blNSc zLLUIn27BK6M6U07mAsauCoaZixkbmBcx9HFyMkhIWAi8eXmJ1YYe8WK+UwgNpuAmsSVl5OA bA4OEQEriWk7YrsYuTiYBTYwS0w69wKsRljASeLTqynsIDUsAqoS/95IgIR5BUwlGr9NZYcY qSnxePtPMJtTwExi+rF7YK1CQDUXrmxlgqgXlDg58wkLiM0sIC/RvHU2M8guCYHHbBLflz5h hhgkKXFwxQ2WCYz8s5D0zELSs4CRaRWjUGZeWW5iZo6JXkZlXmaFXnJ+7iZGYAwsq/0TvYPx 04XgQ4wCHIxKPLwez7LShFgTy4orcw8xSnAwK4nwzloIFOJNSaysSi3Kjy8qzUktPsQozcGi JM5r9K08RUggPbEkNTs1tSC1CCbLxMEp1cDY9PFilmcz1xyN2+uvTj/t9kbMfVszi8yxyX+5 G5RmvK/5n71x03Gbaw9PzEg3f6cnYv7K23bF0b4t6QtcfevPfPFarbpLcWHtiV+6xVfDH3tO yusNOr5UQFjY//DvupvL76jFv/S2in6578LtH7qlqdtmO/L5JpntLSo0vZFbluLRfeRFPNs3 JZbijERDLeai4kQATVedRH0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFLMWRmVeSWpSXmKPExsXCNUNLT9d1U3aawbatjBYTewws5qxfw2Zx /8Frdosn/3+zWjQ0PWKx+PzsNbPF4bknWS0u75rDZnFvzX9WiyPrz7JYbD57htli8XI1i30d D5gsDn99w+TA57H09Bs2j52z7rJ7tOy7xe6xaVUnm8emT5PYPU7M+M3i8WLzTEaPjR//s3t8 u+3hsfjFByaPz5vkArijuGxSUnMyy1KL9O0SuDKmN+1gLmjgqmiYsZC5gXEdRxcjJ4eEgInE ihXzmUBsNgE1iSsvJwHZHBwiAlYS03bEdjFycTALbGCWmHTuBViNsICTxKdXU9hBalgEVCX+ vZEACfMKmEo0fpvKDjFSU+Lx9p9gNqeAmcT0Y/fAWoWAai5c2coEUS8ocXLmExYQm1lAXqJ5 62zmCYw8s5CkZiFJLWBkWsUokplXlpuYmWOqV5ydUZmXWaGXnJ+7iREY4stq/0zcwfjlsvsh RgEORiUeXo9nWWlCrIllxZW5hxglOJiVRHhnLQQK8aYkVlalFuXHF5XmpBYfYpTmYFES5/UK T00QEkhPLEnNTk0tSC2CyTJxcEo1MPrUNa+7oH7k9/8HOuKSx2ZXixj/OxBddF9Kwnnj9kM8 urVLV0mqV5sFWv9mebp94xH7mifK91eIMLTX15rF+K3ZHbEmpETj68qlNqnNfjsLPuxftU/l C+dcbQX+TWYawXvWJLpVnr3ZzKUe9aeGJ3O+TgBryeL/Z/Rz/vR+TJswY63avta52UosxRmJ hlrMRcWJAMj5IFltAgAA X-CFilter-Loop: Reflected X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: CA23240009 X-Stat-Signature: 5ake1tnzu5kx7is3mx5ngp4y4rnyjs7h X-Rspam-User: X-HE-Tag: 1718334025-847812 X-HE-Meta: U2FsdGVkX1+b7A3aGj8Q4Yv3R4OGuDun+w74e+kAT/pW5G789Ey71KB2c0vvHt93sZs4jnUduinE9n2MRcAGYgJ6lJc1pYh+oCLZjLbgRDJx8geTR5PiLyWpvDBmJjlP0lgr59/IQpgn6v5B2fDEb5oZ7XZC97fDBa2CCcm7ugZTYMDEM6J6cVMr+jZRJxQJLA3Jiv900wXu6Mia9r8Dw6Khj4XeSUX9DGJnU6GQBvfDz2sTPKGmfzSjzRjihI+jQrETH4LKL7eEHekCIxe3WvzcJZKDo+3RLFP3RGoFWoKwtKFUQ4vbMymltUXD7XcaqdRW34jHv6zKEgKyFkvqCV1/HbK+3Y1MUJJzd5zsTkpBaIk/6e1Yz1YK/39e45nCsY6cv1d3yGNGjeyQknqSCh/7OLKhEW0uBQGIeKSpWG2eg0h0wbPYA2IUAcb5kVMUEqhN6doJSfqe3chrCSOrzbMOXmS7LrMxcZl/8NXt7LQ1AENx77+sBNDFWzuYjbILOp6lV+XE/9IllKnh1YZDgwUrlvhSl6GD+6Xqrs0vLqEeqMY6UszBTRNufdxLF44mexBbpvUBMjgyspaDngqC4g17asKSQfI1xroVITz3hnYy2Ssh66zok86SxTOeLVufKDVRCeslNAR+05w0zuI1em+jnjCvCrvstKT0DDfrTG8Lk5dV4fUyohuthT+2Zl7emZ/h6O8YnBRRPiJw4qGE2DFhG2f25iWq+NoxbhCXN8uNfTqcFw7TNG+1w6dTV5S3h4ot8E8SiOzBfsYXAmPGLx3icBEWkdhi1NSVh8uV7hXNqnqBZoX+mZbOb0UEXnp+xjxRVGV+5vUC1UqXGa2VYq2AFXP96dCEWIqSEwcUFIEBMOdbLvajUS34hsaEEp1/5ItdSL12mTaxnkxXCuN09NJDOdtSwvT60hCgS93b2m5RhiTVlwSUPrX1dVch0pYSInZI4GJg2SEJxo3DfNP ZFBsJJoo FaSG+m9TMIT/evmHA/ML4m2G6gY9OanvBuDesgLIyheQUX9FfS+0Dzzx9dp/qiFYjzP3u4/O3fRtr+71vRVJMZWs5MMsbS//TP/idSEl9f5+eJbXh1+k7i0WLzVzGgFkBpsko23iwvNuMy+18oBiJrlQja7Y5PTiRtM0LKiKFHauVw91KfszGaLcYHJ+eNKv8Tp0y3Ioylsiu9gk= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, 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 |
DAMON based tiered memory management for CXL memory
|
expand
|
diff --git a/include/linux/migrate_mode.h b/include/linux/migrate_mode.h index f37cc03f9369..cec36b7e7ced 100644 --- a/include/linux/migrate_mode.h +++ b/include/linux/migrate_mode.h @@ -29,6 +29,7 @@ enum migrate_reason { MR_CONTIG_RANGE, MR_LONGTERM_PIN, MR_DEMOTION, + MR_DAMON, MR_TYPES }; diff --git a/include/trace/events/migrate.h b/include/trace/events/migrate.h index 0190ef725b43..cd01dd7b3640 100644 --- a/include/trace/events/migrate.h +++ b/include/trace/events/migrate.h @@ -22,7 +22,8 @@ EM( MR_NUMA_MISPLACED, "numa_misplaced") \ EM( MR_CONTIG_RANGE, "contig_range") \ EM( MR_LONGTERM_PIN, "longterm_pin") \ - EMe(MR_DEMOTION, "demotion") + EM( MR_DEMOTION, "demotion") \ + EMe(MR_DAMON, "damon") /* * First define the enums in the above macros to be exported to userspace