Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
don't take additional reference to object. We already taking one in pmc_mmap_single()
sys/dev/hwpmc/hwpmc_pt.c | ||
---|---|---|
162 | I don't have the XFEATURE_ENABLED_PT definition. Where is it? |
sys/dev/hwpmc/hwpmc_pt.c | ||
---|---|---|
162 | I missed the diff to specialreg.h. Added |
sys/dev/hwpmc/hwpmc_pt.c | ||
---|---|---|
173 | This assumes that lazy_fpu_switch is configured, which is no longer the default behaviour. I suspect that we should really be saving/restoring PT state in the main kernel. |
sys/dev/hwpmc/hwpmc_pt.c | ||
---|---|---|
173 | You mean, on context switch ? I do not think it is needed. You can save previous value of CR0.TS and only set it when needed at the end. |
sys/dev/hwpmc/hwpmc_pt.c | ||
---|---|---|
173 |
|