lkml.org 
[lkml]   [2012]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: sched: WARNING: at include/linux/cpumask.h:108 select_fallback_rq+0x241/0x280()
On Sat, Apr 14, 2012 at 11:17 AM, Peter Zijlstra <peterz@infradead.org> wrote:
> On Sat, 2012-03-31 at 13:22 +0530, Srivatsa S. Bhat wrote:
>>
>> One of the perils of using macros instead of true function calls :-(
>>
> You can do type checking in macros too, its not pretty, but there's
> several such things already, see min()/max() for example.

Would it make sense to somehow standardize type checking in kernel
macros? Possibly a set of wrappers that would make type checking easy
to get into new and existing macros?


\
 
 \ /
  Last update: 2012-04-14 13:43    [W:0.069 / U:2.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site