[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] problems of 'blktap'
when I am studying blktap mechanism , I faced a problem that I can't understand. In tapdisk.c(xen-3.3.0/tools/blktap/drivers) line 687-689
page = (char *)MMAP_VADDR(info->vstart,
(unsigned long)req->id, i); page += (req->seg[i].first_sect << SECTOR_SHIFT); how was the page address caculated? I am not quite understanding.
thanks a lot!
-- Min Li School of Computer Science and Technology Cluster and Grid Computing Lab Services Computing Technology and System Lab Huazhong University of Science and Technology Wuhan, 430074, China Tel: 13986251431 027-65236831 Email: fly.limin@xxxxxxxxx _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |