summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2026-01-20 18:18:51 -0800
committerJohn Johansen <john.johansen@canonical.com>2026-01-29 01:27:55 -0800
commit0b6a6b72b329c34a13a13908d5e8df9fb46eaa1f (patch)
treefb6a28ea756a64d33849de444c5e3d57e3c820ee /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent640cf2f09575c9dc344b3f7be2498d31e3923ead (diff)
apparmor: document the buffer hold, add an overflow guard
The buffer hold is a measure of contention, but it is tracked per cpu where the lock is a globabl resource. On some systems (eg. real time) there is no guarantee that the code will be on the same cpu pre, and post spinlock acquisition, nor that the buffer will be put back to the same percpu cache when we are done with it. Because of this the hold value can move asynchronous to the buffers on the cache, meaning it is possible to underflow, and potentially in really pathelogical cases overflow. Reviewed-by: Georgia Garcia <georgia.garcia@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions