From: "Jan Beulich" Subject: struct page_info on x86-64 Date: Tue, 03 Apr 2007 10:13:57 +0100 Message-ID: <461236F5.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I am getting the impression that struct page_info could (in the default case) be reduced from 40 to 32 bytes after the 3.0.4/5 changes, which no longer appear to require type_info and shadow_flags to be unsigned long (they could both be unsigned int aka u32). The only hindrance then is cpumask_t being defined as an array of longs, whereas this doesn't really need to be 64 bits wide unless NR_CPUS exceeds 32. Is it worth trying to change cpumask_t for that purpose (improving performance of frame table accesses as well as bumping supportable memory from approximately 1.6Tb to 2Tb)? Jan