lkml.org 
[lkml]   [2022]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 18/20] block, blksnap: Kconfig
On Mon, Jun 13, 2022 at 06:53:11PM +0300, Sergei Shtepa wrote:
> +config BLK_SNAP_TRACKING_BLOCK_MINIMUM_SHIFT
> + depends on BLK_SNAP
> + int "The power of 2 for minimum trackings block size"

> +config BLK_SNAP_TRACKING_BLOCK_MAXIMUM_COUNT
> + depends on BLK_SNAP

> +config BLK_SNAP_CHUNK_MINIMUM_SHIFT
> + depends on BLK_SNAP

> +config BLK_SNAP_CHUNK_MAXIMUM_COUNT
> + depends on BLK_SNAP
> + int "The limit of the maximum number of snapshots chunks"

...

Is there any good reason for these to be compile options vs runtime
settings?

> +config BLK_SNAP_DEBUG_MEMORY_LEAK
> + depends on BLK_SNAP
> + bool "Enable memory leak detector"
> + default n
> + help
> + Enables debugging code to monitor memory consumption by the module.

Is there any advantage in this over kmemleak and friends?

\
 
 \ /
  Last update: 2022-07-06 15:06    [W:0.260 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site