aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorXiaoguang Chen <[email protected]>2013-11-07 02:28:50 +0000
committerRafael J. Wysocki <[email protected]>2013-11-07 18:36:19 +0000
commit3baa976ae644f76f5cdb5be0fb26754c3bfb32cb (patch)
tree5c571eb6bfb164a128c18050f310189275061159 /net/unix/af_unix.c
parentintel_pstate: skip the driver if ACPI has power mgmt option (diff)
downloadkernel-3baa976ae644f76f5cdb5be0fb26754c3bfb32cb.tar.gz
kernel-3baa976ae644f76f5cdb5be0fb26754c3bfb32cb.zip
cpufreq: conservative: fix requested_freq reduction issue
When decreasing frequency, requested_freq may be less than freq_target, So requested_freq minus freq_target may be negative, But reqested_freq's unit is unsigned int, then the negative result will be one larger interger which may be even higher than requested_freq. This patch is to fix such issue. when result becomes negative, set requested_freq as the min value of policy. Signed-off-by: Xiaoguang Chen <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions