Re: kernel profiling: spinlock_exit consumes 36% CPU time.

2008-10-11 Thread Kris Kennaway
邱剑 wrote: > Many thanks for the information. > > Could we say that interrupt handlers consumed ~36% execution time? > > Is this number too high? Is it possible that we abuse the use of critical > sections in kernel? Also note that profiling itself is using ~40% of CPU. That means you need to wo

Re: How to support an Ethernet PHY without ID registers?

2008-10-11 Thread Bruce M. Simpson
Sepherosa Ziehau wrote: Are you sure you could read from BMSR? Return invalid value from BMSR is the usual cause of miibus attaching/probing failure. For ID1/ID2 reading, you could just fake some values in npe(4)'s miibus_readreg implementation. Thanks for the tip (from you and Pyun). I ha