commit | afa684f6fda6086b229348f0ea21df7c8ad17964 | [log] [tgz] |
---|---|---|
author | Cliff Wickman <cpw@sgi.com> | Mon Sep 24 21:24:41 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Sep 25 08:51:04 2007 -0700 |
tree | 2a7c1fb54b6383af854a19f2545ad49abb3dc64a | |
parent | f9b7cba1b8a74c10b0771ca28d4c554aeb9803fc [diff] |
fix "mspec: handle shrinking virtual memory areas" The vma_data structure may be shared by vma's from multiple tasks, with no way of knowing which areas are shared or not shared, so release/clear pages only when the refcount (of vma's) goes to zero. Signed-off-by: Cliff Wickman <cpw@sgi.com> Cc: Jes Sorensen <jes@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>