Re: 2.6.18-rc3-mm2 early_param mem= fix
From: Andy Whitcroft
Date: Mon Aug 07 2006 - 11:08:28 EST
Hugh Dickins wrote:
On Sun, 6 Aug 2006, Hugh Dickins wrote:
I was impressed by how fast 2.6.18-rc3-mm2 is under memory pressure,
until I noticed that my "mem=512M" boot option was doing nothing. The
two fixes below got it working, but I wonder how many other early_param
"option=" args are wrong (e.g. "memmap=" in the same file): x86_64
shows many such, i386 shows only one, I've not followed it up further.
Oh, and that's not enough for it to show up in x86_64's /proc/cmdline.
Thats one I've been chasing and is caused by this same patch. We've
lost the separation between command_line and saved_command_line and the
user visible line gets trunc'd. Andi has a later version which has this
part fixed as far as I can tell. I'm posting a dirty patch in response
to my report of this to at least get past this bit as our test system
relies on the commmand line being maintained to user space.
-apw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/