Files
linux/fs/proc
tao zeng 4d6ae43593 mm: optimize thread stack usage on arm64 [1/1]
PD#SWPL-1219

Problem:
On arm64, thread stack is 16KB for each task. If running task number
is large, this type of memory may over 40MB. It's a large amount on
small memory platform. But most case thread only use less 4KB stack.
It's waste of memory and we need optimize it.

Solution:
1. Pre-allocate a vmalloc address space for task stack;
2. Only map 1st page for stack and handle page fault in EL1
   when stack growth triggered exception;
3. handle stack switch for exception.

Verify:
p212

Change-Id: I47f511ccfa2868d982bc10a820ed6435b6d52ba9
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-12-17 14:52:05 +08:00
..
2018-05-30 13:19:56 +02:00
2016-09-27 18:47:38 -04:00
2016-09-27 18:47:38 -04:00
2018-04-03 11:15:30 -07:00
2015-06-23 18:01:07 -04:00
2017-12-20 10:07:32 +01:00
2018-04-03 11:15:30 -07:00
2017-06-27 10:43:56 +02:00