diff options
author | David S. Miller <davem@davemloft.net> | 2015-11-23 12:36:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-23 12:36:09 -0500 |
commit | 930d3142b87a5c08b4dd00a97d503b6d412a9fda (patch) | |
tree | 9dff531c5029aae25ba4d03faa9610c1d16b6b57 /net/atm | |
parent | 3d40e44361eab3dd6c969241d12dac7466eb7174 (diff) | |
parent | d662e037fc88b187494a95b5bc19b3c0e9b9ea36 (diff) | |
download | linux-930d3142b87a5c08b4dd00a97d503b6d412a9fda.tar.bz2 |
Merge branch 'rhashtable-test-enhancements'
Phil Sutter says:
====================
improve fault-tolerance of rhashtable runtime-test
The following series aims to improve lib/test_rhashtable in different
situations:
Patch 1 allows the kernel to reschedule so the test does not block too
long on slow systems.
Patch 2 fixes behaviour under pressure, retrying inserts in non-permanent
error case (-EBUSY).
Patch 3 auto-adjusts the upper table size limit according to the number
of threads (in concurrency test). In fact, the current default is
already too small.
Patch 4 makes it possible to retry inserts even in supposedly permanent
error case (-ENOMEM) to expose rhashtable's remaining problem of
-ENOMEM being not as permanent as it is expected to be.
Changes since v1:
- Introduce insert_retry() which is then used in single-threaded test as
well.
- Do not retry inserts by default if -ENOMEM was returned.
- Rename the retry counter to be a bit more verbose about what it
contains.
- Add patch 4 as a debugging aid.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions