Subject: Re: CVS commit: src
To: YAMAMOTO Takashi <>
From: Thor Lancelot Simon <>
List: tech-kern
Date: 06/21/2004 14:22:46
On Tue, Jun 22, 2004 at 03:16:22AM +0900, YAMAMOTO Takashi wrote:
> if you don't like the function call overhead,
> you can simply inline genfs_lock.  ie. call lockmgr directly.
> i personally don't think that the overhead is a problem in this case, though.

Much of the function call overhead probably has to do with forcing
cache lines in and out.  It's not clear to me that "inline the function"
is a good solution to this, when compared to a test of a single variable.

 Thor Lancelot Simon	                            
   But as he knew no bad language, he had called him all the names of common
 objects that he could think of, and had screamed: "You lamp!  You towel!  You
 plate!" and so on.              --Sigmund Freud