diff options
author | 2014-12-08 19:17:56 +1100 | |
---|---|---|
committer | 2014-12-12 13:06:47 +1100 | |
commit | a98e6e9f4e0224d85b4d951edc44af16dfe6094a (patch) | |
tree | 9278fae691319e781d42d0278038786da3e449df /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cxl: Change contexts_lock to a mutex to fix sleep while atomic bug (diff) | |
download | linux-dev-a98e6e9f4e0224d85b4d951edc44af16dfe6094a.tar.xz linux-dev-a98e6e9f4e0224d85b4d951edc44af16dfe6094a.zip |
cxl: Add timeout to process element commands
In the event that something goes wrong in the hardware and it is unable
to complete a process element comment we would end up polling forever,
effectively making the associated process unkillable.
This patch adds a timeout to the process element command code path, so
that we will give up if the hardware does not respond in a reasonable
time.
Cc: stable@vger.kernel.org
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions