Re: [tip:sched/core] sched: cpuacct: Use bigger percpu counter batch values for stats counters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:sched/core] sched: cpuacct: Use bigger percpu counter batch values for stats counters
- From: Ingo Molnar <mingo@xxxxxxx>
- Date: Tue, 12 May 2009 15:42:54 +0200
- Cc: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, a.p.zijlstra@xxxxxxxxx, schwidefsky@xxxxxxxxxx, balajirrao@xxxxxxxxx, dhaval@xxxxxxxxxxxxxxxxxx, bharata@xxxxxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, kamezawa.hiroyu@xxxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <2f11576a0905120640qcecc90ase686095b0d9ef014@xxxxxxxxxxxxxx>
- References: <20090512102412.GG6351@xxxxxxxxxxxxxxxxx> <20090512102939.GB11714@xxxxxxx> <20090512193656.D647.A69D9226@xxxxxxxxxxxxxx> <20090512132805.GA9808@xxxxxxx> <2f11576a0905120640qcecc90ase686095b0d9ef014@xxxxxxxxxxxxxx>
- User-agent: Mutt/1.5.18 (2008-05-17)
* KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
> 2009/5/12 Ingo Molnar <mingo@xxxxxxx>:
> >
> > * KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:
> >
> >> > or rather, to make cpuacct_batch have a sane value on UP too.
> >> > (1? 0?)
> >>
> >> umm..
> >>
> >> I've reviewed my patch again.
> >> but sched_init() already has multiple #ifdef SMP. [...]
> >
> > Patches are welcome to remove more of them.
> >
> >> [...] Thus I don't think cosmetic changing improve readability
> >> largely.
> >
> > an avoidable #ifdef should aways be avoided.
>
> ok. I'll fix it tommorow.
With the caveat that you should do it only if i'm right and if it
results in better code in general.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]