Skip to contentSkip to conversation

lockmeter on ia64

PATCH Ray Bryant 1 participant 1 message Dec 17, 2003 Memory management

lore
Share & tools
lore

Ray Bryant

author
#0 lore raw

Andrew,

It looks like the 2.6.0 lockmeter patch has lost the configuration menu entry to enable lockmeter on ia64. This is true of both 2.6.0-test10-mm1 and 2.6.0-test11-mjb3. (Martin appears to pull this from your tree.) Below is the trivial patch to fix this. With this change it appears to work fine on Altix, at least.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:

#                  ChangeSet    1.1520  -> 1.1521
#          arch/ia64/Kconfig    1.49    -> 1.50

#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/12/16 [email protected] 1.1521
# Add missing menu item for Lockmeter in arch/ia64/Kconfig # --------------------------------------------
#

arch/ia64/Kconfig Tue Dec 16 16:44:00 2003 +7 -0
diff -Nru a/arch/ia64/Kconfig b/arch/ia64/Kconfig
@@ -686,6 +686,13 @@
          debugging info resulting in a larger kernel image.
          Say Y here only if you plan to use gdb to debug the kernel.
          If you don't debug the kernel, you can say N.
+
+config LOCKMETER
+       bool "Kernel lock metering"
+       depends on SMP
+       help
+         Say Y to enable kernel lock metering, which adds overhead to SMP locks,
+         but allows you to see various statistics using the lockstat command.
 
 endmenu
 
Signature · 16 lines
Best Regards,
Ray
-----------------------------------------------
                  Ray Bryant
512-453-9679 (work)         512-507-7807 (cell)
[email protected]             [email protected]
The box said: "Requires Windows 98 or better",
           so I installed Linux.
-----------------------------------------------


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>