RE: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-25 Thread KY Srinivasan
om; Alex > Ng (LIS) <ale...@microsoft.com>; linux-kernel@vger.kernel.org; > a...@canonical.com; de...@linuxdriverproject.org; > leann.ogasaw...@canonical.com > Subject: Re: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add > regions > > Hi, kys! > > &g

RE: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-25 Thread KY Srinivasan
om; Alex > Ng (LIS) ; linux-kernel@vger.kernel.org; > a...@canonical.com; de...@linuxdriverproject.org; > leann.ogasaw...@canonical.com > Subject: Re: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add > regions > > Hi, kys! > > >>

Re: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-25 Thread Vitaly Kuznetsov
Yauheni Kaliuta writes: > Hi, kys! > >> On Wed, 24 Aug 2016 16:23:10 -0700, kys wrote: > > [...] > > > -static bool pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > > +static int pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > > {

Re: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-25 Thread Vitaly Kuznetsov
Yauheni Kaliuta writes: > Hi, kys! > >> On Wed, 24 Aug 2016 16:23:10 -0700, kys wrote: > > [...] > > > -static bool pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > > +static int pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > > { > >struct list_head

Re: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-24 Thread Yauheni Kaliuta
Hi, kys! > On Wed, 24 Aug 2016 16:23:10 -0700, kys wrote: [...] > -static bool pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > +static int pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > { > struct list_head *cur; > struct hv_hotadd_state *has;

Re: [PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-24 Thread Yauheni Kaliuta
Hi, kys! > On Wed, 24 Aug 2016 16:23:10 -0700, kys wrote: [...] > -static bool pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > +static int pfn_covered(unsigned long start_pfn, unsigned long pfn_cnt) > { > struct list_head *cur; > struct hv_hotadd_state *has;

[PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-24 Thread kys
From: Vitaly Kuznetsov I'm observing the following hot add requests from the WS2012 host: hot_add_req: start_pfn = 0x108200 count = 330752 hot_add_req: start_pfn = 0x158e00 count = 193536 hot_add_req: start_pfn = 0x188400 count = 239616 As the host doesn't specify hot add

[PATCH 2/5] Drivers: hv: balloon: account for gaps in hot add regions

2016-08-24 Thread kys
From: Vitaly Kuznetsov I'm observing the following hot add requests from the WS2012 host: hot_add_req: start_pfn = 0x108200 count = 330752 hot_add_req: start_pfn = 0x158e00 count = 193536 hot_add_req: start_pfn = 0x188400 count = 239616 As the host doesn't specify hot add regions we're trying