From: Konstantin Khlebnikov Date: Thu, 16 Apr 2015 19:47:56 +0000 (-0700) Subject: mm: rcu-protected get_mm_exe_file() X-Git-Tag: omap-for-v4.1/fixes-rc1~115^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90f31d0ea88880f780574f3d0bb1a227c4c66ca3;p=pandora-kernel.git mm: rcu-protected get_mm_exe_file() This patch removes mm->mmap_sem from mm->exe_file read side. Also it kills dup_mm_exe_file() and moves exe_file duplication into dup_mmap() where both mmap_sems are locked. [akpm@linux-foundation.org: fix comment typo] Signed-off-by: Konstantin Khlebnikov Cc: Davidlohr Bueso Cc: Al Viro Cc: Oleg Nesterov Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed