[PATCH] fs: heap/bss calculation ignore section above STACK_TOP.

2015-07-25 Thread Noam Camus
From: Noam Camus Today bss/heap is placed above last loaded sections. Current check is only against TASK_SIZE, maybe since most architectures do: #define STACK_TOP TASK_SIZE But this is not true for all of them and a gap between TASK_SIZE and STACK_TOP is possible and may be used for varia

[PATCH] fs: heap/bss calculation ignore section above STACK_TOP.

2015-07-25 Thread Noam Camus
From: Noam Camus Today bss/heap is placed above last loaded sections. Current check is only against TASK_SIZE, maybe since most architectures do: But this is not true for all of them and a gap between TASK_SIZE and STACK_TOP is possible and may be used for variant purposes. For example we use it