From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751702AbbE0QFu (ORCPT ); Wed, 27 May 2015 12:05:50 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:35636 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751322AbbE0QFs convert rfc822-to-8bit (ORCPT ); Wed, 27 May 2015 12:05:48 -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: <3176422.FWpfrlzXOV@wuerfel> Date: Thu, 28 May 2015 01:05:42 +0900 Cc: linux-arm-kernel@lists.infradead.org, Sergey Senozhatsky , Minchan Kim , Catalin Marinas , barami97@gmail.com, Will Deacon , linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Transfer-Encoding: 8BIT Message-Id: References: <1432483340-23157-1-git-send-email-jungseoklee85@gmail.com> <20150527041015.GB11609@blaptop> <20150527062250.GD3928@swordfish> <3176422.FWpfrlzXOV@wuerfel> To: Arnd Bergmann X-Mailer: Apple Mail (2.1283) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On May 27, 2015, at 4:31 PM, Arnd Bergmann wrote: > On Wednesday 27 May 2015 15:22:50 Sergey Senozhatsky wrote: >> On (05/27/15 13:10), Minchan Kim wrote: >>> On Tue, May 26, 2015 at 08:29:59PM +0900, Jungseok Lee wrote: >>>> >>>> if (test_thread_flag(TIF_MEMDIE) && !(gfp_mask & __GFP_NOFAIL)) >>>> goto nopage; >>>> >>>> IMHO, a reclaim operation would be not needed in this context if memory is >>>> allocated from vmalloc space. It means there is no need to traverse shrinker list. >>> >>> For making fork successful with using vmalloc, it's bandaid. > > Right. Thanks for a clear feedback! It sounds like Catalin's idea should be considered seriously in ARM64 perspective. Best Regards Jungseok Lee