lkml.org 
[lkml]   [2022]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/8] mm: split include/linux/gfp.h
On Fri, Jul 01, 2022 at 05:54:29AM -0700, Yury Norov wrote:
> gfp.h belongs to many include paths, and it causes circular dependencies
> when, for example, trying to keep cpumask one-line wrappers in headers.
>
> In many cases, sources need only gfp flags. This patch splits gfp.h by
> moving flags to include/linux/gfp_flags.h. It helps to move trivial
> wrappers from c-file to header in the following patch for cpumask.

Wondering if you checked Ingo's gigantic series [1] for something similar.
Maybe you may utilize his work if there is anything like this.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/log/?h=sched/headers

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2022-07-02 14:06    [W:0.150 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site