Re: [RFC RESEND PATCH v2 0/8] Add managed version of delayed work init

2021-03-23 Thread Vaittinen, Matti
Hi Greg, On Tue, 2021-03-23 at 13:43 +0100, Greg KH wrote: > On Mon, Mar 22, 2021 at 09:41:13AM +0200, Matti Vaittinen wrote: > > It's not rare that device drivers need delayed work. > > It's not rare that this work needs driver's data. > > I don't normally comment on "RFC" patch series as I

Re: [RFC RESEND PATCH v2 0/8] Add managed version of delayed work init

2021-03-23 Thread Greg KH
On Mon, Mar 22, 2021 at 09:41:13AM +0200, Matti Vaittinen wrote: > It's not rare that device drivers need delayed work. > It's not rare that this work needs driver's data. I don't normally comment on "RFC" patch series as I can't take them and the submitter doesn't feel right with them being

[RFC RESEND PATCH v2 0/8] Add managed version of delayed work init

2021-03-22 Thread Matti Vaittinen
It's not rare that device drivers need delayed work. It's not rare that this work needs driver's data. Often this means that driver must ensure the work is not queued when driver is detached. Often it is done by ensuring new work is not added and then calling cancel_delayed_work_sync() at