> > +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/