a possible issue with radix MMU on P9

Michael Ellerman mpe at ellerman.id.au
Thu May 11 22:16:51 AEST 2023


Dan Horák <dan at danny.cz> writes:
> Hi all,
>
> we have been struggling with an issue in the bdwgc project (garbage
> collector) on P9 systems for a while [1]. There were some test failing
> on P9, but not on P8 or other platforms (x86, s390x, aarch64). Recently
> the upstream developer has found out there is likely a problem in the
> kernel memory mgmt [2], there is a reproduction scenario included. I
> have rechecked the original code on P9 with hash MMU and it worked. Thus
> I believe there is a problem in the radix MMU code on Power, where it
> behaves differently. My testing was using Fedora, which means recent
> kernels up to 6.4-rc1.
>
> [1] https://github.com/ivmai/bdwgc/issues/479
> [2] https://github.com/ivmai/bdwgc/issues/479#issuecomment-1535274481

Thanks Dan.

Fix patch here: https://lore.kernel.org/linuxppc-dev/20230511114224.977423-1-mpe@ellerman.id.au/

I tested that it fixes the bdwgc failures (with their workaround reverted).

cheers


More information about the Linuxppc-dev mailing list