diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-07-14 09:48:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-16 15:09:26 +0100 |
commit | 5261c5b5bde25a5e4b2e9268ee401071a187468b (patch) | |
tree | 65ed20a3e9d6616ed9f91228bdcb437a5f179384 /README.hardware | |
parent | 723411dd92931de01d4e3b08a79638097bc2214f (diff) | |
download | poky-5261c5b5bde25a5e4b2e9268ee401071a187468b.tar.gz |
bitbake: lib/bb/process: check output of select() before reading extrafiles
We're calling select() to find the fds that have data available, so we
really ought to check the return to see if the extra file is in there
before trying to read from it. This is part of the fix for the
performance regression that this code introduced (5-10 minutes extra in
a reasonable size OE build); the rest is down to an issue in the way
that pseudo currently handles FIFOs and will need to be addressed there,
see: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7993
Solution suggested by Richard Purdie <richard.purdie@linuxfoundation.org>
(Bitbake rev: 3e2db8d7eaa0f14813213d1c95d3ee9efd97dc9d)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.hardware')
0 files changed, 0 insertions, 0 deletions