From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.skyhub.de ([2a01:4f8:120:8448::d00d]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WvMse-0006wK-Ae for kexec@lists.infradead.org; Fri, 13 Jun 2014 08:30:37 +0000 Date: Fri, 13 Jun 2014 10:30:12 +0200 From: Borislav Petkov Subject: Re: [PATCH 07/13] kexec: Implementation of new syscall kexec_file_load Message-ID: <20140613083012.GC4751@pd.tnic> References: <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> <20140613082459.GL15034@dhcp-17-89.nay.redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140613082459.GL15034@dhcp-17-89.nay.redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: WANG Chao Cc: mjg59@srcf.ucam.org, bhe@redhat.com, greg@kroah.com, hpa@zytor.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, ebiederm@xmission.com, jkosina@suse.cz, akpm@linux-foundation.org, Dave Young , Vivek Goyal On Fri, Jun 13, 2014 at 04:24:59PM +0800, WANG Chao wrote: > 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. Sure, but kexec cannot load a kernel of different arch, can it? Which means, we're safe using the arch-specific definition of COMMAND_LINE_SIZE. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec