Message ID | 20230626115700.13873-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 914DFEB64DA for <linux-mm@archiver.kernel.org>; Mon, 26 Jun 2023 11:58:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DF90F8D0002; Mon, 26 Jun 2023 07:58:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DA8DD8D0001; Mon, 26 Jun 2023 07:58:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C495A8D0002; Mon, 26 Jun 2023 07:58:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id B32AF8D0001 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 07:58:40 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 871491A06A4 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 11:58:40 +0000 (UTC) X-FDA: 80944752000.12.DDB3DDB Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by imf12.hostedemail.com (Postfix) with ESMTP id D670A40009 for <linux-mm@kvack.org>; Mon, 26 Jun 2023 11:58:37 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=none; spf=pass (imf12.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=1687780718; 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=qcE9reRLded+uAiSuhESI5/OhPGtYw72bo9DZngV7UQ=; b=l+y9u+OGpFdIa4qouclebCOFeemNVEloocwkTYrJ9OiFMV/Ld0ceJRf14mnvB/sZCDhvBF 1QZnWgauOXa6MQj48SLKWgkrDpRJNKbbS15DgNzt3ixTLK1e7CMDmeY9ybuVLMuBIqn4tz QOKKC8pkKBYPDn1sCYQhJnMFfL168JY= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=none; spf=pass (imf12.hostedemail.com: domain of byungchul@sk.com designates 166.125.252.92 as permitted sender) smtp.mailfrom=byungchul@sk.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1687780718; a=rsa-sha256; cv=none; b=2O+7tMBNA342BcTJTj0O3u24ziQc3/bI4c14Q3vkduG8FQi3ZDIDtkizTu7s728jZCrq4o xhotFEhDXgvy2rvxkeVfiHMaaY4nnT4yRVgxZIGeGvgRr2y9In2bFIbCUHr68km3+zh66l xRnmHlNtRgt4iUVRJ024I5n/Oz/7Dx0= X-AuditID: a67dfc5b-d85ff70000001748-95-64997d6a6eda 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, paolo.valente@linaro.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 v10 01/25] llist: Move llist_{head,node} definition to types.h Date: Mon, 26 Jun 2023 20:56:36 +0900 Message-Id: <20230626115700.13873-2-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230626115700.13873-1-byungchul@sk.com> References: <20230626115700.13873-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSW0xTWRSG2eeyz6FSc1KNc0Sj2IRgmIBg0Kw4aCTRuDXRGH0x44NUe2Zo hGKKgExCwqV4KaCgQhVRoJgOAdTa8oADh+kAIohCHQjTMRW1maiMIIq2WsFLqfFl5cv61/89 LZ5W/clG8jr9Ucmg16SrsYJRTEVY4g7nX9QmDA3yUFmWAL53JxmovdGKwXW9BUFrWyEFE7e3 wT/+SQSz94dpMFe5EDQ8fURDW984ArmpCMPIfwth1DeNYaCqFENx4w0MD17OUeCpPktBi30n DFZYKHAGnjNgnsBwyVxMBccLCgLWZg6sBdHgbarhYO5pIgyMj7EgP/wRLl7xYOiUBxjoa/dS MPJHLYbx1i8sDPb1M+CqLGfh2isLhpd+Kw1W3zQHfzvrKbAZg6L/52QKjr/9zMKdcmeQrt6k YPTfDgRdJ59QYG8dw9Djm6TAYa+i4ePvtxF4T09xUFIW4OBS4WkEp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dx6DnTT2C xuT3GFiqeilodo1gYLXk4fC7rAWBM/MrDUnpUzQUxmciSEvKJ6Bz9gkJekcYTP8qonZu55tH xnBebz3H2yaNBN9h4vgHN97SvL6xn+aNlrO8tTyQL20YwviScRfJWypSKN4ynkPzqV97MN7R 20Dxoy9e0Hzb9Wlin2+UaLtcUCljBO3GHUdEimu9xSi6WHQ+N6mGjEONTCryYjg2lHNm6QkP U+w6rq9vCvewN7uas2Z8IlORiMHZ0oXcYNtj2lMsZfdyfRO2eSZYf67j56f5ZzEbxl1NsJH/ pH5cZU3TvMiL3czVPzMhD0vcNwkOO5WFREa0oAJ5KzUxaplSFRakO6mI1SjPBx09pbYg93LM l2ay69BEd7gdsQySLhIHr7oul5CyGF2s2o44Bpd6i5f9MsglYrks9oKgPXVYe1Yl6OxoBUNI l4v3HBSOSNjjsjPCSUGIFrT/W4zx8olDzpYtNfFWdpP22JLIH6cvzoUNWu60DNvfdT8PTFsj Kwl5F3AgP9OLe+n7zO+0oj567YOjzDH/jq3NF3Mybi//lrR+X1ms2tAwQupuce+jVIFD6ZVR +wsGCg91+n//vnvxXZWPJiYgV7GyTtJRFr01UpTuN16NIi47ri6ofjQxatwVKiV0CllIIK7V yf4Ci/xDFDUDAAA= X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: D670A40009 X-Rspam-User: X-Stat-Signature: t6756rfufrpy5bp6dg83h4sh3c61jsmk X-Rspamd-Server: rspam01 X-HE-Tag: 1687780717-23225 X-HE-Meta: U2FsdGVkX189nHEFN+ANN0yP0nNUkuaZ99il5esVppLrd5JnKKvfm+0gtO/uTLTVgvSgnIvkq+DWAIm1lqxHI6kpe16QSH0mLaMFnTv1hoKlt0J1lO5LB9+ZhFaRaINbd7V3rGNflRF+aHiZVv8MzOAV2OFvTwjh0DvU8gZrWKu3nmALuxAf/rNd6ZQJvSshQ2PmgkfoS3sePKpyy6btwfBwGGyPG0LP+TLSERvdGNn/xcO6wNxY71U5Q8ZXMGPUT68Gi99B1szG+QYKjz4XXzvxEpyI+F6uAuGsFF/pIFPZkJZ9A1S7PgfLbQCH+mYep//170W2w1SLwZPY6IvruS4LBQM8gnE8l/mn4lkl5S+u3gPpco7FDiKQDxcsVCROLTP6NCTPLb4vJ9nxBTn1DBhw/5j7G2Wwrq0d5ROGirZKiiJAjrSVHEnffKOGWmKunJYxAhY9LAKoIFwEzWjRs4HZq+Lu6RQOTp060pesr6Q+MupFlJTqVhbYSKXQxAPBJtCBfOl/pRuWH+0pbFUDII6ve+NUskFQrUcz5hSCJJSj2n/0CeLkfND4dYYWTusNj7mzL+2X2gaFu7lH651GCrbktj7PTX7RYv/+99BgNHzqpfVQPfFIOoIh7A7YxsWHy7aFDH8AozbXodoHFV5CqqDhifswoKIOnF6kxmd7C3BM7eiUxDzM+HoNN3ACbpsuFAOp7lkFe3jdZaiNt4uqoYGUqleDeGdzk/EiWfWFGFiCf5/zvbPjHSCUkwea+a8GsOLbWmgBuDT63uew8XBhVh3J+rCuvE/xSNeIlKc4YOagfbR3CBNpkPkqb6T73/tFzUDSF4ehwIfq/fO7V7LyV0kiPOAby/3p7+RQLyFezODOYGAYWIdu6yZ0i4aEdzrki9+spvhUs1wIdJ7l157vgQDxELupZBWOZRUiiJ7zszagp0GIFrn2N0jNdK7Z4y8T4gN2TvZN71jPZOiIVKP 0vJDp/2L 6Sv59+AhUbUEbbYgms+BPAWTJEDr97E8wmPP1laa61CRTLnJmwp79Fvx8VcR431cF5cxOg/cVIIDDlmZukpa9ISJlOgwQRMgJ9i4x5i1FhCNTTw0= 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 ea8cf60a8a79..b12a44400877 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -187,6 +187,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(-)