linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 00/19] tick: cleanups (Shouldn't change code behavior)
@ 2014-04-21  9:54 Viresh Kumar
  2014-04-21  9:54 ` [PATCH V2 01/19] tick: trivial cleanups Viresh Kumar
                   ` (19 more replies)
  0 siblings, 20 replies; 25+ messages in thread
From: Viresh Kumar @ 2014-04-21  9:54 UTC (permalink / raw)
  To: tglx; +Cc: linaro-kernel, linaro-networking, linux-kernel, fweisbec,
	Viresh Kumar

As suggested by you (https://lkml.org/lkml/2014/4/14/797), this is the second
lot of changes I have. I have divided the earlier patchset into three parts:
- Bugfixes, already merged
- Code cleanups which shouldn't have any functional change
- Code cleanups which may have any functional change

This patchset is targeting the second part now. Its just about moving the code
around to make it more readable and obvious. Not removing any code at all, that
will be addressed in next series.

V1->V2: Actually V1 was never reviewed and so it is mostly a resend of V1. Some
rearrangement of patches is done though.

Viresh Kumar (19):
  tick: trivial cleanups
  tick: update doc style comments for 'struct tick_sched'
  tick: rearrange members of 'struct tick_sched'
  tick: move declaration of 'tick_cpu_device' to tick.h
  tick: move definition of tick_get_device() to tick.h
  tick: create tick_get_cpu_device() to get tick_cpu_device on this cpu
  tick: initialize variables during their definitions
  tick-oneshot: move tick_is_oneshot_available() to tick-oneshot.c
  tick-oneshot: remove tick_resume_oneshot()
  tick-common: call tick_check_percpu() from tick_check_preferred()
  tick-common: remove tick_check_replacement()
  tick-common: don't pass 'cpu' & 'cpumask' to tick_setup_device()
  tick-common: remove local variable 'broadcast' from tick_resume()
  tick-sched: add comment about 'idle_active' in tick_nohz_idle_exit()
  tick-sched: define 'delta' inside 'if' block in
    update_ts_time_stats()
  tick-sched: remove parameters to {__}tick_nohz_task_switch() routines
  tick-sched: remove local variable 'now' from tick_setup_sched_timer()
  tick-sched: invert parameter of tick_check_oneshot_change()
  tick-sched: rearrange code in tick_do_update_jiffies64()

 include/linux/hrtimer.h      |  3 --
 include/linux/tick.h         | 62 +++++++++++++++++++-----------
 kernel/hrtimer.c             |  4 +-
 kernel/sched/core.c          |  2 +-
 kernel/time/clockevents.c    | 12 +++---
 kernel/time/clocksource.c    | 14 +++----
 kernel/time/tick-broadcast.c | 48 +++++++++--------------
 kernel/time/tick-common.c    | 90 ++++++++++++++------------------------------
 kernel/time/tick-internal.h  | 15 ++++----
 kernel/time/tick-oneshot.c   | 34 +++++++++--------
 kernel/time/tick-sched.c     | 80 +++++++++++++++++++++++----------------
 kernel/time/timekeeping.c    | 10 ++---
 12 files changed, 177 insertions(+), 197 deletions(-)

-- 
1.7.12.rc2.18.g61b472e


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2014-04-30  8:51 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-21  9:54 [PATCH V2 00/19] tick: cleanups (Shouldn't change code behavior) Viresh Kumar
2014-04-21  9:54 ` [PATCH V2 01/19] tick: trivial cleanups Viresh Kumar
2014-04-22 21:23   ` Frederic Weisbecker
2014-04-23  4:49     ` Viresh Kumar
2014-04-21  9:54 ` [PATCH V2 02/19] tick: update doc style comments for 'struct tick_sched' Viresh Kumar
2014-04-21  9:54 ` [PATCH V2 03/19] tick: rearrange members of " Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 04/19] tick: move declaration of 'tick_cpu_device' to tick.h Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 05/19] tick: move definition of tick_get_device() " Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 06/19] tick: create tick_get_cpu_device() to get tick_cpu_device on this cpu Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 07/19] tick: initialize variables during their definitions Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 08/19] tick-oneshot: move tick_is_oneshot_available() to tick-oneshot.c Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 09/19] tick-oneshot: remove tick_resume_oneshot() Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 10/19] tick-common: call tick_check_percpu() from tick_check_preferred() Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 11/19] tick-common: remove tick_check_replacement() Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 12/19] tick-common: don't pass 'cpu' & 'cpumask' to tick_setup_device() Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 13/19] tick-common: remove local variable 'broadcast' from tick_resume() Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 14/19] tick-sched: add comment about 'idle_active' in tick_nohz_idle_exit() Viresh Kumar
2014-04-21 23:20   ` Frederic Weisbecker
2014-04-22  4:05     ` viresh kumar
2014-04-21  9:55 ` [PATCH V2 15/19] tick-sched: define 'delta' inside 'if' block in update_ts_time_stats() Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 16/19] tick-sched: remove parameters to {__}tick_nohz_task_switch() routines Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 17/19] tick-sched: remove local variable 'now' from tick_setup_sched_timer() Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 18/19] tick-sched: invert parameter of tick_check_oneshot_change() Viresh Kumar
2014-04-21  9:55 ` [PATCH V2 19/19] tick-sched: rearrange code in tick_do_update_jiffies64() Viresh Kumar
2014-04-30  8:51 ` [PATCH V2 00/19] tick: cleanups (Shouldn't change code behavior) Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).