tech-kern archive

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

Re: per-cpu statistics (Re: CVS commit: src)

On Apr 11, 2008, at 11:04 AM, Matt Thomas wrote:

think about device intr counts which will be protected by a spin mutex.
those won't need per-cpu instances.

The problem is getting a consistent view of the value when reading them out to user space. Perhaps one solution is for global- interlocked evcnts to provide a pointer to a mutex that can be acquired when the value is read out.

-- thorpej

Home | Main Index | Thread Index | Old Index