[PATCH v2] support: Align the repeated blob mappings to SHMLBA

Andreas Schwab schwab@suse.de
Tue Nov 3 11:43:09 GMT 2026


On Nov 03 2026, Stian Halseth wrote:

> +  /* The file mappings below are shared and must be aligned to SHMLBA.  */
> +  while (stride_size % SHMLBA != 0)
> +    stride_size += minimum_stride_size (page_size, element_size);

Wouldn't it work to use SHMLBA instead of page_size in the first place?

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de


More information about the Libc-alpha mailing list