From: Keir Fraser Subject: Re: Re: how to handle paged hypercall args? Date: Fri, 03 Dec 2010 06:13:43 -0800 Message-ID: References: <20101203090341.GA6055@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101203090341.GA6055@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering Cc: Patrick Colp , "xen-devel@lists.xensource.com" , Tim Deegan , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 03/12/2010 01:03, "Olaf Hering" wrote: > in my testing the BUG_ON in __prepare_to_wait() triggers, 1500 is too > small. I changed it to 4096 - (4*sizeof(void*)) to fix it for me. > 3K would be enough as well. > How large can the stack get, is there an upper limit? It can get pretty deep with nested interrupts. I wouldn't expect a guest's hypercall stack to get very deep at all. Send me a BUG_ON() backtrace. That said, making the saved-stack area bigger isn't really a problem. -- Keir