aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-04-15 11:19:58 -0700
committerJakub Kicinski <kuba@kernel.org>2024-04-15 11:19:58 -0700
commit77c842caa772044db9f8517a03d33df779f9517c (patch)
treec35d85cdf08a651df1049f026d4e6c4eb2dcd178 /fs
parent444cde13826bb4d3f9fdf829bf5e2f7bb03d9c32 (diff)
parent4ba67ef3a1fbb7d8dc5f00de9b93a583d05b38cc (diff)
Merge branch 'net-dqs-optimize-if-stall-threshold-is-not-set'
Breno Leitao says: ==================== net: dqs: optimize if stall threshold is not set Here are four patches aimed at enhancing the Dynamic Queue Limit (DQL) subsystem within the networking stack. The first two commits involve code refactoring, while the third patch introduces the actual change. The fourth patch just improves the cache locality. Typically, when DQL is enabled, stall information is always populated through dql_queue_stall(). However, this information is only necessary if a stall threshold is set, which is stored in struct dql->stall_thrs. Although dql_queue_stall() is relatively inexpensive, it is not entirely free due to memory barriers and similar overheads. To optimize performance, refrain from calling dql_queue_stall() when no stall threshold is set, thus avoiding the processing of unnecessary information. v1: https://lore.kernel.org/all/20240404145939.3601097-1-leitao@debian.org/ ==================== Link: https://lore.kernel.org/r/20240411192241.2498631-1-leitao@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions