On Fri, Oct 29, 2021 at 11:53 AM Olivier Matz <[email protected]> wrote:
>
> Since its introduction in 2018, the SIGBUS handler was never registered,
> and all related functions were unused.
>
> A SIGBUS can be received by the application when accessing to hugepages
> even if mmap() was successful, This happens especially when running
> inside containers when there is not enough hugepages. In this case, we
> need to recover. A similar scheme can be found in eal_memory.c.
>
> Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime")
> Cc: [email protected]
>
> Signed-off-by: Olivier Matz <[email protected]>
Reviewed-by: Maxime Coquelin <[email protected]>
Acked-by: David Marchand <[email protected]>

Applied, thanks.


-- 
David Marchand

Reply via email to