Why is PCE not set in CR4?

Terry Lambert tlambert2 at mindspring.com
Thu Oct 2 10:21:52 PDT 2003


Bruce M Simpson wrote:
> Now that I think on this a bit more, a sysctl might be a better place to
> put this, but it seemed to belong with the i386_vm86() bits, rather than
> polluting initcpu.c right away.

The important thing is to allow the kernel to intermediate and
control allocation of counters to applications, so where you put
it is less important than that it be a procedural interface.  A
sysctl can be a procedural interface, but it's kind of ugly.

-- Terry


More information about the freebsd-hackers mailing list