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

Re: [PATCH v6 2/9] xen: do not free reserved memory into heap


  • To: Penny Zheng <Penny.Zheng@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 7 Jun 2022 09:45:49 +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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ff1Ip9EsM18YRgzfQAU0fgBNQDcFsnC4bdh+5wp6gHE=; b=NxdhpoUgkwtewJUkTvnm9VJ2MVEPENo+utiIr+UWKs/DbTeSbC/MofdnezjbFZ82sH4ynkJ+kH+WicwLplKTjF4xBBDNmFan0mqm3OxjimbGS6KWRZJKUwnE1jyPx+1UszGKKCuVYfULtuv4PE2OGk/lttPJELWlrEkV77abEwA5QGRE3UjqJszwyF4sfXFa/BYo94mfyDSx37vUq4zsx80UoB0LVeSNw7JVCdllIJX5BE434PIVJJBxQ4/xkc+nZ3sZ7NyiGNL76p/ASRjovlj64viEKpjzxZVh4vy3ElL6491tx4r2d1ObKIvz0MxUyOmxtcEpufAl1k4+Cxp11Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X/CwzGdAwwb803NOdAUcXdWHtqTdJueA9TJ6sy1BGejaQryzclYHScbnOuoVDKMytvjlQ9gdU88uyiHDsHvtz6kHeempoiBWPXYjFy4q4qeRFaVN+a/oqvZ3P69qO49EfC9kHB+rSoaLE1kQ9pXV1R+abuqDpxXUQO5U3PAttmS978jc9Us1KhD+vHMGhnzm+N3dEceeiLg6ajZO9PhSTEc75FueA5ZcyZjwUhOcdbdBc+18jGUCwDxR8qBNpwMUe7Er8T7Fp7S6HwoJwTQo7whQHjxZI/F3rTp7Raz3ziHx/HXYPJduL2IP3GQxU0RM7v4GHalqMfpv1IBD+D5Seg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: wei.chen@xxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 07 Jun 2022 07:46:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 07.06.2022 09:30, Penny Zheng wrote:
> Pages used as guest RAM for static domain, shall be reserved to this
> domain only.
> So in case reserved pages being used for other purpose, users
> shall not free them back to heap, even when last ref gets dropped.
> 
> free_staticmem_pages will be called by free_heap_pages in runtime
> for static domain freeing memory resource, so let's drop the __init
> flag.
> 
> Signed-off-by: Penny Zheng <penny.zheng@xxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

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