From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 09cc6ce3 for ; Thu, 10 Nov 2016 01:45:50 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 1cb89f19 for ; Thu, 10 Nov 2016 01:45:49 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 975eff62 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 10 Nov 2016 01:45:47 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id b14so178034673lfg.2 for ; Wed, 09 Nov 2016 17:47:49 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <5823BCA3.2020202@caviumnetworks.com> References: <5823BCA3.2020202@caviumnetworks.com> From: "Jason A. Donenfeld" Date: Thu, 10 Nov 2016 02:47:47 +0100 Message-ID: To: David Daney Content-Type: text/plain; charset=UTF-8 Cc: linux-mips@linux-mips.org, LKML , linux-mm@kvack.org, Thomas Gleixner , WireGuard mailing list Subject: Re: [WireGuard] Proposal: HAVE_SEPARATE_IRQ_STACK? List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Nov 10, 2016 at 1:17 AM, David Daney wrote: > Easiest thing to do would be to select 16K page size in your .config, I > think that will give you a similar sized stack. I didn't realize that was possible... I'm mostly concerned about the best way to deal with systems that have a limited stack size on architectures without support for separate irq stacks. Part of this I assume involves actually detecting with a processor definition that the current architecture has a deceptively small stack.