Files
kernel_xiaomi_sm8250/include/linux
Tejun Heo bdbc5dd7de workqueue: prepare for WQ_UNBOUND implementation
In preparation of WQ_UNBOUND addition, make the following changes.

* Add WORK_CPU_* constants for pseudo cpu id numbers used (currently
  only WORK_CPU_NONE) and use them instead of NR_CPUS.  This is to
  allow another pseudo cpu id for unbound cpu.

* Reorder WQ_* flags.

* Make workqueue_struct->cpu_wq a union which contains a percpu
  pointer, regular pointer and an unsigned long value and use
  kzalloc/kfree() in UP allocation path.  This will be used to
  implement unbound workqueues which will use only one cwq on SMPs.

* Move alloc_cwqs() allocation after initialization of wq fields, so
  that alloc_cwqs() has access to wq->flags.

* Trivial relocation of wq local variables in freeze functions.

These changes don't cause any functional change.

Signed-off-by: Tejun Heo <tj@kernel.org>
2010-07-02 10:59:57 +02:00
..
2010-05-28 01:38:00 +02:00
2010-05-27 09:12:53 -07:00
2010-05-21 19:30:44 +02:00
2010-06-01 11:12:28 +02:00
2010-05-27 22:05:02 -04:00
2010-05-25 08:07:01 -07:00
2010-05-27 09:12:42 -07:00
2010-05-21 09:34:29 -07:00
2010-05-21 09:37:29 -07:00
2010-06-29 10:07:09 +02:00
2010-06-07 16:03:10 -04:00
2010-05-27 09:12:50 -07:00
2010-05-30 09:02:47 -07:00
2010-06-08 21:40:37 +02:00
2010-05-25 11:41:43 -04:00
2010-05-27 09:12:43 -07:00
2010-05-21 09:34:29 -07:00
2010-06-03 13:13:34 +10:00