Message ID | 20230821034637.34630-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 CDC05EE4996 for <linux-mm@archiver.kernel.org>; Mon, 21 Aug 2023 03:49:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AD666900005; Sun, 20 Aug 2023 23:49:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A861D900004; Sun, 20 Aug 2023 23:49:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 778F3900004; Sun, 20 Aug 2023 23:49:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 587598D0001 for <linux-mm@kvack.org>; Sun, 20 Aug 2023 23:49:46 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 143CDC02FE for <linux-mm@kvack.org>; Mon, 21 Aug 2023 03:49:46 +0000 (UTC) X-FDA: 81146732772.02.38C8FF6 Received: from invmail4.hynix.com (exvmail4.hynix.com [166.125.252.92]) by imf03.hostedemail.com (Postfix) with ESMTP id 2312E20005 for <linux-mm@kvack.org>; Mon, 21 Aug 2023 03:49:42 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf03.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692589784; 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=id1RYJ4ymzj+gyhjeyKXNGxuAFeHQHwX1bZ//6cRqA0=; b=UXxWhtW6DEtc7up2sCzUjzJZb0E35Y1zsBP8E1ZSgsoYyyn4AZJD2z30YD9i+zzkD7970m cskNSjb4LQav3CWtZ1S1J04632xgBHzDCfoGESHc5PXGZZKxPcaIAgbS7lQfGV0pVsDlft hTKpzBAsX6SBlrXs27N3wb32L/lXDxY= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=none; dmarc=none; spf=pass (imf03.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692589784; a=rsa-sha256; cv=none; b=k1XUvjalZ05F8pp8iUGCDS0OKcIe7h+ywOAJwj1IktD6G+x4mgDmHNd7GgoHp8D9vnHr71 tAe2pJIwPTkH0Rb7HWdsoycRnLD7wMWtX3EvlDhPoim6T6ATI51nWISdc0GqDIrmekYicj 4mE+sSrimaz3kCE6N0HUAUfziqiwBgg= X-AuditID: a67dfc5b-d6dff70000001748-f9-64e2ded4f362 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: [RESEND PATCH v10 01/25] llist: Move llist_{head,node} definition to types.h Date: Mon, 21 Aug 2023 12:46:13 +0900 Message-Id: <20230821034637.34630-2-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230821034637.34630-1-byungchul@sk.com> References: <20230821034637.34630-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSf0yMcRjA+37fn53O3p22XmI4YjKJYc8wPzab9x+bCX9g0829dFzHLiIb KyXkQugHnXaVnXOd4r0MUUvmKkR0U8hNd+KacjndKZVU5p9nn+35PJ+/HpZQVFFTWI3uoKjX qbRKWkbKesKKFzhdbnVswfBMyDHEQqDvNAnGChsNzeVlCGyVaRi6nq6H1mA3gsGmVwTk5zYj KO74SEClw4Wg2nKChpbPE8EZ8NHQmHuWhvTSChpefxvC0J53EUOZtAGeXyjBUDvwlYT8LhoK 89Px6PBiGDBbGTCnRoHbcpWBoY5F0Oh6S0H1+/lwpaidhkfVjSQ47rsxtFQZaXDZRih47mgg oTknm4Jb30to+BY0E2AO+Bh4U2vCcDtjNJT58w8F9dm1GDKv38HgfPcQQc3pTxgk21sangS6 MdilXAJ+33iKwH2uh4GThgEGCtPOITh7Mo+EV8P1FGS0L4XBfiO9ZrnwpNtHCBn2w0J10EQK z0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xyKQUfL7Yg8J14zUJu4SQLZ46eQFCQW0ZD16c2Bsz9cTD1wUq2 bBKbR/2UaHYeFOsnbLR4r0IQb50eYEVzQx8r2uQDotMRKVbeGcHiufEAI8pVfxJRHj/Jivmv PVgce/CAFdv/nqLFIY8F/xqWoPheK6XoMiXDms2JiqTCnmdMerki6/llyEENXD4K5gR+nSD7 Wsk8E/5b4fHjSWqeQ/gVgrPoBZOPFBzF/7FIcLy5vyAt5ncKgfEJNM80HyHM3vQz86zk4wSb /xr+HA0Xqq+6FkLB/HeCXHd7wVfNOW+9z+hipLChoCoUotNnpmp0KXHRxuSkbL0uK3pPWqqM 5n7GfmS6pBa9c29rQjyH1F8pE8N8WhWjyTRmpzYhgaPUIcrQ916tSqnVZB+SDGm7DQdSJGMT CuVo9VLl9ngpUcXv02RIyZKULhm+rJgLXp6DMt46a8OODPy4LPFJULTFFr9iUXmW6fDagn2h pjSqbuuOG5U2745w+82+59bZqKUNfVF5M/urloxt/dQ7lbA+qDEvmjhWF99tazGfMqyKcv8e 2jvc3vjNxvQZ9NcFff5G5w+us/8GmsL3bti+rMvd+FOuPW3llh4+Ytdvh0sdhV3xpExNG5M0 sZGUwaj5HwEiwkAvAwAA X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: 2312E20005 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: j39px1fsdc894pzzwkoik1fibu6wwuqo X-HE-Tag: 1692589782-235066 X-HE-Meta: U2FsdGVkX19nSRq3lJMzgts1Uof2FTXCDzfxDu8vm3UDqOpQvMXQmxmkCxk4slRAR4m0DQWwjHNQhRynZMhb43hiI5BajlDLKbKJmiMm/fEDcqnDURCxd5ghNxyJTDC1QSGLISvJGDRr+oTddNRee4mz12zJbEi4zhfuKpcOETCH2uHf6nlMzRT0ikcr4wE7670sZW/DTHzd2ceAGTIG8uBuAnJdkZ339nsyzAp77oGwvmrnWNdHL80yskxLNGaOo5h8Fv1RvZRchJ26vKAJMBAN7jriwuK9NlvqWyHgCv/wSgZXAkhuyKy4W8tr0FvblZGgWXBiV9YhOdQgrfcC1lZ+TG0fIFAA4JFfycG4XLfy26d3YyJrjKvH0cZ6UdVLgdmIGKpZehAbQc7lCNkiuARdf0p7ygSsPm5rliToXbxQZy+lVjghXBAnrn8S6wv4mIunGgWTdSr0iOUxfl/SMjAdtWaNaFSbMnpxA+VQN3d/iOugJzxe2dhoRYF4o+S4O5B3IDFtfKZgyNvBnfEyNd8EdbHcFlRai9sd2P5UgzAV84Q7mkX0nx709gnTH0FgIGqTi2vIgXrMJnWUlDzLk0P4jd+rIEXqRwmicPnwlv04I0ubHgdbOgHNMAKRpSuBzKqI2dV/i3oIUqE8ChYnp8TiswK1aX3CqoytxCj5xRbb6u2mQJj52sSXIkRG2UdQSIyl4aB0gPnZ7rl2JD0inawzvFskG4PpUih7vjad9wXTc5PXbtDliuXH4cH0amv1qz6NJJKIyZ7CCZEYXQ57T4baSpCjqWu7+k6VaYfF5ZY+smDaKDA/MRpPBGRk4fVrGEGPEe+K/KsOY7QPN9Hi6XOl4MpzVMkszpEOeT1Auzi46qj13c86Ipq2v/ZiaJlupK5lLXb89hyZsDIDsXK/U6TJOVyJOLNg+0DgUbyxE0l65hNlA39J+P1ijKtgGc7aAndNsfFkd3EbWNgx4RL EOHAd6ei 6IiR6w0GNjZqHjG76Ml8z+w8kAYHg9nMGw2rBVwlnDif6UEdkyEANCjockYAc3Aqn9o7geOZ79UzeYf7V1hyNVchJJozK6x+NwAK0usyqXtrwED8= 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> |
Series |
DEPT(Dependency Tracker)
|
expand
|
diff --git a/include/linux/llist.h b/include/linux/llist.h index 85bda2d02d65..99cc3c30f79c 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 688fb943556a..0ddb0d722b3d 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -193,6 +193,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(-)