Tejun Heo 626ebc4100 memcg: flatten task_struct->memcg_oom
task_struct->memcg_oom is a sub-struct containing fields which are used
for async memcg oom handling.  Most task_struct fields aren't packaged
this way and it can lead to unnecessary alignment paddings.  This patch
flattens it.

* task.memcg_oom.memcg          -> task.memcg_in_oom
* task.memcg_oom.gfp_mask	-> task.memcg_oom_gfp_mask
* task.memcg_oom.order          -> task.memcg_oom_order
* task.memcg_oom.may_oom        -> task.memcg_may_oom

In addition, task.memcg_may_oom is relocated to where other bitfields are
which reduces the size of task_struct.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Vladimir Davydov <vdavydov@parallels.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-11-05 19:34:48 -08:00
..
2015-09-01 13:00:04 -07:00
2015-06-25 11:49:31 +03:00
2015-10-17 21:22:08 -07:00
2015-10-07 18:08:15 +01:00
2015-08-27 20:47:09 +01:00
2015-06-03 14:13:41 +09:00
2015-10-27 19:34:54 -07:00
2015-09-01 13:00:04 -07:00
2015-09-16 20:44:47 +01:00
2015-11-04 21:26:27 -08:00
2015-08-03 12:01:54 -04:00
2015-08-06 16:17:25 -04:00
2015-10-07 16:02:49 -07:00
2015-09-04 16:54:41 -07:00
2015-09-08 15:35:28 -07:00
2015-10-18 10:14:39 -07:00
2015-10-31 19:05:59 -04:00
2015-11-04 21:50:37 -08:00
2015-06-24 17:49:45 -07:00
2015-06-01 14:33:35 +02:00
2015-06-19 15:18:28 +02:00
2015-09-08 15:35:28 -07:00
2015-09-08 15:35:28 -07:00
2015-10-23 05:44:28 -07:00
2015-08-27 19:40:58 -04:00
2015-10-13 19:01:25 +02:00
2015-06-25 12:06:45 +02:00
2015-08-18 15:49:15 -07:00
2015-07-28 08:50:42 +01:00
2015-09-06 16:27:10 +02:00
2015-06-24 17:49:41 -07:00
2015-10-01 21:42:35 -04:00
2015-09-08 14:35:59 -07:00
2015-10-20 22:10:45 +08:00
2015-07-21 10:39:05 -07:00
2015-06-25 04:20:04 -04:00
2015-10-08 05:26:35 -07:00
2015-08-17 13:32:56 -05:00
2015-07-01 19:40:18 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-10 13:29:01 -07:00
2015-09-08 15:35:28 -07:00
2015-09-13 11:27:30 +02:00
2015-10-06 17:08:19 +02:00
2015-08-17 15:40:20 +02:00
2015-06-25 01:13:43 +02:00
2015-11-05 19:34:48 -08:00
2015-10-21 07:00:46 -07:00
2015-09-10 15:36:59 -04:00
2015-06-25 17:00:39 -07:00
2015-10-22 06:22:13 -07:00
2015-08-17 11:25:28 -07:00
2015-10-01 09:57:59 -07:00
2015-10-17 21:32:21 -07:00
2015-09-08 15:35:28 -07:00
2015-09-10 13:29:01 -07:00