aboutsummaryrefslogtreecommitdiff
path: root/block/vhdx-endian.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2014-07-15 16:44:25 +0200
committerKevin Wolf <kwolf@redhat.com>2014-08-15 15:07:14 +0200
commitc2e50e3d11a0bf4c973cc30478c1af0f2d5f8e81 (patch)
tree1a825a1c605343e093dde7b3db50530fa25518cf /block/vhdx-endian.c
parent2a87151fb2725658f7419038a80f91065159f34b (diff)
thread-pool: avoid per-thread-pool EventNotifier
EventNotifier is implemented using an eventfd or pipe. It therefore consumes file descriptors, which can be limited by rlimits and should therefore be used sparingly. Switch from EventNotifier to QEMUBH in thread-pool.c. Originally EventNotifier was used because qemu_bh_schedule() was not thread-safe yet. Reported-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/vhdx-endian.c')
0 files changed, 0 insertions, 0 deletions