linux-stable-rt/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
..
Makefile
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
init.c
mmap.c
page-states.c
pgtable.c aio: make the lookup_ioctx() lockless 2008-12-29 08:29:50 +01:00
vmem.c