Re: [PATCH] tmpfs: fix shared mempolicy leak

2012-12-05 Thread Hugh Dickins
On Wed, 5 Dec 2012, Tommi Rantala wrote: > 2012/12/5 Mel Gorman : > > On Tue, Dec 04, 2012 at 11:24:30PM -0800, Hugh Dickins wrote: > >> From: Mel Gorman > >> > >> Commit 00442ad04a5e ("mempolicy: fix a memory corruption by refcount > >> imbalance in alloc_pages_vma()") changed get_vma_policy() to

Re: [PATCH] tmpfs: fix shared mempolicy leak

2012-12-05 Thread Tommi Rantala
2012/12/5 Mel Gorman : > On Tue, Dec 04, 2012 at 11:24:30PM -0800, Hugh Dickins wrote: >> From: Mel Gorman >> >> Commit 00442ad04a5e ("mempolicy: fix a memory corruption by refcount >> imbalance in alloc_pages_vma()") changed get_vma_policy() to raise the >> refcount on a shmem shared mempolicy; w

Re: [PATCH] tmpfs: fix shared mempolicy leak

2012-12-05 Thread Mel Gorman
On Tue, Dec 04, 2012 at 11:24:30PM -0800, Hugh Dickins wrote: > From: Mel Gorman > > Commit 00442ad04a5e ("mempolicy: fix a memory corruption by refcount > imbalance in alloc_pages_vma()") changed get_vma_policy() to raise the > refcount on a shmem shared mempolicy; whereas shmem_alloc_page() wen