Most recent kernel where this bug did not occur: Distribution: Hardware Environment: Software Environment: Problem Description: The "memory leak" bug. The issue has been revealed by PMEMCV, is not seen by OAS (see bug 5422). Investigation shows that the Linux kernel ACPI interpreter allocates Result-structure for processing CreateField() ASL operator, but doesn't use it anyhow. Unnecessary memory allocation should be eliminated. Steps to reproduce: Doesn't require.
Created attachment 6290 [details] ASL code applying CreateField operator. The attached demo program applies in different manner the CreateField operator. INTERNAL BUG NUMBER 165
Created attachment 6749 [details] Bug-fixing patch The update was tested by the ASLTS test suite runs (all the test cases) on the following systems: - CYGWIN_NT-5.1 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin - Linux 2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005 i686 i686 i386 GNU/Linux for the following (all) modes supported by the ASLTS test suite: - 32-bit norm mode - 64-bit norm mode - 32-bit slack mode - 32-bit slack mode The tests were run (on the systems described above) before update, then the tests were run on those systems after update. Then results of two runs were compared. All is Ok (no new errors).
This was integrated in ACPICA version 20060113
Integrated generic fix for all CreateXxxxField operators in ACPICA version 20060707
ACPICA 20060707 shipped in Linux-2.6.18-rc2 closed.