From: Eric Dumazet Date: Sun, 8 Jan 2006 09:03:40 +0000 (-0800) Subject: [PATCH] remove unused blkp field in percpu_data X-Git-Tag: v2.6.16-rc1~744 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f867bac65419a98c9682f4409e087582d29ec5f6;p=pandora-kernel.git [PATCH] remove unused blkp field in percpu_data I found that blkp field was not used in kernel tree. As most of the times NR_CPUS is a power of two and kmalloc() memory blocks too, this extra field basically doubles the memory space allocated in __alloc_percpu() to store the 'struct percpu_data' (for example, if NR_CPUS=8 on i386, kmalloc(4*8+4) returns a 64 bytes block instead of a 32 bytes block after this patch) Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed