Re: [PATCH 1/2] util: Separate numactl and stubs into different source files

2023-03-20 Thread Martin Kletzander
On Mon, Mar 20, 2023 at 11:50:16AM +, Daniel P. Berrangé wrote: On Mon, Mar 20, 2023 at 12:39:55PM +0100, Martin Kletzander wrote: Fix the build, mainly with clang's optimizations and demonstrate a separation of function implementations. This patch does it only for functions that differ in

Re: [PATCH 1/2] util: Separate numactl and stubs into different source files

2023-03-20 Thread Daniel P . Berrangé
On Mon, Mar 20, 2023 at 12:39:55PM +0100, Martin Kletzander wrote: > Fix the build, mainly with clang's optimizations and demonstrate a > separation of function implementations. This patch does it only for > functions that differ in implementation based on WITH_NUMACTL but > ideally this would be

[PATCH 1/2] util: Separate numactl and stubs into different source files

2023-03-20 Thread Martin Kletzander
Fix the build, mainly with clang's optimizations and demonstrate a separation of function implementations. This patch does it only for functions that differ in implementation based on WITH_NUMACTL but ideally this would be done for the WITH_NUMAD and __linux__ parts as well. Signed-off-by: