Re: [PATCH UPDATED 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-14 Thread Fengguang Wu
v2: nr_running indexing bug in get_pool_nr_running() fixed. Signed-off-by: Tejun Heo t...@kernel.org Reported-by: Josh Hunt joshhun...@gmail.com LKML-Reference: CAKA=qzahqwz8eqplnfjxno2fx-tgaojmpvxgbfjv6djeqao...@mail.gmail.com Cc: Tony Luck tony.l...@intel.com Cc: Fengguang Wu

[PATCH UPDATED 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-13 Thread Tejun Heo
From 12f804d130d966f2a094e8037e9f163215d13f23 Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Fri, 13 Jul 2012 20:50:50 -0700 WQ_HIGHPRI was implemented by queueing highpri work items at the head of the global worklist. Other than queueing at the head, they weren't handled