Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753126AbaFMIZo (ORCPT ); Fri, 13 Jun 2014 04:25:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28525 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752715AbaFMIZm (ORCPT ); Fri, 13 Jun 2014 04:25:42 -0400 Date: Fri, 13 Jun 2014 16:24:59 +0800 From: WANG Chao To: Borislav Petkov Cc: Vivek Goyal , Dave Young , mjg59@srcf.ucam.org, bhe@redhat.com, jkosina@suse.cz, greg@kroah.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, ebiederm@xmission.com, hpa@zytor.com, akpm@linux-foundation.org Subject: Re: [PATCH 07/13] kexec: Implementation of new syscall kexec_file_load Message-ID: <20140613082459.GL15034@dhcp-17-89.nay.redhat.com> References: <1401800822-27425-1-git-send-email-vgoyal@redhat.com> <1401800822-27425-8-git-send-email-vgoyal@redhat.com> <20140606065605.GE2785@dhcp-17-89.nay.redhat.com> <20140606181859.GK1526@redhat.com> <20140609021122.GB1924@darkstar.nay.redhat.com> <20140609053538.GA2874@dhcp-17-89.nay.redhat.com> <20140609154137.GD22049@redhat.com> <20140613075011.GA4751@pd.tnic> <20140613080028.GK15034@dhcp-17-89.nay.redhat.com> <20140613081050.GB4751@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140613081050.GB4751@pd.tnic> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/13/14 at 10:10am, Borislav Petkov wrote: > On Fri, Jun 13, 2014 at 04:00:28PM +0800, WANG Chao wrote: > > By greping for COMMAND_LINE_SIZE for different arch, I think 8K being > > the fallback, in general, is good for now and the future: > > Why - we could simply use the arch default one. Emm.. I'm not sure, but I think there might be a chance that COMMAND_LINE_SIZE extend in the future. In general 8K is safe to use, because the current greatest one is 4K. -- 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/