search for: mmap_pag

Displaying 12 results from an estimated 12 matches for "mmap_pag".

Did you mean: mmap_page
2013 Jun 21
5
[patch] xen-netback: double free on unload
.....130bcb2 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c @@ -1968,8 +1968,8 @@ static void __exit netback_fini(void) del_timer_sync(&netbk->net_timer); kthread_stop(netbk->task); for (j = 0; j < MAX_PENDING_REQS; j++) { - if (netbk->mmap_pages[i]) - __free_page(netbk->mmap_pages[i]); + if (netbk->mmap_pages[j]) + __free_page(netbk->mmap_pages[j]); } }
2008 Jun 02
2
problems with netback
hi I've some problems with netback 1.what's mmap_pages for, which come from balloon operation ? mmap_pages = alloc_empty_pages_and_pagevec(MAX_PENDING_REQS) 2.what's the meaning of "refcnt" defined in netif_t (netif->refcnt) 3.irq enable and disable such as disable_irq(netif->irq); why netback use such enable & disable opera...
2013 Feb 28
1
[PATCH RFC 09/12] xen-blkback: move pending handles list from blkbk to pending_req
...req, _seg) \ - (blkbk->pending_grant_handles[vaddr_pagenr(_req, _seg)]) + (_req->grant_handles[_seg]) static int do_block_io_op(struct xen_blkif *blkif); @@ -1214,7 +1213,7 @@ static void make_response(struct xen_blkif *blkif, u64 id, static int __init xen_blkif_init(void) { - int i, mmap_pages; + int i; int rc = 0; if (!xen_domain()) @@ -1226,21 +1225,15 @@ static int __init xen_blkif_init(void) return -ENOMEM; } - mmap_pages = xen_blkif_reqs * BLKIF_MAX_SEGMENTS_PER_REQUEST; blkbk->pending_reqs = kzalloc(sizeof(blkbk->pending_reqs[0]) * xen_blkif_...
2009 Jul 21
1
[PATCH 1/1] ocfs2: adds mlogs to aops.c -V2
...; return ret; } @@ -1155,6 +1250,9 @@ static int ocfs2_grab_pages_for_write(struct address_space *mapping, unsigned long start, target_index, index; struct inode *inode = mapping->host; + mlog_entry("(0x%p, 0x%p, %u, %lld, %d, %lu)\n", + mapping, wc, cpos, user_pos, new, mmap_page->index); + target_index = user_pos >> PAGE_CACHE_SHIFT; /* @@ -1209,6 +1307,7 @@ static int ocfs2_grab_pages_for_write(struct address_space *mapping, wc->w_target_page = wc->w_pages[i]; } out: + mlog_exit(ret); return ret; } @@ -1227,6 +1326,10 @@ static int ocfs2_...
2009 Mar 04
5
[PATCH 0/2] ocfs2: two bug fixes about xattr and inline-data
Mark and Joel, I found two serious bugs about xattr and inline-data. the first bug: in ocfs2_mknod(), we check and found the ACL or security xattr entry could be set into inode in ocfs2_calc_xattr_init(), then don't reserve block for them. But in ocfs2_mknod_locked(), if we found ocfs2 support inline-data, then set id_count with the max_inline_data. After that, we set acl/security xattr
2009 Jul 13
1
[PATCH 1/1] adds mlogs to aops.c
...; return ret; } @@ -1155,6 +1243,9 @@ static int ocfs2_grab_pages_for_write(struct address_space *mapping, unsigned long start, target_index, index; struct inode *inode = mapping->host; + mlog_entry("(0x%p, 0x%p, %u, %lld, %d, %lu)\n", + mapping, wc, cpos, user_pos, new, mmap_page->index); + target_index = user_pos >> PAGE_CACHE_SHIFT; /* @@ -1209,6 +1300,7 @@ static int ocfs2_grab_pages_for_write(struct address_space *mapping, wc->w_target_page = wc->w_pages[i]; } out: + mlog_exit(ret); return ret; } @@ -1227,6 +1319,10 @@ static int ocfs2_...
2009 Jul 21
1
(no subject)
...; return ret; } @@ -1155,6 +1250,9 @@ static int ocfs2_grab_pages_for_write(struct address_space *mapping, unsigned long start, target_index, index; struct inode *inode = mapping->host; + mlog_entry("(0x%p, 0x%p, %u, %lld, %d, %lu)\n", + mapping, wc, cpos, user_pos, new, mmap_page->index); + target_index = user_pos >> PAGE_CACHE_SHIFT; /* @@ -1209,6 +1307,7 @@ static int ocfs2_grab_pages_for_write(struct address_space *mapping, wc->w_target_page = wc->w_pages[i]; } out: + mlog_exit(ret); return ret; } @@ -1227,6 +1326,10 @@ static int ocfs2_...
2009 Mar 05
3
[PATCH 0/2] ocfs2: two bug fixes about xattr and inline-data V2
Hi, Thanks Tao and Joel's review, These are the second version of the patches. Mark and Joel, you can correct my comments if you find they don't suitable. thanks, tiger
2012 Feb 25
9
[xen-unstable bisection] complete test-amd64-i386-rhel6hvm-amd
branch xen-unstable xen branch xen-unstable job test-amd64-i386-rhel6hvm-amd test redhat-install Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git Tree: qemu git://xenbits.xen.org/staging/qemu-xen-unstable.git Tree: qemuu git://xenbits.xen.org/staging/qemu-upstream-unstable.git Tree: xen http://xenbits.xen.org/staging/xen-unstable.hg *** Found and reproduced problem
2007 Mar 20
62
RFC: [0/2] Remove netloop by lazy copying in netback
Hi Keir: These two patches remove the need for netloop by performing the copying in netback and only if it is necessary. The rationale is that most packets will be processed without delay allowing them to be freed without copying at all. So instead of copying every packet destined to dom0 we''ll only copy those that linger longer than a specified amount of time (currently 0.5s). As it
2011 Apr 04
0
[PATCH] linux-2.6.18/backends: use xenbus_be.ko interfaces instead of open-coding them
...has been set + + /* watch front end for changes */ + struct xenbus_watch backend_watch; +}; typedef struct tpmif_st { struct list_head tpmif_list; @@ -44,8 +55,6 @@ typedef struct tpmif_st { struct backend_info *bi; - grant_handle_t shmem_handle; - grant_ref_t shmem_ref; struct page **mmap_pages; char devname[20]; @@ -59,7 +68,7 @@ void tpmif_schedule_work(tpmif_t * tpmif void tpmif_deschedule_work(tpmif_t * tpmif); void tpmif_xenbus_init(void); void tpmif_xenbus_exit(void); -int tpmif_map(tpmif_t *tpmif, unsigned long shared_page, unsigned int evtchn); +int tpmif_map(tpmif_t *, g...
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi, This is the second batch of Ocfs2 patches intended for the merge window. The 1st batch were sent out previously: http://lkml.org/lkml/2008/12/19/280 The bulk of this set is comprised of Jan Kara's patches to add quota support to Ocfs2. Many of the quota patches are to generic code, which I carried to make merging of the Ocfs2 support easier. All of the non-ocfs2 patches should have