Re: mmotm 2010-10-20-15-01 uploaded
From: Peter Zijlstra
Date: Thu Oct 21 2010 - 05:54:40 EST
On Thu, 2010-10-21 at 00:30 -0700, Andrew Morton wrote:
> btw, it's a bit sad to use KM_TYPE_NR*NR_CPUS pages of virtual address
> space for kmap_atomic(). I'd expect that distros set NR_CPUS quite
> large (Fedora has 256). That's 20MB of virtual address space consumed,
> I think.
>
> And we consume it on non-highmem kernels, too...
I guess its something to look at, luckily i386 kernels tend to have
small NR_CPUS and x86_64 kernels have gobs of vaddr space so its not
really a problem, but yeah would be nice to fix.
--
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/