linux-kernel mailing list

FromSubjectsort iconDate
Michael Gerdau
2.6.23-rc6-mm1 and acpi
Hi, while trying to compile 2.6.23-rc6-mm1 I came across the following build error: mgd@seneca:/usr/src/linux-2.6.23-rc6-mm1> make modules CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh <stdin>:1389:2: warning: #warning syscall revokeat not implemented <stdin>:1393:2: warning: #warning syscall frevoke not implemented CC [M] drivers/acpi/sbs.o drivers/acpi/sbs.c: In function =E2=80=98acpi_battery_alarm_show=E2=80=99: ...
Sep 18, 5:42 pm 2007
Christoph Lameter
[05/17] vunmap: return page array
Make vunmap return the page array that was used at vmap. This is useful if one has no structures to track the page array but simply stores the virtual address somewhere. The disposition of the page array can be decided upon after vunmap. vfree() may now also be used instead of vunmap which will release the page array after vunmap'ping it. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/linux/vmalloc.h | 2 +- mm/vmalloc.c | 26 ++++++++++++++++---------- 2...
Sep 18, 11:36 pm 2007
Christoph Lameter
[07/17] GFP_VFALLBACK: Allow fallback of compound pages to v...
This adds a new gfp flag __GFP_VFALLBACK If specified during a higher order allocation then the system will fall back to vmap and attempt to create a virtually contiguous area instead of a physically contiguous area. In many cases the virtually contiguous area can stand in for the physically contiguous area (with some loss of performance). The pages used for VFALLBACK are marked with a new flag PageVcompound(page). The mark is necessary since we have to know upon free if we have to destroy a ...
Sep 18, 11:36 pm 2007
Christoph Lameter
[06/17] vmalloc_address(): Determine vmalloc address from pa...
Sometimes we need to figure out which vmalloc address is in use for a certain page struct. There is no easy way to figure out the vmalloc address from the page struct. So simply search through the kernel page table to find the address. This is a fairly expensive process. Use sparingly (or provide a better implementation). Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/linux/vmalloc.h | 3 + mm/vmalloc.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++++...
Sep 18, 11:36 pm 2007
Christoph Lameter
[09/17] VFALLBACK: Debugging aid
Virtual fallbacks are rare and thus subtle bugs may creep in if we do not test the fallbacks. CONFIG_VFALLBACK_ALWAYS makes all GFP_VFALLBACK allocations fall back to virtual mapping. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- lib/Kconfig.debug | 11 +++++++++++ mm/page_alloc.c | 9 +++++++++ 2 files changed, 20 insertions(+) Index: linux-2.6/mm/page_alloc.c =================================================================== --- linux-2.6.orig/mm/page_alloc.c 2007-...
Sep 18, 11:36 pm 2007
Christoph Lameter
[10/17] Use GFP_VFALLBACK for sparsemem.
Sparsemem currently attempts first to do a physically contiguous mapping and then falls back to vmalloc. The same thing can now be accomplished using GFP_VFALLBACK. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- mm/sparse.c | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) Index: linux-2.6/mm/sparse.c =================================================================== --- linux-2.6.orig/mm/sparse.c 2007-09-18 13:21:44.000000000 -0700 +++ linux-2...
Sep 18, 11:36 pm 2007
Christoph Lameter
[15/17] SLUB: Support virtual fallback via SLAB_VFALLBACK
SLAB_VFALLBACK can be specified for selected slab caches. If fallback is available then the conservative settings for higher order allocations are overridden. We then request an order that can accomodate at mininum 100 objects. The size of an individual slab allocation is allowed to reach up to 256k (order 6 on i386, order 4 on IA64). Implementing fallback requires special handling of virtual mappings in the free path. However, the impact is minimal since we already check the address if its NULL or...
Sep 18, 11:36 pm 2007
Christoph Lameter
[17/17] Allow virtual fallback for dentries
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- fs/dcache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6/fs/dcache.c =================================================================== --- linux-2.6.orig/fs/dcache.c 2007-09-18 18:42:19.000000000 -0700 +++ linux-2.6/fs/dcache.c 2007-09-18 18:42:55.000000000 -0700 @@ -2118,7 +2118,8 @@ static void __init dcache_init(unsigned * of the dcache. */ dentry_cache = KMEM_CACHE(dentry, - SLAB_RE...
Sep 18, 11:36 pm 2007
Christoph Lameter
[16/17] Allow virtual fallback for buffer_heads
This is in particular useful for large I/Os because it will allow > 100 allocs from the SLUB fast path without having to go to the page allocator. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- fs/buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6/fs/buffer.c =================================================================== --- linux-2.6.orig/fs/buffer.c 2007-09-18 15:44:37.000000000 -0700 +++ linux-2.6/fs/buffer.c 2007-09-18 15:44:51.000...
Sep 18, 11:36 pm 2007
Christoph Lameter
[14/17] Allow bit_waitqueue to wait on a bit in a vmalloc area
If bit waitqueue is passed a virtual address then it must use vmalloc_to_page instead of virt_to_page to get to the page struct. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- kernel/wait.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) Index: linux-2.6/kernel/wait.c =================================================================== --- linux-2.6.orig/kernel/wait.c 2007-09-18 19:19:27.000000000 -0700 +++ linux-2.6/kernel/wait.c 2007-09-18 20:10:39.000000000...
Sep 18, 11:36 pm 2007
Christoph Lameter
[12/17] Virtual Compound page allocation from interrupt cont...
In an interrupt context we cannot wait for the vmlist_lock in __get_vm_area_node(). So use a trylock instead. If the trylock fails then the atomic allocation will fail and subsequently be retried. This only works because the flush_cache_vunmap in use for allocation is never performing any IPIs in contrast to flush_tlb_... in use for freeing. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- mm/vmalloc.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Index: ...
Sep 18, 11:36 pm 2007
Christoph Lameter
[13/17] Virtual compound page freeing in interrupt context
If we are in an interrupt context then simply defer the free via a workqueue. In an interrupt context it is not possible to use vmalloc_addr() to determine the vmalloc address. So add a variant that does that too. Removing a virtual mappping *must* be done with interrupts enabled since tlb_xx functions are called that rely on interrupts for processor to processor communications. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- mm/page_alloc.c | 23 ++++++++++++++++++++++- 1 ...
Sep 18, 11:36 pm 2007
Nick Piggin
Re: [13/17] Virtual compound page freeing in interrupt context
These things will clash drastically with my lazy TLB flushing and scalability work. Actually the lazy TLB flushing will provide a natural way to defer unmapping at interrupt time, and the scalability work should make it -
Sep 18, 4:36 pm 2007
Christoph Lameter
[11/17] GFP_VFALLBACK for zone wait table.
Currently we have to use vmalloc for the zone wait table possibly generating the need to create lots of TLBs to access the tables. We can now use GFP_VFALLBACK to attempt the use of a physically contiguous page that can then use the large kernel TLBs. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- mm/page_alloc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux-2.6/mm/page_alloc.c =================================================================== --- ...
Sep 18, 11:36 pm 2007
Christoph Lameter
[08/17] Pass vmalloc address in page->private
Avoid expensive lookups of virtual addresses from page structs by storing the vmalloc address in page->private. We can then avoid the vmalloc_address() in the get_xxxx_pagexxxx() functions and simply return page->private. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- mm/page_alloc.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) Index: linux-2.6/mm/page_alloc.c =================================================================== --- linux-2.6.o...
Sep 18, 11:36 pm 2007
Christoph Lameter
[03/17] is_vmalloc_addr(): Check if an address is within the...
This test is used in a couple of places. Add a version to vmalloc.h and replace the other checks. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- drivers/net/cxgb3/cxgb3_offload.c | 4 +--- fs/ntfs/malloc.h | 3 +-- fs/proc/kcore.c | 2 +- fs/xfs/linux-2.6/kmem.c | 3 +-- fs/xfs/linux-2.6/xfs_buf.c | 3 +-- include/linux/mm.h | 8 ++++++++ mm/sparse.c | 10 +--------- 7 ...
Sep 18, 11:36 pm 2007
Christoph Lameter
[02/17] Vmalloc: add const
Make vmalloc functions work the same way as kfree() and friends that take a const void * argument. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/linux/vmalloc.h | 10 +++++----- mm/vmalloc.c | 16 ++++++++-------- 2 files changed, 13 insertions(+), 13 deletions(-) Index: linux-2.6/mm/vmalloc.c =================================================================== --- linux-2.6.orig/mm/vmalloc.c 2007-09-18 18:34:06.000000000 -0700 +++ linux-2.6/mm/vmalloc....
Sep 18, 11:36 pm 2007
Christoph Lameter
[01/17] Vmalloc: Move vmalloc_to_page to mm/vmalloc.
We already have page table manipulation for vmalloc in vmalloc.c. Move the vmalloc_to_page() function there as well. Also move the related definitions from include/linux/mm.h. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/linux/mm.h | 2 -- include/linux/vmalloc.h | 4 ++++ mm/memory.c | 40 ---------------------------------------- mm/vmalloc.c | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+), 42 deleti...
Sep 18, 11:36 pm 2007
Christoph Lameter
[00/17] [RFC] Virtual Compound Page Support
Currently there is a strong tendency to avoid larger page allocations in the kernel because of past fragmentation issues and the current defragmentation methods are still evolving. It is not clear to what extend they can provide reliable allocations for higher order pages (plus the definition of "reliable" seems to be in the eye of the beholder). Currently we use vmalloc allocations in many locations to provide a safe way to allocate larger arrays. That is due to the danger of higher order allocati...
Sep 18, 11:36 pm 2007
Christoph Lameter
[04/17] vmalloc: clean up page array indexing
The page array is repeatedly indexed both in vunmap and vmalloc_area_node(). Add a temporary variable to make it easier to read (and easier to patch later). Signed-off-by: Christoph Lameter <clameter@sgi.com> --- mm/vmalloc.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) Index: linux-2.6/mm/vmalloc.c =================================================================== --- linux-2.6.orig/mm/vmalloc.c 2007-09-18 13:22:16.000000000 -0700 +++ linux-2.6/mm/vmallo...
Sep 18, 11:36 pm 2007
Zou Nan hai
[Patch]some proc entries are missed in sched_domain sys_ctl ...
cache_nice_tries and flags entry do not appear in proc fs sched_domain directory, because ctl_table entry is skipped. This patch fix the issue. Signed-off-by: Zou Nan hai <nanhai.zou@intel.com> --- linux-2.6.23-rc6/kernel/sched.c 2007-09-18 23:47:07.000000000 -0400 +++ b/kernel/sched.c 2007-09-18 23:47:20.000000000 -0400 @@ -5304,7 +5304,7 @@ set_table_entry(struct ctl_table *entry, static struct ctl_table * sd_alloc_ctl_domain_table(struct sched_domain *sd) { - struct ctl_table *ta...
Sep 18, 11:16 pm 2007
Huang, Ying
[PATCH -mm -v2 2/2] i386/x86_64 boot: document for 32 bit bo...
This patch defines a 32-bit boot protocol and adds corresponding document. It is based on the proposal of Peter Anvin. Known issues: - The hd0_info and hd1_info are deleted from the zero page. Additional work should be done for this? Or this is unnecessary (because no new fields will be added to zero page)? - The fields in zero page are fairly complex (such as struct edd_info). Is it necessary to document every field inside the first level fields, until the primary data type? Or is i...
Sep 18, 11:10 pm 2007
Huang, Ying
[PATCH -mm -v2 1/2] i386/x86_64 boot: setup data
This patch add a field of 64-bit physical pointer to NULL terminated single linked list of struct setup_data to real-mode kernel header. This is used as a more extensible boot parameters passing mechanism. This patch has been tested against 2.6.23-rc6-mm1 kernel on x86_64. It is based on the proposal of Peter Anvin. Known Issues: 1. Where is safe to place the linked list of setup_data? Because the length of the linked list of setup_data is variable, it can not be copied into BSS segment of ...
Sep 18, 11:10 pm 2007
KAMEZAWA Hiroyuki
[PATCH] fix memory hot remove not configured case.
Now, arch dependent code around CONFIG_MEMORY_HOTREMOVE is a mess. This patch cleans up them. This is against 2.6.23-rc6-mm1. - fix compile failure on ia64/ CONFIG_MEMORY_HOTPLUG && !CONFIG_MEMORY_HOTREMOVE case. - For !CONFIG_MEMORY_HOTREMOVE, add generic no-op remove_memory(), which returns -EINVAL. - removed remove_pages() only used in powerpc. - removed no-op remove_memory() in i386, sh, sparc64, x86_64. - only powerpc returns -ENOSYS at memory hot remove(no-op). changes it ...
Sep 18, 10:20 pm 2007
KAMEZAWA Hiroyuki
Re: [PATCH] fix memory hot remove not configured case.
Sorry... I sent old version...it returns -ENOSYS. Andrew-san, please replace. Goto-san, please confirm and ack. == Now, arch dependent code around CONFIG_MEMORY_HOTREMOVE is a mess. This patch cleans up them. - For !CONFIG_MEMORY_HOTREMOVE, add generic no-op remove_memory(), which returns -EINVAL. - removed remove_pages() only used in powerpc. - removed no-op remove_memory() in i386, sh, sparc64, x86_64. - only powerpc returns -ENOSYS at memory hot remove. changes it to return -EI...
Sep 18, 10:34 pm 2007
Jeff Dike
[PATCH 2/2] UML - refix ELF_CORE_COPY_REGS
The former uml-fix-x86_64-core-dump-crash.patch expressed ELF_CORE_COPY_REGS in terms of the pt_regs struct currently in -mm. I fast-tracked this to mainline, where it was wrong because the pt_regs struct there hadn't been changed. Fixing that then made the patch wrong for -mm when it was rebased on -rc6. This patch changes things back again to be right for -mm. This should go to mainline after uml-rename-pt_regs-general-purpose-register-file.patch Signed-off-by: Jeff Dike <jdike@linux.inte...
Sep 18, 9:31 pm 2007
Jeff Dike
[PATCH 0/2] UML - Two x86_64 build fixes
These two patches fix UML build breakages on x86_64. They are -mm-specific, so don't need to go to mainline until 2.6.24. Jeff -- Work email - jdike at linux dot intel dot com -
Sep 18, 9:31 pm 2007
Jeff Dike
[PATCH 1/2] UML - Fix registers.c build
uml-stop-saving-process-fp-state.patch broke the UML/x86_64 build. On x86_64, sys/ptrace.h has to be included before asm/ptrace.h. Otherwise, the defines in asm/ptrace.h will ruin the parse of sys/ptrace.h - asm/ptrace.h: #define PTRACE_GETREGS 12 sys/ptrace.h: enum __ptrace_request { ... PTRACE_GETREGS = 12, ... } Also, errno.h was missing. Signed-off-by: Jeff Dike <jdike@linux.intel.com> --- arch/um/os-Linux/sys-x86_64/registers.c | 3 ++- 1...
Sep 18, 9:31 pm 2007
Avantika Mathur
[PATCH] Ext4: Uninitialized Block Groups
from: Andreas Dilger <adilger@clusterfs.com> In pass1 of e2fsck, every inode table in the fileystem is scanned and checked, regardless of whether it is in use. This is this the most time consuming part of the filesystem check. The unintialized block group feature can greatly reduce e2fsck time by eliminating checking of uninitialized inodes. With this feature, there is a a high water mark of used inodes for each block group. Block and inode bitmaps can be uninitialized on disk via a...
Sep 18, 8:25 pm 2007
Andrew Morton
Re: [PATCH] Ext4: Uninitialized Block Groups
And is we really really have to do this, then the ext4-private crc16() should have static scope. -
Sep 18, 11:05 pm 2007
Andrew Morton
Re: [PATCH] Ext4: Uninitialized Block Groups
That's rather sad. A plain old "depends on" would be better. -
Sep 18, 11:03 pm 2007
Aggelos Manousarides
Bogus high interrupt load?
I am using kernel 2.6.13 on a PXA. The system has a DSP driver which triggers an interrupt every 5ms with a free running clock, unrelated to the PXA clock. During the debugging of the DSP driver a strange load peak was detected with a very precise period. Normally the total load figure was about 1%-2%, but every 4:40 minutes, the interrupt load was almost 30% of the system for about 10 seconds. All tools which are based on the /proc/stat numbers reported this (top, a custom top build on /proc/stat,...
Sep 18, 7:56 pm 2007
Jeff Dike
[PATCH] UML - Fix irqstack crash
This patch fixes a crash caused by an interrupt coming in when an IRQ stack is being torn down. When this happens, handle_signal will loop, setting up the IRQ stack again because the tearing down had finished, and handling whatever signals had come in. However, to_irq_stack returns a mask of pending signals to be handled, plus bit zero is set if the IRQ stack was already active, and thus shouldn't be torn down. This causes a problem because when handle_signal goes around the loop, sig will be zer...
Sep 18, 7:33 pm 2007
Andrew Morton
Re: [PATCH] UML - Fix irqstack crash
On Tue, 18 Sep 2007 19:33:36 -0400 You want 1UL there. -
Sep 18, 8:07 pm 2007
Shentino
BUG? Suspend during active sound playback kills sound
Run any program that opens the ALSA sound (and probably the dsp legacy), and then suspend to disk during playback. On the next and each subsequent thawout, the sound is dead even if you close and repoen the sound. Only a "cold boot" can fix it. -
Sep 18, 7:06 pm 2007
Andrew Morton
Re: BUG? Suspend during active sound playback kills sound
On Tue, 18 Sep 2007 16:06:21 -0700 Which kernel version, which sound driver and what type of sound card? Thanks. -
Sep 18, 7:23 pm 2007
Badari Pulavarty
2.6.23-rc6-mm1 panic (memory controller issue ?)
Hi Balbir, I get following panic from SLUB, while doing simple fsx tests. I haven't used any container/memory controller stuff except that I configured them in :( Looks like slub doesn't like one of the flags passed in ? Known issue ? Ideas ? Thanks, Badari CONFIG_CONTAINERS=y CONFIG_CONTAINER_DEBUG=y CONFIG_CONTAINER_NS=y CONFIG_CONTAINER_CPUACCT=y CONFIG_CONTAINER_MEM_CONT=y CONFIG_ACPI_CONTAINER=m elm3b29 login: ------------[ cut here ]------------ kernel BUG at mm/slub.c:10...
Sep 18, 6:21 pm 2007
Badari Pulavarty
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?)
I think, I found the issue. I am still running tests to verify. Does this sound correct ? Thanks, Badari Need to strip __GFP_HIGHMEM flag while passing to mem_container_cache_charge(). Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com> mm/filemap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6.23-rc6/mm/filemap.c =================================================================== --- linux-2.6.23-rc6.orig/mm/filemap.c 2007-09-18 12:43:54.000000000 -...
Sep 18, 8:31 pm 2007
Balbir Singh
Re: 2.6.23-rc6-mm1 panic (memory controller issue ?)
Hi, Badari, The fix looks correct, radix_tree_preload() does the same thing in add_to_page_cache(). Thanks for identifying the fix -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -
Sep 18, 9:53 pm 2007
Mathieu Desnoyers
[patch 06/11] Text Edit Lock - Alternative code for i386 and...
Fix a memcpy that should be a text_poke (in apply_alternatives). Use kernel_wp_save/kernel_wp_restore in text_poke to support DEBUG_RODATA correctly and so the CPU HOTPLUG special case can be removed. clflush all the cachelines touched by text_poke. Add text_poke_early, for alternatives and paravirt boot-time and module load time patching. Notes: - the clflush is left there, even though Andi Kleen says it breaks some architecture. The proper fix is to detect these CPUs and set the cpu_...
Sep 18, 5:06 pm 2007
Mathieu Desnoyers
[patch 07/11] Text Edit Lock - kprobes architecture independ...
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com> CC: prasanna@in.ibm.com CC: ananth@in.ibm.com CC: anil.s.keshavamurthy@intel.com CC: davem@davemloft.net --- kernel/kprobes.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) Index: linu...
Sep 18, 5:06 pm 2007
Mathieu Desnoyers
[patch 04/11] Add INIT_ARRAY() to kernel.h
Add initialization of an array, which needs brackets that would pollute kernel code, to kernel.h. It is used to declare arguments passed as function parameters such as: text_poke(addr, INIT_ARRAY(unsigned char, 0xf0, len), len); Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> --- include/linux/kernel.h | 2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6-lttng/include/linux/kernel.h =================================================================== --- linux-2.6-...
Sep 18, 5:06 pm 2007
Mathieu Desnoyers
[patch 6/7] Immediate Values - Documentation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> --- Documentation/immediate.txt | 228 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 228 insertions(+) Index: linux-2.6-lttng/Documentation/immediate.txt =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux-2.6-lttng/Documentation/immediate.txt 2007-09-18 09:12:01.000000000 -0400 @@ -0,0 +1,228 @@ + Using the Immediate Values +...
Sep 18, 5:07 pm 2007
Mathieu Desnoyers
[patch 7/7] Scheduler Profiling - Use Immediate Values
Use immediate values with lower d-cache hit in optimized version as a condition for scheduler profiling call. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> --- drivers/kvm/kvm_main.c | 3 ++- include/linux/profile.h | 5 +++-- kernel/profile.c | 22 +++++++++++----------- 3 files changed, 16 insertions(+), 14 deletions(-) Index: linux-2.6-lttng/kernel/profile.c =================================================================== --- linux-2.6-lttng.orig/...
Sep 18, 5:07 pm 2007
Mukker, Atul
kdump detection in SCSI drivers
Hi, Is there a standard way for drivers (RAID) to detect if the current kernel is running in kdump mode? We would like to adjust driver behavior dynamically when kdump is active by scaling down resources. Thanks -Atul Mukker LSI Corp. -
Sep 18, 5:39 pm 2007
Mathieu Desnoyers
[patch 4/4] Port of blktrace to the Linux Kernel Markers.
Here is the first stage of a port of blktrace to the Linux Kernel Markers. The advantage of this port is that it minimizes the impact on the running when blktrace is not active. A few remarks : this patch has the positive effect of removing some code from the block io tracing hot paths, minimizing the i-cache impact in a system where the io tracing is compiled in but inactive. It also moves the blk tracing code from a header (and therefore from the body of the instrumented functions) to a separat...
Sep 18, 5:13 pm 2007
Mathieu Desnoyers
[patch 2/4] Linux Kernel Markers - Use instrumentation kconf...
With the increasing complexity of today's user-space application and the wide deployment of SMP systems, the users need an increasing understanding of the behavior and performance of a system across multiple processes/different execution contexts/multiple CPUs. In applications such as large clusters (Google, IBM), video acquisition (Autodesk), embedded real-time systems (Wind River, Monta Vista, Sony) or sysadmin/programmer-type tasks (SystemTAP from Redhat), a tool that permits tracing of kernel-use...
Sep 18, 5:13 pm 2007
Mathieu Desnoyers
[patch 1/4] Linux Kernel Markers - Architecture Independent ...
The marker activation functions sits in kernel/marker.c. A hash table is used to keep track of the registered probes and armed markers, so the markers within a newly loaded module that should be active can be activated at module load time. marker_query has been removed. marker_get_first, marker_get_next and marker_release should be used as iterators on the markers. Changelog: - markers_mutex now nests inside module_mutex rather than the opposite. - Iteration on modules is now done in module.c. ...
Sep 18, 5:13 pm 2007
Mathieu Desnoyers
[patch 0/4] Linux Kernel Markers for 2.6.23-rc6-mm1
Hi Andrew, Here are the updated Linux Kernel Markers. It depends on : Text Edit Lock Immediate Values Sorted module list Merge Kconfig instrumentation menu It applies to 2.6.23-rc4-mm1, in this order: linux-kernel-markers-architecture-independent-code.patch linux-kernel-markers-instrumentation-menu.patch linux-kernel-markers-documentation.patch linux-kernel-markers-port-blktrace-to-markers.patch You can find a tarball of this patch and all its dependencies at: [ message continues ]
" title="http://ltt.polymtl.ca/ma...">http://ltt.polymtl.ca/ma...
Sep 18, 5:13 pm 2007
Mathieu Desnoyers
[patch 3/4] Linux Kernel Markers - Documentation
Here is some documentation explaining what is/how to use the Linux Kernel Markers. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: "Frank Ch. Eigler" <fche@redhat.com> CC: Christoph Hellwig <hch@infradead.org> --- Documentation/markers/markers.txt | 93 +++++++++++++++++++++++++++ Documentation/markers/src/Makefile | 7 ++ Documentation/markers/src/marker-example.c | 55 ++++++++++++++++ Documentation/markers/src/probe-example...
Sep 18, 5:13 pm 2007
previous daytodaynext day
September 17, 2007September 18, 2007September 19, 2007