lkml.org 
[lkml]   [2021]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] block: shutdown blktrace in case of fatal signal pending
On Tue, Mar 23, 2021 at 04:14:39PM +0800, Ming Lei wrote:
> blktrace may allocate lots of memory, if the process is terminated
> by user or OOM, we need to provide one chance to remove the trace
> buffer, otherwise memory leak may be caused.
>
> Fix the issue by shutdown blktrace in case of task exiting in
> blkdev_close().
>
> Signed-off-by: Ming Lei <ming.lei@redhat.com>

This just seems weird. blktrace has no relationship to open
block device instances.

\
 
 \ /
  Last update: 2021-03-30 18:55    [W:0.078 / U:4.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site