Message ID | 20240124115938.80132-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 097ACC47E49 for <linux-mm@archiver.kernel.org>; Wed, 24 Jan 2024 11:59:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BADA96B0085; Wed, 24 Jan 2024 06:59:54 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B4A276B0082; Wed, 24 Jan 2024 06:59:54 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7EDF16B0085; Wed, 24 Jan 2024 06:59:54 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 5CB316B0082 for <linux-mm@kvack.org>; Wed, 24 Jan 2024 06:59:54 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 0B3F3A0C33 for <linux-mm@kvack.org>; Wed, 24 Jan 2024 11:59:54 +0000 (UTC) X-FDA: 81714060708.22.A57CBD6 Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf24.hostedemail.com (Postfix) with ESMTP id 783AF180011 for <linux-mm@kvack.org>; Wed, 24 Jan 2024 11:59:51 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=none; spf=pass (imf24.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=1706097592; 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=IQ5gsVMv5CNoCQFB5dAL3fdfxo52U0dHu8R8PW2XRT15SPb4RBGlw1QiFRQPMspdc6cDVd wVmVWSCpMgfJnH2rarEh1/XqJKeO1fF3CABA1YRscwMPPd4a/xGRY2tAWogFvyEFLWhGpo zvJYKRrHW4u0eYMlvnH6tulo2FVzhN4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1706097592; a=rsa-sha256; cv=none; b=zRv9smGAxwFCkF9vCUqev1OfeI6X+uBOPCqmJ/jU8htWmJIEJTFCkvrNwI3+CUJW6w26lP 5NBGfOL+EO+xJPg++zy/1AKqqhF/HCt5M1I6rbVeoMTipMRmKlL/AAKUcIqaTvKck8rrwt XpdcBnfUpXzWCpWWZX4Uk/Mc3sMsET4= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=none; spf=pass (imf24.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-51-65b0fbb4aca7 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, viro@zeniv.linux.org.uk, 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 v11 01/26] llist: Move llist_{head,node} definition to types.h Date: Wed, 24 Jan 2024 20:59:12 +0900 Message-Id: <20240124115938.80132-2-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240124115938.80132-1-byungchul@sk.com> References: <20240124115938.80132-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSW0wTaRTH/b6Z+WboUjMpGkd8QBurCcYLBs1xo4ZkH3Z40JhojJFEbWSU slxMy3WzRkQEF0RBU1CsWkBrU6Bgi9EVSipqoRKhYsN2CSASd5EVRMGycvHSsvpy8ss5//xy Hv4cpWhiwjlNSpqkTVEnKYmMlo2FVq5tnG2QNkx4NkLp2Q3g/3CGBkN9LQGPtQZBbeNJDCOP f4Y/p0YRzD7toqBc70FQ+bKfgkbXAAKHOZfA81cLwesfJ+DWFxE4VV1P4NmbOQx9ZRcw1Nh2 QEdJFQbn9DAN5SMErpSfwoHxGsO0ycKCKUcFQ+YKFuZeRoF7oIcBR+8auHytj0Czw02D694Q huf3DQQGar8w0OFqp8FTWsxA3dsqAm+mTBSY/OMsdDuNGBryAqL8yc8MtBU7MeTfuI3B+1cT gpYzgxhstT0EHvpHMdhtegpmbj1GMHRujIXTZ6dZuHLyHIKi02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5ox5B68w6G1vePEFSe7MIg F74lUO3sx1AmZ1Lw63YNgp4zAywcP+1iISf5DIL045doaPxdx0BKRyC4f5pISLBY3T9IiSll h0TbiJkWn+cJ4oPsTlZMqWxnRbN8UCzL9xNvPO7D4vXvTkaUraeIKH8/z4ppA61Y/NrQwIrP Lrtpsbc1C4fP2aZYvVuK0cZLumVrIhVRqQ1X2f25igTzrbskCVVyaciTE/iVgq1oiEww4X2F tjYXNcHe/DyhzPiBSUMKjuJPTBHyv72aHE3nwwRb+iCeYJpfIHxubKYnWMkHCtdqi+l/0rlC Qal9UuTJBwlFV9onc9X4pst6lj2HFGbkYUXe2rj4WI02JtBfHx2VGKdN8N+1L1ZG409jOTqa UYGGW9ZXIZ5D6qnKEGuJpGI08frE2CokcJTaW9k2q1hSKXdrEg9Lun07dQdjJH0Vms3R6pnK DZulSBW/V3NAipak/ZLuf4s5T58k9HLh/HivwPA39oiho3cNQyjNfmes87066GlzQrR84fKn JxH3N9VVrPJrCl203fUwOfuHh3H0jdc9khS5TnZEtPfO2KHBz71ClbZ5Fz1ig/3pnYt7jKYj 4dPdYSh0OGjJqoB3vw3JAVNC9qz1tW+92d218VjQFm2fqeh1dk7NqUVjK9S0Pkqz3I/S6TV/ AentXzAwAwAA X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 783AF180011 X-Rspam-User: X-Stat-Signature: cnguhpm7fakxzn3ue9dqabcrsmhq54it X-Rspamd-Server: rspam03 X-HE-Tag: 1706097591-965885 X-HE-Meta: U2FsdGVkX18MLZ3gkwt/jYvrpkXszmdboYM9iTh+0ShA78p0bLDptKUra09JZgYWtMTBwljEfNrrju8W8YNm6Ci1DVO3LLPviRrcQl/gs3bnPyzOnAIO0aWMrQpqfbTmtndAnfm8pO2rSJZKJM/Roy4nrAcoUUM7HCWg7bKz2vYXyfC3dviYLoTgK/cwcFAkedbChmBXdrwhNWTHKvAl20f9KuxQ6cvRiqabVdLNJqsj5fM6StHOvywO7zUmFXq0leMFmzifIuMcksuB/iGRaz2Ipqd7/YEtsWy6PDuWV8KouK/7WWhthpJezK7B2qG4vfIvxksP2qi4G+MD+ngYk4q6ZMZ+B2+2w+sHJa0eTn8/CB71/vS09e0MnvOqvD5JQ/PRQLGqp1QEEjhbuQJlpAzAj8yt2rFKD8UcHWQ3Xl3qn0ESVYBPYx8DUQ5f/QOu4Vo/ba4fgrKSDtNkaNGwO+fJoyRqGufIEz6PEuATPsGClixDvUCa1skWLGPfceU791f1WNQVG9uhjy3qoSNmRhXnM5FToC5NhE+m8R1o52qbKcsqIgpAWh05uwAkg0VxQKDVLuARQoqrmGVwGu55+5/k3e1ELcvwiWiM7pMbtIGsNvoR4dXZ6532Ez2uSpKctLaIAGH/t5nHhi51KTX7YVc652P2m4kl4yajo7mBHww7a2nydRsBFEb+I2YNZvgDMbaMSisARQPyEI9X+Kpan/7cJ3m8Lha7zMrKSRoz9uaxKAZ79WSQGXZy0/+B//2TkUf4Xm0vD6zZMJgj+V/RVgNn3ByAZP1jxDWzHENo5uTIf+QENZskkQtHW8pdW9AYDfHO975nVOsPxe52jbB5gk0HSrouj1SFYcCv4UkFAJHKPN19qE9QiCb/HEk2KpYXwH83WcWa1BRg2INE6M9hVWjCmgUqGUc5kxAGjFJlI27XHyfp6NBdQh2zjyrZyRzl7uxRjOgYUrCNn4t6/R6 0ASvfLDP 5wzxroBXvrPesNwI3mHqyrwf/wXKYv0UDnCt/6aq+ovGxRj50D/Waz2Zz3Ix5OC4EEHhELTLoQJqkBVrgD4sKIDclO9ew10pT0PciLQIaatt84aY= 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(-)