android_kernel_xiaomi_sm8350/include
Eric Dumazet 83b7b44e1c [PATCH] fs: reorder some 'struct inode' fields to speedup i_size manipulations
On 32bits SMP platforms, 64bits i_size is protected by a seqcount
(i_size_seqcount).

When i_size is read or written, i_size_seqcount is read/written as well, so
it make sense to group these two fields together in the same cache line.

This patch moves i_size_seqcount next to i_size, and also moves i_version
to let offsetof(struct inode, i_size) being 0x40 instead of 0x3c (for
32bits platforms).

For 64 bits platforms, i_size_seqcount doesnt exist, and the move of a
'long i_version' should not introduce a new hole because of padding.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:41 -08:00
..
acpi [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
asm-alpha [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-arm [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-arm26 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-avr32 [PATCH] Centralise definitions of sector_t and blkcnt_t 2006-12-04 19:41:15 -08:00
asm-cris
asm-frv [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-generic [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
asm-h8300 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-i386 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-ia64 [PATCH] numa node ids are int, page_to_nid and zone_to_nid should return int 2006-12-07 08:39:23 -08:00
asm-m32r [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-m68k [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-m68knommu [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-mips [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-parisc [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
asm-powerpc [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
asm-ppc [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00
asm-s390 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-sh [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-sh64 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-sparc [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-sparc64 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-um
asm-v850 [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
asm-x86_64 [PATCH] declare smp_call_function_single in generic code 2006-12-07 08:39:38 -08:00
asm-xtensa [PATCH] remove kernel syscalls 2006-12-07 08:39:37 -08:00
crypto
keys
linux [PATCH] fs: reorder some 'struct inode' fields to speedup i_size manipulations 2006-12-07 08:39:41 -08:00
math-emu
media
mtd
net [PATCH] lockdep: annotate nfs/nfsd in-kernel sockets 2006-12-07 08:39:30 -08:00
pcmcia [PATCH] pcmcia: multifunction card handling fixes 2006-12-04 20:09:15 -05:00
rdma
rxrpc
scsi [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
sound Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 17:01:28 +00:00
video
Kbuild