commit | c7a3589e7a1f8fdbd2536fe1bfa60b37f5121c69 | [log] [tgz] |
---|---|---|
author | Mike Travis <travis@sgi.com> | Sat Jan 10 21:58:11 2009 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Sun Jan 11 19:13:25 2009 +0100 |
tree | facf804f00b7de20fd5d79dde7e46c78e3b1ed5c | |
parent | d38b223c86db3162dc85b5a1997ac8a210e1660b [diff] |
Xen: reduce memory required for cpu_evtchn_mask Impact: reduce memory usage. Reduce this significant gain in the amount of memory used when NR_CPUS bumped from 128 to 4096 by allocating the array based on nr_cpu_ids: 65536 +2031616 2097152 +3100% cpu_evtchn_mask(.bss) Signed-off-by: Mike Travis <travis@sgi.com> Cc: Jeremy Fitzhardinge <jeremy@xensource.com> Cc: Chris Wright <chrisw@sous-sol.org> Cc: virtualization@lists.osdl.org Cc: xen-devel@lists.xensource.com