From patchwork Tue Apr 23 20:22:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 2480011 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id DC664DF2E5 for ; Tue, 23 Apr 2013 20:22:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754634Ab3DWUWM (ORCPT ); Tue, 23 Apr 2013 16:22:12 -0400 Received: from mout.gmx.net ([212.227.15.19]:60260 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753992Ab3DWUWL (ORCPT ); Tue, 23 Apr 2013 16:22:11 -0400 Received: from mailout-de.gmx.net ([10.1.76.16]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MbeI7-1UCEpv2e2v-00J2AF for ; Tue, 23 Apr 2013 22:22:06 +0200 Received: (qmail invoked by alias); 23 Apr 2013 20:22:06 -0000 Received: from p54AD11D8.dip0.t-ipconnect.de (EHLO p100.box) [84.173.17.216] by mail.gmx.net (mp016) with SMTP; 23 Apr 2013 22:22:06 +0200 X-Authenticated: #1045983 X-Provags-ID: V01U2FsdGVkX18sTeBQpc4shTbPQdsGUxcm4Iq782IqSjCqCLFU7s XQWCzq6FH6vLUS Date: Tue, 23 Apr 2013 22:22:03 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: increase kernel stack size to 32k Message-ID: <20130423202203.GA7287@p100.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Y-GMX-Trusted: 0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org commit e4e1e78facf7565cada909a69c7fb6415b6e7b83 Author: Helge Deller Date: Tue Apr 23 17:19:37 2013 +0200 parisc: increase kernel stack size to 32k This commit temporarily increases the kernel stack size to 32k to avoid stack overflows which led to strange and hard-to-debug kernel crashes all over various kernel components. The upcoming real fix will implement an own irq stack which should avoid those crashes without the need for 32k stacks. Signed-off-by: Helge Deller --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/include/asm/thread_info.h b/arch/parisc/include/asm/thread_info.h index d1fb79a..55335c1 100644 --- a/arch/parisc/include/asm/thread_info.h +++ b/arch/parisc/include/asm/thread_info.h @@ -40,7 +40,7 @@ struct thread_info { /* thread information allocation */ -#define THREAD_SIZE_ORDER 2 +#define THREAD_SIZE_ORDER 3 /* 32k stack */ /* Be sure to hunt all references to this down when you change the size of * the kernel stack */ #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)