Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1476490

Re: [Question] about patch: don't use [delayed_]work_pending()

From Andreas Mohr <andi@lisas.de>
Newsgroups linux.kernel
Subject Re: [Question] about patch: don't use [delayed_]work_pending()
Date 2016-09-05 16:20 +0200
Message-ID <se2UG-4Qu-35@gated-at.bofh.it> (permalink)
References <sduzD-4qS-17@gated-at.bofh.it> <se1vA-3Ov-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Sep 05, 2016 at 08:41:39AM -0400, Tejun Heo wrote:
> On Sun, Sep 04, 2016 at 03:29:39AM +0200, Andreas Mohr wrote:
> > Reason: any other [early-boot] invoker of cancel_delayed_work_sync()
> > would hit the same issue,
> > without any fix then available locally each.
> > 
> > This may or may not be intentional.
> > Just wanted to point it out.
> 
> idk, invoking a blocking API from early boot is pretty special (as
> with everything during early boot), so I think it's fine to handle
> them as execeptions.

Yup, this sounds like the rationale that I would have expected.

Andreas

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [Question] about patch: don't use [delayed_]work_pending() Andreas Mohr <andi@lisas.de> - 2016-09-04 03:40 +0200
  Re: [Question] about patch: don't use [delayed_]work_pending() Tejun Heo <tj@kernel.org> - 2016-09-05 14:50 +0200
    Re: [Question] about patch: don't use [delayed_]work_pending() Andreas Mohr <andi@lisas.de> - 2016-09-05 16:20 +0200

csiph-web