Re: [PATCH 1/9] cgroup/cpuset-v1: Add deprecation warnings to sched_load_balance and memory_pressure_enabled
From: Michal Koutný
Date: Wed Mar 05 2025 - 05:13:12 EST
On Tue, Mar 04, 2025 at 08:04:06AM -1000, Tejun Heo <tj@xxxxxxxxxx> wrote:
> I'm apprehensive about adding warning messages which may be triggered
> consistently without anything end users can do about them.
That means you'd distinguish RE (replacement exists) vs DN (dropped as
non-ideal) categories?
> I think that deprecation messages, unless such deprecation is
> immediate and would have direct consequences on how the system can be
> used, should be informational.
I could subscribe to that if there weren't so many other places to
evaluate:
$ git grep -i "pr_warn.*deprec" torvalds/master -- | wc -l
62
$ git grep -i "pr_info.*deprec" torvalds/master -- | wc -l
2
So is the disctinction worth the hassle?
Michal
Attachment:
signature.asc
Description: PGP signature