On Tue, 12 Dec 2023 15:32:29 +0000 Ryan Roberts <ryan.roberts@xxxxxxx> wrote: > > Why not perform lock/unlock only once in surrounding code? :) > > I was nervous that sysfs_streq() may be unhappy in atomic context... Unfounded? > Yes, unfounded.
On Tue, 12 Dec 2023 15:32:29 +0000 Ryan Roberts <ryan.roberts@xxxxxxx> wrote: > > Why not perform lock/unlock only once in surrounding code? :) > > I was nervous that sysfs_streq() may be unhappy in atomic context... Unfounded? > Yes, unfounded.