Files
erofs-linux/arch/parisc/include/asm
Christophe Jaillet 4c4ac9a48a parisc: mm: Fix a memory leak related to pmd not attached to the pgd
Commit 0e0da48dee ("parisc: mm: don't count preallocated pmds")
introduced a memory leak.

After this commit, the 'return' statement in pmd_free is executed in all
cases. Even for pmd that are not attached to the pgd.  So 'free_pages'
can never be called anymore, leading to a memory leak.

Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Acked-by: Mikulas Patocka <[email protected]>
Acked-by: Helge Deller <[email protected]>
Cc: [email protected]  # v4.0+
Signed-off-by: Helge Deller <[email protected]>
2015-07-19 08:56:14 +02:00
..
…
…
2014-04-18 14:20:41 +02:00
…
…
…
2015-05-13 10:55:42 +02:00
…
…
…
2015-05-05 13:35:39 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-02-17 10:39:14 +01:00
…