-
公开(公告)号:US10509727B1
公开(公告)日:2019-12-17
申请号:US16125780
申请日:2018-09-10
Applicant: MEDIATEK INC.
Inventor: Sheng-Ju Wei , Jia-Ming Chen , I-Cheng Cheng , Shun-Chieh Chang
IPC: G06F12/00 , G06F12/0888 , G06F12/0875
Abstract: A method and an apparatus for performing task-level cache management in an electronic device are provided. The method may be applied to a processing circuit of the electronic device, and may include: before a task of a plurality of tasks runs on a processor core, performing at least one checking operation on the task to generate at least one checking result, wherein the at least one checking result indicates whether the task is a risky task with risk of evicting cached data of an urgent task from a cache, and the cache is dedicated to a set of processor cores including the processor core; and according to the at least one checking result, determining whether to temporarily limit cache access permission of the processor core during a time period in which the task runs on the processor core, for preventing cache eviction of the cache due to the task.