lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cf407a37403360ca8c74982a5ebfd7ed1f8b34fb.camel@surriel.com>
Date: Tue, 16 Sep 2025 16:23:17 -0400
From: Rik van Riel <riel@...riel.com>
To: Frank van der Linden <fvdl@...gle.com>, akpm@...ux-foundation.org, 
	muchun.song@...ux.dev, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Cc: hannes@...xchg.org, david@...hat.com, roman.gushchin@...ux.dev
Subject: Re: [RFC PATCH 01/12] mm/cma: add tunable for CMA fallback limit

On Mon, 2025-09-15 at 19:51 +0000, Frank van der Linden wrote:
> 
> +#ifdef CONFIG_CMA
> +	{
> +		.procname	= "cma_first_limit",
> +		.data		= &cma_first_limit,
> +		.maxlen		= sizeof(cma_first_limit),
> +		.mode		= 0644,
> +		.proc_handler	= proc_dointvec_minmax,
> +		.extra1		= SYSCTL_ZERO,
> +		.extra2		= SYSCTL_ONE_HUNDRED,
> +	},
> +#endif
>  };
> 
I like the code, but the name is a little confusing.

Maybe something like "prefer_cma_percent"?

-- 
All Rights Reversed.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ