[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] memaccess: reduce include dependencies
On 09.03.2020 16:07, Tamas K Lengyel wrote: > On Mon, Mar 9, 2020 at 5:49 AM Jan Beulich <jbeulich@xxxxxxxx> wrote: >> >> The common header doesn't itself need to include public/vm_event.h nor >> public/memory.h. Drop their inclusion. This requires using the non- >> typedef names in two prototypes and an inline function; by not changing >> the callers and function definitions at the same time it'll remain >> certain that the build would fail if the typedef itself was changed. > > Just curious, what's the benefit of doing this? Less dependencies that (almost) every CU gets, and hence statistically less rebuilds of (almost) everything when only a rather special purpose header file changes. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |