From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8a0y-0002cI-FM for qemu-devel@nongnu.org; Fri, 16 Mar 2012 12:28:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8a0t-00080N-Q5 for qemu-devel@nongnu.org; Fri, 16 Mar 2012 12:28:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:49577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8a0t-000808-In for qemu-devel@nongnu.org; Fri, 16 Mar 2012 12:28:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S8a0p-0001Fu-H4 for qemu-devel@nongnu.org; Fri, 16 Mar 2012 17:28:19 +0100 Received: from 93-34-182-16.ip50.fastwebnet.it ([93.34.182.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Mar 2012 17:28:19 +0100 Received: from pbonzini by 93-34-182-16.ip50.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Mar 2012 17:28:19 +0100 From: Paolo Bonzini Date: Fri, 16 Mar 2012 17:28:03 +0100 Message-ID: References: <4F633CD2.1090807@siemens.com> <46EC56CF-9AF0-443D-9907-0AAF067DC4AB@nowonline.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit In-Reply-To: <46EC56CF-9AF0-443D-9907-0AAF067DC4AB@nowonline.co.uk> Subject: Re: [Qemu-devel] [PATCH] Initial support for Ilumos build and Illumos-kvm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Il 16/03/2012 14:46, Lee Essen ha scritto: > It does indeed … this came from the original Joyent code, I must > admit I did wonder whether gcc would optimise it away. I did consider > adding something to stop gcc complaining, but I don't fully > understand why this is necessary given the mlock() bit, so I thought > it best to leave it alone. "(void) *(volatile char *)p" should work, but a comment would be nice. Paolo