From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [Qemu-devel] [RFC] Replace posix-aio with custom thread pool Date: Sat, 6 Dec 2008 18:26:33 +0000 Message-ID: <20081206182633.GB8326@shareable.org> References: <1228512061-25398-1-git-send-email-aliguori@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Anthony Liguori , kvm-devel To: qemu-devel@nongnu.org Return-path: Received: from mail2.shareable.org ([80.68.89.115]:38502 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751265AbYLFS0k (ORCPT ); Sat, 6 Dec 2008 13:26:40 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Blue Swirl wrote: > I like to use unsigned types whenever possible, IIRC compilers may > generate better code with those. On the one hand, unsigned division can sometimes be compiled faster, depends on the architecture's div instructions. On the other hand, signed operations can be optimised by GCC with -fstrict-overflow, while the same unsigned operations cannot be so optimised. -- Jamie