Files
Linux/fs
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 <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Reviewed-by: Josh Poimboeuf <[email protected]>
Reviewed-by: Vladimir Davydov <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2016-07-28 16:07:41 -07:00
..
…
2016-06-10 18:14:47 -07:00
2016-05-20 17:58:30 -07:00
2016-06-07 13:41:38 -06:00
…
2016-04-26 12:00:48 -04:00
2016-06-23 00:29:53 +02:00
2016-05-23 17:04:14 -07:00
…
2016-06-07 22:07:09 -04:00
2016-07-26 16:19:19 -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-07-26 16:19:19 -07:00
…
2016-06-24 12:11:34 -04:00
…
…
…
2016-07-26 16:19:19 -07:00
…