Red Hat Bugzilla – Bug 282351
[PATCH] Fix memory leak of dma_alloc_coherent() on x86_64
Last modified: 2018-10-19 15:53:31 EDT
This bug has been copied from bug #X and has been proposed to be backported to 4.5 z-stream (EUS).
Created attachment 190871 [details] proposed patch
A patch for this issue has been included in build 2.6.9-55.0.7.
I also hoped it. However, I confirmed that memoryleak-fix-patch was not included in "arch/x86_64/kernel/pci-gart.c" on 2.6.9-55.0.9.EL. Please fix this problem by the proposed patch.
But, the ChangeLog existed in 2.6.9-55.0.9.EL. >>> - fix memory leak of dma_alloc_coherent() on x86_64 (Prarit Bhargava) [282351] Anyway, please confirm it.
dma_alloc_coherent() was fixed in 2.6.9-55.0.7, but all patches from 55.0.7 were reverted in build 55.0.9 and restored in 55.0.10 due to internal reasons. Please take a look to changelog one more time.
I expect it in the following errata release.
got no right hardware do the test, (it needs a system that has a device that calls dma_alloc_coherent,SB600 system should be OK), so just do code review.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2007-0939.html