From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Blanchard Subject: Re: [PATCH] Restrict stack space reservation to rlimit Date: Mon, 8 Feb 2010 16:11:04 +1100 Message-ID: <20100208051104.GL32246@kryten> References: <10125.1265451732@neuling.org> <18033.1265587672@neuling.org> <20100208140323.FB52.A69D9226@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Michael Neuling , Andrew Morton , Linus Torvalds , Alexander Viro , Oleg Nesterov , James Morris , Ingo Molnar , linux-fsdevel@vger.kernel.org, stable@kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Serge Hallyn , WANG Cong , Paul Mackerras , benh@kernel.crashing.org, miltonm@bga.com, aeb@cwi.nl To: KOSAKI Motohiro Return-path: Received: from ozlabs.org ([203.10.76.45]:41424 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772Ab0BHFM1 (ORCPT ); Mon, 8 Feb 2010 00:12:27 -0500 Content-Disposition: inline In-Reply-To: <20100208140323.FB52.A69D9226@jp.fujitsu.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi, > Why do we need page size independent stack size? It seems to have > compatibility breaking risk. I don't think so. The current behaviour is clearly wrong, we dont need a 16x larger stack just because you went from a 4kB to a 64kB base page size. The user application stack usage is the same in both cases. Anton