On Sun, 2006-10-08 at 14:33 -0700, Daniel Walker wrote: > On Sun, 2006-10-08 at 23:21 +0200, Thomas Gleixner wrote: > > On Sun, 2006-10-08 at 14:15 -0700, Daniel Walker wrote: > > > On Sun, 2006-10-08 at 20:45 +0200, Thomas Gleixner wrote: > > > > > > > > I'm not moving the kernel/timer.c clocksource user back into > > > > > kernel/time/clocksource.c . That code completely belongs with the > > > > > generic time of day changes. The code is directly coupled, and in fact > > > > > it improves the timekeeping clock switching code to have it that way. > > > > > > > > I don't see any reason, why it must be added to timer.c. You can achieve > > > > the same result with calling the code outside, except that the compiler > > > > might miss some inline optimization. The switch clock code is not a > > > > hotpath and so it does not matter whether it is called here or there. > > > > > > It wouldn't be as clean to integrate the two. The hotpath is improved > > > (which is what I was referring too above.) > > > > Sorry, where is which hotpath improved ? > > The hotpath in update_wall_time() kernel/timer.c which involves clock > switching. And why the heck does this require to move _clocksource_ related code including sysfs hackery into timer.c ? Your improvement works with extern code as well. tglx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Daniel Walker <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- References:
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Thomas Gleixner <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Daniel Walker <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Thomas Gleixner <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Daniel Walker <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Thomas Gleixner <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Daniel Walker <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Thomas Gleixner <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Daniel Walker <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Thomas Gleixner <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Daniel Walker <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Thomas Gleixner <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Daniel Walker <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Thomas Gleixner <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- From: Daniel Walker <[email protected]>
- Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- Prev by Date: Re: + clocksource-increase-initcall-priority.patch added to -mm tree
- Next by Date: 2.4.x: i386/x86_64 bitops clobberings
- Previous by thread: Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- Next by thread: Re: + clocksource-add-generic-sched_clock.patch added to -mm tree
- Index(es):