From owner-freebsd-threads@FreeBSD.ORG Sat Sep 17 11:40:11 2011 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 889B51065670 for ; Sat, 17 Sep 2011 11:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F95F8FC0A for ; Sat, 17 Sep 2011 11:40:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8HBeBhA062815 for ; Sat, 17 Sep 2011 11:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8HBeBAW062812; Sat, 17 Sep 2011 11:40:11 GMT (envelope-from gnats) Date: Sat, 17 Sep 2011 11:40:11 GMT Message-Id: <201109171140.p8HBeBAW062812@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: Michael Pounov Cc: Subject: Re: threads/160708: Bypass process stack quota :) X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Michael Pounov List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 11:40:11 -0000 The following reply was made to PR threads/160708; it has been noted by GNATS. From: Michael Pounov To: bug-followup@FreeBSD.org, peter@wemm.org Cc: Subject: Re: threads/160708: Bypass process stack quota :) Date: Sat, 17 Sep 2011 14:18:38 +0300 Hmm, you no so right Peter. Yes I can move esp pointer in any other address, but please start program and see address of allocated memory for every thread. All this allocations is made in upper memory called stack. Try same alloca() in main program thread and you see how system terminate program if you going over stack limit. Best Regards Michael Pounov