Re: [PATCH RFC 08/12] xen-blkback: use balloon pages for all mappings

2013-03-26 Thread Roger Pau Monné
On 04/03/13 21:22, Konrad Rzeszutek Wilk wrote: >> @@ -194,14 +260,15 @@ static void add_persistent_gnt(struct rb_root *root, >> else if (persistent_gnt->gnt > this->gnt) >> new = &((*new)->rb_right); >> else { >> - pr_alert(DRV_

Re: [PATCH RFC 08/12] xen-blkback: use balloon pages for all mappings

2013-03-26 Thread Roger Pau Monné
On 04/03/13 21:22, Konrad Rzeszutek Wilk wrote: [...] >> @@ -535,13 +604,17 @@ purge_gnt_list: >> msecs_to_jiffies(xen_blkif_lru_interval); >> } >> >> + remove_free_pages(blkif, xen_blkif_max_buffer_pages); >> + >> if (log_stats

Re: [PATCH RFC 08/12] xen-blkback: use balloon pages for all mappings

2013-03-04 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 11:28:51AM +0100, Roger Pau Monne wrote: > Using balloon pages for all granted pages allows us to simplify the > logic in blkback, specially in the xen_blkbk_map function, since now especially > we can decide if we want to map a grant persistently or not after we > have ac