CVS log for xfs-linux/support/ktrace.c

[BACK] Up to [Development] / xfs-linux / support

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Fri May 9 04:27:47 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (unified)

Remove unused arg from kmem_free()

kmem_free() function takes (ptr, size) arguments but doesn't
actually use second one.

This patch removes size argument from all callsites.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Merge of xfs-linux-melb:xfs-kern:31050a by kenmcd.

  Remove unused arg from kmem_free()

Revision 1.30 / (download) - annotate - [select for diffs], Fri Feb 22 15:02:07 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.29: +14 -8 lines
Diff to previous 1.29 (unified)

Use power-of-2 sized buffers to reduce overhead

Now that the ktrace_enter() code is using atomics,
the non-power-of-2 buffer sizes - which require modulus
operations to get the index - are showing up as using
substantial CPU in the profiles.

Force the buffer sizes to be rounded up to the nearest
power of two and use masking rather than modulus operations
to convert the index counter to the buffer index. This
reduces ktrace_enter overhead to 8% of a CPU time, and
again almost halves the trace intensive test runtime.
Merge of xfs-linux-melb:xfs-kern:30538a by kenmcd.

  Use power-of-2 buffer sizes so we can use more efficient
  masking operations to get the buffer index.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 22 15:01:20 2008 UTC (9 years, 7 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.28: +8 -13 lines
Diff to previous 1.28 (unified)

Use atomic counters for ktrace buffer indexes

ktrace_enter() is consuming vast amounts of CPU time
due to the use of a single global lock for protecting
buffer index increments. Change it to use per-buffer
atomic counters - this reduces ktrace_enter() overhead
during a trace intensive test on a 4p machine from 58%
of all CPU time to 12% and halves test runtime.
Merge of xfs-linux-melb:xfs-kern:30537a by kenmcd.

  Use per-ktrace buffer atomic index counters and remove
  the global ktrace index lock that is causing performance
  problems on ktrace kernels.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Feb 6 03:24:42 2008 UTC (9 years, 8 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (unified)

add __init/__exit mark to specific init/cleanup functions
Merge of xfs-linux-melb:xfs-kern:30459a by kenmcd.

  add __init/__exit mark to specific init/cleanup functions

Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 21 06:17:02 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.26: +0 -4 lines
Diff to previous 1.26 (unified)

ktrace kt_lock is unused, remove it.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:29747a by kenmcd.

  Remove unused kt_lock

Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 18 04:00:52 2006 UTC (11 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (unified)

Add a debug flag for allocations which are known to be larger than one page.
Merge of xfs-linux-melb:xfs-kern:26800a by kenmcd.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 22 02:48:15 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (unified)

Fixup naming inconsistencies found by Pekka Enberg and one from Jan Engelhardt.
Merge of xfs-linux-melb:xfs-kern:25529a by kenmcd.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Nov 3 05:01:26 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23 (unified)

Merge back several minor mainline API changes - gfp_t, msecs_to_jiffies, schedule_timeout_interruptible.
Merge of xfs-linux-melb:xfs-kern:24287a by kenmcd.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 2 12:47:06 2005 UTC (12 years ago) by hch
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (unified)

Fix sparse warnings in ktrace.[ch]

Revision 1.22 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.21: +12 -27 lines
Diff to previous 1.21 (unified)

Update license/copyright notices to match the prefered SGI boilerplate.
Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 8 07:31:41 2004 UTC (13 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.20: +1 -8 lines
Diff to previous 1.20 (unified)

sparse: fix header include order to get cpp macros defined correctly.  From Chris Wedgwood.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 21 05:55:14 2004 UTC (13 years, 8 months ago) by nathans
Branch: MAIN
Changes since 1.19: +0 -3 lines
Diff to previous 1.19 (unified)

Revisit symbol exports, move left-over debug/behavior exports outta the way of regular builds.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 20 03:58:20 2003 UTC (13 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (unified)

Change pagebuf to use the same ktrace implementation as XFS, instead of reinventing that wheel.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 13 06:21:40 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.17: +1 -0 lines
Diff to previous 1.17 (unified)

Remove some spurious 2.4/2.6 differences in support code

Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 17 03:29:52 2003 UTC (13 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.16: +2 -26 lines
Diff to previous 1.16 (unified)

Fix ktrace code - dont build unilaterally, and do earlier init for pagebuf use.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.15: +378 -0 lines
Diff to previous 1.15 (unified)

The Big Move
linux/fs/xfs/support/ktrace.c 1.14 Renamed to support/ktrace.c

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
CVS Tags: DENUKE
Changes since 1.14: +0 -378 lines
Diff to previous 1.14 (unified)

Nuke

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 2 01:01:52 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.13: +1 -0 lines
Diff to previous 1.13 (unified)

Fix compile for Alpha architecture.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.12: +43 -43 lines
Diff to previous 1.12 (unified)

Whitespace cleanup
Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 4 17:49:55 2003 UTC (14 years, 6 months ago) by hch
Branch: MAIN
Changes since 1.11: +0 -1 lines
Diff to previous 1.11 (unified)

fix debug build

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 4 17:27:05 2003 UTC (14 years, 6 months ago) by hch
Branch: MAIN
Changes since 1.10: +6 -1 lines
Diff to previous 1.10 (unified)

remove atomicIncWithWrap
opencode atomic increment with wrap here

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 26 22:39:53 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.9: +0 -4 lines
Diff to previous 1.9 (unified)

remove unnecessary includes, ensure config.h

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 18 17:42:52 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (unified)

remove support/types.h

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 10 19:00:42 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.7: +162 -162 lines
Diff to previous 1.7 (unified)

whitespace cleanup

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 4 16:30:46 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (unified)

Update copyright dates

Revision 1.6 / (download) - annotate - [select for diffs], Tue May 21 22:26:45 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.5: +6 -0 lines
Diff to previous 1.5 (unified)

Export symbols from ktrace for xfsidbg

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 21 04:27:18 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.4: +371 -0 lines
Diff to previous 1.4 (unified)

linux/fs/xfs_support/ktrace.c 1.4 Renamed to linux/fs/xfs/support/ktrace.c
changes to fold xfs_support code back into XFS (the other sgi projects
using this will be / have been fixed).  reduces our footprint on the
base kernel.  NB: xfs_support.o as a distinct module no longer exists.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 14 06:04:19 2001 UTC (16 years, 7 months ago) by kaos
Branch: MAIN
Changes since 1.3: +0 -380 lines
Diff to previous 1.3 (unified)

linux/fs/xfs/support/ktrace.c 1.3 Renamed to linux/fs/xfs_support/ktrace.c

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 16 01:57:15 2000 UTC (16 years, 11 months ago) by dxm
Branch: MAIN
Changes since 1.2: +35 -18 lines
Diff to previous 1.2 (unified)

use kmem_zone_t and kmem_zone_s not xfs aliases
add kmem_init and kmem_uninit to alloc & dealoc zones and don't export

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 14 16:42:01 2000 UTC (16 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (unified)

Fix smp build

Revision 1.1 / (download) - annotate - [select for diffs], Tue Nov 14 02:57:58 2000 UTC (16 years, 11 months ago) by dxm
Branch: MAIN

Split XFS support code into xfs_support module

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>