Abstract:
A switching method for context migration among a plurality of physical processor cores is provided. Each of the physical processor cores is mapped to a corresponding logical processor core. The switching method includes migrating a processor hardware context from a first physical processor core to a second physical processor core which is different from the first physical processor core. The first physical processor core and the second physical processor core are mapped to a first logical processor core and a second logical processor core which is different from the first logical processor core, respectively prior to the migration. The switching method further includes remapping the first physical processor core to the second logical processor core and remapping the second physical processor core to the first logical processor core.