Files
linux-stable-mirror/include/linux
Jeff Layton 7ffc7ade2c sunrpc: introduce the concept of a minimum number of threads per pool
Add a new pool->sp_nrthrmin field to track the minimum number of threads
in a pool. Add min_threads parameters to both svc_set_num_threads() and
svc_set_pool_threads(). If min_threads is non-zero and less than the
max, svc_set_num_threads() will ensure that the number of running
threads is between the min and the max.

If the min is 0 or greater than the max, then it is ignored, and the
maximum number of threads will be started, and never spun down.

For now, the min_threads is always 0, but a later patch will pass the
proper value through from nfsd.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2026-01-28 10:15:42 -05:00
..
2026-01-11 06:09:11 -10:00
2025-12-12 12:36:44 -07:00
2025-12-04 07:19:26 -07:00
2025-12-09 23:29:42 -08:00
2025-11-21 11:21:31 +01:00
2025-12-13 20:04:32 +12:00
2025-12-16 00:57:29 -05:00
2025-12-23 11:23:10 -08:00
2026-01-11 06:09:11 -10:00
2026-01-11 06:09:11 -10:00
2025-11-23 12:30:40 +01:00
2025-11-20 13:43:59 -08:00
2026-01-14 11:00:00 +01:00
2026-01-12 10:45:31 -06:00
2026-01-11 06:09:11 -10:00
2026-01-11 06:09:11 -10:00
2025-11-27 14:24:30 -08:00
2026-01-11 06:09:11 -10:00
2025-11-28 09:21:18 -07:00
2026-01-13 11:37:52 +01:00
2025-11-27 14:22:31 +01:00
2025-11-20 17:57:40 -08:00
2025-11-25 10:07:42 +01:00
2026-01-11 06:09:11 -10:00
2025-12-24 08:02:55 -05:00
2025-11-24 15:08:54 -08:00