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)
commit96411a630412f057d365aa1e9de7d23c069d627a
tree4ed41f48fefb600ace6be82b9c6963e2e90b2a10
parent84d4db7c528e23f8c9ae0be12960549347003eeb
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