]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Merge branch 'for-4.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Feb 2016 19:04:05 +0000 (11:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 10 Feb 2016 19:04:05 +0000 (11:04 -0800)
Pull workqueue fixes from Tejun Heo:
 "Workqueue fixes for v4.5-rc3.

   - Remove a spurious triggering of flush dependency warning.

   - Officially break local execution guarantee of unbound work items
     and add a debug feature to flush out usages which depend on it.

   - Work around CPU -> NODE mapping becoming invalid on CPU offline.

  The branch is young but pushing out early as stable kernels are being
  affected"

* 'for-4.5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
  workqueue: handle NUMA_NO_NODE for unbound pool_workqueue lookup
  workqueue: implement "workqueue.debug_force_rr_cpu" debug feature
  workqueue: schedule WORK_CPU_UNBOUND work on wq_unbound_cpumask CPUs
  Revert "workqueue: make sure delayed work run in local cpu"
  workqueue: skip flush dependency checks for legacy workqueues

1  2 
Documentation/kernel-parameters.txt

index 551ecf09c8dd820be865ebbbc22fa6b5f608dd98,cda2ead39093dc63cd360c96493e38bc20b025bf..9a53c929f017d16527270bc2244352edf1d34cd8
@@@ -1496,11 -1496,6 +1496,11 @@@ bytes respectively. Such letter suffixe
                        could change it dynamically, usually by
                        /sys/module/printk/parameters/ignore_loglevel.
  
 +      ignore_rlimit_data
 +                      Ignore RLIMIT_DATA setting for data mappings,
 +                      print warning at first misuse.  Can be changed via
 +                      /sys/module/kernel/parameters/ignore_rlimit_data.
 +
        ihash_entries=  [KNL]
                        Set number of hash buckets for inode cache.
  
                        The default value of this parameter is determined by
                        the config option CONFIG_WQ_POWER_EFFICIENT_DEFAULT.
  
+       workqueue.debug_force_rr_cpu
+                       Workqueue used to implicitly guarantee that work
+                       items queued without explicit CPU specified are put
+                       on the local CPU.  This guarantee is no longer true
+                       and while local CPU is still preferred work items
+                       may be put on foreign CPUs.  This debug option
+                       forces round-robin CPU selection to flush out
+                       usages which depend on the now broken guarantee.
+                       When enabled, memory and cache locality will be
+                       impacted.
        x2apic_phys     [X86-64,APIC] Use x2apic physical mode instead of
                        default x2apic cluster mode on platforms
                        supporting x2apic.