From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx132.postini.com [74.125.245.132]) by kanga.kvack.org (Postfix) with SMTP id 1A7F66B0037 for ; Fri, 30 Aug 2013 02:15:38 -0400 (EDT) Received: by mail-vb0-f45.google.com with SMTP id e15so995751vbg.4 for ; Thu, 29 Aug 2013 23:15:37 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20130830061413.GA29949@gmail.com> References: <1377841673-17361-1-git-send-email-bob.liu@oracle.com> <20130830061413.GA29949@gmail.com> Date: Fri, 30 Aug 2013 14:15:36 +0800 Message-ID: Subject: Re: [PATCH] x86: e820: fix memmap kernel boot parameter From: Bob Liu Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: Dan Aloni Cc: Linux-Kernel , Andrew Morton , hpa@linux.intel.com, Yinghai Lu , jacob.shin@amd.com, Konrad Rzeszutek Wilk , Linux-MM , Bob Liu On Fri, Aug 30, 2013 at 2:14 PM, Dan Aloni wrote: > On Fri, Aug 30, 2013 at 01:47:53PM +0800, Bob Liu wrote: >>[..] >> Machine2: bootcmdline in grub.cfg "memmap=0x77ffffff$0x880000000", the result of >> "cat /proc/cmdline" changed to "memmap=0x77ffffffx880000000". >> >> I didn't find the root cause, I think maybe grub reserved "$0" as something >> special. >> Replace '$' with '%' in kernel boot parameter can fix this issue. > > You are correct with the root cause, however I don't think the patch is needed. > > In order to bypass grub's variable evaluation you can simply use escaping > and replace $ with \$ in your grub config. > I see, thank you very much! -- Regards, --Bob -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org