-
公开(公告)号:US20200272520A1
公开(公告)日:2020-08-27
申请号:US16801776
申请日:2020-02-26
Applicant: QUALCOMM Incorporated
Inventor: Richard SENIOR , Sundeep KUSHWAHA , Harsha Gordhan JAGASIA , Christopher AHN , Gurvinder Singh CHHABRA , Nieyan GENG , Maksim KRASNYANSKIY , UNNI PRASAD
IPC: G06F9/50 , G06F9/48 , G06F12/0806
Abstract: A method of managing a stack includes detecting, by a stack manager of a processor, that a size of a frame to be allocated exceeds available space of a first stack. The first stack is used by a particular task executing at the processor. The method also includes designating a second stack for use by the particular task. The method further includes copying metadata associated with the first stack to the second stack. The metadata enables the stack manager to transition from the second stack to the first stack upon detection that the second stack is no longer in use by the particular task. The method also includes allocating the frame in the second stack.