diff options
author | Tony Luck <tony.luck@intel.com> | 2010-01-08 03:10:57 +0300 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-01-08 03:10:57 +0300 |
commit | 6c57a332901f851bd092aba7a2b4d8ef4e643829 (patch) | |
tree | 049e913b0c7b4c678ba699ac02f62e16db8cb515 /kernel/audit_watch.c | |
parent | 410dc0aac63d1500faeabcbaecce4f4266380ed1 (diff) | |
download | linux-6c57a332901f851bd092aba7a2b4d8ef4e643829.tar.xz |
[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>
Diffstat (limited to 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions