From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain BERTRAND Subject: Re: [PATCH 08/10] drm/radeon: replace pflip and sw_int counters with atomics Date: Thu, 24 May 2012 14:46:14 +0200 Message-ID: <20120524124614.GB14376@freedom> References: <1337845754-3718-1-git-send-email-deathsimple@vodafone.de> <1337845754-3718-8-git-send-email-deathsimple@vodafone.de> <20120524115909.GA14376@freedom> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtpauth-vit.online.net (smtpauth-vit.online.net [88.190.253.76]) by gabe.freedesktop.org (Postfix) with ESMTP id 42A7E9E74D for ; Thu, 24 May 2012 05:46:17 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: "Koenig, Christian" Cc: "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org >> Does the linux API mandates atomic_t to be a 32bits word? > > AFAIK it is, at least for the platforms we care about. > ... Then, the proper course of action would be to add to the linux API, sized atomic operation first, wouldn't it? -- Sylvain