Files
android_kernel_fxtec_sm6115/include/linux
Tejun Heo 17cc4dfeda slab: use memcg_kmem_cache_wq for slab destruction operations
If there's contention on slab_mutex, queueing the per-cache destruction
work item on the system_wq can unnecessarily create and tie up a lot of
kworkers.

Rename memcg_kmem_cache_create_wq to memcg_kmem_cache_wq and make it
global and use that workqueue for the destruction work items too.  While
at it, convert the workqueue from an unbound workqueue to a per-cpu one
with concurrency limited to 1.  It's generally preferable to use per-cpu
workqueues and concurrency limit of 1 is safe enough.

This is suggested by Joonsoo Kim.

Link: http://lkml.kernel.org/r/20170117235411.9408-11-tj@kernel.org
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Jay Vana <jsvana@fb.com>
Acked-by: Vladimir Davydov <vdavydov@tarantool.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-02-22 16:41:27 -08:00
..
2017-01-30 14:39:20 +01:00
2016-11-17 23:19:00 +01:00
2017-02-06 18:20:16 +02:00
2016-07-08 16:23:11 +02:00
2016-12-22 22:58:37 -05:00
2012-10-08 13:50:20 +10:30
2016-10-19 14:34:36 -04:00
2012-12-02 00:05:12 +00:00
2005-04-16 15:20:36 -07:00
2011-03-11 14:25:50 +00:00
2017-02-10 15:52:24 -05:00
2017-01-25 13:17:47 -05:00
2009-11-20 20:13:39 +01:00
2016-08-11 09:41:35 -06:00
2016-10-25 11:08:28 +08:00
2016-12-08 16:37:33 -08:00
2013-11-15 09:32:21 +09:00
2017-02-04 00:47:59 +01:00
2016-10-07 18:46:30 -07:00
2012-02-20 19:46:36 +11:00
2008-01-28 23:21:18 +01:00
2016-05-17 15:48:12 -04:00
2014-12-31 13:06:50 -05:00
2016-12-05 19:01:16 -05:00
2014-10-09 11:35:48 +03:00
2016-12-25 17:21:22 +01:00
2009-06-18 13:04:05 -07:00
2017-02-10 11:15:08 +01:00
2010-03-07 22:17:09 +01:00
2017-02-11 20:59:41 -05:00
2016-02-11 09:59:22 -05:00
2008-08-02 18:36:10 +01:00
2005-04-16 15:20:36 -07:00
2012-03-20 12:47:48 +01:00
2015-06-25 12:06:45 +02:00
2017-02-01 09:13:45 +01:00
2013-07-26 16:19:48 -07:00
2015-07-28 08:50:42 +01:00
2011-01-24 14:45:11 +10:30
2013-08-28 21:35:14 -07:00
2016-12-12 18:55:06 -08:00
2016-12-25 17:21:23 +01:00
2011-09-16 19:20:20 -04:00
2015-04-29 17:17:17 -05:00
2016-09-27 12:33:47 +02:00
2009-06-16 08:40:20 +02:00
2014-03-04 13:51:06 -05:00
2017-01-12 16:48:26 -05:00
2014-01-27 21:02:39 -08:00
2016-08-28 23:32:41 -04:00
2016-11-16 18:32:02 -05:00
2016-12-19 17:29:44 -05:00
2014-01-25 03:14:05 -05:00
2012-12-11 17:22:27 -08:00
2016-02-16 13:04:58 -05:00
2016-05-02 09:00:56 -05:00
2016-12-06 10:17:03 +02:00
2014-07-09 14:58:37 +01:00
2016-03-14 15:43:11 -04:00
2017-02-20 10:15:11 -05:00
2016-10-31 16:18:30 -04:00
2016-10-14 11:36:59 -07:00
2016-07-12 19:25:38 -07:00
2011-11-02 16:07:02 -07:00
2011-03-31 11:26:23 -03:00
2016-03-17 15:09:34 -07:00
2010-02-10 17:47:17 -08:00
2017-02-17 12:28:35 -05:00
2016-10-31 15:45:18 -07:00
2016-06-14 10:54:40 -07:00
2016-01-04 16:11:11 -05:00
2017-01-09 16:07:38 -05:00
2016-10-05 18:23:36 -04:00
2010-08-09 16:48:44 -04:00
2013-04-30 15:50:12 +05:30
2017-01-10 18:31:55 -08:00
2005-04-16 15:20:36 -07:00
2015-06-25 17:00:39 -07:00
2017-02-03 11:19:34 -05:00
2016-12-25 17:21:22 +01:00
2017-02-10 11:15:08 +01:00
2017-01-10 18:31:55 -08:00
2015-10-01 09:57:59 -07:00
2010-11-29 08:55:25 +11:00
2016-07-19 17:43:38 +03:00
2017-02-03 10:17:02 +01:00
2016-12-09 22:12:21 -05:00
2005-04-16 15:20:36 -07:00
2017-02-10 16:34:17 +00:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2014-04-07 16:35:53 -07:00
2016-12-12 18:55:08 -08:00
2017-01-11 09:21:41 +01:00
2016-12-25 17:21:22 +01:00