From: Ian Jackson Subject: [PATCH] libxenstore: Use PTHREAD_STACK_MIN Date: Mon, 28 Oct 2013 15:33:40 +0000 Message-ID: <21102.33748.523655.951398@mariner.uk.xensource.com> References: <1382687255-1524-1-git-send-email-ijc@hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1382687255-1524-1-git-send-email-ijc@hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, Ian Campbell , julien.grall@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[PATCH] libxenstore: Use PTHREAD_STACK_MIN"): > From: Ian Campbell > > The existing value of 16K is smaller than the arm64 minimum stack size, which > is 128K. PTHREAD_STACK_MIN appears to be standard > http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_attr_setstacksize.html > > Consindered setting a lower bound but the stack requirements of the watcher > thread are pretty minimal (tens of bytes from the looks of it) and unlikely to > blow PTHREAD_STACK_MIN on any useful platform. > > Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson