linux-kernel mailing list

FromSubjectsort iconDate
Solofo.Ramangalahy
[PATCH -mm v2 3/3] sysv ipc: use auto_msgmnb to desactivate ...
From: Solofo Ramangalahy <Solofo.Ramangalahy@bull.net> Add /proc/sys/kernel/auto_msgmnb to control automatic recomputation of /proc/sys/kernel/msgmnb (msg_ctlmnb). Signed-off-by: Solofo Ramangalahy <Solofo.Ramangalahy@bull.net> --- Documentation/sysctl/kernel.txt | 35 ++++++++++++++++ include/linux/ipc_namespace.h | 5 ++ ipc/ipc_sysctl.c | 87 ++++++++++++++++++++++++++++++++++++---- ipc/ipcns_notifier.c | 62 +++++++++++++++++++++++++++- ipc/...
Jul 15, 5:14 pm 2008
Solofo.Ramangalahy
[PATCH -mm v2 1/3] sysv ipc: increase msgmnb default value w...
From: Solofo Ramangalahy <Solofo.Ramangalahy@bull.net> Initialize msgmnb value to min(MSGMNB * num_online_cpus(), MSGMNB * MSG_CPU_SCALE) to increase the default value for larger machines. MSG_CPU_SCALE scaling factor is defined to be 4, as 16384 x 4 = 65536 is an already used and recommended value. The msgmni value is made dependant of msgmnb to keep the memory dedicated to message queues within the 1/MSG_MEM_SCALE of lowmem bound. Unlike msgmni, the value is not scaled (down) with r...
Jul 15, 5:14 pm 2008
Solofo.Ramangalahy
[PATCH -mm v2 2/3] sysv ipc: recompute msgmnb (and msgmni) o...
From: Solofo Ramangalahy <Solofo.Ramangalahy@bull.net> As msgmnb is scaled wrt. online cpus, cpu hotplug events should grow and shrink the value. Like msgmni with ipc_memory_callback(), the ipc_cpu_callback() function triggers msgmnb recomputation. Signed-off-by: Solofo Ramangalahy <Solofo.Ramangalahy@bull.net> --- include/linux/ipc_namespace.h | 1 + ipc/ipcns_notifier.c | 8 +++----- ipc/util.c | 28 ++++++++++++++++++++++++++++ 3 files ch...
Jul 15, 5:14 pm 2008
Solofo.Ramangalahy
[PATCH -mm v2 0/3] sysv ipc: increase msgmnb with the number...
The size in bytes of a SysV IPC message queue, msgmnb, is too small for large machines, but we don't want to bloat small machines. This series increase ("scale") the default value of /proc/sys/kernel/msgmnb. Several methods are used already to modify (mainly increase) msgmnb: . distribution specific patch (e.g. openSUSE) . system wide sysctl.conf . application specific tuning via /proc/sys/kernel/msgmnb Integrating this series would: . reflect hardware and software evolutions and diversity, ...
Jul 15, 5:14 pm 2008
Nathan Lynch
AT_BASE_PLATFORM (v2)
Background: Some IBM POWER-based systems have the ability to run in a "compatibility" mode which mostly appears to the OS as a different processor from the actual hardware. This feature of the platform is useful for live partition migration and for backwards compatibility with old kernels on new hardware. For example, a Power6 system may appear to be a Power5+, which makes the AT_PLATFORM value "power5+". Problem: Booting a system in a compatibility mode means that ld.so may load libraries that...
Jul 15, 7:58 pm 2008
Nathan Lynch
[PATCH] enable AT_BASE_PLATFORM aux vector for powerpc
Stash the first platform string matched by identify_cpu() in powerpc_base_platform, and supply that to the ELF loader for the value of AT_BASE_PLATFORM. Signed-off-by: Nathan Lynch <ntl@pobox.com> --- arch/powerpc/kernel/cputable.c | 11 +++++++++++ include/asm-powerpc/cputable.h | 2 ++ include/asm-powerpc/elf.h | 8 ++++++++ 3 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index f7f3c21..89d8731...
Jul 15, 7:58 pm 2008
Nathan Lynch
[PATCH] elf loader support for auxvec base platform string
Some IBM POWER-based platforms have the ability to run in a mode which mostly appears to the OS as a different processor from the actual hardware. For example, a Power6 system may appear to be a Power5+, which makes the AT_PLATFORM value "power5+". This means that programs are restricted to the ISA supported by Power5+; Power6-specific instructions are treated as illegal. However, some applications (virtual machines, optimized libraries) can benefit from knowledge of the underlying CPU model. A ...
Jul 15, 7:58 pm 2008
Eric Rannaud
madvise(2) MADV_SEQUENTIAL behavior
mm/madvise.c and madvise(2) say: * MADV_SEQUENTIAL - pages in the given range will probably be accessed * once, so they can be aggressively read ahead, and * can be freed soon after they are accessed. But as the sample program at the end of this post shows, and as I understand the code in mm/filemap.c, MADV_SEQUENTIAL will only increase the amount of read ahead for the specified page range, but will not influence the rate at which the pages just read will be freed from memory. Running...
Jul 15, 7:03 pm 2008
Neil Brown
[PATCH/RFC] sysfs: Support sysfs_notify from atomic context ...
Hi Greg, I wonder if you would consider this patch for sysfs. It makes sysfs_notify functionality more useful to me. Thanks, NeilBrown Author: NeilBrown <neilb@suse.de> Date: Wed Jul 16 08:54:36 2008 +1000 Support sysfs_notify from atomic context with new sysfs_notify_dirent sysfs_notify currently takes sysfs_mutex. This means that it cannot be called in atomic context. sysfs_mutex is sometimes held over a malloc (sysfs_rename_dir) so it can blo...
Jul 15, 6:58 pm 2008
Tejun Heo
Re: [PATCH/RFC] sysfs: Support sysfs_notify from atomic cont...
Hello, I don't think this inline technique is really necessary. Please just drop the inline versions. Other than that, Acked-by: Tejun Heo <tj@kernel.org> BTW, things like this strongly suggest that we really should switch to sd-based interface instead of combination of kobj and optional name string. Thanks. -- tejun --
Jul 15, 7:13 pm 2008
Ingo Molnar
[git pull] optimizations for 4096 CPUs, for v2.6.27
Linus, Please pull the latest "4096 CPUs" git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git cpus4096 this includes performance and stack footprint optimizations for crazy SGI systems with 4096 CPUs. The tree-wide scope is relatively large because automatic conversion to the faster for_each_cpu_*_nr() APIs was not possible, it had to be done one by one in the case where it was safe to iterate to nr_cpu_ids. Thanks, Ingo ------------------> A...
Jul 15, 6:45 pm 2008
Mathieu Desnoyers
[patch 11/17] LTTng instrumentation - memory page faults
Instrument the page fault entry and exit. Useful to detect delays caused by page faults and bad memory usage patterns. Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was using hackbench on a kernel where scheduler instrumentation (about 5 events in code scheduler code) was added. See the "Tracepoints" patch header for p...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 01/17] RCU read sched
Add rcu_read_lock_sched() and rcu_read_unlock_sched() to rcupdate.h to match the recently added write-side call_rcu_sched() and rcu_barrier_sched(). They also match the no-so-recently-added synchronize_sched(). It will help following matching use of the update/read lock primitives. Those new read lock will replace preempt_disable()/enable() used in pair with RCU-classic synchronization. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Peter Zijlstra <peterz@infradead.o...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 09/17] LTTng instrumentation - filemap
Instrumentation of waits caused by memory accesses on mmap regions. Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was using hackbench on a kernel where scheduler instrumentation (about 5 events in code scheduler code) was added. See the "Tracepoints" patch header for performance result detail. Signed-off-by: Mathieu ...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 16/17] LTTng instrumentation - ipv6
Instrument addr_add and del of network interfaces. Lets a tracer know the interface address changes. Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was using hackbench on a kernel where scheduler instrumentation (about 5 events in code scheduler code) was added. See the "Tracepoints" patch header for performance result ...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 14/17] LTTng instrumentation - net
Network device activity instrumentation (xmit/receive). Allows to detect when a packet had arrived on the network card or when it is going to be sent. This is the instrumentation point outside of the drivers that is the closest to the hardware. It allows to detect the amount of time taken by a packet to go through the kernel between the system call and the actual delivery to the network card (given that system calls are instrumented). Those tracepoints are used by LTTng. About the performance imp...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 15/17] LTTng instrumentation - ipv4
Keep track of interface up/down for ipv4. Allows to keep track of interface address changes in a trace. Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was using hackbench on a kernel where scheduler instrumentation (about 5 events in code scheduler code) was added. See the "Tracepoints" patch header for performance resu...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 10/17] LTTng instrumentation - swap
Instrumentation of waits caused by swap activity. Also instrumentation swapon/swapoff events to keep track of active swap partitions. Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was using hackbench on a kernel where scheduler instrumentation (about 5 events in code scheduler code) was added. See the "Tracepoints" pat...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 02/17] Kernel Tracepoints
Implementation of kernel tracepoints. Inspired from the Linux Kernel Markers. Allows complete typing verification by declaring both tracing statement inline functions and probe registration/unregistration static inline functions within the same macro "DEFINE_TRACE". No format string is required. See the tracepoint Documentation and Samples patches for usage examples. Taken from the documentation patch : "A tracepoint placed in code provides a hook to call a function (probe) that you can provide a...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 03/17] Tracepoints Documentation
Documentation of tracepoint usage. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Masami Hiramatsu <mhiramat@redhat.com> CC: 'Peter Zijlstra' <peterz@infradead.org> CC: "Frank Ch. Eigler" <fche@redhat.com> CC: 'Ingo Molnar' <mingo@elte.hu> CC: 'Hideo AOKI' <haoki@redhat.com> CC: Takashi Nishiie <t-nishiie@np.css.fujitsu.com> CC: 'Steven Rostedt' <rostedt@goodmis.org> CC: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro&...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 12/17] LTTng instrumentation - page
Paging activity instrumentation. Instruments page allocation/free to keep track of page allocation. This does not cover hugetlb activity, which is covered by a separate patch. Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was using hackbench on a kernel where scheduler instrumentation (about 5 events in code scheduler ...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 04/17] Tracepoints Samples
Tracepoint example code under samples/. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Masami Hiramatsu <mhiramat@redhat.com> CC: 'Peter Zijlstra' <peterz@infradead.org> CC: "Frank Ch. Eigler" <fche@redhat.com> CC: 'Ingo Molnar' <mingo@elte.hu> CC: 'Hideo AOKI' <haoki@redhat.com> CC: Takashi Nishiie <t-nishiie@np.css.fujitsu.com> CC: 'Steven Rostedt' <rostedt@goodmis.org> CC: Eduard - Gabriel Munteanu <eduard.munteanu@linux36...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 13/17] LTTng instrumentation - hugetlb
Instrumentation of hugetlb activity (alloc/free/reserve/grab/release). Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was using hackbench on a kernel where scheduler instrumentation (about 5 events in code scheduler code) was added. See the "Tracepoints" patch header for performance result detail. Changelog : - instr...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 17/17] ftrace port to tracepoints
Porting the trace_mark() used by ftrace to tracepoints. (cleanup) Changelog : - Change error messages : marker -> tracepoint Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Masami Hiramatsu <mhiramat@redhat.com> CC: 'Peter Zijlstra' <peterz@infradead.org> CC: "Frank Ch. Eigler" <fche@redhat.com> CC: 'Ingo Molnar' <mingo@elte.hu> CC: 'Hideo AOKI' <haoki@redhat.com> CC: Takashi Nishiie <t-nishiie@np.css.fujitsu.com> CC: 'Steven Ros...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 06/17] LTTng instrumentation - scheduler
Instrument the scheduler activity (sched_switch, migration, wakeups, wait for a task, signal delivery) and process/thread creation/destruction (fork, exit, kthread stop). Actually, kthread creation is not instrumented in this patch because it is architecture dependent. It allows to connect tracers such as ftrace which detects scheduling latencies, good/bad scheduler decisions. Tools like LTTng can export this scheduler information along with instrumentation of the rest of the kernel activity to perfor...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 07/17] LTTng instrumentation - timer
Instrument timer activity (timer set, expired, current time updates) to keep information about the "real time" flow within the kernel. It can be used by a trace analysis tool to synchronize information coming from various sources, e.g. to merge traces with system logs. Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was ...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 05/17] LTTng instrumentation - irq
Instrumentation of IRQ related events : irq, softirq, tasklet entry and exit and softirq "raise" events. It allows tracers to perform latency analysis on those various types of interrupts and to detect interrupts with max/min/avg duration. It helps detecting driver or hardware problems which cause an ISR to take ages to execute. It has been shown to be the case with bogus hardware causing an mmio read to take a few milliseconds. Those tracepoints are used by LTTng. About the performance impact...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 08/17] LTTng instrumentation - kernel
Instrument the core kernel : module load/free and printk events. It helps the tracer to keep track of module related events and to export valuable printk information into the traces. Those tracepoints are used by LTTng. About the performance impact of tracepoints (which is comparable to markers), even without immediate values optimizations, tests done by Hideo Aoki on ia64 show no regression. His test case was using hackbench on a kernel where scheduler instrumentation (about 5 events in code sch...
Jul 15, 6:26 pm 2008
Mathieu Desnoyers
[patch 00/17] Tracepoints v4 for linux-next
Hi, Here is the newest release of the Tracepoints, following the feedback from Peter Zijlstra. The main change is the creation of include/trace/ as a placeholder from tracepoint headers. The patchset applies over linux-next patch-v2.6.26-next-20080715 in this order : #This a separate RCU update upon which the tracepoints depend rcu-read-sched.patch tracepoints.patch tracepoints-documentation.patch tracepoints-samples.patch lttng-instrumentation-irq.patch lttng-instrumentation-scheduler....
Jul 15, 6:26 pm 2008
Alan Jenkins
[PATCH] acpi: Avoid dropping rapid hotkey events (or other G...
It looks like this EC clears the SMI_EVT bit after every query, even if there are more events pending. The workaround is to repeatedly query the EC until it reports that no events remain. This fixes a regression in 2.6.26 (from 2.6.25.3). Initially reported as "Asus Eee PC hotkeys stop working if pressed quickly" in bugzilla <http://bugzilla.kernel.org/show_bug.cgi?id=11089>. The regression was caused by a recently added check for interrupt storms. The Eee PC triggers this check and switc...
Jul 15, 6:25 pm 2008
Jason Baron
[PATCH 2/7] dynamic debug v2 - nfs conversion
-convert sunrpc debug facility Signed-off-by: Jason Baron <jbaron@redhat.com> --- fs/lockd/clntlock.c | 1 + fs/lockd/clntproc.c | 1 + fs/lockd/host.c | 1 + fs/lockd/mon.c | 1 + fs/lockd/svc.c | 1 + fs/lockd/svc4proc.c | 1 + fs/lockd/svclock.c | 1 + fs/lockd/svcproc.c | 1 + fs/lockd/svcshare.c ...
Jul 15, 5:32 pm 2008
Trond Myklebust
Re: [PATCH 2/7] dynamic debug v2 - nfs conversion
Where the hell did this come from, what's its purpose, and WTF haven't you Cced linux-nfs@vger.kernel.org so that the rest of us can review it? --
Jul 15, 6:30 pm 2008
Andrew Morton
Re: [PATCH 2/7] dynamic debug v2 - nfs conversion
On Tue, 15 Jul 2008 18:30:03 -0400 It's on linux-kernel. If you don't have a linux-kernel subscription then you should fix that. Set up a procmail rule and do a search-by-subject when needed. In this case, yes, it would have been nice if Jason had cc'ed lots of different lists and individuals on the core patch and then selectively cc'ed lists and individuals on the per-subsystem followup patches. But I doubt if even 2% of patch submitters manage to do all that correctly. --
Jul 15, 6:43 pm 2008
Trond Myklebust
Re: [PATCH 2/7] dynamic debug v2 - nfs conversion
I get my daily share of 1000-odd mails from linux-kernel, thanks, but 99% of that goes into the trashcan. I only keep a mail if I see that it's relevant. In this case, 1 email out of 7 turns out to be relevant (after I inadvertently deleted the apparently crucial first 2 emails), and there is no changelog entry to tell me what's being done or why. By Ccing the correct list, we at least get a heads-up that this thread might be important. I can't archive all of lkml on my laptop, but I can The po...
Jul 15, 6:56 pm 2008
Trond Myklebust
Re: [PATCH 2/7] dynamic debug v2 - nfs conversion
OK. Having looked up the missing patch on gmane, I'd like to know whether or not there is a followup plan to fix up utilities like 'rpcdebug'? Apparently this patch doesn't remove the existing sunrpc sysctl interface, but does circumvent it. The result is that while rpcdebug will happily continue to run, it just won't work any more... Trond --
Jul 15, 7:15 pm 2008
Andrew Morton
Re: [PATCH 2/7] dynamic debug v2 - nfs conversion
On Tue, 15 Jul 2008 19:15:45 -0400 I'm suspecting that Jason chose the wrong starter subsystem here ;) Probably we should have started with the many hundreds of simpler cases. OTOH, it's important that Jason understand NFS's requirements here. Treat it as a testcase for his design. Will his infrastructure be usable by NFS? If not, does his infrastructure need generalising and strengthening so that it _does_ suit? --
Jul 15, 7:24 pm 2008
Trond Myklebust
Re: [PATCH 2/7] dynamic debug v2 - nfs conversion
Since rpcdebug + the sysctl interface are well established interfaces that are probably scripted all over the place by administrators who are using it to as a debugging tool, I'd say that any interface breakages need a managed transition period. IOW: I'd say that any changes are going to need a transition period where a compatibility mode can be compiled in and where both interfaces work. It doesn't have to be too sophisticated, perhaps just something along the lines of +# define ifdebug(fac)...
Jul 15, 7:44 pm 2008
Andrew Morton
Re: [PATCH 2/7] dynamic debug v2 - nfs conversion
On Tue, 15 Jul 2008 18:56:07 -0400 Well stop doing that then. Use procmail to assemble a local linux-kernel archive and retain the last month or three's worth of traffic. This is trivial to set up and is pretty much essential lkml is a mere 100MB/month. Sorry, but you and others who are operating at your level should really just do this. Yes, it would be _better_ had Jason done the cc's perfectly, but as I said before, that is most uncommon. The main downside from what he did is that whil...
Jul 15, 7:08 pm 2008
Jason Baron
[PATCH 5/7] dynamic debug v2 - convert aio
-convert aio dprintk -> pr_debug Signed-off-by: Jason Baron <jbaron@redhat.com> --- fs/aio.c | 34 ++++++++++++++-------------------- 1 files changed, 14 insertions(+), 20 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index 2283686..b6f3b33 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -36,12 +36,6 @@ #include <asm/uaccess.h> #include <asm/mmu_context.h> -#if DEBUG > 1 -#define dprintk printk -#else -#define dprintk(x...) do { ; } while (0) -#endif - /...
Jul 15, 5:35 pm 2008
Jason Baron
[PATCH 1/7] dynamic debug v2 - infrastructure
-infrastructure patch Signed-off-by: Jason Baron <jbaron@redhat.com> --- Documentation/kernel-parameters.txt | 5 include/asm-generic/vmlinux.lds.h | 10 - include/linux/device.h | 6 include/linux/dynamic_printk.h | 161 +++++++++ include/linux/kernel.h | 31 ++ include/linux/module.h | 4 kernel/module.c | 23 + lib/Kconfig.debug | 79 +++++ lib/Makefile ...
Jul 15, 5:31 pm 2008
Jason Baron
[PATCH 0/7] dynamic debug v2
hi, I've updated the userspace interface and updated the implementation. I'm going to summarize what has changed below, but for more background, please see: http://marc.info/?l=linux-kernel&m=121338359012058&w=2 INTERFACE - userspace The file <debugfs>/dynamic_printk/modules is now formatted as: <module_name> <enabled=0/1> <level=[0-n]> <flag_name=0/1>.... <associated module names> . . . <module_name> : Name of the module in ...
Jul 15, 5:29 pm 2008
Jason Baron
[PATCH 7/7] dynamic debug v2 - convert alsa
-convert alsa to new infrastructure Signed-off-by: Jason Baron <jbaron@redhat.com> --- include/sound/core.h | 14 ++++++++++---- lib/dynamic_printk.c | 1 - sound/core/misc.c | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/include/sound/core.h b/include/sound/core.h index 4fc0235..956b867 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -364,7 +364,11 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) ...
Jul 15, 5:36 pm 2008
Jason Baron
[PATCH 6/7] dynamic debug v2 - convert cpufreq
-convert cpufreq Signed-off-by: Jason Baron <jbaron@redhat.com> --- arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 7 ++- arch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.c | 6 ++- arch/x86/kernel/cpu/cpufreq/gx-suspmod.c | 7 ++- arch/x86/kernel/cpu/cpufreq/longhaul.c | 7 ++- arch/x86/kernel/cpu/cpufreq/longrun.c | 6 ++- arch/x86/kernel/cpu/cpufreq/p4-clockmod.c | 7 +++ arch/x86/kernel/cpu/cpufreq/powernow-k7.c | ...
Jul 15, 5:36 pm 2008
Dominik Brodowski
Re: [PATCH 6/7] dynamic debug v2 - convert cpufreq
Hi, what's contained in this file (couldn't find it in this or one of the other Hm.... What about leaving this as it is, renaming the drivers/cpufreq/cpufreq.c function to __cpufreq_debug_printk(), and then adding to include/linux/cpufreq.h #define cpufreq_debug_printk(type, prefix, msg...) do { \ if (dynamic_dbg_enabled(TYPE_FLAG, type, cpufreq_debug)) cpufreq_debug_printk(type, prefix, msg); \ cpufreq.cpufreq_debug is ugly and not backwards compatible... what about module_param_...
Jul 15, 7:07 pm 2008
Jason Baron
[PATCH 4/7] dynamic debug v2 - convert bonding
-convert bonding to dynamic printk Signed-off-by: Jason Baron <jbaron@redhat.com> --- drivers/net/bonding/bonding.h | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index a3c74e2..28556dd 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -29,13 +29,8 @@ #define BOND_MAX_ARP_TARGETS 16 -#ifdef BONDING_DEBUG #define dprintk(fmt, args...) \ - printk(...
Jul 15, 5:34 pm 2008
Jason Baron
[PATCH 3/7] dynamic debug v2 - convert module.c
-convert DEBUGP calls to pr_debug module.c Signed-off-by: Jason Baron <jbaron@redhat.com> --- kernel/module.c | 40 +++++++++++++++++----------------------- 1 files changed, 17 insertions(+), 23 deletions(-) diff --git a/kernel/module.c b/kernel/module.c index 5f36555..ae40845 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -47,12 +47,6 @@ #include <linux/license.h> #include <asm/sections.h> -#if 0 -#define DEBUGP printk -#else -#define DEBUGP(fmt ,...
Jul 15, 5:33 pm 2008
Mike Travis
[PATCH 1/8] cpumask: Replace cpumask_of_cpu with cpumask_of_...
* This patch replaces the dangerous lvalue version of cpumask_of_cpu with new cpumask_of_cpu_ptr macros. These are patterned after the node_to_cpumask_ptr macros. In general terms, if there is a cpumask_of_cpu_map[] then a pointer to the cpumask_of_cpu_map[cpu] entry is used. The cpumask_of_cpu_map is provided when there is a large NR_CPUS count, reducing greatly the amount of code generated and stack space used for cpumask_of_cpu(). The pointer to the cpumask_t val...
Jul 15, 5:14 pm 2008
Mike Travis
[PATCH 8/8] cpumask: Use optimized CPUMASK_ALLOC macros in t...
* Use the CPUMASK_ALLOC macros in the centrino_target() function. Based on linux-2.6.tip/master at the following commit: commit 0a91813e16ebd5c2d9b5c2acd5b7c91742112c4f Merge: 9a635fa... 724dce0... Author: Ingo Molnar <mingo@elte.hu> Date: Tue Jul 15 14:55:17 2008 +0200 Signed-off-by: Mike Travis <travis@sgi.com> Cc: Adrian Bunk <bunk@kernel.org> Cc: Venki Pallipadi <venkatesh.pallipadi@intel.com> Cc: Paul Jackson <pj@sgi.com> --- arch/x86/...
Jul 15, 5:14 pm 2008
Mike Travis
[PATCH 0/8] cpumask: Replace/optimize cpumask_of_cpu & c...
* Patch 1 replaces the dangerous lvalue version of cpumask_of_cpu with new cpumask_of_cpu_ptr macros. These are patterned after the node_to_cpumask_ptr macros. * Patches 2..6 optimizes various places where a pointer to the cpumask_of_cpu value will result in reducing stack pressure. * Patch 7 provides a generic set of CPUMASK_ALLOC macros patterned after the SCHED_CPUMASK_ALLOC macros. This is used where multiple cpumask_t variables are declared on the stack to reduc...
Jul 15, 5:14 pm 2008
Mike Travis
[PATCH 5/8] cpumask: Optimize cpumask_of_cpu in kernel/time/...
* Optimize various places where a pointer to the cpumask_of_cpu value will result in reducing stack pressure. Based on linux-2.6.tip/master at the following commit: commit 0a91813e16ebd5c2d9b5c2acd5b7c91742112c4f Merge: 9a635fa... 724dce0... Author: Ingo Molnar <mingo@elte.hu> Date: Tue Jul 15 14:55:17 2008 +0200 Signed-off-by: Mike Travis <travis@sgi.com> Cc: Thomas Gleixner <tglx@linutronix.de> --- kernel/time/tick-common.c | 14 +++++++------- ...
Jul 15, 5:14 pm 2008
previous daytodaynext day
July 14, 2008July 15, 2008July 16, 2008