Displaying 3 results from an estimated 3 matches for "usr_idx".
2008 Nov 05
0
[PATCH] blktap: ensure vma->vm_mm''s mmap_sem is being held whenever it is being modified
...es << PAGE_SHIFT, NULL);
+ }
+
+ if (locked)
+ up_write(&mm->mmap_sem);
}
/******************************************************************
@@ -1356,6 +1373,7 @@ static void dispatch_rw_block_io(blkif_t
int pending_idx = RTN_PEND_IDX(pending_req,pending_req->mem_idx);
int usr_idx;
uint16_t mmap_idx = pending_req->mem_idx;
+ struct mm_struct *mm;
if (blkif->dev_num < 0 || blkif->dev_num > MAX_TAP_DEV)
goto fail_response;
@@ -1416,6 +1434,9 @@ static void dispatch_rw_block_io(blkif_t
pending_req->status = BLKIF_RSP_OKAY;
pending_req->nr_pa...
2013 Sep 17
0
Bug#717157: blktap-dkms: Fails to build against Linux 3.10
...upstream. You should consider pushing it to
the archive.
root at ibmx3650m2-210-147:/usr/src/blktap-2.0.91# diff -Naru ring.c
/tmp/ring.c
--- ring.c 2013-09-17 11:47:27.468200000 -0400
+++ /tmp/ring.c 2013-09-17 11:47:56.836200000 -0400
@@ -210,7 +210,7 @@
pgoff = 1 + request->usr_idx * BLKTAP_SEGMENT_MAX;
- addr = do_mmap_pgoff(filp, addr, len, prot, flags, pgoff);
+ addr = vm_mmap(filp, addr, len, prot, flags, pgoff <<
PAGE_SHIFT);
return IS_ERR_VALUE(addr) ? addr : 0;
}
@@ -230,8 +230,7 @@
addr = MMAP_VADDR(ring->user_vstart, request...
2010 Sep 15
15
xenpaging fixes for kernel and hypervisor
Patrick,
there following patches fix xenpaging for me.
Granttable handling is incomplete. If a page is gone, a GNTST_eagain
should be returned to the caller to inidcate the hypercall has to be
retried after a while, until the page is available again.
Please review.
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com