login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
14
Re: [PATCH] drivers/atm/horizon.c: stop inlining largish static functions
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
David Miller <davem@...>
To: <vda.linux@...>
Cc: <chas@...>, <kernel-janitors@...>, <linux-kernel@...>
Subject:
Re: [PATCH] drivers/atm/horizon.c: stop inlining largish static functions
Date: Monday, April 14, 2008 - 12:54 am
From: Denys Vlasenko <vda.linux@googlemail.com> Date: Tue, 8 Apr 2008 12:21:42 +0200
quoted text
> drivers/atm/horizon.c has unusually large number > of static inline functions - 36. > > I looked through them. Most of them seems to be small enough, > but a few are big, others are using udelay or busy loop, > and as such are better not be inlined. > > This patch removes "inline" from these static functions > (regardless of number of callsites - gcc nowadays auto-inlines > statics with one callsite). > > Size difference for 32bit x86: > text data bss dec hex filename > 8201 180 6 8387 20c3 linux-2.6-ALLYES/drivers/atm/horizon.o > 7840 180 6 8026 1f5a linux-2.6.inline-ALLYES/drivers/atm/horizon.o > > Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Applied to net-2.6.26, thanks Denys. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] drivers/atm/horizon.c: stop inlining largish static ...
, Denys Vlasenko
, (Tue Apr 8, 6:21 am)
Re: [PATCH] drivers/atm/horizon.c: stop inlining largish sta...
, David Miller
, (Mon Apr 14, 12:54 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
David Miller
[GIT]: Networking
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
Ingo Molnar
iwlwifi: fix build bug in "iwlwifi: fix LED stall"
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Avi Kivity
Re: [RFC PATCH 14/17] kvm: add a reset capability
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
713 guests
online.
Online users
cbelgra009
hamidmushtaq
snore
cinderellawhite
Syndicate