Re: [PATCH] mm: stop leaking PageTables

2017-01-08 Thread Kirill A. Shutemov
On Sat, Jan 07, 2017 at 03:37:31PM -0800, Hugh Dickins wrote: > 4.10-rc loadtest (even on x86, even without THPCache) fails with > "fork: Cannot allocate memory" or some such; and /proc/meminfo > shows PageTables growing. > > rc1 removed the freeing of an unused preallocated pagetable after > do_f

Re: [PATCH] mm: stop leaking PageTables

2017-01-07 Thread Aneesh Kumar K.V
Hugh Dickins writes: > 4.10-rc loadtest (even on x86, even without THPCache) fails with > "fork: Cannot allocate memory" or some such; and /proc/meminfo > shows PageTables growing. > > rc1 removed the freeing of an unused preallocated pagetable after > do_fault_around() has called map_pages(): wh

[PATCH] mm: stop leaking PageTables

2017-01-07 Thread Hugh Dickins
4.10-rc loadtest (even on x86, even without THPCache) fails with "fork: Cannot allocate memory" or some such; and /proc/meminfo shows PageTables growing. rc1 removed the freeing of an unused preallocated pagetable after do_fault_around() has called map_pages(): which is usually a good optimization