Re: [PATCH 2/3] fork: reset mm->pinned_vm

2014-06-20 Thread Vladimir Davydov
On Thu, Jun 19, 2014 at 01:58:20PM -0700, Andrew Morton wrote: > On Thu, 19 Jun 2014 13:07:47 +0400 Vladimir Davydov > wrote: > > > mm->pinned_vm counts pages of mm's address space that were permanently > > pinned in memory by increasing their reference counter. The counter was > > introduced by

Re: [PATCH 2/3] fork: reset mm->pinned_vm

2014-06-19 Thread Andrew Morton
On Thu, 19 Jun 2014 13:07:47 +0400 Vladimir Davydov wrote: > mm->pinned_vm counts pages of mm's address space that were permanently > pinned in memory by increasing their reference counter. The counter was > introduced by commit bc3e53f682d9 ("mm: distinguish between mlocked and > pinned pages")

[PATCH 2/3] fork: reset mm->pinned_vm

2014-06-19 Thread Vladimir Davydov
mm->pinned_vm counts pages of mm's address space that were permanently pinned in memory by increasing their reference counter. The counter was introduced by commit bc3e53f682d9 ("mm: distinguish between mlocked and pinned pages"), while before it locked_vm had been used for such pages. Obviously,