Re: [PATCH v4 00/15] Fast kernel headers: split linux/mm.h

From: David Hildenbrand
Date: Tue Mar 12 2024 - 12:11:04 EST


On 12.03.24 10:41, Max Kellermann wrote:
This patch set aims to clean up the linux/mm.h header and reduce
dependencies on it by moving parts out.

The goal was to eliminate dependencies on linux/mm.h from other
popular headers such as highmem.h and dma-mapping.h, and I started by
checking which symbols were really used and moved those declarations
to separate slim headers.


[...]

include/linux/mm.h | 583 +-----------------
include/linux/mm/devmap_managed.h | 37 ++
include/linux/mm/folio_next.h | 27 +

Isn't that a bit excessive? Do we really need that many folio headers?

--
Cheers,

David / dhildenb