aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKan Liang <[email protected]>2018-01-18 21:26:22 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-02-15 12:53:15 +0000
commitee023de05f35484691f7d9e5c1f92195ac4d64d2 (patch)
tree8a8457fb8ee19410155576a65f6f197c0d53342f /net/unix/af_unix.c
parentperf mmap: Discard 'prev' in perf_mmap__read() (diff)
downloadkernel-ee023de05f35484691f7d9e5c1f92195ac4d64d2.tar.gz
kernel-ee023de05f35484691f7d9e5c1f92195ac4d64d2.zip
perf mmap: Introduce perf_mmap__read_done()
The direction of overwrite mode is backward. The last perf_mmap__read() will set tail to map->prev. Need to correct the map->prev to head which is the end of next read. It will be used later. Signed-off-by: Kan Liang <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jin Yao <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions