From: Cliff Wickman Date: Tue, 25 Sep 2007 04:24:41 +0000 (-0700) Subject: fix "mspec: handle shrinking virtual memory areas" X-Git-Tag: v2.6.23-rc9~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afa684f6fda6086b229348f0ea21df7c8ad17964;p=pandora-kernel.git 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 Cc: Jes Sorensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed