Second version of patches with restructuring of header files of Linux kernel

Ingo Molnar (Ingo Molnar) introduced the second version of the set of patches, allowing to significantly reduce the rebelning time of the kernel for The score of the restructuring of the header files and reduce the number of cross-dependent dependencies. From the first version of the first version of the first version, the new version is characterized by adaptation for the core of 5.16-RC8, adding additional optimizations and the implementation of the assembly support using the CLANG compiler. When using CLANG, the use of patches made it possible to reduce the assembly time by 88% or 77% in CPU resource spending. With a complete rebuilding of the kernel with the command “Make -J96 VMLinux, the assembly time has decreased from 337.788 to 179.773 seconds.

The new version also solved the problem with the GCC plugins, corrected the error identified during the initial review process and the unification of duplicates of the announcement of the structure “task_struct_per_task”. In addition, the optimization of the header file Linux / Sched.h continued and the header file optimization of the RDMA subsystem (InfiniBand) is implemented, which allowed to further reduce the assembly time by 9% relative to the first version of the patches. The number of kernel SI files connected by the Linux / Sched.h header file is reduced from 68% to 36% compared with the first version of the patches (from 99% to 36% compared to the source kernel).

/Media reports.