Message ID | 20230703094752.79269-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 8DA47C0015E for <linux-mm@archiver.kernel.org>; Mon, 3 Jul 2023 09:49:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 051478E00A1; Mon, 3 Jul 2023 05:49:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 029388E007C; Mon, 3 Jul 2023 05:49:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E0C7C8E00A1; Mon, 3 Jul 2023 05:49:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id D25138E007C for <linux-mm@kvack.org>; Mon, 3 Jul 2023 05:49:43 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 9E8E412087B for <linux-mm@kvack.org>; Mon, 3 Jul 2023 09:49:43 +0000 (UTC) X-FDA: 80969828646.01.581B069 Received: from invmail4.hynix.com (exvmail4.skhynix.com [166.125.252.92]) by imf24.hostedemail.com (Postfix) with ESMTP id BB1B818000D for <linux-mm@kvack.org>; Mon, 3 Jul 2023 09:49:40 +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=1688377781; 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=XGeQRNE5SrSW+VoM6laK7tZiUnoNFEksNkDf2m3ichZDGBcA7iCHfARInyT0uj0zZRUqvR ncbQ+X+pfpwDBFOdZlkWQ+J0d40q4a7Adt/mlSBcK4wuZerRjI1YHna+x5zGCu7JN5FXqL yqmA6QwnLfzokyeC3KyPQMnkUmVhCKg= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1688377781; a=rsa-sha256; cv=none; b=pYwP2DZ1zILHgIHsy0gqcsaU6YdSU+oELtM5zmy5cfWXKwYNM0SQlo/9PZvJnbMczXPh9i jQHjTzSVp00q7cRP2qS6MWZFZYlU5sWm5fm/jlyVW/VL+V74HlaoDThZjlDi4pQj0/keeL diifcQ2/b6Dt6VDKv2TX/7VVlPSAZN4= 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-e5-64a299b173bd 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 v10 rebased on v6.4 01/25] llist: Move llist_{head,node} definition to types.h Date: Mon, 3 Jul 2023 18:47:28 +0900 Message-Id: <20230703094752.79269-2-byungchul@sk.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230703094752.79269-1-byungchul@sk.com> References: <20230703094752.79269-1-byungchul@sk.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSbUxTZxiGec/He04rnSediWdinKvBLZqhLLo9Mc6YYeLrjzkN0R+QqJ09 kUZatCgCkwRWREVAIYEKIpSKtWlR8KCbAyGIEUFiqdowZkoHCJsoX0OLdiBKNf65cyX381y/ bp5WN7CLeL3xkGQyahM1WMkoR8OrvpZLbbrVLycUUJi3GgIvTzBQXluDwXPFhaDmWhYFw3c2 w59TIwim73fRYCn2IKjq76XhWpsfQZPjVwyPBj8Bb2AcQ0fxKQzmC7UYHjyfocBXUkSBS/4R Os/YKGgJ/suAZRjDOYuZmounFATtTg7smZEw4CjjYKY/Gjr83Sw0PV4JpRU+DDebOhhouzFA waOGcgz+mrcsdLa1M+ApzGfh8pgNw/MpOw32wDgHD1usFNRlz4lyXsyycDe/hYKc6qsUeP9q RNB8oo8CuaYbw+3ACAX1cjEN/1+6g2CgYJSDY3lBDs5lFSA4dayEga43d1nI9q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cx9DZ8xRBbXIv BmtlF4EG9zAGmzWbgh+ljQj6M0dYuJTuYaHgQiaCtEs5NLz82cxAojMYZqbNZEuI1DA8RkmJ ttNSzVQhLT0vFqXH+e9YKbH2DSsVWmMkW5m/VPJsEEtF425GspanEMk6fpWVUkc6sTTqcLBS y40ZWvrYmYt3Lz3Eb9bIkbpY2bA2NILXprd/YE7d5OMG7kECquVSkQ8nCkGi5YOL9TIRVond 3R7Ky37CctGW8YlJRTxHCZd9xbJvL4i3WCgcEe+UOxkv08JKcbg16S8rhGDxtqeF/JMuEyuq 6/6KfISN4sB0JvKycm7jzHORK4gvRPPKkZ8uKlav1kUGBxhPaOOjdHEBx07qrWjuM5bzs1mP 0GTHtnokcEg1X9F9tkijZNSxxnh9PRI5SuWnMPXd1igVGnX8GdlwMtwQEykb69ESjlYtUmzf L0cohePqaPmELJ+SDf9bzPksTkB90Qv4tyNhSdrmLJIibz207HBBqWLTufGlVct7Nuzssc+M Ps8fWu/4NbkiLZRvfMj76bcc2JEW/mUo8NNEjr9HuB42ookBfFQbZH6/uSks4sd3R0pQmH7S kWEP+v1tT7rTpj1t0p7dXr3vScDANd/A61MTmw6GJn/tXejJV+81hqhoo1a9zp8yGNV/AArV ij0vAwAA X-CFilter-Loop: Reflected X-Rspamd-Queue-Id: BB1B818000D X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: 4cbcbi8nffw9cxw9k5jzu5ep3px3ogsp X-HE-Tag: 1688377780-112793 X-HE-Meta: U2FsdGVkX1+lrr0RzxyrQSZ/FUD9ZYyPcRv5WdGvUY5ZusGFQ9yPjPlAEkfj9xmkYqFC/nMUX/559/dU6lCVhCWcd50D98uhVvkesRgvzQbyAjJk82NZjF//BdYhFoHuSljJqvrWHthAR296830i33934PHIHTMRM97Kyke0hrjQKY7eJyXdknstDNF/D7F/DI0mTSptHiQPR73Y8LJJ6XHXr5Dd/5xoQ+fjfsdDjcUT8Hp0xyMX/5Fp79ryWaIJ1fyfZUnKAOZd41cTe7y9GcWf5fOsFJqr+7uXokQ6ESnRnTX5ga5xbPPihlT9Anv0kH8VZReqFxDqGURaoaju/BA4BLKlJvjLMhwgg4fGdQPwIex89NAsPv2+ShiGnfbUAFoA12Hi/snJi/KJddApiGikSBo+uc6AXKPYE7c1iW5Dik6yIJncazBBC7gnxgAqdUqE3AQfjAmMeouyesPEw/RO8MCbyHKTaVfjIak3NtnMj3Yk9gmTk00rSogRKRntQdU/sTJBq04Bble1b8Wrnh4eRPK0MVOlVzKjCD1ImBxY3i6PV2Sqbj/mxbcdZE6KtSg4laN3Za0G7nKqiceOEVYVMtx9saOOSjmudMmUEm5miLkidlboh/f3ex6aJCcLtSif9YuJ9DNfs+zAXUpqJ6uk8kLSzu8wgdRRIcOetyFMDeRGcEWZ2t7by48adQJAqD5Lm8g8UxRgLThpu6Kzq/azzzIJBlkIOxy6ERNYGDfeTcP3u7A8BP6c8+Ki3utFdhXw44jpiqVPfq8tdWsg1AIz5uxXIz14Am7DJyI/shI4L6qiRnuFkIi9x8AcEIowZwbVW68SRglQuUoRiBPBzWtkdHxPBHvTTuSTZgpSUU2ifrUyCHj+r1Flj3RTKIOXDsl5RlPr+wOk/tAzegdoSlKxFCIarR4KfStqiW4G04saulEo5xJxe3Pwt0yelRn7mcUyi/EG6wFdyOXoUfp PsmCzRvY 8dIQYj9wECgsre3pr/2HXTxuz2PD/wlVTAYYgZhB2aNsna7JtvAiUozCgbhhHUZhSzFdf2q6SwrMvp5XrkcvKQoA1QG0TDTu0YyHw08CkhV4YGc4= 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(-)