aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJoonsoo Kim <[email protected]>2013-08-06 17:36:43 +0900
committerIngo Molnar <[email protected]>2013-09-02 08:27:35 +0200
commit56cf515b4b1567c4e8fa9926175b40c66b9ec472 (patch)
tree0250d1edd6e92419ec0429c72de386b35f5bfbf1 /lib/memory-notifier-error-inject.c
parent23f0d2093c789e612185180c468fa09063834e87 (diff)
sched: Clean-up struct sd_lb_stat
There is no reason to maintain separate variables for this_group and busiest_group in sd_lb_stat, except saving some space. But this structure is always allocated in stack, so this saving isn't really benificial [peterz: reducing stack space is good; in this case readability increases enough that I think its still beneficial] This patch unify these variables, so IMO, readability may be improved. Signed-off-by: Joonsoo Kim <[email protected]> [ Rename this to local -- avoids confusion between this_cpu and the C++ this pointer. ] Reviewed-by: Paul Turner <[email protected]> [ Lots of style edits, a few fixes and a rename. ] Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions