Messages in this thread | | | Subject | Re: [RFT] port of Lockmeter on i386 2.5.64 Patch | From | Robert Love <> | Date | 10 Mar 2003 00:36:56 -0500 |
| |
On Mon, 2003-03-10 at 00:33, Valdis.Kletnieks@vt.edu wrote:
> > +config LOCKMETER > > + bool "Kernel lock metering" > > + depends on SMP > > Should that be 'depends on SMP || PREEMPT'? I remember the original 2.4 > pre-empt patches had one to deal with instrumenting/breaking locks. Not sure > if that logic still applies...
No, it depends on SMP alone.
To do the metering, it needs the actual locks compiled into the kernel.
I believe what you are thinking of is the preempt-stats patch, which measures periods of non-preemptibility. Same idea but different.
Robert Love
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |