]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
shmem: allow shmem to use all memory
authorAlex Van Brunt <avanbrunt@nvidia.com>
Mon, 18 May 2015 16:27:07 +0000 (09:27 -0700)
committerIshan Mittal <imittal@nvidia.com>
Fri, 1 Apr 2016 05:53:36 +0000 (11:23 +0530)
commit9c5554cf07c96b60970d2fbaf0a607660d3b1e72
tree13ad891f6b55109305e356e3fa9b7dfcc070f9ea
parentda8cabe1566fd3234f4e8fe3349be922332bddb8
shmem: allow shmem to use all memory

By default, shmem can only allocate half of memory. This prevents
large initramfs's from being able to be loaded. This adds an option to
allow shmem to use all of the memory.

Change-Id: I60fa9c1d5f990fe8cebb5c35b95d5824199c72fa
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/743866
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/1115949
Reviewed-by: Vandana Salve <vsalve@nvidia.com>
Tested-by: Vandana Salve <vsalve@nvidia.com>
init/Kconfig
mm/shmem.c