init_process_stack: change premapped stack size based on arch
Avoid consuming a large 512MB page on 64K base page arch Change-Id: Ice491d43fd998b375ddc24f4eff7faf5d36d9f42 Fujitsu: POSTK_DEBUG_ARCH_DEP_104
This commit is contained in:
@ -160,6 +160,10 @@ typedef unsigned long pte_t;
|
||||
#define PM_PRESENT PM_STATUS(4LL)
|
||||
#define PM_SWAP PM_STATUS(2LL)
|
||||
|
||||
#define USER_STACK_PREPAGE_SIZE LARGE_PAGE_SIZE
|
||||
#define USER_STACK_PAGE_MASK LARGE_PAGE_MASK
|
||||
#define USER_STACK_PAGE_P2ALIGN LARGE_PAGE_P2ALIGN
|
||||
#define USER_STACK_PAGE_SHIFT LARGE_PAGE_SHIFT
|
||||
|
||||
/* For easy conversion, it is better to be the same as architecture's ones */
|
||||
enum ihk_mc_pt_attribute {
|
||||
|
||||
Reference in New Issue
Block a user