* Exhaustion test: 4 streams sharing only 8 buffers under heavy load */
| 387 | * Exhaustion test: 4 streams sharing only 8 buffers under heavy load |
| 388 | */ |
| 389 | static int test_shared_exhaust(void) |
| 390 | { |
| 391 | int sends[NR_STREAMS]; |
| 392 | int i; |
| 393 | |
| 394 | if (no_buf_ring || no_mshot_recv) |
| 395 | return T_EXIT_SKIP; |
| 396 | |
| 397 | for (i = 0; i < NR_STREAMS; i++) |
| 398 | sends[i] = NR_SENDS_EXHAUST; |
| 399 | |
| 400 | return run_shared_test(NR_BUFS_SMALL, sends); |
| 401 | } |
| 402 | |
| 403 | /* |
| 404 | * Uneven test: one heavy stream (128 sends), three light streams (8 sends) |
no test coverage detected