Re: [PATCH RESEND] malloc: fix allocation for a specific case with ASan

2024-10-24 Thread Artur Paszkiewicz
Recheck-request: iol-compile-amd64-testing,iol-compile-arm64-testing,iol-unit-amd64-testing,iol-unit-arm64-testing

Re: [PATCH RESEND] malloc: fix allocation for a specific case with ASan

2024-10-23 Thread Artur Paszkiewicz
Recheck-request: rebase=main,iol-unit-amd64-testing,iol-unit-arm64-testing

Re: [PATCH RESEND] malloc: fix allocation for a specific case with ASan

2024-10-18 Thread Artur Paszkiewicz
Recheck-request: iol-unit-amd64-testing

[PATCH RESEND] malloc: fix allocation for a specific case with ASan

2024-10-17 Thread Artur Paszkiewicz
Allocation would fail with ASan enabled if the size and alignment was equal to half of the page size, e.g.: size_t pg_sz = 2 * (1 << 20); rte_malloc(NULL, pg_sz / 2, pg_sz / 2); In such case, try_expand_heap_primary() only allocated one page but it is not enough to fit this allocation with such a