linux-stable/arch/arc/mm
Noam Camus 15ca68a993 ARC: Make vmalloc size configurable
On ARC, lower 2G of address space is translated and used for
 - user vaddr space (region 0 to 5)
 - unused kernel-user gutter (region 6)
 - kernel vaddr space (region 7)

where each region simply represents 256MB of address space.

The kernel vaddr space of 256MB is used to implement vmalloc, modules
So far this was enough, but not on EZChip system with 4K CPUs (given
that per cpu mechanism uses vmalloc for allocating chunks)

So allow VMALLOC_SIZE to be configurable by expanding down into the unused
kernel-user gutter region which at default 256M was excessive anyways.

Also use _BITUL() to fix a build error since PGDIR_SIZE cannot use "1UL"
as called from assembly code in mm/tlbex.S

Signed-off-by: Noam Camus <noamc@ezchip.com>
[vgupta: rewrote changelog, debugged bootup crash due to int vs. hex]
Acked-by: Vineet Gupta <vgupta@synopsys.com>
2016-05-09 09:32:32 +05:30
..
cache.c mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros 2016-04-04 10:41:08 -07:00
dma.c ARC: dma: reintroduce platform specific dma<->phys 2016-03-19 14:34:09 +05:30
extable.c ARC: Fix coding style issues 2013-04-09 12:21:14 +05:30
fault.c ARC: mm: preps ahead of HIGHMEM support 2015-10-28 19:31:05 +05:30
highmem.c ARC: Fix misspellings in comments. 2016-03-11 14:59:53 +05:30
init.c ARC: support HIGHMEM even without PAE40 2016-05-05 16:35:46 +05:30
ioremap.c ARCv2: ioremap: Support dynamic peripheral address space 2016-03-19 14:34:10 +05:30
Makefile ARC: mm: HIGHMEM: kmap API implementation 2015-10-28 19:49:04 +05:30
mmap.c ARC: [mm] Aliasing VIPT dcache support 4/4 2013-05-09 22:00:57 +05:30
tlb.c ARC: Make vmalloc size configurable 2016-05-09 09:32:32 +05:30
tlbex.S ARC: use ASL assembler mnemonic 2015-11-14 13:12:21 +05:30