Author: jhibbits Date: Wed Nov 13 02:16:24 2019 New Revision: 354670 URL: https://svnweb.freebsd.org/changeset/base/354670
Log: powerpc: Don't savectx() twice in IPI_STOP handler We already save context in stoppcbs[] array, so there's no need to also save it in the PCB, it won't be used. Modified: head/sys/powerpc/powerpc/mp_machdep.c Modified: head/sys/powerpc/powerpc/mp_machdep.c ============================================================================== --- head/sys/powerpc/powerpc/mp_machdep.c Wed Nov 13 02:14:17 2019 (r354669) +++ head/sys/powerpc/powerpc/mp_machdep.c Wed Nov 13 02:16:24 2019 (r354670) @@ -331,7 +331,6 @@ powerpc_ipi_handler(void *arg) __func__); cpuid = PCPU_GET(cpuid); savectx(&stoppcbs[cpuid]); - savectx(PCPU_GET(curpcb)); CPU_SET_ATOMIC(cpuid, &stopped_cpus); while (!CPU_ISSET(cpuid, &started_cpus)) cpu_spinwait(); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"