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

[Xen-devel] Question in end_boot_allocator() code


  • To: xen-devel@xxxxxxxxxxxxx
  • From: 조현권 <chkwon91@xxxxxxxxx>
  • Date: Mon, 1 Aug 2016 09:00:56 +0900
  • Delivery-date: Mon, 01 Aug 2016 00:01:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi I am studying xen student

I got a question in end boot allocator code

Why xen reads bootmem_region_list backwards??

for ( i= nr_bootmem_regions ; i -- >0 ; )
{struct bootmem_region ...}

I think there would be no problem although it reads its values forward because added page list is same.

Thank you

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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