From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752508AbbE0PTv (ORCPT ); Wed, 27 May 2015 11:19:51 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:35170 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520AbbE0PTu convert rfc822-to-8bit (ORCPT ); Wed, 27 May 2015 11:19:50 -0400 Subject: Re: [RFC PATCH 1/2] kernel/fork.c: add a function to calculate page address from thread_info Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Jungseok Lee In-Reply-To: Date: Thu, 28 May 2015 00:19:44 +0900 Cc: LKML , "linux-mm@kvack.org" , barami97@gmail.com, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 8BIT Message-Id: References: <1432483292-23109-1-git-send-email-jungseoklee85@gmail.com> To: KOSAKI Motohiro 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 12:49 PM, KOSAKI Motohiro wrote: Hello, KOSAKI, > On Sun, May 24, 2015 at 12:01 PM, Jungseok Lee wrote: >> A current implementation assumes thread_info address is always correctly >> calculated via virt_to_page. It restricts a different approach, such as >> thread_info allocation from vmalloc space. >> >> This patch, thus, introduces an independent function to calculate page >> address from thread_info one. >> >> Suggested-by: Sungjinn Chung >> Signed-off-by: Jungseok Lee >> Cc: KOSAKI Motohiro >> Cc: linux-arm-kernel@lists.infradead.org >> --- >> kernel/fork.c | 7 ++++++- >> 1 file changed, 6 insertions(+), 1 deletion(-) > > I haven't receive a path [2/2] and haven't review whole patches. But > this patch itself is OK to me. > Acked-by: KOSAKI Motohiro Thanks! I didn't add you to Cc list since [PATCH 2/2] is architecture specific. According to the feedbacks, it is needed to figure out fundamental solutions: 1) reduce stack size and 2) focus on a generic anti-fragmentation logic. Please refer to https://lkml.org/lkml/2015/5/24/121 for [PATCH 2/2]. Best Regards Jungseok Lee