From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu/amd: Take mmap_sem when calling get_user_pages Date: Mon, 12 May 2014 21:04:18 +0200 Message-ID: <20140512190417.GA10562@8bytes.org> References: <1398724066-3730-1-git-send-email-suravee.suthikulpanit@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1398724066-3730-1-git-send-email-suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, jay.cornwall-5C7GfCeVMHo@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kim.naru-5C7GfCeVMHo@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Mon, Apr 28, 2014 at 05:27:46PM -0500, suravee.suthikulpanit-5C7GfCeVMHo@public.gmane.org wrote: > From: Jay Cornwall > > get_user_pages requires caller to hold a read lock on mmap_sem. > > Signed-off-by: Jay Cornwall > Signed-off-by: Suravee Suthikulpanit Applied, thanks Jay and Suravee.