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

Re: [Xen-devel] Question about the usage of spinlock

On May 26, 2016 9:31 AM, 조현권 <chkwon91@xxxxxxxxx> wrote:
> I am studying xen 4.6.0 version now and wonder the usage of spinlock which is 
> located in free_heap_pages(xen/common/page_alloc. c)
> As its memory setup is ahead of multicore initialization, spinlock seems to 
> be unnecessary during booting because it uses only single core
> spinlock looks required after multicore initialization finished and when xen 
> needs to free memory space during work
> However i experimented not to use spin lock in free_heap_pages and 
> dom0(linux-kernel) was booted well. It does not cause any error using 
> internet or application program even reboot
> Are therr any special reason to use spinlock?
> My experiment environment was ODROID-XU4 which uses arm architecture

Ah, you can try to test more for DomU..
Xen-devel mailing list



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