aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pygrub
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2013-01-17 13:53:03 +0000
committerWei Liu <wei.liu2@citrix.com>2013-01-17 13:53:03 +0000
commitcc5434c933153c4b8812d1df901f8915c22830a8 (patch)
tree674372001352444db418e68cbf2a847fd68cc390 /tools/pygrub
parentc7861d0cbc9a140216ecc4cffe871680ba12eb54 (diff)
downloadxen-cc5434c933153c4b8812d1df901f8915c22830a8.tar.gz
xen-cc5434c933153c4b8812d1df901f8915c22830a8.tar.bz2
xen-cc5434c933153c4b8812d1df901f8915c22830a8.zip
Switch from select() to poll() in xenconsoled's IO loop
In Linux select() typically supports up to 1024 file descriptors. This can be a problem when user tries to boot up many guests. Switching to poll() has minimum impact on existing code and has better scalibility. pollfd array is dynamically allocated / reallocated. If the array fails to expand, we just ignore the incoming fd. Updated: reset *_pollfd after use. This fixes regression 14869. Also remove unused slave_pollfd in strcut domain. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/pygrub')
0 files changed, 0 insertions, 0 deletions