lockmeter
[Top] [All Lists]

Lockmetering for 2.3.39

To: "Peter Rival" <frival@xxxxxxxxxxx>
Subject: Lockmetering for 2.3.39
From: "John Hawkes" <hawkes@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jan 2000 13:49:21 -0800
Cc: <andrea@xxxxxxx>, <rth@xxxxxxxxxxx>, <hawkes@xxxxxxx>, <ezolt@xxxxxxxxxxxxxxxx>, <rick@xxxxxxxxxxx>, <tresvik@xxxxxxxxxxx>, <Frank.Hofmann@xxxxxxxxxxxxxxx>, <raybry@xxxxxxxxxxxxxx>, <lockmeter@xxxxxxxxxxx>
References: <384FF1A9.DA2E8EB4@zk3.dec.com>
Sender: owner-lockmeter@xxxxxxxxxxx
Attached is my attempt at integrating the i386 and Alpha
architecture-specific Lockmetering into a single kernel/lockmeter.c and
include/linux/lockmeter.h, with small as-needed
include/asm-i386/lockmeter.h and include/asm-alpha/lockmeter.h
supplements.  This is a patch against 2.3.39, which for the i386 has
required some changes to the read-write lock code because the bit
patterns has changed in the base 2.3 kernel.

The i386 code builds and executes against a 2.3.39 kernel.  I don't have
an Alpha machine, nor do I have a cross-compiling environment, so I
cannot confirm that the Alpha code compiles, let alone executes.

What I would like is for you Alpha folks to make whatever changes you
feel are necessary to get the Alpha side working (hopefully only making
changes in usr/asm-alpha/lockmeter.h), then email the patch back, then
I'll reconfirm the i386 side and post it to the linux-kernel and
linux-smp mailing lists.  And I'll also email Linus, as a reminder that
we'd like this code in 2.4.

This email is also going to Frank Hofmann at Sun, who was looking at
porting Lockmetering to Sparc.  Hopefully Frank can suggest additional
changes to kernel/lockmeter.c to further abstract what's there, in order
to simplify adding the Sparc architecture-specific code to
include/asm-sparc/lockmeter.h (or wherever is most appropriate), as
needed.

And I'm sending the patch to Ray Bryant at IBM-Austin, who was looking
at an earlier version of Lockmetering.

Thanks all!
John Hawkes
(hawkes@xxxxxxxxxxxx)

Attachment: lockmeter2.3.39.diff.gz
Description: GNU Zip compressed data

<Prev in Thread] Current Thread [Next in Thread>
  • Lockmetering for 2.3.39, John Hawkes <=