From: "Jan Beulich" Subject: Re: [PATCH 2/4] xen/evtchn: Reduce the size of the poll_mask where possible Date: Tue, 20 Jan 2015 10:28:36 +0000 Message-ID: <54BE3BE40200007800056E1D@mail.emea.novell.com> References: <1421666496-10676-1-git-send-email-andrew.cooper3@citrix.com> <1421666496-10676-3-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1421666496-10676-3-git-send-email-andrew.cooper3@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Keir Fraser , Tim Deegan , Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 19.01.15 at 12:21, wrote: > Use domain_max_vcpus(d) in preference to MAX_VIRT_CPUS when allocating the > poll mask. This allows x86 HVM guests to have a poll mask of 128 bits > rather > than 8k bits. > > While changing this, use xzalloc_array() in preference to xmalloc_array() to > avoid needing the subsequent call to bitmap_zero(). > > Signed-off-by: Andrew Cooper Acked-by: Jan Beulich