aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2013-06-15 09:14:21 -0400
committerGreg Kroah-Hartman <[email protected]>2013-07-23 16:43:00 -0700
commitbc5a5e3f45d047844830233fb95b19a95c864a0f (patch)
tree7d28526f720ac5460dde965c57d2fea1ed6410b3 /tools/perf/scripts/python/net_dropmonitor.py
parentce74117a1823431c86f5cb620fa852d21310feac (diff)
n_tty: Don't wrap input buffer indices at buffer size
Wrap read_buf indices (read_head, read_tail, canon_head) at max representable value, instead of at the N_TTY_BUF_SIZE. This step is necessary to allow lockless reads of these shared variables (by updating the variables atomically). Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions