[PATCHv2 3/6] sched_clock: Make ARM's sched_clock generic for all architectures
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Jun 4 14:16:08 EDT 2013
On Tue, Jun 04, 2013 at 10:56:00AM -0700, John Stultz wrote:
> On 06/03/2013 12:50 PM, Stephen Boyd wrote:
>> On 06/03/13 00:12, Baruch Siach wrote:
>>> Hi Stephen,
>>>
>>> On Sat, Jun 01, 2013 at 11:39:40PM -0700, Stephen Boyd wrote:
>>>> {arch/arm/include/asm => include/linux}/sched_clock.h | 9 +++++++--
>>> Shouldn't we just merge this header into the existing linux/sched.h?
>> I don't know. John/Thomas, any thoughts? One benefit with it this way is
>> that we don't have to recompile all the timer drivers if we change
>> sched.h for other reasons.
>
> Yea, I'm fine keeping it separate for now. We can merge them together if
> we see fit later.
>
> But if anyone feels particularly strongly, let me know.
I'd suggest keeping it separate. linux/sched.h is already a big source of
rebuilds because it's included by virtually the entire kernel. Having
linux/sched.h carved up into smaller chunks (maybe moving the definition
of task_struct and associated bits out of it) would probably be a good idea.
More information about the linux-arm-kernel
mailing list