Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753026AbZJZSWL (ORCPT ); Mon, 26 Oct 2009 14:22:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752828AbZJZSWL (ORCPT ); Mon, 26 Oct 2009 14:22:11 -0400 Received: from mail-pw0-f42.google.com ([209.85.160.42]:45649 "EHLO mail-pw0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752711AbZJZSWK convert rfc822-to-8bit (ORCPT ); Mon, 26 Oct 2009 14:22:10 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LXL6WfERyp9f7Db/mt4UOJ0v7pHD6BaXene55wCbdWGWLDmCSZ5uE0Emfgu3mQ8wW5 HyhThKDUPBNgfsP8JqkenLcuQL5D9HVF5moZORj2YbWEqgXhDaHnQW5DwkoXzSFCQR1o gPFj9DMWaRyvVZ6Nm8g34dfynqAzX6vIyzapI= MIME-Version: 1.0 In-Reply-To: <7ADB5FD7-9C97-4987-BC20-997258B25FD2@noahdesu.com> References: <7ADB5FD7-9C97-4987-BC20-997258B25FD2@noahdesu.com> Date: Mon, 26 Oct 2009 23:52:14 +0530 Message-ID: Subject: Re: Difference between atomic operations and memory barriers From: "Leonidas ." To: Noah Watkins Cc: linux-kernel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 605 Lines: 20 On Mon, Oct 26, 2009 at 11:49 PM, Noah Watkins wrote: >> Trying to understand difference between atomic ops and memory barriers. >> > There is a bit of info in: > ? ?Documentation/atomic_ops.txt > > -noah > > Thanks for the pointer, there are no atomic operations for pointers, right? I guess barrier is what we need in that case. -Leo. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/