qemu-e2k/include/qemu
Paolo Bonzini f6d153f1bf rcu: optimize rcu_read_lock
rcu_read_lock cannot change rcu_gp_ongoing from true to false
(the previous value of p_rcu_reader->ctr is zero), hence
there is no need to check p_rcu_reader->waiting and wake up
a concurrent synchronize_rcu.

While at it mark the wakeup as unlikely in rcu_read_unlock.

Reviewed-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1450265542-4323-1-git-send-email-pbonzini@redhat.com>
2015-12-17 17:33:49 +01:00
..
acl.h
atomic.h atomics: add explicit compiler fence in __atomic memory barriers 2015-06-05 19:45:13 +02:00
bitmap.h bitmap: add atomic test and clear 2015-06-05 17:10:00 +02:00
bitops.h bitmap: add atomic set functions 2015-06-05 17:10:00 +02:00
bswap.h
buffer.h buffer: allow a buffer to shrink gracefully 2015-11-05 09:09:58 +01:00
compatfd.h util: Remove unused functions 2015-04-30 16:05:48 +03:00
compiler.h compiler.h: Use glue() in QEMU_BUILD_BUG_ON define 2015-08-19 16:29:53 +01:00
config-file.h
coroutine_int.h coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coroutine.h coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
crc32c.h
envlist.h
error-report.h
event_notifier.h util: const event_notifier_get_fd() argument 2015-10-24 18:02:49 +02:00
fifo8.h
fprintf-fn.h Stop including qemu-common.h in memory.h 2015-07-06 14:59:09 +02:00
hbitmap.h util/hbitmap: Add an API to reset all set bits in hbitmap 2015-06-23 15:06:16 +01:00
host-utils.h host-utils: Add revbit functions 2015-09-15 07:45:33 -07:00
int128.h
iov.h iov: don't touch iov in iov_send_recv() 2015-06-23 16:05:34 +01:00
log.h user: introduce "-d page" 2015-12-17 17:33:48 +01:00
main-loop.h iohandler: Use aio API 2015-09-07 18:14:03 +02:00
memfd.h vhost: add migration block if memfd failed 2015-10-22 14:34:49 +03:00
mmap-alloc.h util/mmap-alloc: fix hugetlb support on ppc64 2015-12-02 22:38:23 +02:00
module.h
notify.h
option_int.h
option.h typedef: add typedef for QemuOpts 2015-09-25 12:04:45 +02:00
osdep.h osdep: Change default value of qemu_hw_version() to "2.5+" 2015-11-25 13:42:37 +02:00
queue.h block: Remove bdrv_swap() 2015-10-16 15:34:30 +02:00
range.h
ratelimit.h
rcu_queue.h rcu: introduce RCU-enabled QLIST 2015-02-16 17:30:19 +01:00
rcu.h rcu: optimize rcu_read_lock 2015-12-17 17:33:49 +01:00
readline.h
rfifolock.h
seqlock.h seqlock: read sequence number atomically 2015-09-07 18:12:39 +02:00
sockets.h sockets: move qapi_copy_SocketAddress into qemu-sockets.c 2015-10-20 14:15:48 +01:00
thread-posix.h
thread-win32.h qemu-thread: add a fast path to the Win32 QemuEvent 2015-09-24 20:52:28 +02:00
thread.h
throttle.h throttle: refuse bps_max/iops_max without bps/iops 2015-08-05 12:53:48 +01:00
timed-average.h block: Add average I/O queue depth to BlockDeviceTimedStats 2015-11-12 16:22:46 +01:00
timer.h s/cpu_get_real_ticks/cpu_get_host_ticks/ 2015-10-08 19:46:01 +03:00
typedefs.h qapi: Convert QType into QAPI built-in enum type 2015-12-17 08:21:28 +01:00
uri.h
xattr.h