Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



> > I'm thinking if putting all evcnt::ev_counter into a single segment
> > (and make evcnt::ev_counter a pointer to there) would help cache
> > efficency.
> 
> Probably not since you still need to access the pointer and then you are
> adding another access on top of that.

Right...

So those "fast" event counters should be all static and addresses of
ev_counter should be resolved at compile time.  If address is
immediate, it's found in i-cache.

I guess if kernel has in-kernel loader, dynamic event counters can be
also put in the right section?

Masao



Home | Main Index | Thread Index | Old Index