Received: by oss.sgi.com id ; Tue, 27 Jun 2000 09:07:49 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:62818 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Tue, 27 Jun 2000 09:07:33 -0700 Received: from ledzep.cray.com (ledzep.cray.com [137.38.226.97]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id IAA17018 for ; Tue, 27 Jun 2000 08:54:23 -0700 (PDT) mail_from (lord@sgi.com) From: lord@sgi.com Received: from ironwood-e185.americas.sgi.com (ironwood.cray.com [128.162.185.212]) by ledzep.cray.com (SGI-SGI-8.9.3/craymail-smart-nospam1.0) with ESMTP id KAA55698 for ; Tue, 27 Jun 2000 10:58:06 -0500 (CDT) Received: from jen.americas.sgi.com (jen.americas.sgi.com [128.162.184.86]) by ironwood-e185.americas.sgi.com (8.8.4/Cray-ironwood-e1.6) with ESMTP id KAA21328 for ; Tue, 27 Jun 2000 10:58:05 -0500 (CDT) Received: by jen.americas.sgi.com (8.9.3/SGI-client.1.6) id KAA06764; Tue, 27 Jun 2000 10:55:38 -0500 Message-Id: <200006271555.KAA06764@jen.americas.sgi.com> Date: Tue, 27 Jun 2000 10:55:38 -0500 Subject: TAKE - move most of XFS over to atomic_t and the associated calls To: unlisted-recipients:; (no To-header on input) Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-xfs-outgoing This gets rid of the hacked versions of atomicAddInt Date: Tue Jun 27 08:56:50 PDT 2000 Workarea: jen.cray.com:/src/lord/xfs-linux.2.4.0-test1 The following file(s) were checked into: bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs Modid: 2.4.0-test1-xfs:slinx:65237a cmd/xfs/sim/src/sim.dev.c - 1.14 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/cmd/xfs/sim/src/sim.dev.c.diff?r1=text&tr1=1.14&r2=text&tr2=1.13&f=h - Use sys/mount.h instead of linux/fs.h linux/fs/xfs/xfsidbg.c - 1.144 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfsidbg.c.diff?r1=text&tr1=1.144&r2=text&tr2=1.143&f=h linux/fs/xfs/xfs_buf_item.h - 1.30 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_buf_item.h.diff?r1=text&tr1=1.30&r2=text&tr2=1.29&f=h linux/fs/xfs/xfs_buf_item.c - 1.102 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_buf_item.c.diff?r1=text&tr1=1.102&r2=text&tr2=1.101&f=h linux/fs/xfs/xfs_trans_buf.c - 1.85 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_trans_buf.c.diff?r1=text&tr1=1.85&r2=text&tr2=1.84&f=h - make bli_refcount an atomic_t linux/fs/xfs/linux/xfs_vnode.c - 1.28 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_vnode.c.diff?r1=text&tr1=1.28&r2=text&tr2=1.27&f=h - Remove use of atomicAddLong and atomicAddUint64 linux/fs/xfs/linux/xfs_sema.h - 1.24 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_sema.h.diff?r1=text&tr1=1.24&r2=text&tr2=1.23&f=h - Remove most of the irix atomicXXX functions, the one left is used in two places, one of which is debug only. linux/fs/pagebuf/page_buf.c - 1.7 http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/pagebuf/page_buf.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.6&f=h - Use more page macros rather than diving under the covers, use atomic_dec_and_test rather than atomic_sub_and_test.