> Date: Wed, 10 May 2023 01:08:27 +
> From: Taylor R Campbell
>
> I propose to add new config_*_acquire/release functions: [...]
Updated patch so that the legacy config_* operations require the
caller to hold the kernel lock, while the new config_*_acquire/release
ones do not (but take it in
On Wed, May 10, 2023 at 01:08:27AM +, Taylor R Campbell wrote:
> I propose to add new config_*_acquire/release functions:
> dev = config_found_acquire(...);
> ...
> config_detach_release(dev);
Seems reasonable...
(note, haven't read the diff carefully yet)
--
David A. Holland
I propose to add new config_*_acquire/release functions:
dev = config_found_acquire(...);
is essentially
dev = config_found(...);
device_acquire(dev);
and
config_detach_release(dev);
is essentially
device_release(dev);
config_detach(dev);
but they