From: Arjan van de Ven Subject: Re: Relative atime (was Re: What's in ocfs2.git) Date: Wed, 06 Dec 2006 13:48:21 +0100 Message-ID: <1165409301.3233.443.camel@laptopd505.fenrus.org> References: <20061203203149.GC19617@ca-server1.us.oracle.com> <20061205003619.GC8482@goober> <20061205205802.92b91ce1.akpm@osdl.org> <200612061042.58595.dada1@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Andrew Morton , Valerie Henson , mark.fasheh@oracle.com, steve@chygwyn.com, linux-kernel@vger.kernel.org, ocfs2-devel@oss.oracle.com, linux-fsdevel@vger.kernel.org, viro@ftp.linux.org.uk Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:36246 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760567AbWLFMsj (ORCPT ); Wed, 6 Dec 2006 07:48:39 -0500 To: Eric Dumazet In-Reply-To: <200612061042.58595.dada1@cosmosbay.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org > > > if (inode->i_sb->s_flags & MS_NOATIME) > > return; > So that that one can be deleted. Hi, I would mostly expect the compiler to be relatively smart about this and group a bunch of these tests together... so I rather see readable code than optimized code for something the compiler should be doing for us ;) Greetings, Arjan van de Ven