ACPICA: Optimization: Reduce the number of namespace walks
commita9fc03125ea0001ff18bc29da9539b587fdbd1d7
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Wed, 26 May 2010 05:59:51 +0000 (26 13:59 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 7 Jul 2010 02:33:57 +0000 (6 22:33 -0400)
tree721b794d27aa84780c8e8f0e01d2119713b01ca7
parent20d33aea7ae7ad858f3f91c834d9043cd8122d38
ACPICA: Optimization: Reduce the number of namespace walks

On control method exit, only walk the namespace if the method is
known to have created namespace objects outside of its local scope.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
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/acpica/dsmethod.c
drivers/acpi/acpica/nsalloc.c