Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752602AbbEZNEx (ORCPT ); Tue, 26 May 2015 09:04:53 -0400 Received: from [209.85.220.41] ([209.85.220.41]:33479 "EHLO mail-pa0-f41.google.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751738AbbEZNEv convert rfc822-to-8bit (ORCPT ); Tue, 26 May 2015 09:04:51 -0400 Subject: Re: [RFC PATCH 2/2] arm64: Implement vmalloc based thread_info allocator Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Jungseok Lee In-Reply-To: Date: Tue, 26 May 2015 22:02:46 +0900 Cc: Arnd Bergmann , Catalin Marinas , "barami97@gmail.com" , Will Deacon , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "linux-arm-kernel@lists.infradead.org" Content-Transfer-Encoding: 8BIT Message-Id: References: <1432483340-23157-1-git-send-email-jungseoklee85@gmail.com> <5992243.NYDGjLH37z@wuerfel> To: Catalin Marinas X-Mailer: Apple Mail (2.1283) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 30 On May 26, 2015, at 1:47 AM, Catalin Marinas wrote: > On 25 May 2015, at 13:01, Jungseok Lee wrote: > >>> Could the stack size be reduced to 8KB perhaps? >> >> I guess probably not. >> >> A commit, 845ad05e, says that 8KB is not enough to cover SpecWeb benchmark. > > We could go back to 8KB stacks if we implement support for separate IRQ > stack on arm64. It's not too complicated, we would have to use SP0 for (kernel) threads > and SP1 for IRQ handlers. Definitely interesting. It looks like there are two options based on discussion. 1) Reduce the stack size with separate IRQ stack scheme 2) Figure out a generic anti-fragmentation solution Do I miss anything? I am still not sure about the first scheme as reviewing Minchan's findings repeatedly, but I agree that the item should be worked actively. Best Regards Jungseok Lee-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/