Stale memory during post fork cow pmap update

Mike Tancsa mike at sentex.net
Tue Feb 13 21:49:10 UTC 2018


On 2/13/2018 8:30 AM, Konstantin Belousov wrote:
> Apparently Ryzen CPUs are able to demonstrate it quite reliably with the
> python driver for the samba build.  It was very surprising to me, esp.
> because I tried to understand the Ryzen bug for the whole last week and
> thought that it is more likely CPU store/load inconsistency than a software
> thing.  See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225584.
Just tested on an AMD EPYC 7281 (16/32 cores), and it runs into this bug
every time on the samba build.  Applying the referenced patch fixes the
problem, at least I was able to test 4 builds in a row without issue.

	---Mike


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400 x203
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada


More information about the freebsd-hackers mailing list