On Mon, Feb 6, 2023 at 11:59 AM Chengwen Feng <[email protected]> wrote: > > The map_shared_memory() function should treat mmap MAP_FAILED as NULL > because callers compare it with NULL to determine whether the map is > failed. > > Fixes: 764bf26873b9 ("add FreeBSD support") > Fixes: cb97d93e9d3b ("mem: share hugepage info primary and secondary") > Cc: [email protected] > > Signed-off-by: Chengwen Feng <[email protected]>
Reviewed-by: David Marchand <[email protected]> -- David Marchand

