Skip to content
Commit dc7fd275 authored by ShuoX Liu's avatar ShuoX Liu Committed by Rafael J. Wysocki
Browse files

cpuidle: move field disable from per-driver to per-cpu



Andrew J.Schorr raises a question.  When he changes the disable setting on
a single CPU, it affects all the other CPUs.  Basically, currently, the
disable field is per-driver instead of per-cpu.  All the C states of the
same driver are shared by all CPU in the same machine.

The patch changes the `disable' field to per-cpu, so we could set this
separately for each cpu.

Signed-off-by: default avatarShuoX Liu <shuox.liu@intel.com>
Reported-by: default avatarAndrew J.Schorr <aschorr@telemetry-investments.com>
Reviewed-by: default avatarYanmin Zhang <yanmin_zhang@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 6887a413
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment