summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2018-09-18 00:52:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-18 15:42:24 +0200
commitfe32416790093b31364c08395727de17ec96ace1 (patch)
tree760bb7b980b486ab93baca770b23de6df8818500 /tools/perf/scripts/python/bin/stackcollapse-record
parentbe28c1e3ca29887e207f0cbcd294cefe5074bab6 (diff)
downloadkernel-fe32416790093b31364c08395727de17ec96ace1.tar.gz
tty: Drop tty->count on tty_reopen() failure
In case of tty_ldisc_reinit() failure, tty->count should be decremented back, otherwise we will never release_tty(). Tetsuo reported that it fixes noisy warnings on tty release like: pts pts4033: tty_release: tty->count(10529) != (#fd's(7) + #kopen's(0)) Fixes: commit 892d1fa7eaae ("tty: Destroy ldisc instance on hangup") Cc: stable@vger.kernel.org # v4.6+ Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Reviewed-by: Jiri Slaby <jslaby@suse.cz> Tested-by: Jiri Slaby <jslaby@suse.com> Tested-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
504263cb2'>Merge tag 'drm-fixes-2024-12-07' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds 2024-12-04Merge tag 'drm-misc-fixes-2024-11-28' of https://gitlab.freedesktop.org/drm/m...Dave Airlie 2024-12-04Merge tag 'drm-misc-fixes-2024-11-21' of https://gitlab.freedesktop.org/drm/m...Dave Airlie 2024-12-02module: Convert symbol namespace to string literalPeter Zijlstra 2024-11-25dma-buf: fix dma_fence_array_signaled v4Christian König 2024-11-15dma-fence: Use kernel's sort for merging fencesTvrtko Ursulin 2024-11-15dma-fence: Fix reference leak on fence merge failure pathTvrtko Ursulin 2024-10-14dma-buf: Use atomic64_inc_return() in dma_buf_getfile()Uros Bizjak 2024-10-14dma-buf/heaps: replace kmap_atomic with kmap_local_pagePintu Kumar 2024-10-14dma-buf: fix S_IRUGO to 0444, block comments, func declarationPintu Kumar 2024-10-09dma-buf/sw_sync: remove pointless enable_signaling implementationChristian König 2024-10-09dma-buf: add WARN_ON() illegal dma-fence signalingChristian König 2024-09-30Merge drm/drm-next into drm-misc-nextThomas Zimmermann 2024-09-23dma-buf: Add syntax highlighting to code listings in the documentTommy Chiang 2024-09-20udmabuf: reuse folio array when pin foliosHuan Yang 2024-09-20udmabuf: remove udmabuf_folioHuan Yang 2024-09-20udmabuf: introduce udmabuf init and deinit helperHuan Yang 2024-09-20udmabuf: udmabuf_create pin folio codestyle cleanupHuan Yang 2024-09-20udmabuf: fix vmap_udmabuf error page setHuan Yang 2024-09-20udmabuf: change folios array from kmalloc to kvmallocHuan Yang 2024-09-20udmabuf: pre-fault when first page faultHuan Yang 2024-09-20dma-buf/dma-fence: Use a successful read_trylock() annotation for dma_fence_b...Thomas Hellström 2024-09-19Merge tag 'drm-next-2024-09-19' of https://gitlab.freedesktop.org/drm/kernelLinus Torvalds 2024-09-17Merge tag 'timers-core-2024-09-16' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds 2024-09-11Merge drm/drm-next into drm-misc-nextThomas Zimmermann 2024-09-09dma-buf: heaps: Add __init to CMA and system heap module_init functionsT.J. Mercier 2024-09-09dma-buf: heaps: Fix off-by-one in CMA heap fault handlerT.J. Mercier 2024-09-08treewide: Fix wrong singular form of jiffies in commentsAnna-Maria Behnsen 2024-08-30dma-buf: Split out dma fence array create into alloc and arm functionsMatthew Brost 2024-08-08Merge tag 'drm-misc-next-2024-08-01' of https://gitlab.freedesktop.org/drm/mi...Daniel Vetter