[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8bd0f97a0908032005j5de90db6yf81cee2a28adfb1e@mail.gmail.com>
Date: Mon, 3 Aug 2009 23:05:34 -0400
From: Mike Frysinger <vapier.adi@...il.com>
To: Dave <kilroyd@...glemail.com>
Cc: Ingo Molnar <mingo@...e.hu>, mingo@...hat.com, hpa@...or.com,
linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl,
tglx@...utronix.de, linux-tip-commits@...r.kernel.org
Subject: Re: [tip:core/locking] locking: Check spinlock_t/rwlock_t argument
type on non-SMP builds too
On Mon, Aug 3, 2009 at 15:52, Dave wrote:
> The statistics (2.6.31-rc4ish) show a strong preference for static inline:
>
> $ find include -name "*.h" | xargs grep "static inline" | wc -l
> 6461
>
> $ find include -name "*.h" | xargs grep "extern inline" | wc -l
> 2
>
> $ find arch -name "*.h" | xargs grep "extern inline" | wc -l
> 125
>
> $ find arch -name "*.h" | xargs grep "static inline" | wc -l
> 7058
>
> $ find arch -name "*.h" | xargs grep "extern inline" | sed
> "s?^\(.*\):.*\$?\1?" | sort | uniq
> arch/blackfin/include/asm/string.h
we do want 'extern inline' (i.e. gnu_inline) semantics with the
Blackfin string functions, but the current nest of defines (making all
forms of "inline" expand to "always_inline") makes it hard to do at
the moment.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists