Andy Lutomirski
d30dd8be06
mm: track NR_KERNEL_STACK in KiB instead of number of stacks
...
Currently, NR_KERNEL_STACK tracks the number of kernel stacks in a zone.
This only makes sense if each kernel stack exists entirely in one zone,
and allowing vmapped stacks could break this assumption.
Since frv has THREAD_SIZE < PAGE_SIZE, we need to track kernel stack
allocations in a unit that divides both THREAD_SIZE and PAGE_SIZE on all
architectures. Keep it simple and use KiB.
Link: http://lkml.kernel.org/r/083c71e642c5fa5f1b6898902e1b2db7b48940d4.1468523549.git.luto@kernel.org
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-07-28 16:07:41 -07:00
..
2016-07-05 16:02:23 -04:00
2016-05-28 16:50:24 -07:00
2016-06-10 18:14:47 -07:00
2016-06-24 17:23:52 -07:00
2016-05-23 17:04:14 -07:00
2016-05-09 11:41:14 -04:00
2016-07-26 19:55:54 -07:00
2016-06-01 10:29:39 +02:00
2016-07-05 16:02:23 -04:00
2016-07-26 16:19:19 -07:00
2016-05-02 19:49:29 -04:00
2016-06-30 11:28:55 +02:00
2016-05-09 11:41:14 -04:00
2016-06-07 13:41:38 -06:00
2016-06-15 04:56:35 -07:00
2016-06-05 10:36:01 -07:00
2016-06-23 11:55:58 -05:00
2016-07-08 10:35:28 -05:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-06-07 13:41:38 -06:00
2016-05-02 19:49:29 -04:00
2016-07-26 19:55:54 -07:00
2016-07-26 19:55:54 -07:00
2016-07-27 10:36:31 -07:00
2016-06-07 13:41:38 -06:00
2016-05-09 11:41:14 -04:00
2016-06-01 10:29:09 +02:00
2016-07-28 16:07:41 -07:00
2016-07-26 15:37:51 -07:00
2016-05-27 20:09:16 -04:00
2016-06-07 13:41:38 -06:00
2016-05-12 19:49:30 -04:00
2016-05-28 16:50:24 -07:00
2016-04-04 10:41:08 -07:00
2016-06-07 13:41:38 -06:00
2016-07-26 18:35:55 -07:00
2016-05-27 15:39:43 -04:00
2016-06-07 13:41:38 -06:00
2016-05-27 20:09:16 -04:00
2016-06-30 16:35:07 -04:00
2016-06-07 13:41:38 -06:00
2016-05-02 19:49:32 -04:00
2016-04-04 10:41:08 -07:00
2016-07-28 16:07:41 -07:00
2016-07-27 09:53:35 -07:00
2016-07-26 15:03:07 -07:00
2016-05-19 19:12:14 -07:00
2016-06-07 13:41:38 -06:00
2016-07-26 19:55:54 -07:00
2016-05-09 11:41:14 -04:00
2016-05-09 11:41:14 -04:00
2016-07-26 19:55:54 -07:00
2016-07-22 10:54:20 +02:00
2016-07-28 16:07:41 -07:00
2016-06-14 11:34:39 -07:00
2016-05-09 11:41:14 -04:00
2016-05-09 11:41:14 -04:00
2016-04-26 12:00:48 -04:00
2016-05-20 17:58:30 -07:00
2016-07-26 15:37:51 -07:00
2016-05-09 11:41:15 -04:00
2016-06-07 13:41:38 -06:00
2016-05-02 19:49:32 -04:00
2016-06-23 00:29:53 +02:00
2016-07-26 15:37:51 -07:00
2016-06-07 13:41:38 -06:00
2016-07-27 09:53:35 -07:00
2016-05-23 17:04:14 -07:00
2016-05-27 20:09:16 -04:00
2016-05-28 16:34:59 -07:00
2016-06-07 22:07:09 -04:00
2016-06-07 22:07:09 -04:00
2016-05-27 15:26:11 -07:00
2016-07-20 21:01:01 -06:00
2016-07-27 09:53:35 -07:00
2016-07-14 16:21:53 +09:00
2016-06-28 10:00:13 -03:00
2016-05-24 12:55:26 -07:00
2016-06-07 22:07:09 -04:00
2016-07-26 16:19:19 -07:00
2016-06-20 10:07:42 -04:00
2016-06-07 13:41:38 -06:00
2016-03-22 15:36:02 -07:00
2016-05-19 19:12:14 -07:00
2016-05-23 17:04:14 -07:00
2016-03-22 15:36:02 -07:00
2016-05-02 19:49:28 -04:00
2016-07-28 16:07:41 -07:00
2016-07-26 16:19:19 -07:00
2016-07-27 09:53:35 -07:00
2016-06-21 09:38:45 +10:00
2016-06-21 09:23:11 +10:00
2016-05-23 17:04:14 -07:00
2016-06-20 17:11:29 -04:00
2016-07-01 10:24:18 -04:00
2016-06-21 09:23:11 +10:00
2016-02-22 22:44:04 -05:00
2016-07-26 19:55:54 -07:00
2016-06-07 20:41:36 -07:00
2016-07-01 15:20:11 -07:00
2016-05-17 14:41:03 -07:00
2016-07-26 16:19:19 -07:00
2016-05-05 09:54:45 -05:00
2016-06-24 12:11:34 -04:00
2016-03-16 13:09:08 -04:00
2016-07-15 10:30:26 +02:00
2016-05-26 00:13:25 -04:00
2016-05-19 19:12:14 -07:00
2016-04-14 12:56:09 -07:00
2016-05-11 00:00:29 -04:00
2016-07-26 16:19:19 -07:00
2016-04-04 10:41:08 -07:00
2016-06-09 23:42:38 +02:00
2016-07-26 16:19:19 -07:00
2016-05-27 20:09:16 -04:00