From: Isaku Yamahata Subject: [PATCH 0/1] linux/blktap: fixing blktap. Date: Tue, 28 Apr 2009 12:01:18 +0900 Message-ID: <20090428030118.GA17973@nm.localhost.valinux.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ia64-devel-bounces@lists.xensource.com Errors-To: xen-ia64-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Isaku Yamahata , jbeulich@novell.com, xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This patch series is for the release 3.4. It is reported by Kuwamura that blktap has been broken on ia64. But I think it is broken also on x86. The change set of 863:464a925d73f1 broken blktap because guest_user_pages() assumes vma->vm_private_data is arrays of struct page*. This patch series fixes it by not keeping vma in struct tap_blkif. Anyway it isn't allowed to keep the pointer to vma without holding the semaphore, mmap_sem. So this patch makes it get mm_struct and use find_vma() to find necessary vma.