From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 References: <20211207150927.3042197-1-arnd@kernel.org> <20211207150927.3042197-3-arnd@kernel.org> In-Reply-To: <20211207150927.3042197-3-arnd@kernel.org> From: Linus Torvalds Date: Tue, 7 Dec 2021 10:17:45 -0800 Message-ID: Subject: Re: [RFC 2/3] headers: introduce linux/struct_types.h Content-Type: text/plain; charset="UTF-8" List-ID: To: Arnd Bergmann Cc: Linux Kernel Mailing List , Arnd Bergmann , Al Viro , Andrew Morton , Guenter Roeck , Kees Cook , Masahiro Yamada , Matthew Wilcox , Nathan Chancellor , Nick Desaulniers , Stephen Rothwell , kernel test robot , Ingo Molnar , Peter Zijlstra , Will Deacon , Waiman Long , Boqun Feng , Thomas Gleixner , Tejun Heo , kernelci@groups.io, linux-fsdevel , Linux Kbuild mailing list , llvm@lists.linux.dev On Tue, Dec 7, 2021 at 7:10 AM Arnd Bergmann wrote: > > From: Arnd Bergmann > > Working towards a cleaner header structure, start by moving the most > commonly embedded structures into a single header file that itself > has only a minimum set of indirect includes. At this moment, this > include structures for Ugh. I liked your 1/3 patch, but I absolutely detest this one. It makes no sense to me, and just makes that header file a completely random collection of some random structure types. And I absolutely hate how it splits out the definition of the struct from basic core infrastructure (initializers etc random inline functions) for said structures. So no. NAK on this one. I think it's a disaster. Linus