[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YW8EzNmq/bde5VTa@slm.duckdns.org>
Date: Tue, 19 Oct 2021 07:47:56 -1000
From: Tejun Heo <tj@...nel.org>
To: Boqun Feng <boqun.feng@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
Lai Jiangshan <jiangshanlai@...il.com>,
"Paul E . McKenney" <paulmck@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Frederic Weisbecker <frederic@...nel.org>,
Jonathan Corbet <corbet@....net>
Subject: Re: [PATCH] workqueue: doc: Call out the non-reentrance conditions
On Mon, Oct 18, 2021 at 09:31:17AM +0800, Boqun Feng wrote:
> +Workqueue guarantees that a work item cannot be re-entrant if the following
> +conditions hold after a work item gets queued:
> +
> + 1. The work function hasn't been changed.
> + 2. No one queues the work item to another workqueue.
> + 3. The work item hasn't been reinitiated.
Maybe phrasing it so that the above are the conditions defining a work item
to be the same instance would be clearer?
Thanks.
--
tejun
Powered by blists - more mailing lists