lkml.org 
[lkml]   [2011]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] rcu: export rcu_note_context_switch() function
On 04/30/2011 03:59 PM, Paul E. McKenney wrote:
> > That will work, but does making rcu_note_context_switch() out of line
> > actually increase kernel size? The function is called in two places
> > currently, so by making it out of line we make two calling site smaller.
> > Will measure it next week.
>
> One thing to keep in mind... Calling an out-of-line function from
> KVM requires an export, each of which significantly increases TINY_RCU's
> memory footprint.

I would expect that most kvm configs will actually be smp (perhaps with
an exception for embedded ppc).

A completely random idea - how about trimming exports that aren't
actually used? so if you have a minimal setup you only get the hit if
you actually use kvm.

(The trimming would need to be optional so external modules can continue
to work for those who want them)


--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.



\
 
 \ /
  Last update: 2011-04-30 21:45    [W:0.111 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site