> Xintian WU wrote:
>
> > Thanks mingo. I manually apply your 2GB patch to linux-2.1.77.
> > It works well at the first shot. I successfully set mem=2000m.
> > It doesn't work if I set mem=2048m, which is OK (should it be
> > a warning message instead of refusing to work silently?)
>
> Yes, this is just like "mem=1024m" on the standard kernel. That would
> overflow vmalloc-ed stuff into somewhere else. Your system can now
> only vmalloc something like 40Mb of kernel addressing space. It will
> probably be able to cope with that.
I planned to add some code to the next patch which will enforce at least
128M vmalloc() (and ioremap() ...) space ... is this enough?
-- mingo