From owner-freebsd-hackers@FreeBSD.ORG Fri May 29 13:39:30 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8A432AF for ; Fri, 29 May 2015 13:39:30 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from mail.embedded-brains.de (host-82-135-62-35.customer.m-online.net [82.135.62.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62EEA1101 for ; Fri, 29 May 2015 13:39:30 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 3CC652A1820; Fri, 29 May 2015 15:40:09 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UeRF-Vdall7T; Fri, 29 May 2015 15:40:08 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id C86B12A192A; Fri, 29 May 2015 15:40:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zgYRxBPpVLO7; Fri, 29 May 2015 15:40:08 +0200 (CEST) Received: from [192.168.96.129] (unknown [192.168.96.129]) by mail.embedded-brains.de (Postfix) with ESMTPSA id A9F782A1820; Fri, 29 May 2015 15:40:08 +0200 (CEST) Message-ID: <55686C0F.9000101@embedded-brains.de> Date: Fri, 29 May 2015 15:39:27 +0200 From: Sebastian Huber User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Poul-Henning Kamp CC: freebsd-hackers@freebsd.org Subject: Re: Problem with timecounters and memory model References: <55686300.3080100@embedded-brains.de> <85086.1432906578@critter.freebsd.dk> In-Reply-To: <85086.1432906578@critter.freebsd.dk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 13:39:30 -0000 On 29/05/15 15:36, Poul-Henning Kamp wrote: > -------- > In message <55686300.3080100@embedded-brains.de>, Sebastian Huber write= s: > >> 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 y= ears.) > Ok, what makes me wonder is why this problem didn't show up in FreeBSD.=20 In our case we observed backward jumps in the supposed to be monotonic=20 uptime. --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=E4ftliche Mitteilung im Sinne des EHUG.