Re: [PATCH 2/3] PERF(kernel): Cleanup power events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH 2/3] PERF(kernel): Cleanup power events
- From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
- Date: Mon, 25 Oct 2010 09:00:17 -0700
- Cc: Ingo Molnar <mingo@xxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>, Frank Eigler <fche@xxxxxxxxxx>, Steven Rostedt <rostedt@xxxxxxxxxxx>, Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, linux-omap@xxxxxxxxxxxxxxx, rjw@xxxxxxx, linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-trace-users@xxxxxxxxxxxxxxx, Jean Pihet <jean.pihet@xxxxxxxxxxxxxx>, Pierre Tardy <tardyp@xxxxxxxxx>, Frederic Weisbecker <fweisbec@xxxxxxxxx>, Tejun Heo <tj@xxxxxxxxxx>, Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
- In-reply-to: <201010251748.59218.trenn@xxxxxxx>
- References: <1287488171-25303-1-git-send-email-trenn@xxxxxxx> <4CC597FA.7080606@xxxxxxxxxxxxxxx> <20101025145604.GB16397@xxxxxxx> <201010251748.59218.trenn@xxxxxxx>
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5
On 10/25/2010 8:48 AM, Thomas Renninger wrote:
On Monday 25 October 2010 16:56:04 Ingo Molnar wrote:
* Arjan van de Ven<arjan@xxxxxxxxxxxxxxx> wrote:
On 10/25/2010 7:36 AM, Thomas Renninger wrote:
ok so we have
"C0 idle"
Ideally this should not be called C0, but expressed
as (#define) POLL_IDLE wherever possible.
In all documentations/specs/white papers about other OSes
C0 is refered to as not being idle.
Linux mis-uses it as a self-defined idle state which
is really confusing.
sure naming is one thing
and
"C0 no longer idle"
I'd propose using the number 0 for the first one (it makes the most
logical sense, it's the least deep idle state etc etc)
I would use a special number for the "Linux only" state.
that special number is 0 though..
it makes sense in ordering, 0 < 1, 1 < 2 etc
0 makes for a really bad special number for the exit marker; not just here,
but also for your suspend hook, that one definitely needs to change
(since current commercially available SOCs already reuse 0 for this for
standby level states)
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]