linux/arch/s390/mm
Jens Axboe abf137dd77 aio: make the lookup_ioctx() lockless
The mm->ioctx_list is currently protected by a reader-writer lock,
so we always grab that lock on the read side for doing ioctx
lookups. As the workload is extremely reader biased, turn this into
an rcu hlist so we can make lookup_ioctx() lockless. Get rid of
the rwlock and use a spinlock for providing update side exclusion.

There's usually only 1 entry on this list, so it doesn't make sense
to look into fancier data structures.

Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-12-29 08:29:50 +01:00
..
cmm.c
extmem.c [S390] convert dcssblk and extmem printks messages to pr_xxx macros. 2008-12-25 13:39:23 +01:00
fault.c
hugetlbpage.c hugetlb: introduce pud_huge 2008-07-24 10:47:18 -07:00
init.c mm: cleanup to make remove_memory() arch-neutral 2008-10-20 08:50:25 -07:00
Makefile
mmap.c
page-states.c
pgtable.c aio: make the lookup_ioctx() lockless 2008-12-29 08:29:50 +01:00
vmem.c