lkml.org 
[lkml]   [2003]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFT] port of Lockmeter on i386 2.5.64 Patch
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.029 / U:7.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site