aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/parport.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2007-09-04 12:49:22 -0400
committerLen Brown <len.brown@intel.com>2007-09-04 12:49:22 -0400
commit21bc42ab852549f4a547d18d77e0e4d1b24ffd96 (patch)
treeb4597592729a91cf1e8f26b8b73d837de33d67c9 /include/asm-x86_64/parport.h
parent40ffbfad6bb79a99cc7627bdaca0ee22dec526f6 (diff)
ACPI: thermal: use round_jiffies when thermal zone polling is enabled
Properly functioning systems do not use thermal zone polling, they use event-based notification. However, some users enable periodic thermal zone polling to work around bugs on their platforms, and at least one platform exists with a real _TZP that requests polling. While thermal zone polling (_TZP) is specified in units to 0.1 seconds, it actually has a maximum granularity of 1 second. Thus, we can safely round up the _TZP timeout to occur on the next 1-second boundary. This will batch it with other 1-second-granularity timers in the system and thus potentially extend processor idle duration. Note that the same timer is used both for _TZP and for passive processor thermal throttling. We can not round up the timeout when it is used for passive thermal throttling. Also, we can not make this a deferrable timer, as temperature is just as relevant during idle as it is during non-idle. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/asm-x86_64/parport.h')
0 files changed, 0 insertions, 0 deletions