[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070709200003.GA18501@lazybastard.org>
Date: Mon, 9 Jul 2007 22:00:03 +0200
From: Jörn Engel <joern@...fs.org>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: Jörn Engel <joern@...fs.org>, akpm@...l.org,
linux-ext4@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] Faster ext2_clear_inode()
On Mon, 9 July 2007 22:01:48 +0400, Alexey Dobriyan wrote:
>
> Yes. Note that ext2_clear_inode() is referenced from ext2_sops, so even
> empty, it leaves traces in resulting kernel.
Is that your opinion or have you actually measured a difference?
I strongly suspect that compilers are smart enough to optimize away a
call to an empty static function.
Jörn
--
Fancy algorithms are slow when n is small, and n is usually small.
Fancy algorithms have big constants. Until you know that n is
frequently going to be big, don't get fancy.
-- Rob Pike
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists