login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
6
Re: [patch 2/5] move WARN_ON() out of line
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Olof Johansson <olof@...>
To: Arjan van de Ven <arjan@...>
Cc: <linux-kernel@...>, <akpm@...>, <heiko.carstens@...>, <mingo@...>, <mpm@...>
Subject:
Re: [patch 2/5] move WARN_ON() out of line
Date: Sunday, January 6, 2008 - 3:40 pm
On Sat, Jan 05, 2008 at 07:09:59PM -0800, Arjan van de Ven wrote:
quoted text
> From: Arjan van de Ven <arjan@linux.intel.com> > CC: Ingo Molnar <mingo@elte.hu> > CC: Andrew Morton <akpm@linux-foundation.org> > CC: Olof Johansson <olof@lixom.net> > Acked-by: Matt Meckall <mpm@selenic.com> > > A quick grep shows that there are currently 1145 instances of WARN_ON > in the kernel. Currently, WARN_ON is pretty much entirely inlined, > which makes it hard to enhance it without growing the size of the kernel > (and getting Andrew unhappy). > > This patch build on top of Olof's patch that introduces __WARN, > and places the slowpath out of line. It also uses Ingo's suggestion > to not use __FUNCTION__ but to use kallsyms to do the lookup; > this saves a ton of extra space since gcc doesn't need to store the function > string twice now: > > 3936367 833603 624736 5394706 525112 vmlinux.before > 3917508 833603 624736 5375847 520767 vmlinux-slowpath > > 15Kb savings... > > Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Olof Johansson <olof@lixom.net> --
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 0/5] enhance WARN_ON series
, Arjan van de Ven
, (Sat Jan 5, 11:07 pm)
[PATCH] Add bug/warn marker to generic report_bug()
, Olof Johansson
, (Sun Jan 6, 4:22 pm)
Re: [PATCH] Add bug/warn marker to generic report_bug()
, Arjan van de Ven
, (Sun Jan 6, 5:38 pm)
Re: [PATCH] Add bug/warn marker to generic report_bug()
, Olof Johansson
, (Sun Jan 6, 9:22 pm)
Re: [PATCH] Add bug/warn marker to generic report_bug()
, Arjan van de Ven
, (Mon Jan 7, 12:55 am)
Re: [patch 0/5] enhance WARN_ON series
, Ingo Molnar
, (Sun Jan 6, 5:26 am)
[patch 4/5] bugh-remove-have_arch_bug--have_arch_warn
, Arjan van de Ven
, (Sat Jan 5, 11:11 pm)
[patch 5/5] PowerPC: switch to generic WARN_ON / BUG_ON
, Arjan van de Ven
, (Sat Jan 5, 11:12 pm)
Re: [patch 5/5] PowerPC: switch to generic WARN_ON / BUG_ON
, Benjamin Herrenschmidt
, (Sun Jan 6, 7:16 am)
Re: [patch 5/5] PowerPC: switch to generic WARN_ON / BUG_ON
, Olof Johansson
, (Sun Jan 6, 10:46 am)
[patch 3/5] Add the end-of-trace marker and the module list ...
, Arjan van de Ven
, (Sat Jan 5, 11:10 pm)
Re: [patch 3/5] Add the end-of-trace marker and the module l...
, David Woodhouse
, (Sun Jan 6, 6:04 am)
Re: [patch 3/5] Add the end-of-trace marker and the module l...
,
, (Mon Jan 7, 1:31 pm)
[patch 2/5] move WARN_ON() out of line
, Arjan van de Ven
, (Sat Jan 5, 11:09 pm)
Re: [patch 2/5] move WARN_ON() out of line
, Olof Johansson
, (Sun Jan 6, 3:40 pm)
[patch 1/5] Introduce __WARN()
, Arjan van de Ven
, (Sat Jan 5, 11:08 pm)
Re: [patch 1/5] Introduce __WARN()
, Richard Knutsson
, (Sun Jan 6, 7:44 am)
Re: [patch 1/5] Introduce __WARN()
, Arjan van de Ven
, (Sun Jan 6, 11:42 am)
Re: [patch 1/5] Introduce __WARN()
, Richard Knutsson
, (Sun Jan 6, 12:09 pm)
Re: [patch 1/5] Introduce __WARN()
, Arjan van de Ven
, (Sun Jan 6, 1:10 pm)
Re: [patch 1/5] Introduce __WARN()
, Richard Knutsson
, (Sun Jan 6, 1:42 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Pavel Emelianov
[RFC][PATCH 4/7] RSS accounting hooks over the code
Avi Kivity
[PATCH 03/54] KVM: MMU: Rename variables of type 'struct kvm_mmu_page *'
Alan
Re: [RFC] Heads up on sys_fallocate()
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
openbsd-misc
:
linux-netdev
:
David Miller
Re: 2.6.25-rc8: FTP transfer errors
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Neil Horman
Re: [RFC] net: release dst entry in dev_queue_xmit()
Colocation donated by:
Who's online
There are currently
2 users
and
890 guests
online.
Online users
penelop321
Jeremy
Syndicate