[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250614092054.25336-1-jemmywong512@gmail.com>
Date: Sat, 14 Jun 2025 17:20:53 +0800
From: Jemmy Wong <jemmywong512@...il.com>
To: peterz@...radead.org
Cc: linux-kernel@...r.kernel.org,
jemmywong512@...il.com
Subject: [RFC] Expanding Scope-based Resource Management
Hi Peter,
I greatly admire the Scope-based Resource Management infrastructure
you introduced to the Linux kernel, as it elegantly aligns with the
Resource Acquisition Is Initialization (RAII) programming idiom,
improving code safety and maintainability.
I am interested in driving a comprehensive conversion of traditional
manual lock/unlock patterns to use guard/scoped_guard,
starting with the sched module.
Before proceeding, I’d like to confirm if you believe
this effort is valuable and whether you’d support such a conversion.
Best,
Jemmy
Powered by blists - more mailing lists