linux_old1/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 [S390] guest page hinting light 2008-05-07 09:23:02 +02:00
cmm.c [S390] cmm: remove unused binary sysctls. 2007-11-20 11:13:45 +01:00
extmem.c [S390] convert dcssblk and extmem printks messages to pr_xxx macros. 2008-12-25 13:39:23 +01:00
fault.c [S390] System z large page support. 2008-04-30 13:38:47 +02:00
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
mmap.c [S390] dynamic page tables. 2008-02-09 18:24:41 +01:00
page-states.c [S390] guest page hinting light 2008-05-07 09:23:02 +02:00
pgtable.c aio: make the lookup_ioctx() lockless 2008-12-29 08:29:50 +01:00
vmem.c [S390] vmemmap: fix off-by-one bug. 2008-06-10 10:03:27 +02:00