[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xc_dom_alloc_segment() zero-filling its output


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 20 Sep 2021 11:45:19 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=D6JHYbDQM88nV390LQ//+KbJwGL2McjgWmKGEXAilAA=; b=YBJPzjdng1S75UsGLiapP0hIaAaPpmOxN/zixxZ9FW6syLNTrGRlIYpWDtlJoVR0pIOAzCWti8+6AT1L5hsFxm8NlzY4Z2j9OzA0RKFZYuiag5YcLNsI7ISrQzFDmTyb628uXS5UT78GSuWSWNp2KyBHO/qYpXc/uN+EU/NdkJUcNAeHJ86xzcyWCsOzePBDhNmLCJMZCd41btnAdPA/PfHjWFo1VoW3G9dVWLZ+9Vnobg4dQiD+lVstD5cy/uPVsAwpZD5Pgycnlre8GnahUBmhzIqGpFzhKDR9E+7z7c/2mTLPlb8vKK8V3jc/P2jz2CN694zJfQRLEXb1BIBIHQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NA8Z8cSHf1gv189oOMzLSDDBwkW6wygaaVTn25qh0T3Lo3gNiZtR2FI5tQuDjxbBAPcqQ0wcA+wpTZMktME0bq9g3fNVGy/BeET/ixO78z4liCFbZDh3SpZEcq2D+ggtxSXjhJ63mC8a+z6+o+GK0QX4OKxCvyo3KHCV+hQ5JFLDqlv9RFU7Gbrdvv1A/huJaKBZqDkKnXf/c7HtbcOkGtyx2QnU3PvKLyZTuZ/0IB+WnTD0ep8sSetlN77Ka9BrpTwzsfO4/hBJW45Q0JRsFPsSUDpO7VNEAgkawd962tAgxOYUjNNGFydUoUYSRyxZySsUf/fe+9BBlKsmYxVAjQ==
  • Authentication-results: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=suse.com;
  • Cc: Ian Jackson <iwj@xxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Mon, 20 Sep 2021 09:45:30 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

originally I was puzzled to find that libxenguest's setting up of
struct hvm_start_info didn't have any explicit clearing of reserved
fields. Turns out the memory gets zeroed right after allocation.
Isn't this a waste of bandwidth particularly when considering the
kernel, initrd, or P2M segments, which may be large and which are
going to get filled with actual (non-zero) data anyway?

Thanks, Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.