aboutsummaryrefslogtreecommitdiff
path: root/net/sched/cls_basic.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linuxfoundation.org>2024-02-04 15:25:12 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2024-02-20 09:38:05 -0800
commit944d5fe50f3f03daacfea16300e656a1691c4a23 (patch)
treec68e71fe16481d79f0e96fb47c94799a0a25920f /net/sched/cls_basic.c
parentb401b621758e46812da61fa58a67c3fd8d91de0d (diff)
sched/membarrier: reduce the ability to hammer on sys_membarrier
On some systems, sys_membarrier can be very expensive, causing overall slowdowns for everything. So put a lock on the path in order to serialize the accesses to prevent the ability for this to be called at too high of a frequency and saturate the machine. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-and-tested-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Acked-by: Borislav Petkov <bp@alien8.de> Fixes: 22e4ebb97582 ("membarrier: Provide expedited private command") Fixes: c5f58bd58f43 ("membarrier: Provide GLOBAL_EXPEDITED command") Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions