linux-mips
[Top] [All Lists]

Sync operation in atomic_add_return()

To: <linux-mips@linux-mips.org>
Subject: Sync operation in atomic_add_return()
From: "Gideon Stupp \(gstupp\)" <gstupp@cisco.com>
Date: Mon, 6 Nov 2006 15:42:32 +0100
Authentication-results: ams-dkim-1; header.From=gstupp@cisco.com; dkim=pass ( sig from cisco.com verified; );
Dkim-signature: a=rsa-sha1; q=dns; l=238; t=1162824157; x=1163688157; c=relaxed/simple; s=amsdkim1002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=gstupp@cisco.com; z=From:=22Gideon=20Stupp=20\(gstupp\)=22=20<gstupp@cisco.com> |Subject:Sync=20operation=20in=20atomic_add_return(); X=v=3Dcisco.com=3B=20h=3DrA689xsvf+eeyP6dQ0ll9jEY8OU=3D; b=V9BwL6QiSKOdZVbxqTwfwoiHZJPtSM2//QDR9JpOT1sPkssECddqxb8AZ77NE/G9u6Vb8dgq omfwn/CLHocotMijhYimOWcRUUhLVX3ZdN/VftlXObussOil+YfGcIPO;
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Thread-index: AccBscqczM/yLc/WQ56lzFz+PK98Aw==
Thread-topic: Sync operation in atomic_add_return()
Hi,
I am trying to figure out why there is a sync operation in
linux/include/asm-mips/atomic.h:atomic_add_return(). 
I believe it was added in the linux-2.4.19 patch, but can't trace the
reason. Can anyone help?

Thanks, Gideon.

<Prev in Thread] Current Thread [Next in Thread>