linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Cleanup cpumask.h inclusion in core headers
@ 2024-05-28  0:56 Yury Norov
  2024-05-28  0:56 ` [PATCH 1/6] MAINTAINERS: add linux/nodemask_types.h to BITMAP API Yury Norov
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Yury Norov @ 2024-05-28  0:56 UTC (permalink / raw)
  To: linux-kernel, cgroups, linux-mm, rcu, linux-trace-kernel
  Cc: Yury Norov, Paul E. McKenney, Rafael J. Wysocki,
	Amit Daniel Kachhap, Andrew Morton, Anna-Maria Behnsen,
	Christoph Lameter, Daniel Lezcano, Dennis Zhou,
	Frederic Weisbecker, Johannes Weiner, Juri Lelli, Kees Cook,
	Mathieu Desnoyers, Peter Zijlstra, Rasmus Villemoes, Tejun Heo,
	Thomas Gleixner, Ulf Hansson, Vincent Guittot, Viresh Kumar,
	Zefan Li

Many core headers include linux/cpumask.h for nothing, and some others
include it just for types. We already have nodemask_types.h, and this
series adds cpumask_types.h to optimize core headers inclusion paths.

Interestingly, it doesn't improve on build time for me, but the headers
cleanup work should keep going.

Yury Norov (6):
  MAINTAINERS: add linux/nodemask_types.h to BITMAP API
  sched: pre-caculate ilog2(TASK_REPORT_MAX)
  cpumask: split out include/linux/cpumask_types.h
  sched: drop dependency on cpumask.h
  cpumask: cleanup core headers inclusion
  cpumask: make core headers including cpumask_types.h where possible

Yury Norov (6):
  MAINTAINERS: add linux/nodemask_types.h to BITMAP API
  sched: pre-caculate ilog2(TASK_REPORT_MAX)
  cpumask: split out include/linux/cpumask_types.h
  sched: drop dependency on cpumask.h
  cpumask: cleanup core headers inclusion
  cpumask: make core headers including cpumask_types.h where possible

 MAINTAINERS                                  |  2 +
 include/linux/cacheinfo.h                    |  2 +-
 include/linux/cgroup.h                       |  1 -
 include/linux/clockchips.h                   |  2 +-
 include/linux/cpu.h                          |  1 -
 include/linux/cpu_cooling.h                  |  1 -
 include/linux/cpu_rmap.h                     |  2 +-
 include/linux/cpumask.h                      | 56 +----------------
 include/linux/cpumask_types.h                | 66 ++++++++++++++++++++
 include/linux/interrupt.h                    |  2 +-
 include/linux/irqchip/irq-partition-percpu.h |  2 +-
 include/linux/kernel_stat.h                  |  1 -
 include/linux/msi.h                          |  2 +-
 include/linux/node.h                         |  1 -
 include/linux/percpu.h                       |  1 -
 include/linux/pm_domain.h                    |  2 +-
 include/linux/profile.h                      |  1 -
 include/linux/rcupdate.h                     |  1 -
 include/linux/sched.h                        |  7 ++-
 include/linux/seq_file.h                     |  1 -
 include/linux/stop_machine.h                 |  2 +-
 include/linux/torture.h                      |  2 +-
 include/linux/tracepoint.h                   |  1 -
 include/linux/workqueue.h                    |  2 +-
 24 files changed, 83 insertions(+), 78 deletions(-)
 create mode 100644 include/linux/cpumask_types.h

-- 
2.40.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-28  0:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28  0:56 [PATCH 0/6] Cleanup cpumask.h inclusion in core headers Yury Norov
2024-05-28  0:56 ` [PATCH 1/6] MAINTAINERS: add linux/nodemask_types.h to BITMAP API Yury Norov
2024-05-28  0:56 ` [PATCH 2/6] sched: avoid using ilog2() in sched.h Yury Norov
2024-05-28  0:56 ` [PATCH 3/6] cpumask: split out include/linux/cpumask_types.h Yury Norov
2024-05-28  0:56 ` [PATCH 4/6] sched: drop sched.h dependency on cpumask Yury Norov
2024-05-28  0:56 ` [PATCH 5/6] cpumask: cleanup core headers inclusion Yury Norov
2024-05-28  0:56 ` [PATCH 6/6] cpumask: make core headers including cpumask_types.h where possible Yury Norov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).