Message ID | 20240306085513.41482-2-byungchul@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 44F6EC54E49 for <linux-mm@archiver.kernel.org>; Wed, 6 Mar 2024 08:55:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9A36A6B0081; Wed, 6 Mar 2024 03:55:32 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 951ED6B0082; Wed, 6 Mar 2024 03:55:32 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 75A796B0085; Wed, 6 Mar 2024 03:55:32 -0500 (EST) 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 4D46C6B0081 for <linux-mm@kvack.org>; Wed, 6 Mar 2024 03:55:32 -0500 (EST) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 2A0E5A0F95 for <linux-mm@kvack.org>; Wed, 6 Mar 2024 08:55:32 +0000 (UTC) X-FDA: 81866005704.04.03FDD7E Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by imf06.hostedemail.com (Postfix) with ESMTP id CD56618001C for <linux-mm@kvack.org>; Wed, 6 Mar 2024 08:55:28 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=none; spf=pass (imf06.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1709715330; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=116HBDWeX/cp5l4La0Bm3xTvIC4bdvi7mdw9bc3rgno=; b=vucNAw1Z6/VxXP5mwU5BRaQFgzebB2vej7Cx0BCPjCf5Bbq0uJDOlYo34lofSmSGeS9DDV Buw31nSI3QPm8VVFOy1GSPtTFl+q+FKmYIcVvb4ROomfEj6uN+eJvJk78zIJ1O8nJ6hm8t jRMUUPmHXmwKK8sBiqTkl5Cb1uQdJGI= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1709715330; a=rsa-sha256; cv=none; b=e17xF1FXIveL0wOXNeSPd2+KSjOu+cd0jEsKSKSsVA25C8duo76Uww0CHWNsRV+TiGDRKd LlAo8SetUeDk1nKRj8qjvka6m/FSDkuUs5HCP0YGePeff+9whOgKgyfvIWjVhMMHnTb6vL DeAJuvIVEgm+k/VrKJ6djy1L2HFG2Ys= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=none; spf=pass (imf06.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com; dmarc=none X-AuditID: a67dfc5b-d85ff70000001748-38-65e82f7c082d From: Byungchul Park <byungchul@sk.com> To: linux-kernel@vger.kernel.org Cc: kernel_team@skhynix.com, torvalds@linux-foundation.org, damien.lemoal@opensource.wdc.com, linux-ide@vger.kernel.org, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, will@kernel.org, tglx@linutronix.de, rostedt@goodmis.org, joel@joelfernandes.org, sashal@kernel.org, daniel.vetter@ffwll.ch, duyuyang@gmail.com, johannes.berg@intel.com, tj@kernel.org, tytso@mit.edu, willy@infradead.org, david@fromorbit.com, amir73il@gmail.com, gregkh@linuxfoundation.org, kernel-team@lge.com, linux-mm@kvack.org, akpm@linux-foundation.org, mhocko@kernel.org, minchan@kernel.org, hannes@cmpxchg.org, vdavydov.dev@gmail.com, sj@kernel.org, jglisse@redhat.com, dennis@kernel.org, cl@linux.com, penberg@kernel.org, rientjes@google.com, vbabka@suse.cz, ngupta@vflare.org, linux-block@vger.kernel.org, josef@toxicpanda.com, linux-fsdevel@vger.kernel.org, jack@suse.cz, jlayton@kernel.org, dan.j.williams@intel.com, hch@infradead.org, djwong@kernel.org, dri-devel@lists.freedesktop.org, rodrigosiqueiramelo@gmail.com, melissa.srw@gmail.com, hamohammed.sa@gmail.com, 42.hyeyoo@gmail.com, chris.p.wilson@intel.com, gwan-gyeong.mun@intel.com, max.byungchul.park@gmail.com, boqun.feng@gmail.com, longman@redhat.com, hdanton@sina.com, her0gyugyu@gmail.com Subject: [PATCH v13 01/27] llist: Move llist_{head,node} definition to types.h Date: Wed, 6 Mar 2024 17:54:47 +0900 Message-Id: <20240306085513.41482-2-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240306085513.41482-1-byungchul@sk.com> References: <20240306085513.41482-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSf0zMcRjHfT7fn3dz9t2x+cqIM7/ph8kem9H8wfcPrMk/+IObvtNRx+5U smxxlZ+VkMg5d1dOKpWrJtTtZMpJV3LqUI00aq6yuOiH4y788+y153k/rz1/PCwhr6aCWJX6 iKhRK+MUtJSUDkw1rUwJ7RPD0vuWQs75MPB+P02CvryUhtayEgSlVScw9D/dDB0jHgTjzS0E 5OW2IjB96CKgqqEbQV3RSRpe9U4Dl3eIBkfuORp0BeU0vPwygaHzykUMJdat0HTBjME++pmE vH4arufpsL/0YRi1FDNgSV0IPUX5DEx8CAdHdzsFdW+XwzVDJw21dQ4SGmp6MLx6qKehu/Q3 BU0Nz0hozcmk4O6gmYYvIxYCLN4hBtrsRgwVaX5RxjcfBY2ZdgwZhfcwuN48QmA7/R6DtbSd hideD4ZKay4BY7efIujJGmAg/fwoA9dPZCE4l36FhLTOCBj/qacj1wpPPEOEkFaZJNSNGEnh uZkXHu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pyDICs9n4Y0VwSM/SggayLFFu8gJabVHBcb Riy0+KxEEO9f/sCKaY3vWdFiOybWlIWIpfW9WCwe8jGirfwsEW1D51kxs9+JxQGHgxWfXhyj xR6nGW+dGaVYsV/WauJlfdiqvYqYDEcRe6RQccJyrY4koUYuEwVwAr9UuPm6lPGb8HOFt29H Kb+D+NlCjfHL3z3FexXCVcd6vwP5LYLD9I71m+aDhfZbJchvJR8hFN314n+ds4SK6qa/PQH8 MiF3IJf4rZq4eZFaTM4hhQVNKkdBGl18rKTRRoQaDsUk6DQnQvcdjrWhiXexnh7Pu4eGOzc0 I55D6snKNQEeWcVI8YaE2GYkcJQ6SHnqZ4+sUu6XEk7K+sN79Me0sqEZzeRo9XTlxh3yXhV/ QIqTD8nyEVn/P8VcwIwk5L6z2zCttSinw7vrV2RidF92VLUHO92bLO3Xt//gIzqjjVTstMdC +sl1L135VnvX4sIbkWvrAo/Wrs5NmX86dImkO/jRE8lqjVGthsxHgceFRFPgPOwa2bY9LDEd L7iYklg2uZ2bY26XZu2M84Tos6Z+7mkOVVUFb7w/aeX3nClq2hAjLQqh9AbpD3/EcVYqAwAA X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: CD56618001C X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: juw8kftpcyt1q5zxc9zukukyej3r7c3w X-HE-Tag: 1709715328-655513 X-HE-Meta: U2FsdGVkX1+GqY2QUC+jFi5damSMDUoeJO1YAhZMzgldbuSAKot+yG8CzMkXZ52hL1coGaDZ3dLbzZ1zMLZ/KNHjd4d5MhU3KbW3V95DXsNO/y/0azHmEA8NatEYsS2S/W9gRNTa7+pNXahbBcVa7Wg3ToObB7odhpyuvETQOpmZZjjgiA7lOxoP2vcJN13c+t/sx+0csKfbjbVeNqlwH1ynNxZouN3n36v6wjExWUrbQUcoWY1fLQPfe9DG4ZMi+bhxvilavAVH6YUL/WxjUzZ/hECkuLIHTJbe6hj2e+No50bKVISpFCqvmbpCsLuESQypZe8Z1TrDQE1vOYuXurA0tnvJw1v89poSjqFY6yRg55qTAGgilf3Y1WbuPQteXXPJrQYbDIKz+Mp0g9oCFzV6Xv3+pvfjRV2YCH3yMCEgRE38bQUeJtRaQslXIYVqIVZF/+pKdfzoZFCmTmfxjh1xktb0v+2nxCE/lTDgrO6oELyYkqvOsRmFjlmocPWeEWm/r8qW7XBAk8vxFcaf40D8CcMMUbG2I/pLhR2hW3r/MhZdT40UrKC9VPvP6smQhjvLa7cJPFhN8Md3ZKvSi82RgKV/FYN717NMlm3TnPSQ6mKler4O7zFz9qB1Bf3HhD+BkLD4jjD6LUd1mopaykxdu2ZEbcmWtxhqI7tQDCPjAz4j1IzoTjL4wQyRyCxeb1oSyscaVZr9gKKKD1xPFerXbYrhUjoOT9CAERPpL2E8NEgWrKCxcuU4ieP1isFw3d97zbpludC/frVDrWkeSZiTEigYARkjAwzUaSwdhOfyP6LRnE6RtIucB9tF6Bn2tdn+VSvvxH08Jvu7qcfJqcZBvclpwpV9gHDFUl1JyJUs73Nv8Ntu5NQwQrGXjV1if9ViCrFRcj6LDizwqOfEnA7kh5GngCD26m4QDdkR3rIDbLhQo5EMSQNRES3S3DahhbEeQH97Wv64lfyTSM7 kQOvkm3m Hd7pm8S2AnYu8U5BA+lGfJw0QQcx/1PMGxasA+ftdrCBZ3crsqjTsOG+c9DCBYdTAjY+el0qRQwdJGAmCIodu8vLGTK4nXHnf4pGVxch5MysW4xY= 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 |
DEPT(Dependency Tracker)
|
expand
|
diff --git a/include/linux/llist.h b/include/linux/llist.h index 2c982ff7475a..3ac071857612 100644 --- a/include/linux/llist.h +++ b/include/linux/llist.h @@ -53,14 +53,6 @@ #include <linux/stddef.h> #include <linux/types.h> -struct llist_head { - struct llist_node *first; -}; - -struct llist_node { - struct llist_node *next; -}; - #define LLIST_HEAD_INIT(name) { NULL } #define LLIST_HEAD(name) struct llist_head name = LLIST_HEAD_INIT(name) diff --git a/include/linux/types.h b/include/linux/types.h index 253168bb3fe1..10d94b7f9e5d 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -199,6 +199,14 @@ struct hlist_node { struct hlist_node *next, **pprev; }; +struct llist_head { + struct llist_node *first; +}; + +struct llist_node { + struct llist_node *next; +}; + struct ustat { __kernel_daddr_t f_tfree; #ifdef CONFIG_ARCH_32BIT_USTAT_F_TINODE
llist_head and llist_node can be used by very primitives. For example, Dept for tracking dependency uses llist things in its header. To avoid header dependency, move those to types.h. Signed-off-by: Byungchul Park <byungchul@sk.com> --- include/linux/llist.h | 8 -------- include/linux/types.h | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-)