Re: [PATCH 00/11] x86, memblock: Allocate memory near kernel imagebefore SRAT parsed.

From: Tejun Heo
Date: Mon Sep 09 2013 - 09:58:26 EST


Hello,

On Mon, Sep 09, 2013 at 07:56:34PM +0800, Wanpeng Li wrote:
> If allocate from low to high as what this patchset done will occupy the
> precious memory you mentioned?

Yeah, and that'd be the reason why this behavior is dependent on a
kernel option. That said, allocating some megs on top of kernel isn't
a big deal. The wretched ISA DMA is mostly gone now and some megs
isn't gonna hurt 32bit DMAs in any noticeable way. I wouldn't be too
surprised if nobody notices after switching the default behavior to
allocate early mem close to kernel. Maybe the only case which might
be impacted is 32bit highmem configs, but they're messed up no matter
what anyway and even they shouldn't be affected noticeably if large
mapping is in use.

Thanks.

--
tejun
--
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/