Re: [2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Monday, April 28, 2008 - 5:41 pm

On Mon, 28 Apr 2008, Adrian Bunk wrote:

I'm not going to apply these before I understand what the breakage is all 
about.


There is NO WAY IN HELL this function shouldn't be inlined, and it doesn't 
matter a whit if some users outside of this file then also want the 
non-inlined version.

The whole setup should result in a single offset-of from the inode, ie 
we're talking something that normally generates no code at all when 
inlined (because the offset will be subsumed into whatever actually uses 
the result).

So just removing the inline is simply not acceptable any more, since it 
just implies total and utter breakage of the compiler. At some point you 
just have to say: "That is sh*t", and not take it any more.

What is UML doing to trigger this? 

Or should be just tell people that gcc-4.3 is unusable crap?

			Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[git pull] generic bitops, Ingo Molnar, (Thu Apr 24, 2:57 pm)
Re: [git pull] generic bitops, Linus Torvalds, (Thu Apr 24, 3:14 pm)
Re: [git pull] generic bitops, Harvey Harrison, (Thu Apr 24, 3:41 pm)
[PATCH] x86, bitops: select the generic bitmap search func ..., Alexander van Heukelum, (Fri Apr 25, 4:12 am)
[git pull] generic bitops, take 2, Ingo Molnar, (Sat Apr 26, 8:15 am)
Re: [git pull] generic bitops, take 2, Linus Torvalds, (Sat Apr 26, 10:03 am)
Re: [git pull] generic bitops, take 2, Ingo Molnar, (Sat Apr 26, 10:22 am)
Re: [git pull] generic bitops, take 2, Ingo Molnar, (Sat Apr 26, 10:28 am)
Re: [git pull] generic bitops, take 2, Sam Ravnborg, (Sat Apr 26, 10:32 am)
Re: [git pull] generic bitops, take 2, Sam Ravnborg, (Sat Apr 26, 10:34 am)
[git pull] generic bitops, take 3, Ingo Molnar, (Sat Apr 26, 10:50 am)
Re: [git pull] generic bitops, take 2, Miklos Vajna, (Sat Apr 26, 10:51 am)
[2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline, Adrian Bunk, (Mon Apr 28, 8:38 am)
[2.6 patch] reiserfs: some functions mustn't be inline, Adrian Bunk, (Mon Apr 28, 8:38 am)
Re: [git pull] generic bitops, take 2, Jeff Dike, (Mon Apr 28, 10:26 am)
Re: [2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline, Linus Torvalds, (Mon Apr 28, 5:41 pm)
Re: [2.6 patch] fs/block_dev.c:I_BDEV() mustn't be inline, Linus Torvalds, (Mon Apr 28, 6:21 pm)
Re: [2.6 patch] reiserfs: some functions mustn't be inline, Edward Shishkin, (Tue Apr 29, 3:43 pm)