[PATCH] mm/nommu: fix memory leak

2015-02-16 Thread Joonsoo Kim
Maxime reported following memory leak regression due to commit dbc8358c7237 ("mm/nommu: use alloc_pages_exact() rather than its own implementation"). On v3.19, I am facing a memory leak. Each time I run a command one page is lost. Here an example with busybox's free command: / # free

[PATCH] mm/nommu: fix memory leak

2015-02-16 Thread Joonsoo Kim
Maxime reported following memory leak regression due to commit dbc8358c7237 (mm/nommu: use alloc_pages_exact() rather than its own implementation). On v3.19, I am facing a memory leak. Each time I run a command one page is lost. Here an example with busybox's free command: / # free