Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2015 13:36:18 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Problem with timecounters and memory model
Message-ID:  <85086.1432906578@critter.freebsd.dk>
In-Reply-To: <55686300.3080100@embedded-brains.de>
References:  <55686300.3080100@embedded-brains.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
In message <55686300.3080100@embedded-brains.de>, Sebastian Huber writes:

>This version seems to work at least on uni-processor systems. Shouldn't
>there be real memory barriers the synchronize the reads/writes to
>th_generation for SMP machines?

yes, there should.

(I must admit that I havn't looked at that code for about five or ten years.)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85086.1432906578>