dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/include
Zach Brown 20dcae3243 [PATCH] aio: remove kioctx from mm_struct
Sync iocbs have a life cycle that don't need a kioctx.  Their retrying, if
any, is done in the context of their owner who has allocated them on the
stack.

The sole user of a sync iocb's ctx reference was aio_complete() checking for
an elevated iocb ref count that could never happen.  No path which grabs an
iocb ref has access to sync iocbs.

If we were to implement sync iocb cancelation it would be done by the owner of
the iocb using its on-stack reference.

Removing this chunk from aio_complete allows us to remove the entire kioctx
instance from mm_struct, reducing its size by a third.  On a i386 testing box
the slab size went from 768 to 504 bytes and from 5 to 8 per page.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Acked-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-13 18:14:16 -08:00
..
acpi
asm-alpha [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-arm [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-arm26 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-cris [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-frv [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-generic [PATCH] RapidIO support: core base 2005-11-07 07:53:46 -08:00
asm-h8300 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-i386 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-ia64 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-m32r [PATCH] consolidate sys_ptrace() 2005-11-07 07:53:42 -08:00
asm-m68k [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-m68knommu [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-mips [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-parisc [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-powerpc [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-ppc [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
asm-ppc64 [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel 2005-11-11 22:25:39 +11:00
asm-s390 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sh [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sh64 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sparc [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-sparc64 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-um [PATCH] uml: maintain own LDT entries 2005-11-07 07:53:31 -08:00
asm-v850 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-x86_64 [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
asm-xtensa [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
keys [PATCH] Keys: Export user-defined keyring operations 2005-10-30 17:37:22 -08:00
linux [PATCH] aio: remove kioctx from mm_struct 2005-11-13 18:14:16 -08:00
math-emu
media [PATCH] V4L: 904: added dvb support for tda8275a philips tiger reference design 2005-11-09 07:56:30 -08:00
mtd [MTD] user-abi: Clean up trailing white spaces 2005-11-07 14:43:11 +01:00
net [SCTP]: Include ulpevents in socket receive buffer accounting. 2005-11-11 16:08:24 -08:00
pcmcia [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
rdma [IB] uverbs: have kernel return QP capabilities 2005-11-10 10:22:50 -08:00
rxrpc [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
scsi [SCSI] use a completion in scsi_send_eh_cmnd 2005-11-06 12:49:36 -06:00
sound [ALSA] version 1.0.10rc3 2005-11-07 14:35:14 +01:00
video [PATCH] drivers/video: Replace custom macro with isdigit() 2005-09-13 08:22:33 -07:00