Re: [PATCH] workqueues: insert_work: use "list_head *" instead of "int tail"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Thursday, June 12, 2008 - 10:01 am

On Thu, 2008-06-12 at 20:55 +0400, Oleg Nesterov wrote:

Are there cases where we dynamically allocate work structs and queue
them and then forget about them? In such cases we'd need something a
little more complex as we don't have work pointers to flush or cancel.

Hence that idea of flush context and completions.

Aside from that, this seems like a fine idea. :-)

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] workqueues: insert_work: use "list_head *" ins ..., Peter Zijlstra, (Thu Jun 12, 10:01 am)