| From | Subject | Date |
|---|---|---|
| Badari Pulavarty | [-mm PATCH] sysdev_unregister() should call kobject_del()
Hi Greg,
While playing with hotplug memory remove on 2.6.24-mm1, I
noticed that /sysfs directory entries are not getting removed.
sysdev_unregister() used to call kobject_unregister().
But in 2.6.24-mm1, its only dropping the ref. It should
call kobject_del() to remove the object. Correct ?
With this change, the directories are getting removed
correctly. Comments ?
Thanks,
Badari
sysdev_unregister() should call kobject_del() to remove
the object.
Signed-off-by: Badari Pulavarty <...
| Feb 7, 7:56 pm 2008 |
| Henrique de Moraes H... | [RFC] LED brightness_get and thinkpad-acpi led-class support
Richard,
Would you accept the addition of brightness_get to the led class? Please
look at the first patch in this small patch set series. I need it for
thinkpad-acpi...
The other two patches to thinkpad-acpi are included for reference on how I
intend to useg the new brightness_get stuff, and also the hardware
acceleration for led flashing. While the thinkpad-acpi patches do work, it
is unlikely to apply cleanly since it is from the tip of my thinkpad-acpi
development tree :) They are NOT to...
| Feb 7, 7:49 pm 2008 |
| Henrique de Moraes H... | [PATCH 3/3] ACPI: thinkpad-acpi: add sysfs led class support...
Add a sysfs led class interface to the led subdriver.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Richard Purdie <rpurdie@rpsys.net>
---
Documentation/thinkpad-acpi.txt | 46 +++++++++++++--
drivers/misc/thinkpad_acpi.c | 120 +++++++++++++++++++++++++++++++++++++++
2 files changed, 160 insertions(+), 6 deletions(-)
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt
index 0301394..53aa620 100644
--- a/Documentation/thinkpad-acpi...
| Feb 7, 7:57 pm 2008 |
| Henrique de Moraes H... | [PATCH 1/3] LED: add support to leds with readable status
Some led hardware allows drivers to query the led state, and this patch
adds a hook to let the led class take advantage of that information when
available.
Without this functionality, when access to the led hardware is not
exclusive (i.e. firmware or hardware might change its state behind the
kernel's back), reality goes out of sync with the led class' idea of what
the led is doing, which is annoying at best.
Behaviour for drivers that do not or cannot read the led status is
unchanged.
Signed...
| Feb 7, 7:57 pm 2008 |
| Henrique de Moraes H... | [PATCH 2/3] ACPI: thinkpad-acpi: add sysfs led class support...
Add a sysfs led class interface to the thinklight (light subdriver).
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Richard Purdie <rpurdie@rpsys.net>
---
Documentation/thinkpad-acpi.txt | 25 ++++++++++++++++++++-----
drivers/misc/thinkpad_acpi.c | 39 ++++++++++++++++++++++++++++++++++++++-
2 files changed, 58 insertions(+), 6 deletions(-)
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt
index 204161e..0301394 100644
--- a/Doc...
| Feb 7, 7:57 pm 2008 |
| Adrian Bunk | [2.6 patch] fix xtensa timerfd breakage
This patch fixes the following compile error:
<-- snip -->
...
CC arch/xtensa/kernel/syscall.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/xtensa/kernel/syscall.c:39:
include2/asm/unistd.h:681: error: 'sys_timerfd' undeclared here (not in a function)
make[2]: *** [arch/xtensa/kernel/syscall.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
a42376eff20647fda6dc1bde20e793f9b4001c39 diff --git a/include/asm-xtensa/...
| Feb 7, 7:25 pm 2008 |
| Adrian Bunk | frv cmpxchg_local compile error
Commit 14e0cb3c60b89c4a2512852ffc18601c72314a0f broke frv compilation:
<-- snip -->
...
CC arch/frv/kernel/asm-offsets.s
In file included from include/asm/system.h:271,
from include/asm/bitops.h:19,
from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from include/linux/sched.h:52,
from arch/frv/kernel/asm-offsets.c:7:
include/asm-generic/cmpxchg-local.h: In function '__cmpxchg_local_...
| Feb 7, 7:13 pm 2008 |
| Adrian Bunk | parisc compile error
Commit 9e2779fa281cfda13ac060753d674bbcaa23367e broke parisc:
<-- snip -->
...
CC arch/parisc/kernel/asm-offsets.s
In file included from include/asm/pgtable.h:13,
from arch/parisc/kernel/asm-offsets.c:36:
include/linux/mm.h: In function 'is_vmalloc_addr':
include/linux/mm.h:243: error: 'VMALLOC_START' undeclared (first use in this function)
include/linux/mm.h:243: error: (Each undeclared identifier is reported only once
include/linux/mm.h:243: error: for each fun...
| Feb 7, 7:12 pm 2008 |
| Kyle McMartin | Re: parisc compile error
yes, it's in my batch of fixes.
thanks for the reminder.
cheers, kyle
--
| Feb 7, 7:20 pm 2008 |
| Christoph Lameter | Re: parisc compile error
<big sigh of relief> So I do not have to worry about it?
--
| Feb 7, 7:33 pm 2008 |
| Kyle McMartin | Re: parisc compile error
haha no. i don't expect people to have to untangle the mess of includes
that is <asm-parisc/*.h> :)
cheers, kyle
--
| Feb 7, 7:34 pm 2008 |
| Adrian Bunk | sparc compile error
Commit 3062fc67dad01b1d2a15d58c709eff946389eca4 broke sparc:
<-- snip -->
...
CC init/do_mounts.o
In file included from include/linux/mm.h:39,
from include/linux/memcontrol.h:24,
from include/linux/swap.h:8,
from include/linux/suspend.h:7,
from init/do_mounts.c:6:
include/asm/pgtable.h:344: warning: parameter names (without types) in function declaration
include/asm/pgtable.h:345: warning: parameter names (witho...
| Feb 7, 7:12 pm 2008 |
| David Rientjes | Re: sparc compile error
3062fc67 introduced far too many build errors for the convenience it
allows. It's not even always necessary to rcu deference mm->mem_cgroup in
the first place, so we'll use it on a case by case basis.
Signed-off-by: David Rientjes <rientjes@google.com>
---
include/linux/memcontrol.h | 13 -------------
mm/memcontrol.c | 2 +-
mm/rmap.c | 6 ++++--
3 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/include/linux/memcontrol.h b/include/li...
| Feb 7, 7:38 pm 2008 |
| Adrian Bunk | [2.6 patch] fix ide/legacy/gayle.c compilation
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
deb88131c2fcc3076121597463153979aba9062d diff --git a/drivers/ide/legacy/gayle.c b/drivers/ide/legacy/gayle.c
index 9d3851d..b7d8109 100644
--- a/drivers/ide/legacy/gayle.c
+++ b/drivers/ide/legacy/gayle.c
@@ -94,7 +94,7 @@ static int gayle_ack_intr_a1200(ide_hwif_t *hwif)
static void __init gayle_setup_ports(hw_regs_t *hw, unsigned long base,
unsigned long ctl, unsigned long irq_port,
- ide_ack_intr_t *ack_intr);
+ ...
| Feb 7, 7:12 pm 2008 |
| Arnaldo Carvalho de Melo | Reducing debuginfo size by removing unneeded includes
Hi Ingo,
I'm starting with you because the first file I used to
experiment with this idea was arch/x86/ia32/sys_ia32.c.
I found it strange that the struct sk_buff definition was found
inside the DWARF debugging sections in the generated object, so I verified
and found that there is no need for the files that bring struct sk_buff
definition into this file and verified also that sk_buff is not brought
in indirectly too, thru other headers.
I went on and removed many other unneeded includes an...
| Feb 7, 7:03 pm 2008 |
| Yinghai Lu | [PATCH] sata_mv: fix loop with last port
[PATCH] sata_mv: fix loop with last port
commit f351b2d638c3cb0b95adde3549b7bfaf3f991dfa
sata_mv: Support SoC controllers
cause panic:
scsi 4:0:0:0: Direct-Access ATA HITACHI HDS7225S V44O PQ: 0 ANSI: 5
sd 4:0:0:0: [sde] 488390625 512-byte hardware sectors (250056 MB)
sd 4:0:0:0: [sde] Write Protect is off
sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
sd 4:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 4:0:0:0: [sde] 488390625 512-byte hardw...
| Feb 7, 7:06 pm 2008 |
| Sam Ravnborg | Re: - typhoon-section-fix.patch removed from -mm tree
But powerpc is subtle and I foresee that we have to kill __devinitconst
and friends soonish.
The problem is that despite data being const the compiler does not
always mark the section const.
So we will see a lot of the errors you see for powerpc now
that we unconditionally specify a section.
Previously this inconsistentcy were hidden by the fact that powerpc tagets
seldom were build without CONFIG_HOTPLUG=y.
So the patches are correct.
Tomorrow I hope to do a patch that kill __devinitconst :-...
| Feb 7, 6:36 pm 2008 |
| Andrew Morton | Re: - typhoon-section-fix.patch removed from -mm tree
On Thu, 7 Feb 2008 23:36:01 +0100
but chances are that in a year's time someone will come along and helpfully
make this const again. Maybe we should annotate such sites with
#define cant_make_me_const_ask_sam_why /**/
to avoid this..
--
| Feb 7, 7:03 pm 2008 |
| Martin Rogge | Re: e1000 1sec latency problem
Hi, I have the same problem with my Thinkpad T60.
root@zorro:~# ping arnold
PING arnold (192.168.158.6) 56(84) bytes of data.
64 bytes from arnold (192.168.158.6): icmp_seq=1 ttl=64 time=49.7 ms
64 bytes from arnold (192.168.158.6): icmp_seq=2 ttl=64 time=0.438 ms
64 bytes from arnold (192.168.158.6): icmp_seq=3 ttl=64 time=1000 ms
64 bytes from arnold (192.168.158.6): icmp_seq=4 ttl=64 time=0.970 ms
64 bytes from arnold (192.168.158.6): icmp_seq=5 ttl=64 time=885 ms
64 bytes from arnold (192.1...
| Feb 7, 6:31 pm 2008 |
| William Dinkel | Invalid size values in /proc/mtrr output
Has anyone else seen extraordinarily large sizes in /proc/mtrr
output? We're running v2.6.24 on some Tyan S5383 dual-socket systems
with the following characteristics:
- qty(1) Intel(R) Xeon(R) CPU E5345 @ 2.33GHz (quad-core, the other
socket is unoccupied)
- 32GB RAM (qty(16) 2GB DIMMS)
- MTRR Discrete ENABLED in the BIOS
- PCI Memory Hole set to 512MB in the BIOS (other options are
256MB, 1GB and 2GB, all of which produce similar results)
- CONFIG_MTRR, CONFIG_SMP and CONFIG_MC...
| Feb 7, 6:30 pm 2008 |
| Paul Mackerras | [PATCH] Fix compilation of powerpc asm-offsets.c with old gcc
From: Tony Breeds <tony@bakeyournoodle.com>
Commit ad7f71674ad7c3c4467e48f6ab9e85516dae2720 corrected the clock
resolution reported by the VDSO clock_getres() but introduced another
problem in that older versions of gcc (gcc-4.0 and earlier) fail to
compile the new code in arch/powerpc/kernel/asm-offsets.c.
This fixes it by introducing a new MONOTONIC_RES_NSEC define in the
generic code which is equivalent to KTIME_MONOTONIC_RES but is just an
integer constant, not a ktime union.
Signed-...
| Feb 7, 6:24 pm 2008 |
| Linus Torvalds | Re: [PATCH] Fix compilation of powerpc asm-offsets.c with ol...
Please, when mentioning hex numbers, also do the one-liner shortlog.
I realize that in gitk (or even just with two terminal windows open and a
git repository) it's trivial to just follow the link and see what that
commit was, but even you're just doing a "git log" or more commonly if you
read the commit log somewhere else (like a mail gateway that posts them
automatically when I apply things), it's really much more readable if you
were to say something like:
Commit ad7f71674ad7c3c446...
| Feb 7, 6:53 pm 2008 |
| Geert Uytterhoeven | [PATCH] m68k: correct setting of struct user.u_ar0
Commit 6e16d89bcd668a95eb22add24c02d80890232b66
Sanitize the type of struct user.u_ar0
struct user.u_ar0 is defined to contain a pointer offset on all
architectures in which it is defined (all architectures which define an
a.out format except SPARC.) However, it has a pointer type in the headers,
which is pointless -- <asm/user.h> is not exported to userspace, and it
just makes the code messy.
Redefine the field as "unsigned long" (which is the same siz...
| Feb 7, 6:10 pm 2008 |
| Roland Dreier | [PATCH] Fix CONFIG_COMPAT_BRK help text
CONFIG_COMPAT_BRK=y means that heap randomization is turned off, so
it's *always* a safe choice. I assume the help text is trying to say
that if one does not run ancient binaries, then enabling heap
randomization is safe.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
---
diff --git a/init/Kconfig b/init/Kconfig
index 95ac265..242ce32 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -565,7 +565,7 @@ config COMPAT_BRK
disabled, and can be overriden runtime by setting
/proc/sys/k...
| Feb 7, 6:09 pm 2008 |
| Ingo Molnar | Re: [PATCH] Fix CONFIG_COMPAT_BRK help text
yeah - this typo fix is already in x86.git.
Ingo
--
| Feb 7, 6:20 pm 2008 |
| Pavel Machek | ACPI_WMI: worst config description of all times
See? It even has completely useless help text.
Does WMI stand for Windows Management Instrumentation? It is some
server management feature? What is it good for?
Pavel
WMI (EXPERIMENTAL) (ACPI_WMI) [N/m/y/?] (NEW) ?
This driver adds support for the ACPI-WMI mapper device (PNP0C14)
found on some systems.
NOTE: You will need another driver or userspace application on top of
this to actually use anything defined in the ACPI-WMI mapper.
--
(english) [ message continues ] " title="http://www.livejournal.c...">http://www.livejournal.c... | Feb 7, 5:47 pm 2008 |
| Len Brown | Re: ACPI_WMI: worst config description of all times
Thank you for the feedback, Pavel.
There is an additional patch which creates
Documentation/acpi/wmi.txt, but I witheld it from
this batch because it needs to be revised.
If you are not subscribed to the linux-acpi list
you can find it here:
http://marc.info/?l=linux-acpi&m=120217838010224&w=2
Clearly we neeed to update the Kconfig doc as well when
we revise and push that patch.
-Len
--
| Feb 7, 6:27 pm 2008 |
| Pavel Machek | Re: ACPI_WMI: worst config description of all times
+ACPI-WMI mapping driver
+
+Copyright (C) 2007-2008 Carlos Corbacho <carlos@strangeworlds.co.uk>
+
+Updated: 5th February 2008
+
+1) About this guide
+
+This guide is a basic introduction on how to interact with the ACPI-WMI mapper
+driver in the kernel - it presumes you already have a basic knowledge of
+ACPI-WMI, ACPI and the hardware you are writing the driver for.
+
+2) What is ACPI-WMI
+
+At its simplest, ACPI-WMI is a proprietary extension to the ACPI specification...
| Feb 7, 6:34 pm 2008 |
| Carlos Corbacho | Re: ACPI_WMI: worst config description of all times
In plain English? ACPI-WMI is a nasty hack/ abuse of ACPI by Microsoft to
force their driver model into ACPI, and that should be thoroughly discouraged
from further use.
However, since quite a few laptop vendors rely on it for basic functionality,
we have to implement it (or a part of it) as well.
Yes, WMI itself is supposed to be an instrumentation/ management thing, as
well as, if I understand, part of their driver model, and ACPI-WMI is a part
of that - by and of itself though, ACPI-WMI...
| Feb 7, 7:18 pm 2008 |
| Ray Lee | Re: ACPI_WMI: worst config description of all times
While the kconfig text is supposed to say 'what' something is, the
more valuable piece of information it provides is *why* one would want
to enable it.
Do you have list of hardware/platforms that require this feature to
get the hardware to work? (acer abc123, tcm1100 xyz) If so, providing
that information to the user/distributions is the right first step.
Tell them why they want this feature.
Better, if there are kernel drivers that require this (and currently
only those drivers), then have th...
| Feb 7, 7:33 pm 2008 |
| Carlos Corbacho | Re: ACPI_WMI: worst config description of all times
I have a very long list of Acer laptops that are supported - which is far too
long, and changes on far too much of a regular basis to put in there.
Perhaps adding something like "This driver is also a required dependency to
build the firmware specific drivers needed for many laptops, including Acer
and HP machines"?
(There's currently another ACPI-WMI based driver in development related to
more HP laptops, and acer-wmi also supports a handful of non-Acer laptops).
I don't think explaining...
| Feb 7, 7:51 pm 2008 |
| Sam Ravnborg | [RFC] Introduce HAVE_IDE to support flexible IDE per arch co...
Following patch introduce HAVE_IDE to support flexible per
arch or even per. sub-arch configuration of IDE support.
This patch is needed to allow arm to use the generic
drivers/Kconfig file.
Introducing HAVE_IDE so each arch explicit select HAVE_IDE
if supported allowed us to get rid of HAS_IOMEM which
is anyway overloaded.
And doing it this way is a much better way to document which
architectures that supports IDE.
Furthermore the decision if IDE is supported or not is
distributed.
Consider se...
| Feb 7, 5:42 pm 2008 |
| Russell King - ARM Linux | Re: [RFC] Introduce HAVE_IDE to support flexible IDE per arc...
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
--
| Feb 7, 5:54 pm 2008 |
| Vegard Nossum | [PATCH 1/2] kmemcheck v3
Hi,
With a lot of help from Ingo Molnar and Pekka Enberg over the last couple of
weeks, we've been able to produce a new version of kmemcheck!
General description: kmemcheck is a patch to the linux kernel that detects
use of uninitialized memory. It does this by trapping every read and write to
memory that was allocated dynamically (e.g. using kmalloc()). If a memory
address is read that has not previously been written to, a message is printed
to the kernel log.
Changes since v2:
- Don't use ...
| Feb 7, 5:36 pm 2008 |
| Christoph Lameter | Re: [PATCH 1/2] kmemcheck v3
Hmmmm... You seem to assume that __GFP_NOTRACK can be passed to slab
function calls like kmalloc. That is pretty unreliable. Could we add
Drop this one. create_kmalloc_cache is done only during bootstrap and
kmalloc caches either all have SLAB_NOTRACK set or all do not have it
Same here.
--
| Feb 7, 5:53 pm 2008 |
| Vegard Nossum | Re: [PATCH 1/2] kmemcheck v3
Hello,
Thank you for taking the time to look at this patch!
I don't understand. This is the point, __GFP_NOTRACK _can_ be passed
to slab functions like kmalloc. By default, when kmemcheck is enabled
in the config, all other allocations will be tracked implicitly. The
notrack flag exists to exempt certain (critical) allocations from this
The cache_cache is needed so that we have somewhere to allocate
kmem_cache objects from. These objects are accessed from kmemcheck in
the page fault hand...
| Feb 7, 6:12 pm 2008 |
| Christoph Lameter | Re: [PATCH 1/2] kmemcheck v3
Ok. Then the allocator manages the gfp flag. Then we need to make sure
to clear that flag at some point. The flag needs to be consistently set
So it breaks recursion. But this adds a new cache that is rarely
used. There will be only about 50-100 kmem_cache objects in the system. I
thought you could control the tracking on an per object level? Would not a
More reasons to drop cache_cache. cache_cache is not a kmalloc array
cache by the way since it does not support power of two allocs. It...
| Feb 7, 6:53 pm 2008 |
| Vegard Nossum | Re: [PATCH 1/2] kmemcheck v3
Ok, then I think we are still talking about different things :-)
The tracking that kmemcheck does is actually a byte-for-byte tracking
of whether memory has been initialized or not. Think of it as valgrind
for the kernel. We do this by "hiding" pages (marking them non-present
for for MMU) and taking the page faults, which effectively tells us
what memory is being attempted to be read from or written to.
(This generally means that the tracking that kmemcheck does is
page-granular, but we can hel...
| Feb 7, 7:18 pm 2008 |
| Christoph Lameter | Re: [PATCH 1/2] kmemcheck v3
Ahh. Okay. But ZONE_DMA pages are exempt from that scheme? You know
But the slab layer allocates pages < PAGE_SIZE. You need to take a fault
right? So each object would need its own page?
--
| Feb 7, 7:32 pm 2008 |
| Vegard Nossum | [PATCH 2/2] kmemcheck v3
Applies on top of kmemcheck patch. Fixes/silences some reports of
use of uninitialized memory.
From: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
diff --git a/include/asm-generic/siginfo.h b/include/asm-generic/siginfo.h
index 8786e01..b70cd97 100644
--- a/include/asm-generic/siginfo.h
+++ b/include/asm-generic/siginfo.h
@@ -278,11 +278,19 @@ void do_schedule_next_timer(struct siginfo *info);
static inline void copy_siginfo(struct siginfo ...
| Feb 7, 5:39 pm 2008 |
| Linus Torvalds | Re: Latest git oopses during boot
Ok, I was wrong. The code really *does* compile to that insane
a3 14 00 00 00 mov %eax,0x14
by your compiler.
That's the
asc_dvc_varp->overrun_buf = kzalloc(ASC_OVERRUN_BSIZE, GFP_KERNEL);
thing, and gcc seems to have decided that it can statically prove that
asc_dvc_varp is NULL.
Quite frankly, I don't see that being true. But you have some patches in
your tree that I haven't followed, so.. Are you sure the patches applied
to the right spot? The patch I saw ad...
| Feb 7, 5:14 pm 2008 |
| Harald Arnesen | Re: Latest git oopses during boot
I'll try applying the patch to a freshly downloaded git-tree.
Shall I try another compiler? I have at least these two:
gcc version 3.4.6 (Ubuntu 3.4.6-6ubuntu2)
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
in addition to the self-compiled 4.2.3 I used for the tests.
--
Hilsen Harald.
--
| Feb 7, 5:39 pm 2008 |
| Linus Torvalds | Re: Latest git oopses during boot
I would suggest a patch mis-application problem first (or possibly even
the patch itself being broken - I simply didn't look very closely at the
patch, but it *looked* ok).
If it's a compiler bug, it's a pretty big one, and quite frankly, I doubt
it. Compiler bugs do happen, but they are pretty rare, and they tend to
have more subtle effects than the one you see.
4.2.3? Really? That's pretty damn recent, and so almost totally untested.
That does make a compiler bug at least more l...
| Feb 7, 6:12 pm 2008 |
| Harald Arnesen | Re: Latest git oopses during boot
I just re-downloaded an re-patched and re-compiled (with gcc 4.2.3),
and now the kernel boots. I must have screwed up the previous
patching.
It now works, with Fujita's patch applied.
--
Hilsen Harald
--
| Feb 7, 6:24 pm 2008 |
| Jason Baron | [patch 4/4] make pr_debug() dynamic - update docs
-add documentation about pr_debug kernel-parameters.txt
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
Documentation/kernel-parameters.txt | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index cf38689..6d524bb 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1494,6 +1494,11 @@ and is between 256 and 4096 characters. It is defined in...
| Feb 7, 5:13 pm 2008 |
| Randy Dunlap | Re: [patch 4/4] make pr_debug() dynamic - update docs
Is this actually Enables/disables?
I.e., is this actually pr_debug=<int> ?
---
~Randy
--
| Feb 7, 5:26 pm 2008 |
| Jason Baron | [patch 3/4] make pr_debug() dynamic - sysctl support
-add /proc/sys/debug/pr_debug, to toggle pr_debug() on/off
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
kernel/sysctl.c | 41 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 7cb1ac3..73508d7 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -155,6 +155,11 @@ static int proc_do_cad_pid(struct ctl_table *table, int write, struct file *filp
static int proc_dointvec_taint(stru...
| Feb 7, 5:12 pm 2008 |
| Jason Baron | [patch 2/4] make pr_debug() dynamic
-make pptp_msg_name dependent on CONFIG_PR_DEBUG_DYNAMIC
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
net/netfilter/nf_conntrack_pptp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/netfilter/nf_conntrack_pptp.c b/net/netfilter/nf_conntrack_pptp.c
index b5cb8e8..2be92bd 100644
--- a/net/netfilter/nf_conntrack_pptp.c
+++ b/net/netfilter/nf_conntrack_pptp.c
@@ -65,7 +65,7 @@ void
struct nf_conntrack_expect *exp) __read_mostly;
EXPORT_S...
| Feb 7, 5:10 pm 2008 |
| Jason Baron | [patch 1/4] make pr_debug() dynamic
-make pr_debug() dynamic so it can be switched on/off. The off state
is implemented on top of the immediate infrastructure, so as to promote
more dynamic printing and debugging. depends on CONFIG_HAVE_IMMEDIATE
and CONFIG_PRINTK
Signed-off-by: Jason Baron <jbaron@redhat.com>
---
include/linux/kernel.h | 10 ++++++++++
init/Kconfig | 5 +++++
kernel/printk.c | 17 +++++++++++++++++
3 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/include...
| Feb 7, 5:09 pm 2008 |
| Jason Baron | [patch 0/4] make pr_debug() dynamic
hi,
make the pr_debug() function dependent upon the new immediate infrastruture.
Thus, b/c of the low runtime impact, we can dynamically enable/disable
pr_debug withoug recompiling. Patch allows 'pr_debug=0/1' on the command
line or via /proc/sys/debug/pr_debug.
thanks,
-Jason
--
| Feb 7, 5:03 pm 2008 |
| previous day | today | next day |
|---|---|---|
| February 6, 2008 | February 7, 2008 | February 8, 2008 |
| Paul Jackson | Re: cpuset-remove-sched-domain-hooks-from-cpusets |
| James Bottomley | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| David Miller | Slow DOWN, please!!! |
| Masami Hiramatsu | Re: [RFC PATCH v4] Unified trace buffer |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Parag Warudkar | Re: 2.6.29-rc3: tg3 dead after resume |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
