Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 69605 Build 66488: arc lint + arc unit
Event Timeline
| sys/x86/cpufreq/hwpstate_amd.c | ||
|---|---|---|
| 226 | Simpler: req->res = rdmsr_safe(MSR_AMD_CPPC_ENABLE, &req->enable);
if (req->res == 0)
req->res = rdmsr_safe(MSR_AMD_CPPC_CAPS_1, &req->caps);
if (req->res == 0)
req->res = rdmsr_safe(MSR_AMD_CPPC_REQUEST, &req->req);Just a suggestion, feel free to ignore. | |
| 237 | Call it req for consistency with other places? | |
| 252 | Just a thought: it might be nice to have an smp_rendezvous_cpu() variant which takes a CPU ID instead of a cpuset. | |
| 318 | This should be done in the caller, not in the callback. Keep in mind that smp rendezvous callbacks are invoked with interrupts disabled, so they should do as little work as possible. Calling device_printf() is ok, but other operations should be avoided if possible. | |
| sys/kern/subr_smp.c | ||
|---|---|---|
| 633 ↗ | (On Diff #169077) | This has been in a seperate commit. I will make another differnetial tomorrow. |
| sys/x86/cpufreq/hwpstate_amd.c | ||
|---|---|---|
| 215–218 | Inverted tests here. | |