]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Optimize execution of AML While loops
authorBob Moore <robert.moore@intel.com>
Wed, 12 Nov 2008 07:02:00 +0000 (15:02 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 30 Dec 2008 03:38:36 +0000 (22:38 -0500)
commitc9b605b55c45e026618233bcf4d094ff80529dc8
tree4ed41f48fefb600ace6be82b9c6963e2e90b2a10
parent1bd8496e9c47fa25cae754805860ed7c50545d0c
ACPICA: Optimize execution of AML While loops

Previously, a control state object was allocated and freed for
each execution of the loop. The optimization is to simply reuse
the control state for each iteration. This speeds up the raw loop
execution time by about 5%.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dispatcher/dsopcode.c