From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934518AbbJHQvY (ORCPT ); Thu, 8 Oct 2015 12:51:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48699 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933270AbbJHQvV (ORCPT ); Thu, 8 Oct 2015 12:51:21 -0400 Date: Thu, 8 Oct 2015 22:21:18 +0530 From: Pratyush Anand To: Jungseok Lee Cc: catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, james.morse@arm.com, takahiro.akashi@linaro.org, mark.rutland@arm.com, barami97@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/2] arm64: Introduce IRQ stack Message-ID: <20151008165118.GC10912@dhcppc13.redhat.com> References: <1444231692-32722-1-git-send-email-jungseoklee85@gmail.com> <1444231692-32722-2-git-send-email-jungseoklee85@gmail.com> <20151008102520.GA10912@dhcppc13.redhat.com> <66863807-964F-41D1-9788-D0FD8E79ADB6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66863807-964F-41D1-9788-D0FD8E79ADB6@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jungseok, On 08/10/2015:11:32:43 PM, Jungseok Lee wrote: > On Oct 8, 2015, at 7:25 PM, Pratyush Anand wrote: > > Hi Jungseok, > > Hi Pratyush, > > > > > On 07/10/2015:03:28:11 PM, Jungseok Lee wrote: > >> Currently, kernel context and interrupts are handled using a single > >> kernel stack navigated by sp_el1. This forces a system to use 16KB > >> stack, not 8KB one. This restriction makes low memory platforms suffer > >> from memory pressure accompanied by performance degradation. > > > > How will it behave on 64K Page system? There, it would take atleast 64K per cpu, > > right? > > It would take 16KB per cpu even on 64KB page system. > The following code snippet from kernel/fork.c would be helpful. Yes..Yes..its understood. Thanks for pointing to the code. ~Pratyush