Re: [PATCH v6 6/7] sched: add SD_BALANCE_NEWIDLE at MC and CPU level for sched_mc>0

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vaidyanathan Srinivasan
Date: Thursday, December 18, 2008 - 2:35 am

* Andrew Morton <akpm@linux-foundation.org> [2008-12-17 17:42:54]:


Hi Andrew,

These macros set the SD_POWERSAVINGS_BALANCE flag based on the
sysfs tunable.
 

Your are suggesting to move these to inline functions.   I will write
a patch and post for review.
 

Agreed, but these macros are used throughout sched.c and are
performance sensitive.  Inline functions are a close enough
replacement for the macro let me look for any performance penalty as
well and report.

Thanks for the review and comments.

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

Messages in current thread:
[PATCH v6 6/7] sched: add SD_BALANCE_NEWIDLE at MC and CPU ..., Vaidyanathan Srinivasan, (Wed Dec 17, 10:27 am)
Re: [PATCH v6 6/7] sched: add SD_BALANCE_NEWIDLE at MC and ..., Vaidyanathan Srinivasan, (Thu Dec 18, 2:35 am)
Re: [PATCH v6 6/7] sched: add SD_BALANCE_NEWIDLE at MC and ..., Vaidyanathan Srinivasan, (Thu Dec 18, 8:22 am)