From: Mike Travis Date: Sun, 11 Jan 2009 05:58:11 +0000 (-0800) Subject: Xen: reduce memory required for cpu_evtchn_mask X-Git-Tag: v2.6.30-rc1~3^2~6^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a3589e7a1f8fdbd2536fe1bfa60b37f5121c69;p=pandora-kernel.git 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 Cc: Jeremy Fitzhardinge Cc: Chris Wright Cc: virtualization@lists.osdl.org Cc: xen-devel@lists.xensource.com --- Reading git-diff-tree failed