This disclosure discloses a task migration method, apparatus, electronic device, and storage medium, relating to the field of
computer technology, and particularly to the field of asymmetric multiprocessor systems. The specific implementation is as follows: In response to detecting an operational anomaly in an asymmetric multiprocessor
system, load information of the asymmetric multiprocessor
system and error information of the abnormal processor core are obtained. The asymmetric multiprocessor
system includes multiple processor cores with independent
memory address spaces. Based on the error information, at least one candidate processor core from the multiple processor cores and the target task to be migrated from the abnormal processor core are determined. Based on the load information, the target processor core is determined from the at least one candidate processor core. The target task to be migrated is then migrated to the target processor core.