Thread (31 messages) flat view 31 messages, 10 authors, 2007-07-26

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2007-07-26 06:16:50
Also in: lkml

Jeff Garzik wrote:
On Tue, 24 Jul 2007, Adrian Bunk wrote:
quoted
buffered_rmqueue() and prep_new_page() are static functions with only 
one caller each, and for the normal non-debug case it's a really nice 
optimization to have them inlined automatically.
I'm not at all sure I agree.

Inlining big functions doesn't actually tend to generally generate any 
better code, so if gcc's logic is "single callsite - always inline", then 
that logic is likely not right.
Only up to a threshold, as far as I know.

	-hpa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help