Page MenuHomeFreeBSD

Bring back r313037, with fixes for mips
ClosedPublic

Authored by jah on Feb 14 2017, 3:38 AM.

Details

Summary

Implement get_pcpu() for amd64/sparc64/mips/powerpc, and use it to
replace pcpu_find(curcpu) in MI code.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jah updated this revision to Diff 25132.Feb 14 2017, 3:38 AM
jah retitled this revision from to Bring back r313037, with fixes for mips.
jah updated this object.
jah edited the test plan for this revision. (Show Details)
lidl accepted this revision.Feb 14 2017, 3:49 AM
lidl edited edge metadata.
This revision is now accepted and ready to land.Feb 14 2017, 3:49 AM
jhibbits edited edge metadata.Feb 14 2017, 3:20 PM

Please wait for Andreas to test this for powerpc and provide feedback before you push it.

andreast edited edge metadata.Feb 14 2017, 9:04 PM

I tested on a dual G5 and on a quad G5, with load (gcc bootstrapping/kernel/world build). The revision was r313259. It looks stable now.
It was not possible to test on POWER5+ due to e1000 and friend commits not working on BE systems.
Thanks,
Andreas

andreast accepted this revision.Feb 14 2017, 9:09 PM
andreast edited edge metadata.

Aha, I have to choose the action :)

kan accepted this revision.Feb 15 2017, 2:51 AM
kan edited edge metadata.

Looks fine.

This revision was automatically updated to reflect the committed changes.