android_kernel_xiaomi_sm8350/arch/ia64/mm
Tony Luck 6c57a33290 [IA64] __per_cpu_idtrs[] is a memory hog
__per_cpu_idtrs is statically allocated ... on CONFIG_NR_CPUS=4096
systems it hogs 16MB of memory. This is way too much for a quite
probably unused facility (only KVM uses dynamic TR registers).

Change to an array of pointers, and allocate entries as needed on
a per cpu basis.  Change the name too as the __per_cpu_ prefix is
confusing (this isn't a classic <linux/percpu.h> type object).

Signed-off-by: Tony Luck <tony.luck@intel.com>
2010-01-07 16:10:57 -08:00
..
contig.c ia64: convert to dynamic percpu allocator 2009-10-02 13:28:56 +09:00
discontig.c percpu: make percpu symbols in ia64 unique 2009-10-29 22:34:14 +09:00
extable.c [IA64] fix compile error in arch/ia64/mm/extable.c 2009-06-15 09:17:50 -07:00
fault.c Move FAULT_FLAG_xyz into handle_mm_fault() callers 2009-06-21 13:08:22 -07:00
hugetlbpage.c
init.c [IA64] use helpers for rlimits 2010-01-06 15:49:06 -08:00
ioremap.c implement early_io{re,un}map for ia64 2009-12-16 02:45:10 +00:00
Makefile
numa.c
tlb.c [IA64] __per_cpu_idtrs[] is a memory hog 2010-01-07 16:10:57 -08:00