From: Oleg Nesterov Date: Wed, 11 Sep 2013 21:20:14 +0000 (-0700) Subject: mm: mempolicy: turn vma_set_policy() into vma_dup_policy() X-Git-Tag: v3.12-rc1~52^2~270 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef0855d334e1e4af7c3e0c42146a8479ea14a5ab;p=pandora-kernel.git mm: mempolicy: turn vma_set_policy() into vma_dup_policy() Simple cleanup. Every user of vma_set_policy() does the same work, this looks a bit annoying imho. And the new trivial helper which does mpol_dup() + vma_set_policy() to simplify the callers. Signed-off-by: Oleg Nesterov Cc: KOSAKI Motohiro Cc: Mel Gorman Cc: Rik van Riel Cc: Andi Kleen Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed