| From | Subject | Date |
|---|---|---|
| Masami Hiramatsu | [PATCH -mm] bugfix: release old_p's insn_slot before err ...
Hi Andrew,
Oops, sorry, I found one another bug...
Release old_p->ainsn.insn_slot before error return, if the memory
allocation of new aggr_kprobe is failed.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
---
kernel/kprobes.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Index: 2.6.28-rc4/kernel/kprobes.c
===================================================================
--- ...
| Nov 19, 4:02 pm 2008 |
| Jesper Dangaard Brouer | Re: NIU driver: Sun x8 Express Quad Gigabit Ethernet Ada ...
[Regression]
Well that was not the real cause of the performance loss. Because on
kernel 2.6.27 I get really good performance (900-1200kpps) compared to
2.6.28 (git net-2.6).
The cause of this problem (tracked down together with Robert Olsson) is
that on 2.6.28 I have a lot less IRQs available. It seems max 34 IRQs.
Due the reduced number of IRQs the NIU driver cannot get enough IRQs to
the interfaces, and starts to use "IO-APIC" based IRQs.
On kernel 2.6.28:
My eth2 is ...
| Nov 19, 3:58 pm 2008 |
| David Miller | Re: NIU driver: Sun x8 Express Quad Gigabit Ethernet Ada ...
From: Jesper Dangaard Brouer <hawk@diku.dk>
This is almost certainly related to the driver unload bug.
I know you ran into unbuildable/unbootable kernels during a bisect,
but you really need to track down this regression.
There were a lot of IRQ changes, especially on x86. The sequence is
something like:
1) dyn irqs
2) APIC/IO_APIC handling integration
3) by-hand REVERT of dyn irqs, it was done by hand in order to not
lose the #2 changes
4) interrupt remapping support
--
| Nov 19, 4:11 pm 2008 |
| Jesse Barnes | [git pull] PCI fix
Please pull my for-linus branch:
git pull git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6.git for-linus
Another small fix for 2.6.28. If not fixed, this bug could end up causing
IRQ 0 to get disabled when a PCI function is reset before init.
Thanks,
Jesse
Sheng Yang (1):
PCI: Fix disable IRQ 0 in pci_reset_function()
drivers/pci/pci.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
| Nov 19, 3:18 pm 2008 |
| Richard A. Holden III | [PATCH] Fix arch/x86/kernel/genx2apic_uv_x.c build warni ...
Fix
arch/x86/kernel/genx2apic_uv_x.c:403: warning: 'uv_heartbeat_disable' defined but not used
the function is only used when CONFIG_HOTPLUG_CPU is defined.
Signed-off-by: Richard A. Holden III <aciddeath@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
---
arch/x86/kernel/genx2apic_uv_x.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/genx2apic_uv_x.c ...
| Nov 19, 4:05 pm 2008 |
| Richard A. Holden III | [PATCH] Fix arch/x86/kernel/setup.c build warning when ! ...
Fix
arch/x86/kernel/setup.c:592: warning: 'dmi_low_memory_corruption' defined but not used
this is only used if CONFIG_X86_RESERVE_LOW_64K is defined.
Signed-off-by: Richard A. Holden III <aciddeath@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
---
arch/x86/kernel/setup.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index ...
| Nov 19, 4:05 pm 2008 |
| Neil Brown | Re: [PATCH] md: use list_for_each_entry macro directly
Thanks Cheng.
I have included this in my "for-next" tree and it should go in to
2.6.29.
--
| Nov 19, 2:59 pm 2008 |
| Michael Kerrisk | Current state of Network Namespaces (NETNS, CLONE_NEWNET)?
Sorry for the shotgun mail, but in the end, it's
not clear who can best answer my question(s).
I'm currently trying to add documentation of all of
the undocumented CLONE_* flags. One of these is
CLONE_NEWNET, and I could use (quite a lot of) help.
My questions:
What is the current state of the network namespace
implementation? Is it complete?
What objects are considered part of the network
namespace, and therefore distinct for a new network
namespace?
Is there any ...
| Nov 19, 2:49 pm 2008 |
| Steven Rostedt | [PATCH 9/9] powerpc/ppc32: ftrace, dynamic ftrace to han ...
Impact: add ability to trace modules on 32 bit PowerPC
This patch performs the necessary trampoline calls to handle
modules with dynamic ftrace on 32 bit PowerPC.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
arch/powerpc/include/asm/module.h | 5 ++-
arch/powerpc/kernel/ftrace.c | 101 ++++++++++++++++++++++++++++++++++--
arch/powerpc/kernel/module_32.c | 10 ++++
3 files changed, 109 insertions(+), 7 deletions(-)
diff --git a/arch/powerpc/include/asm/module.h ...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | [PATCH 7/9] powerpc/ppc64: ftrace, handle module trampol ...
Impact: Allow 64 bit PowerPC to trace modules with dynamic ftrace
This adds code to handle the PPC64 module trampolines, and allows for
PPC64 to use dynamic ftrace.
Thanks to Paul Mackerras for these updates:
- fix the mod and rec->arch.mod NULL checks.
- fix to is_bl_op compare.
Thanks to Milton Miller for:
- finding the nasty race with using two nops, and recommending
instead that I use a branch 8 forward.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | [PATCH 4/9] powerpc: ftrace, convert to new dynamic ftra ...
Impact: update to PowerPC ftrace arch API
This patch converts PowerPC to use the new dynamic ftrace arch API.
Thanks to Paul Mackennas for pointing out the mistakes of my original
test_24bit_addr function.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
arch/powerpc/include/asm/ftrace.h | 14 +++++++-
arch/powerpc/kernel/ftrace.c | 67 ++++++++++++++++++++++++++++++++++---
2 files changed, 75 insertions(+), 6 deletions(-)
diff --git a/arch/powerpc/include/asm/ftrace.h ...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | [PATCH 8/9] powerpc/ppc32: ftrace, enabled dynamic ftrace
Impact: Port 32 bit PowerPC dynamic ftrace
This patch adds the necessary hooks to get PPC32 dynamic ftrace working.
It does not handle modules. They are ignored by this patch.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
arch/powerpc/Kconfig | 2 +-
scripts/recordmcount.pl | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 9675e95..d64b629 100644
--- a/arch/powerpc/Kconfig
+++ ...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | [PATCH 2/9] NOT FOR MAINLINE ftrace: pass module struct ...
Impact: allow archs more flexibility on dynamic ftrace implementations
Dynamic ftrace has largly been developed on x86. Since x86 does not
have the same limitations as other architectures, the ftrace interaction
between the generic code and the architecture specific code was not
flexible enough to handle some of the issues that other architectures
have.
Most notably, module trampolines. Due to the limited branch distance
that archs make in calling kernel core code from modules, the ...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | [PATCH 1/9] ftrace: align __mcount_loc sections
Impact: add alignment option for recordmcount.pl script
Align the __mcount_loc sections so that architectures with strict
alignment requirements need not worry about performing unaligned
accesses.
This fixes an issue where I was seeing unaligned accesses, which are not
supported on our architecture (the results of an unaligned access are
undefined).
Signed-off-by: Matt Fleming <matthew.fleming@imgtec.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar ...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | Re: [PATCH 1/9] ftrace: align __mcount_loc sections
I need to change my scripts to parse out the first line of all patches, so
quilt can send out the proper owner. This patch has the following header:
From 626f82959cd00ca804b12543cad86714e74264da Mon Sep 17 00:00:00 2001
From: Matt Fleming <matthew.fleming@imgtec.com>
Date: Fri, 7 Nov 2008 13:26:25 +0000
Subject: [PATCH] ftrace: align __mcount_loc sections
If you pull from my repo, it will all work out. But still, I do not want
to take credit for someone else's work.
-- ...
| Nov 19, 2:32 pm 2008 |
| Steven Rostedt | [PATCH 6/9] powerpc: ftrace, use probe_kernel API to mod ...
Impact: use cleaner probe_kernel API over assembly
Using probe_kernel_read/write interface is a much cleaner approach
than the current assembly version.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
arch/powerpc/kernel/ftrace.c | 53 ++++++++++++++++-------------------------
1 files changed, 21 insertions(+), 32 deletions(-)
diff --git a/arch/powerpc/kernel/ftrace.c b/arch/powerpc/kernel/ftrace.c
index 24c023a..1adfbb2 100644
--- a/arch/powerpc/kernel/ftrace.c
+++ ...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | [PATCH 5/9] powerpc/ppc64: ftrace, mcount record powerpc port
Impact: 64 bit PowerPC port of dynamic ftrace
This patch converts 64 bit PowerPC to use the mcount location section.
Currently, modules will be ignored by the converter.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
arch/powerpc/Kconfig | 2 ++
scripts/recordmcount.pl | 13 +++++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 525c13a..9675e95 100644
--- a/arch/powerpc/Kconfig
+++ ...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | [PATCH 3/9] powerpc: ftrace, do not latency trace idle
Impact: fix for irq off latency tracer
When idle is called, interrupts are disabled, but the idle function
will still wake up on an interrupt. The problem is that the interrupt
disabled latency tracer will take this call to idle as a latency.
This patch disables the latency tracing when going into idle.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
arch/powerpc/kernel/idle.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/idle.c ...
| Nov 19, 2:22 pm 2008 |
| Steven Rostedt | [PATCH 0/9] powerpc: port of dynamic ftrace
Paul,
Here are the patches that include the changes suggested by both you
and Milton. This series includes the back port of three commits from tip
that are needed for the PowerPC port.
I also made a git branch called "ppc/ftrace-disable" that does not
include two of the three commits. It adds a patch to keep dynamic
ftrace from being enabled by PowerPC architectures.
As I stated above, both branches include one commit from tip:
ftrace: align __mcount_loc sections
This is because one ...
| Nov 19, 2:22 pm 2008 |
| Michael Kerrisk | Current state of CLONE_NEWUSER?
Hi Serge,
What is the current status of CLONE_NEWUSER? I'm currently trying to
test this flag in preparation for documenting it in the clone(2) man
page, but am running into an ENOMEM error from the clone() call, which
seems to occur after a failure in kobject_init_and_add() in the
following call sequence:
clone_user_ns() --> alloc_uid() --> uids_user_create() -->
kobject_init_and_add()
Are there already some test programs somewhere? Is there any
documentation already available for this ...
| Nov 19, 1:04 pm 2008 |
| Trent Piepho | [PATCH] powerpc: Better setup of boot page TLB entry
The initial TLB mapping for the kernel boot didn't set the memory coherent
attribute, MAS2[M], in SMP mode.
If this code supported booting a secondary processor, which it doesn't yet,
but suppose it did, then when a secondary processor boots, it would have
probably signaled the primary processor by setting a variable called
something like __secondary_hold_acknowledge. However, due to the lack of
the M bit, the primary processor would not have snooped the transaction
(even if a transaction were ...
| Nov 19, 12:14 pm 2008 |
| Kumar Gala | Re: [PATCH] powerpc: Better setup of boot page TLB entry
applied to next.
- k
--
| Nov 19, 1:51 pm 2008 |
| Michael Kerrisk | CLONE_NEWIPC documentation
Kirill, Pavel,
Below is a patch to document the CLONE_NEWIPC flag that was
added in 2.6.19.
Could you please review and let me know of improvements
or inaccuracies?
Cheers,
Michael
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -225,6 +224,36 @@ Calls to
.BR umask (2)
performed later by one of the processes do not affect the other process.
.TP
+.BR CLONE_NEWIPC " (since Linux 2.4.19)"
+If
+.B CLONE_NEWIPC
+is set, then create the process in a new IPC namespace.
+If this flag is ...
| Nov 19, 12:12 pm 2008 |
| Michael Kerrisk | CLONE_NEWUTS documentation
Serge, Eric,
Below is a patch to document the CLONE_NEWUTS flag that was
added in 2.6.19.
Could you please review and let me know of improvements
or inaccuracies?
By the way, does anyone know where the UTS name in the uname()
API comes from? My best guess is that it's from Unix Timesharing
System, but I don't know this for sure.
Cheers,
Michael
diff --git a/man2/clone.2 b/man2/clone.2
index 7212332..80f9caf 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -341,6 +340,33 @@ ...
| Nov 19, 12:11 pm 2008 |
| Evgeniy Polyakov | [PATCH] W1 OMAP: Fix OMAP LDP boot crash.
From: "Stanley.Miao" <stanley.miao@windriver.com>
OMAP LDP boot crash. This is because w1 subsystem changed the search interface,
so update omap_hdq's search interface to follow the change.
Signed-off-by: Stanley.Miao <stanley.miao@windriver.com>
Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
---
drivers/w1/masters/omap_hdq.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index ...
| Nov 19, 11:56 am 2008 |
| Jan Engelhardt | uml: using hostfs as rootfs is not working
Hi,
as per Documentation/uml/*txt, I issued the following to get a direct
hostfs:
./linux ubd0=/tftpboot/linux
(/tftpboot/linux/sbin/init exists), but the UM kernel only gives:
Failed to open '/home/tftpboot/linux', errno = 21
ubda: Can't open "/home/tftpboot/linux": errno = 21
List of all partitions:
6200 4 ubda driver: uml-blkdev
So either UML lost some functionality sometime, or the documentation is
incorrect.
--
| Nov 19, 11:32 am 2008 |
| Richard Holden | pci_read_config_* functions and uninitialized warnings?
I'm building linux-next and seeing a lot of uninitialized warnings
that go back to values being set using pci_read_config_* functions.
Does anyone more familiar than I am with that code have any ideas on
how to get GCC to realize that the pci_read_config_* initialize the
vars. I don't want to end up submitting a lot of patches with
uninitialized_var to fix the problems.
gcc --version: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1)
-Richard Holden
--
| Nov 19, 11:15 am 2008 |
| Matt Mackall | Re: next-20081117: kernel freezes with netconsole enabled
Does it survive if you boot with 'quiet'? Is this new behavior or have
you successfully used netconsole before?
--
Mathematics is the supreme nostalgia of our time.
--
| Nov 19, 11:27 am 2008 |
| Evgeniy Polyakov | Re: next-20081117: kernel freezes with netconsole enabled
Attached full log from different machine.
--
Evgeniy Polyakov
| Nov 19, 11:26 am 2008 |
| Alexander Beregalov | next-20081117: kernel freezes with netconsole enabled
Hi
It is x86_64 SMP
The kernel freezes while transferring kernel log through netconsole,
SysRq does not work at that moment.
The kernel works fine without netconsole.
Here is lspci, then dmesg, config at the end.
00:00.0 Host bridge [0600]: Intel Corporation 5000X Chipset Memory Controller Hub [8086:25c0] (rev 12)
00:02.0 PCI bridge [0604]: Intel Corporation 5000 Series Chipset PCI Express x4 Port 2 [8086:25e2] (rev 12)
00:03.0 PCI bridge [0604]: Intel Corporation 5000 Series Chipset PCI ...
| Nov 19, 10:57 am 2008 |
| Evgeniy Polyakov | Re: next-20081117: kernel freezes with netconsole enabled
Hi.
Do not know if it related or not, but I have similar problem,
kernel is very much tainted by POHMELFS code though.
Attached picture of the end of the dump.
--
Evgeniy Polyakov
| Nov 19, 11:21 am 2008 |
| Christoph Lameter | Re: Possible memory leak via slub kmem_cache_create
proto_register could add another field somewhere and store the pointer to
the name there? Then free the string on proto_unregister.
--
| Nov 19, 12:22 pm 2008 |
| Catalin Marinas | Possible memory leak via slub kmem_cache_create
Hi Cristoph,
I've recently worked on reviving kmemleak (to be posted on LKML this
week) and tried the slub allocator. I got the following report of orphan
objects:
unreferenced object 0xdf80f180 (size 32):
comm "swapper", pid 1, jiffies 4294937343
backtrace:
[<c0082f44>] memleak_alloc
...
| Nov 19, 9:25 am 2008 |
| Mark Brown | [PATCH 2/2] mfd: Refactor WM8350 chip identification
Since the WM8350 driver was originally written the semantics for the
identification registers of the chip have been clarified, allowing
us to do an exact match on all the fields. This avoids mistakenly
running on unsupported hardware.
Also change to using the datasheet names more consistently for
legibility and fix a printk() that should be dev_err().
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/mfd/wm8350-core.c | 54 ...
| Nov 19, 9:47 am 2008 |
| Mark Brown | [PATCH 1/2] mfd: Switch WM8350 revision detection to a f ...
Rather than check for chip revisions in the WM8350 drivers have the core
code set flags for relevant differences.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/mfd/wm8350-core.c | 14 ++++++--------
drivers/power/wm8350_power.c | 2 +-
include/linux/mfd/wm8350/core.h | 8 --------
include/linux/mfd/wm8350/supply.h | 2 ++
4 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/drivers/mfd/wm8350-core.c ...
| Nov 19, 9:46 am 2008 |
| Henrique Almeida | Palm TX MMC driver is not automatically loaded
When booting the kernel in a Palm TX device, it's not possible to
mount MMC cards because the driver doesn't seem to be automatically
loaded. The card only works after sending an "add" command to the
corresponding "uevent" file in "/sys".
- Is there a way to configure the kernel to automatically load the
MMC driver, so that the setup is not necessary ? (most drivers load
while linux boots, it's not clear why it's not so with MMC)
- Are there links/files where I can get more information about ...
| Nov 19, 9:38 am 2008 |
| J.R. Mauro | Re: OT - Software Router for Linux
This list is for kernel development. Try asking around Fedora forums
--
| Nov 19, 11:27 am 2008 |
| Marc Perkel | OT - Software Router for Linux
I'm looking for a way to turn a Linux computer into a router as a front end for a small web hosting / spam filtering operation. Part of this is just educational for me. I want it to be web based controls and easy to use and install is the most important feature. I want to run it under Fedora so RPM based install would be great.
Suggestions?
--
| Nov 19, 9:19 am 2008 |
| Jan-Benedict Glaw | Re: OT - Software Router for Linux
Just configure it. Where do you face specific kernel problems?
MfG, JBG
--=20
Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481
Signature of: 17:45 <@Eimann> Hrm, das E90 hat keinen Lebenszeit Call-Time =
Counter mehr
the second : 17:46 <@jbglaw> Eimann: Wof=C3=BCr braucht man das?
17:46 <@jbglaw> Eimann: F=C3=BCr mich ist an 'nem Handy wicht=
ig, da=C3=9F ich mein
Gege=C3=BCber h=C3=B6ren kann. Und da=C3=9F m=
ein ...
| Nov 19, 10:53 am 2008 |
| Alan Cox | Re: Compiler warnings
On Wed, 19 Nov 2008 17:16:14 +0100
Your compiler appears to be faulty. You should report this to Ubuntu
--
| Nov 19, 9:23 am 2008 |
| Fred . | Compiler warnings
I compiled the Linux 2.6.27.6 kernel on Ubuntu 8.10 with gcc (Ubuntu
4.3.2-1ubuntu11) 4.3.2.
The kernel doesn't compile cleanly, the compiler throws warnings.
CC [M] drivers/cdrom/cdrom.o
drivers/cdrom/cdrom.c: In function 'cdrom_print_info':
drivers/cdrom/cdrom.c:3273: warning: format not a string literal and
no format arguments
CC [M] drivers/char/riscom8.o
drivers/char/riscom8.c: In function 'riscom8_init':
drivers/char/riscom8.c:1598: warning: format not a string literal and
no ...
| Nov 19, 9:16 am 2008 |
| John Keller | Re: [PATCH] ia64: SN specific version of dma_get_require ...
On Tue, 18 Nov 2008
Actually I need it for CONFIG_IA64_GENERIC and CONFIG_IA64_SGI_SN2.
But, even so, unfortunately your suggestion doesn't build.
I see numerous errors such as these:
kernel/fork.o: In function `__crc_dma_get_required_mask':
fork.c:(*ABS*+0xb0339303): multiple definition of `__crc_dma_get_required_mask'
kernel/exit.o: In function `__crc_dma_get_required_mask':
exit.c:(*ABS*+0x4a7c4115): multiple definiti CC fs/sysfs/group.o
--
| Nov 19, 9:12 am 2008 |
| crquan | [PATCH] [GENDISK] fix disk_part_tbl always alloced in no ...
From: Cheng Renquan <crquan@gmail.com>
disk->node_id will be refered in allocating in disk_expand_part_tbl, so we
should set it before disk->node_id is refered.
Signed-off-by: Cheng Renquan <crquan@gmail.com>
---
block/genhd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block/genhd.c b/block/genhd.c
index 27549e4..2f7feda 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1102,6 +1102,7 @@ struct gendisk *alloc_disk_node(int minors, int node_id)
...
| Nov 19, 9:09 am 2008 |
| Alan Cox | Re: Oops/Warning report for the week of November 19th, 2008
Someone is feeding the driver an sg list which has an odd number of bytes
in an sg list entry which isnt the final one.
Now I don't offhand know if that is valid or not but if it occurs then
the libata code can't cope.
Alan
--
| Nov 19, 9:20 am 2008 |
| Arjan van de Ven | Oops/Warning report for the week of November 19th, 2008
This week, a total of 4488 oopses and warnings have been reported,
compared to 3926 reports in the previous week.
(Reports prior to 2.6.26 have been omitted in collecting the top 10)
I'd like to point specifically at numbers 7 and 8 this week, they are new in
the top 10 out of nowhere...
Per file ...
| Nov 19, 9:01 am 2008 |
| rae l | Re: [PATCH] kobject_add: use constant strings directly a ...
Dropping one parameter makes the function call a little faster, doesn't it?
The results are the same,
so if the string is constant, why not use it directly as the fmt string?
--
Cheng Renquan, Shenzhen, China
Lily Tomlin - "The trouble with the rat race is that even if you win,
you're still a rat."
--
| Nov 19, 9:17 am 2008 |
| Greg KH | Re: [PATCH] kobject_add: use constant strings directly a ...
Why? What does this change buy us?
thanks,
greg k-h
--
| Nov 19, 8:57 am 2008 |
| Kay Sievers | Re: [PATCH] kobject_add: use constant strings directly a ...
Not that we should be able to measure it, but it should save some
cycles parsing the format character and retrieving the string pointer
It should be fine for strings, where you can be sure they can never
contain a '%', sure.
Thanks,
Kay
--
| Nov 19, 10:00 am 2008 |
| rae l | Re: [PATCH] kobject_add: use constant strings directly a ...
I'm sure it does work, one another as:
*** drivers/net/iseries_veth.c:
veth_probe_one[1088] if (0 != kobject_add(&port->kobject,
And I have searched all places kobject_add called, only these two
places in block/blk-sysfs.c
and block/elevator.c have constant strings. So this patch is the whole
kobject_add constant string
--
Cheng Renquan, Shenzhen, China
Fred Allen - "An associate producer is the only guy in Hollywood who
will associate with a producer."
--
| Nov 19, 10:37 am 2008 |
| crquan | [PATCH] kobject_add: use constant strings directly as fm ...
From: Cheng Renquan <crquan@gmail.com>
Signed-off-by: Cheng Renquan <crquan@gmail.com>
---
block/blk-sysfs.c | 2 +-
block/elevator.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c
index 21e275d..0b189e9 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -342,7 +342,7 @@ int blk_register_queue(struct gendisk *disk)
return 0;
ret = kobject_add(&q->kobj, kobject_get(&disk_to_dev(disk)->kobj),
- "%s", ...
| Nov 19, 8:54 am 2008 |
| Balbir Singh | [mm][PATCH] Memory cgroup fix hierarchy selector
Andrew and Li reviewed and found that we need to check for val being 1 or 0
for the root container as well. use_hierarchy's type is changed to bool.
We still continue to use the ease of write_X64 for writing to it and then
check if the values are sane.
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
---
mm/memcontrol.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -puN mm/memcontrol.c~memcg-fix-add-hierarchy-selector mm/memcontrol.c
--- ...
| Nov 19, 8:28 am 2008 |
| Jes Sorensen | [patch] docbook build fix, update include path
Hi
Build fix for kerneldoc
Jes
| Nov 19, 8:22 am 2008 |
| Randy Dunlap | Re: [patch] docbook build fix, update include path
<attachment :( >
Hi Jes,
Is your git tree up-to-date? This should already be fixed.
---
~Randy
--
| Nov 19, 9:07 am 2008 |
| Alexander Beregalov | next-20081119: general protection fault: get_next_timer_ ...
Hi
It is 4way X86_64
The kernel does not boot.
...
scsi0 : LSI SAS based MegaRAID driver
Driver 'sd' needs updating - please use bus_type methods
scsi 0:0:0:0: Direct-Access ATA SAMSUNG HE160HJ 0-24 PQ: 0 ANSI: 5
general protection fault: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC
last sysfs file:
CPU 3
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.28-rc5-next-20081119 #6
RIP: 0010:[<ffffffff80240061>] [<ffffffff80240061>]
get_next_timer_interrupt+0x11b/0x1f0
RSP: ...
| Nov 19, 8:14 am 2008 |
| Thomas Gleixner | Re: next-20081119: general protection fault: get_next_ti ...
Alexander,
Can you please enable:
CONFIG_DEBUG_OBJECTS=y
CONFIG_DEBUG_OBJECTS_FREE=y
CONFIG_DEBUG_OBJECTS_TIMERS=Y
and add "debug_objects" to the kernel command line ?
Thanks,
tglx
--
| Nov 19, 2:14 pm 2008 |
| Jens Axboe | Re: ISP1760 driver crashes
The best solution is probably to either provide a "doesn't do highmem"
in the scsi host template, or provide an appropriate DMA mask for the
pci device to indicate it through that setting instead.
--
Jens Axboe
--
| Nov 19, 8:39 am 2008 |
| Jens Axboe | Re: ISP1760 driver crashes
It's changing behaviour. There's no current rule that says if you don't
have a dma mask set, we only do PIO (even if such a rule DOES make
sense). Additionally, you don't HAVE to bounce for PIO. As I wrote
earlier, it's perfectly feasible to use bio kmap'ings to do the
It'll certainly work in the sense that if you don't have a dma_mask set,
you only get lowmem pages. Whether the new behaviour is something we
want, not sure. Check with James what he thinks, it's his domain.
--
Jens ...
| Nov 19, 10:21 am 2008 |
| Hommel, Thomas (GE E ... | RE: ISP1760 driver crashes
Thanks Alan,
This seems to fix the problem.
--
| Nov 19, 8:59 am 2008 |
| Jens Axboe | Re: ISP1760 driver crashes
Sure, just use blk_queue_bounce_limit(q, BLK_BOUNCE_HIGH), then you are
certain that you will always have a virtual mapping for the IO you
receive.
Or you can use the bio kmap/kunmap helpers to get such a mapping
temporarily if you wish. But if your pio condition is permanent, you may
as well just use bouncing.
--
Jens Axboe
--
| Nov 19, 8:00 am 2008 |
| Alan Stern | Re: ISP1760 driver crashes
usb-storage doesn't allocate the memory. The memory is allocated by
Jens, is there any way to tell the kernel that a device uses PIO and
therefore its buffers shouldn't be allocated in high memory? For
example, shouldn't a NULL dma_mask do this?
If not, are there standard routines to set up bounce buffers for such
devices?
Alan Stern
--
| Nov 19, 7:59 am 2008 |
| Alan Stern | Re: ISP1760 driver crashes
Thank you.
Thomas, the blk_queue_bounce_limit() routine is called in
drivers/scsi/scsi_lib.c:__scsi_alloc_queue(). The value it passes is
computed by scsi_calculate_bounce_limit(), and in that routine
host_dev->dma_mask should be NULL (since isp1760-hcd sets the mask to
NULL). Therefore the bounce limit should be 0xffffffff.
Now maybe this value isn't correct. You can try the patch below to see
if it helps. If it doesn't, add a printk in __scsi_alloc_queue() to
see what bounce ...
| Nov 19, 8:36 am 2008 |
| Alan Stern | Re: ISP1760 driver crashes
The DMA mask is currently set to NULL. Is that not appropriate for a
device that can't do DMA? If not, then what would be appropriate?
Also, is the patch above not correct?
Alan Stern
--
| Nov 19, 9:33 am 2008 |
| Evgeniy Polyakov | Re: [take 3] Use pid in inotify events.
Hi Michael.
So far the only real need is a pid. That will solve the cases I'm
working on and it may be interesting for other applications. It is
possible to extend read/write IO with offset and size parameters though.
Um, hmm... Permission is _always_ denied for 'alien' IO, as it was
pointed by Robert, at init time there is no way to know, will there be
alien IO (i.e. originated by the process with different uid) or not.
More on this: inotify initialization is just a memory allocation ...
| Nov 19, 7:53 am 2008 |
| Rusty Russell | core_param: call these really, really early.
As soon as we have command line, so even before early_param. They
just set vars, so it makes sense to do them as early as possible.
This allows them to replace early_param, and fixes a bug in the new
cpu_alloc implementation patches which was a complete PITA to find.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
include/asm-generic/vmlinux.lds.h | 3 +++
include/linux/moduleparam.h | 26 ++++++++++++++++----------
init/main.c | 25 ...
| Nov 19, 7:53 am 2008 |
| Hiroshi Shimamoto | Re: [PATCH 1/1] cpumask: smp_call_function_many()
Hi Rusty,
I think, return is needed here. If not func will be called twice.
if (next_cpu >= nr_cpu_ids) {
smp_call_function_single(cpu, func, info, wait);
return;
}
thanks,
--
| Nov 19, 1:23 pm 2008 |
| Rusty Russell | Re: [PATCH 1/1] cpumask: smp_call_function_many()
Indeed, thanks!
Fixed,
Rusty.
--
| Nov 19, 4:38 pm 2008 |
| Rusty Russell | [PATCH 1/1] cpumask: smp_call_function_many()
Actually change smp_call_function_mask() to smp_call_function_many().
S390 has its own version, so we do trivial conversion on that too.
We have to do some dancing to figure out if 0 or 1 other cpus are in
the mask supplied and the online mask without allocating a tmp
cpumask. It's still fairly cheap.
We allocate the cpumask at the end of the call_function_data
structure: if allocation fails we fallback to smp_call_function_single
rather than using the baroque quiescing code.
(Thanks ...
| Nov 19, 7:45 am 2008 |
| Michael Kerrisk | Re: [take 3] Use pid in inotify events.
[RESENT, because LKML bounced some HTML that accidentally got put in the mail.]
[CC+=John McCutchan, this time with hopefully a live email address;
John, some context here: http://marc.info/?t=122633022400003&r=1&w=2 ]
Evgeniy,
I suspect that Christoph wants the same thing as I do: some thinking
towards a future-proof design, rather than a quick hack to address the
Again, appropriate flags in inotify_init1() could fix this -- e.g.,
only fill the field (and give an error if no perms) if a ...
| Nov 19, 7:43 am 2008 |
| Rusty Russell | [PATCH 1/1] cpumask: make irq_set_affinity() take a cons ...
(Ingo, this is for you directly, not linux-next).
Not much point with gentle transition here: the struct irq_chip's
setaffinity method signature needs to change.
Fortunately, not widely used code, but hits a few architectures.
Note: In irq_select_affinity() I save a temporary in by mangling
irq_desc[irq].affinity directly. Ingo, does this break anything?
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Ingo Molnar ...
| Nov 19, 7:40 am 2008 |
| Rusty Russell | [PATCH 2/2] cpumask: change cpumask_scnprintf, cpumask_p ...
(Linux-next again, but simple conversion...)
Most cpumask functions started with cpus_: these have been replaced by
cpumask_ ones which take struct cpumask pointers as expected.
These four functions don't have good replacement names; fortunately
they're rarely used, so we just change them over.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: paulus@samba.org
Cc: mingo@redhat.com
Cc: tony.luck@intel.com
Cc: ralf@linux-mips.org
Cc: Greg ...
| Nov 19, 7:38 am 2008 |
| Rusty Russell | Re: [PATCH 1/2] cpumask: centralize cpu_online_map and c ...
Just checked; we actually set it in boot_cpu_init() already (init/main.c).
Note that all the cpu iterators on UP ignore the mask anyway.
So I think a worthwhile cleanup.
Thanks,
Rusty.
--
| Nov 19, 4:30 pm 2008 |
| Rusty Russell | [PATCH 1/2] cpumask: centralize cpu_online_map and cpu_p ...
(I'll be rinsing this through linux-next; testing feedback and even
Acked-by's appreciated).
Each SMP arch defines these themselves. Move them to a central
location.
Twists:
1) Some archs (m32, parisc, s390) set possible_map to all 1, so we add a
CONFIG_INIT_ALL_POSSIBLE for this rather than break them.
2) mips and sparc32 '#define cpu_possible_map phys_cpu_present_map'.
Those archs simply have phys_cpu_present_map replaced everywhere.
3) Alpha defined cpu_possible_map to ...
| Nov 19, 7:37 am 2008 |
| Russell King | Re: [PATCH 1/2] cpumask: centralize cpu_online_map and c ...
Just a question: in the uniprocessor case, does this mean that
cpu_online_map becomes zero or do we mark cpu0 as online somewhere?
I couldn't see it in this patch.
I'm just wondering from a review point of view whether this change
of initialization could have undesirable side effects.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
--
| Nov 19, 11:17 am 2008 |
| Niels de Vos | [PATCH] apm: Remove CONFIG_APM_REAL_MODE_POWER_OFF in fa ...
Remove CONFIG_APM_REAL_MODE_POWER_OFF like CONFIG_APM_POWER_OFF which
has been done for linux-2.2.14pre8 (http://lkml.org/lkml/1999/11/23/3).
Re-introducing CONFIG_APM_POWER_OFF got nack-ed. Stephen didn't bother
to remove CONFIG_APM_REAL_MODE_POWER_OFF, let's get rid of it now.
Reference: http://lkml.org/lkml/2008/5/7/97
Signed-off-by: Niels de Vos <niels.devos@wincor-nixdorf.com>
---
arch/x86/Kconfig | 7 -------
arch/x86/kernel/apm_32.c | 4 ----
2 files changed, 0 ...
| Nov 19, 7:18 am 2008 |
| Yoichi Yuasa | [PATCH] led: fix Cobalt Raq LED dependency
Cobalt Raq LEDs require LEDS_CLASS=y.
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/drivers/leds/Kconfig linux/drivers/leds/Kconfig
--- linux-orig/drivers/leds/Kconfig 2008-11-10 10:13:15.609846727 +0900
+++ linux/drivers/leds/Kconfig 2008-11-10 11:22:43.602680128 +0900
@@ -77,7 +77,7 @@ config LEDS_COBALT_QUBE
config LEDS_COBALT_RAQ
bool "LED Support for the Cobalt Raq series"
- depends on LEDS_CLASS && ...
| Nov 19, 7:06 am 2008 |
| Qinghuang Feng | [PATCH 4/4] drivers/mtd/ftl.c: mark {__init|__exit} for ...
Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---
diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c
index 9bf581c..c3bbf38 100644
--- a/drivers/mtd/ftl.c
+++ b/drivers/mtd/ftl.c
@@ -1099,7 +1099,7 @@ static struct mtd_blktrans_ops ftl_tr = {
.owner = THIS_MODULE,
};
-static int init_ftl(void)
+static int __init init_ftl(void)
{
return register_mtd_blktrans(&ftl_tr);
}
--
| Nov 19, 6:16 am 2008 |
| Qinghuang Feng | [PATCH 3/4] drivers/mtd/devices/m25p80.c: mark {__init|_ ...
Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 76a7675..ff6a80e 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -768,13 +768,13 @@ static struct spi_driver m25p80_driver = {
};
-static int m25p80_init(void)
+static int __init m25p80_init(void)
{
return spi_register_driver(&m25p80_driver);
}
-static void m25p80_exit(void)
+static void __exit ...
| Nov 19, 6:16 am 2008 |
| Qinghuang Feng | [PATCH 2/4] drivers/mtd/nand/cmx270_nand.c: mark {__init ...
Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---
diff --git a/drivers/mtd/nand/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c
index fa129c0..c429ea2 100644
--- a/drivers/mtd/nand/cmx270_nand.c
+++ b/drivers/mtd/nand/cmx270_nand.c
@@ -148,7 +148,7 @@ static int cmx270_device_ready(struct mtd_info *mtd)
/*
* Main initialization routine
*/
-static int cmx270_init(void)
+static int __init cmx270_init(void)
{
struct nand_chip *this;
const char *part_type;
@@ -262,7 +262,7 ...
| Nov 19, 6:16 am 2008 |
| Qinghuang Feng | [PATCH 1/4] drivers/mtd/nand/cafe_nand.c: mark {__init|_ ...
Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
---
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c
index b8064bf..7d7a80b 100644
--- a/drivers/mtd/nand/cafe_nand.c
+++ b/drivers/mtd/nand/cafe_nand.c
@@ -899,12 +899,12 @@ static struct pci_driver cafe_nand_pci_driver = {
.resume = cafe_nand_resume,
};
-static int cafe_nand_init(void)
+static int __init cafe_nand_init(void)
{
return pci_register_driver(&cafe_nand_pci_driver);
}
-static void ...
| Nov 19, 6:16 am 2008 |
| Qinghuang Feng | [PATCH 0/4] MTD: mark {__init|__exit} for {init|exit} fu ...
None of these (init|exit) functions is called from
other functions which is outside the kernel module
mechanism or kernel itself, so mark them as
{__init|__exit}.
--
| Nov 19, 6:16 am 2008 |
| Folkert van Heusden | [2.6.28-rc5] RCU detected CPU 0 stall (t=4294893165/750 ...
During the boot-process of a 2.6.28-RC5 kernel I got the followin on
the console:
- [ 3.479998] RCU detected CPU 0 stall (t=4294893165/750 jiffies)
! [ 3.480004] Pid: 1, comm: swapper Not tainted 2.6.28-rc5-custom2 #1
! [ 3.480004] Call Trace:
! [ 3.480004] [<c0300c33>] ? printk+0xf/0x14
! [ 3.480004] [<c0166f15>] __rcu_pending+0x53/0x189
! [ 3.480004] [<c0167067>] rcu_pending+0x1c/0x47
! [ 3.480004] [<c0132aa4>] update_process_times+0x2b/0x4e
! [ 3.480004] ...
| Nov 19, 5:37 am 2008 |
| KAMEZAWA Hiroyuki | Re: + memcg-swap-cgroup-for-remembering-usage-fix-4.patc ...
Sorry for inconvenience but I'm out of office until Friday.
I met Nishimura and disccussed to post rework patch.
(means unififed patch of original+fix1,2,3,4 + consider about lock again)
Thank you for handling.
Regards,
--
| Nov 19, 5:36 am 2008 |
| Michael Fuckner | Performance issues with Areca 1680 SAS Controllers
Hi,
I am using an Areca 1680-SAS-Controller with 16 SAS-HDD (Seagate 1TB
ST31000640SS). I set up a Raid6 with all 16 disks and formatted it with
XFS. The Controller has 512MB RAM and a BBU. The OS is installed to
another disk attached to the onboard AHCI controller.
After doing some IO, the areca raidset is slower compared to the rate
directly
after boot.
[root@storage ~]# dd if=/dev/sdb1 of=/dev/null bs=1M count=50k iflag=direct
51200+0 records in
51200+0 records out
53687091200 ...
| Nov 19, 5:16 am 2008 |
| Christoph Lameter | Re: [PATCH] Add might_sleep_if() for slub
Acked-by: Christoph Lameter <cl@linux-foundation.org>
--
| Nov 19, 12:28 pm 2008 |
| OGAWA Hirofumi | [PATCH] Add might_sleep_if() for slub
Hi,
I don't know it is intention, or not. However, current SLUB not seems to
warn about might_sleep_if(gfpflags & __GFP_WAIT);
If it's not intention, please apply.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Currently SLUB doesn't warn about __GFP_WAIT. Add it into slab_alloc().
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
---
mm/slub.c | 1 +
1 file changed, 1 insertion(+)
diff -puN mm/slub.c~slub-might-sleep mm/slub.c
--- ...
| Nov 19, 5:23 am 2008 |
| Patrick Ohly | [RFC PATCH 01/11] put_cmsg_compat + SO_TIMESTAMP[NS]: us ...
In __sock_recv_timestamp() the additional SCM_TIMESTAMP[NS] is used. This
has the same value as SO_TIMESTAMP[NS], so this is a purely cosmetic change.
---
net/compat.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/compat.c b/net/compat.c
index 67fb6a3..6ce1a1c 100644
--- a/net/compat.c
+++ b/net/compat.c
@@ -226,14 +226,14 @@ int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *dat
return 0; /* XXX: return error? check spec. */
...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | Re: [RFC PATCH 03/11] net: infrastructure for hardware t ...
Before someone else mentions it: this was meant to be "sizeof(*serr)" of
course.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
--
| Nov 19, 8:21 am 2008 |
| Patrick Ohly | [RFC PATCH 05/11] ip: support for TX timestamps on UDP a ...
Instructions for time stamping outgoing packets are take from the
socket layer and later copied into the new skb.
---
include/net/ip.h | 1 +
net/can/raw.c | 6 ++++++
net/ipv4/icmp.c | 2 ++
net/ipv4/ip_output.c | 2 ++
net/ipv4/raw.c | 1 +
net/ipv4/udp.c | 4 ++++
6 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/include/net/ip.h b/include/net/ip.h
index bc026ec..9bc2b65 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 08/11] clocksource: allow usage independent o ...
So far struct clocksource acted as the interface between time/timekeeping
and hardware. This patch generalizes the concept so that the same
interface can also be used in other contexts.
The only change as far as kernel/time/timekeeping is concerned is that
the hardware access can be done either with or without passing
the clocksource pointer as context. This is necessary in those
cases when there is more than one instance of the hardware.
The extensions in this patch add code which turns the ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 03/11] net: infrastructure for hardware time ...
The new sk_buff->hwtstamp is used to transport time stamping
instructions to the device driver (outgoing packets) and to
return raw hardware time stamps back to user space (incoming
or sent packets).
Implements TX time stamping in software if the device driver
doesn't support hardware time stamping.
The new semantic for hardware/software time stamping around
net_device->hard_start_xmit() is based on two assumptions about
existing network device drivers which don't support hardware
time ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | hardware time stamping with extra skb->hwtstamp
This patch series was discussed before on linux-netdev ("hardware
time stamping + igb example implementation"). Since then I have
rebased against net-next and addressed all comments sent so far,
except Octavian's suggestion to include more information in the
packet which is bounced back to the application.
As suggested by David, I'm now also including linux-kernel because:
* patch 2 adds a new user space API (documentation and example
program included, but no man page patch yet)
* patch 8 ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 10/11] time sync: generic infrastructure to m ...
Currently only mapping from clock source to system time is implemented.
The interface could have been made more versatile by not depending on a clock source,
but this wasn't done to avoid writing glue code elsewhere.
The method implemented here is the one used and analyzed under the name
"assisted PTP" in the LCI PTP paper:
http://www.linuxclustersinstitute.org/conferences/archive/2008/PDF/Ohly_92221.pdf
---
include/linux/clocksync.h | 139 +++++++++++++++++++++++++++++++++++++++++++++
...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 02/11] net: new user space API for time stamp ...
User space can request hardware and/or software time stamping.
Reporting of the result(s) via a new control message is enabled
separately for each field in the message because some of the
fields may require additional computation and thus cause overhead.
When a TX timestamp operation is requested, the TX skb will be cloned
and the clone will be time stamped (in hardware or software) and added
to the socket error queue of the skb, if the skb has a socket
associated with it.
The actual TX ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 07/11] igb: stub support for SIOCSHWTSTAMP
---
drivers/net/igb/igb_main.c | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index 89ffc07..be8e2b8 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -34,6 +34,7 @@
#include <linux/ipv6.h>
#include <net/checksum.h>
#include <net/ip6_checksum.h>
+#include <net/timestamping.h>
#include <linux/mii.h>
#include <linux/ethtool.h>
#include ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 06/11] net: pass new SIOCSHWTSTAMP through to ...
---
fs/compat_ioctl.c | 1 +
net/core/dev.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 5235c67..a5001a6 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -2555,6 +2555,7 @@ HANDLE_IOCTL(SIOCSIFMAP, dev_ifsioc)
HANDLE_IOCTL(SIOCGIFADDR, dev_ifsioc)
HANDLE_IOCTL(SIOCSIFADDR, dev_ifsioc)
HANDLE_IOCTL(SIOCSIFHWBROADCAST, dev_ifsioc)
+HANDLE_IOCTL(SIOCSHWTSTAMP, dev_ifsioc)
/* ioctls used by ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 09/11] igb: infrastructure for hardware time ...
Adds register definitions and a clocksource accessing the
NIC time.
---
drivers/net/igb/e1000_regs.h | 28 +++++++++++
drivers/net/igb/igb.h | 3 +
drivers/net/igb/igb_main.c | 105 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 136 insertions(+), 0 deletions(-)
diff --git a/drivers/net/igb/e1000_regs.h b/drivers/net/igb/e1000_regs.h
index 95523af..37f9d55 100644
--- a/drivers/net/igb/e1000_regs.h
+++ b/drivers/net/igb/e1000_regs.h
@@ -75,6 +75,34 @@
#define ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 04/11] net: socket infrastructure for SO_TIME ...
The overlap with the old SO_TIMESTAMP[NS] options is handled so
that time stamping in software (net_enable_timestamp()) is
enabled when SO_TIMESTAMP[NS] and/or SO_TIMESTAMPING_RX_SOFTWARE
is set. It's disabled if all of these are off.
---
include/net/sock.h | 37 ++++++++++++++++++++++--
net/compat.c | 19 ++++++++----
net/core/sock.c | 79 ++++++++++++++++++++++++++++++++++++++++++++--------
net/socket.c | 75 ++++++++++++++++++++++++++++++++++++-------------
4 files ...
| Nov 19, 5:08 am 2008 |
| Patrick Ohly | [RFC PATCH 11/11] igb: use clocksync to implement hardwa ...
Both TX and RX hardware time stamping are implemented. Due to
hardware limitations it is not possible to verify reliably which
packet was time stamped when multiple were pending for sending; this
could be solved by only allowing one packet marked for hardware time
stamping into the queue (not implemented yet).
RX time stamping relies on the flag in the packet descriptor which
marks packets that were time stamped. In "all packet" mode this flag
is not set. TODO: also support that mode (even ...
| Nov 19, 5:08 am 2008 |
| Takashi Iwai | Re: [Question] Can I open a substream in kernel space wi ...
At Wed, 19 Nov 2008 18:00:36 +0800,
Yes, OSS emulation code handles the PCM in the kernel.
But, basically I don't recommend you to do this -- it's not the job of
the sound card driver. The whole PCM stuff is handled by the PCM
middle layer, not the driver itself.
Any reason why you handle the PCM stuff completely in your driver
code?
Takashi
--
| Nov 19, 6:49 am 2008 |
| Takashi Iwai | Re: [Question] Can I open a substream in kernel space wi ...
At Wed, 19 Nov 2008 23:42:48 +0800,
Well, the access in the kernel space is fairly similar as in the user
space. It opens, issues ioctls, reads and writes. The difference is
that you access via dedicated function calls instead of syscalls.
There is no way to poke the driver internal from other drivers.
Yes. But for the kernel space buffer, you'd need to fake the
user-space pointer by snd_enter_user() and snd_leave_user(). See
Not way to peek/poke the driver internals from the ...
| Nov 19, 9:01 am 2008 |
| Bryan Wu | [Question] Can I open a substream in kernel space withou ...
Hi Takashi,
I am developing a USB gadget driver compliant to USB Audio Class Spec 2.0.
So I want to open a PCM substream and do some playback of capture,
then close them?
I found snd_pcm_open_substream() is for opening a substream and attach
it to a file.
But in my application, there is no need to open a file before opening
a substream.
- Is there any interface for me to open a substream in kernel space
without attach to a file?
- How to playback and capture in kernel space, use ...
| Nov 19, 3:00 am 2008 |
| Bryan Wu | Re: [Question] Can I open a substream in kernel space wi ...
No, my plan is not a sound card driver. It is an USB gadget audio driver.
When an embedded system for example Blackfin board connects to a USB host (PC),
PC will recognize this USB device as a USB Audio Class device.
Generally, there should be a sound card on the embedded system. Our
Blackfin board
has an AD1980 ALSA sound card. The USB gadget audio driver will open this sound
card and export this device to USB host PC by some USB audio class specific
descriptors. Then the PC can playback ...
| Nov 19, 8:42 am 2008 |
| Randy Dunlap | Re: kobject: 'vcs1' (d2172ad8): kobject_add_internal: pa ...
Those prints use pr_debug() from include/linux/kernel.h, which was changed
most recently in
commit d091c2f58ba32029495a933b721e8e02fbd12caa
Author: Martin Schwidefsky <schwidefsky@de.ibm.com>
Date: Wed Nov 12 21:16:43 2008 +0100
Add 'pr_fmt()' format modifier to pr_xyz macros.
Do you have CONFIG_DYNAMIC_PRINTK_DEBUG enabled? That could affect the
kernel log output.
---
~Randy
--
| Nov 19, 11:12 am 2008 |
| Folkert van Heusden | kobject: 'vcs1' (d2172ad8): kobject_add_internal: parent ...
Hi,
What switch is responsible for this logging:
[ 94.025172] kobject: 'vcsa1': free name
[ 94.025231] kobject: 'vcs1' (d2172ad8): kobject_add_internal: parent: 'vc', set: 'devices'
[ 94.025308] kobject: 'vcs1' (d2172ad8): kobject_uevent_env
[ 94.025315] kobject: 'vcs1' (d2172ad8): fill_kobj_path: path = '/class/vc/vcs1'
[ 94.025352] kobject: 'vcsa1' (d23f00d8): kobject_add_internal: parent: 'vc', set: 'devices'
[ 94.025398] kobject: 'vcsa1' (d23f00d8): kobject_uevent_env
I can't ...
| Nov 19, 2:59 am 2008 |
| Jens Axboe | Re: [PATCH] Exiting queue and task might race to free cic
Not sure this is enough, we probably need to copy the key to ensure that
we get a fresh value. How does this look?
Did you actually trigger this, or is it just from code inspection?
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 6a062ee..560cd1c 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -1318,7 +1318,14 @@ static void cfq_exit_single_io_context(struct io_context *ioc,
unsigned long flags;
spin_lock_irqsave(q->queue_lock, ...
| Nov 19, 7:15 am 2008 |
| Fabio Checconi | Re: [PATCH] Exiting queue and task might race to free cic
I've seen once the oops reported (the BUG() now @ line 1247), but I've
never been able to reproduce it afterwards. I think that there still
is a window open for a race here:
1314 struct cfq_data *cfqd = cic->key;
1315
=====> here cfq_exit_queue() can free cfqd and assign cic->key = NULL,
and accessing cfqd->queue is not safe. [ If I'm not wrong :) ]
1316 if (cfqd) {
1317 struct request_queue *q = cfqd->queue;
--
| Nov 19, 8:02 am 2008 |
| Nikanth Karthikesan | [PATCH] Exiting queue and task might race to free cic
Hi Jens
Looking at the bug reported here
http://thread.gmane.org/gmane.linux.kernel/722539
it looks like an exiting queue can race with an exiting task.
When a queue exits the queue lock is taken and cfq_exit_queue() would free all
the cic's associated with the queue.
But when a task exits, cfq_exit_io_context() gets cic one by one and then
locks the associated queue to call __cfq_exit_single_io_context. It looks like
between getting a cic from the ioc and locking the queue, the queue ...
| Nov 19, 2:57 am 2008 |
| Сергій Стецькович | Data corruption in some BIOSes
Hello,
I am working on some project where I need to boot winxp from linux,
and I am using kexec for it, but in some computers it doesn't work.
When kexec jumps to my kernel, in kernel I am switching to real mode
and try to call int13h to read mbr sector. But I have one
computer(with AMI BIOS and this computer is newer than others) where
this BIOS call doesn't work.
I think it is the problem with data corruption of BIOS memory, and I
also have compiled 2.6.27.6 kernel(where is applied ...
| Nov 19, 2:01 am 2008 |
| Jarek Poplawski | [PATCH] softirq: Fix warnings triggered by netconsole
Consider netconsole case as special in local_bh_enable()/_disable().
This patch skips in_irq() and irqs_disabled() warnings for NETPOLL
configs when it's safe wrt. do_softirq().
Reported-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
---
[apply on top of my first softirq patch in this thread]
diff -Nurp a/kernel/softirq.c b/kernel/softirq.c
--- a/kernel/softirq.c 2008-11-19 07:33:23.000000000 +0000
+++ b/kernel/softirq.c 2008-11-19 07:26:28.000000000 ...
| Nov 19, 1:41 am 2008 |
| Ingo Molnar | Re: [PATCH] softirq: Fix warnings triggered by netconsole
this is a very ugly patch, not really acceptable.
printk methods should not be doing softirq processing - period.
Ingo
--
| Nov 19, 2:32 am 2008 |
| Jarek Poplawski | Re: [PATCH] softirq: Fix warnings triggered by netconsole
Well, it's a question of taste. Anyway, this patch is only about
warnings, so no big deal. But I still think the first patch reverting
local_irq_save() -> local_irq_disable() change should be applied.
There is no need to give users any additional lockups risk while we
know there are unsolved issues.
BTW, the current situation with: local_irq_disable() in
_local_bh_enable() and local_irq_save() in do_softirq() doesn't make
much sense. I know, there is local_irq_disable() in ...
| Nov 19, 4:07 am 2008 |
| David Miller | Re: [PATCH] netconsole: Disable softirqs in write_msg()
From: Ingo Molnar <mingo@elte.hu>
Right, it's totally legit.
--
| Nov 19, 3:22 am 2008 |
| David Miller | Re: [PATCH] netconsole: Disable softirqs in write_msg()
From: Jarek Poplawski <jarkao2@gmail.com>
This backtrace call path is anything but "usual".
There is a UDP send, and a local_bh_enable() done there triggers
softirqs, which processes device (I would guess loopback, or
some non-NAPI device) backlog processing.
This triggers an input netfilter ipt_LOG rule, which triggers a
printk over netconsole.
netpoll finds the TX queue of the tg3 device (which is NAPI)
full, so it invokes ->poll() to try and free up some TX queue
space.
This in ...
| Nov 19, 3:10 am 2008 |
| Jarek Poplawski | [PATCH] netconsole: Disable softirqs in write_msg()
This report: http://marc.info/?l=linux-netdev&m=122599341430090&w=2
shows local_bh_enable() is used in the wrong context (irqs disabled).
It happens when a usual network path is called by netconsole, which
simply turns off hardirqs around this all.
This patch additionally disables softirqs to avoid possibility of
enabling bh and calling do_softirq() with hardirqs disabled.
Reported-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
---
...
| Nov 19, 1:41 am 2008 |
| Ingo Molnar | Re: [PATCH] netconsole: Disable softirqs in write_msg()
but netconsole can be triggered from printk - and printk can be called
from hardirqs-off sections - so this doesnt really fix the bug.
Netconsole should not do BH processing.
Ingo
--
| Nov 19, 2:30 am 2008 |
| David Miller | Re: [PATCH] netconsole: Disable softirqs in write_msg()
From: Ingo Molnar <mingo@elte.hu>
Well, it sort of "has to". It calls the NAPI ->poll() method of the
driver to try and make forward progress with TX reclaim so it can
send new messages.
It is very careful not to recursively invoke into ->poll() and other
nasty situations.
Didn't you write some of this code Ingo a very long time ago? :-)))
Anyways, I'll look more closely at this and the original report,
this never was a problem before.
--
| Nov 19, 2:42 am 2008 |
| Ingo Molnar | Re: [PATCH] netconsole: Disable softirqs in write_msg()
it is causing problems, so i'd like to distance myself from that
careless mistake of my youth! [ And once it starts working again i'd
like to take credit for having started that brilliant piece of
Thanks! We strengthened/cleaned up the bh checks a tiny bit recently,
maybe that caused this to pop up. It might explain some netconsole
lockups perhaps? Or, the new warning might be bogus. It's a bit of a
maze.
Ingo
--
| Nov 19, 3:14 am 2008 |
| David Miller | Re: [PATCH] netconsole: Disable softirqs in write_msg()
From: Ingo Molnar <mingo@elte.hu>
See my other reply to Jarek's patch posting, we're supposed to
ignore all RX packets in this situation, and all the logic appears
to be there, but it's not happening on that person's system for some
reason.
--
| Nov 19, 3:17 am 2008 |
| Ingo Molnar | Re: [PATCH] netconsole: Disable softirqs in write_msg()
Saw that ... an insanely complex scenario.
So at least there's a partial result: it appears to not be a false
positive warning in the generic softirq/lockdep code.
Ingo
--
| Nov 19, 3:21 am 2008 |
| Harvey Harrison | Re: + unaligned-introduce-common-header.patch added to - ...
All of the byteshifting versions were cribbed from the ARM implementation.
I'm not sure if there was a particular reason for doing it in this order, but
a lot of work seems to have gone in to minimize register usage.
See include/asm-arm/unaligned.h circa 2.6.25.
Harvey
--
| Nov 19, 10:16 am 2008 |
| Geert Uytterhoeven | Re: + unaligned-introduce-common-header.patch added to - ...
Isn't it more logical to reverse the order, to store in increasing memory
locations:
__put_le16_noalign(p, val);
Same here:
__put_le32_noalign(p, val);
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
| Nov 19, 1:21 am 2008 |
| Li Zefan | [PATCH] cgroups: fix a serious bug in cgroupstats
Try this, and you'll get oops immediately:
# cd Documentation/accounting/
# gcc -o getdelays getdelays.c
# mount -t cgroup -o debug xxx /mnt
# ./getdelays -C /mnt/tasks
Because a normal file's dentry->d_fsdata is a pointer to struct cftype,
not struct cgroup.
After the patch, it returns EINVAL if we try to get cgroupstats
from a normal file.
CC: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
kernel/cgroup.c | 7 +++++--
1 files ...
| Nov 19, 1:14 am 2008 |
| Andrew Morton | Re: [PATCH] cgroups: fix a serious bug in cgroupstats
The patch applies OK to 2.6.25, 2.6.26 and to 2.6.27. I marked it as
needing backport to those kernel versions. Please let me know if that
was inappropriate.
--
| Nov 19, 1:25 am 2008 |
| Li Zefan | Re: [PATCH] cgroups: fix a serious bug in cgroupstats
Forgot to mention this:
The bug exists from 2.6.24 (when cgroupstats is introduced) to now, though
I didn't test in all those versions. I guess not many people used cgroupstats,
so it never gets triggered.
I think it can be applied to 2.6.24 too.
--
| Nov 19, 1:29 am 2008 |
| Balbir Singh | Re: [PATCH] cgroups: fix a serious bug in cgroupstats
Thanks, it does need to be backported. Thanks Li for spotting the problem.
--
Balbir
--
| Nov 19, 1:30 am 2008 |
| Paul Menage | Re: [PATCH] cgroups: fix a serious bug in cgroupstats
Good catch, thanks.
--
| Nov 19, 3:31 pm 2008 |
| Randy Dunlap | Re: linux-next: Tree for November 19 (mtd build error)
On Wed, 19 Nov 2008 17:59:17 +1100 Stephen Rothwell wrote:
(.text+0x104879): undefined reference to `add_mtd_device'
(.text+0x1048e1): undefined reference to `del_mtd_device'
mtd.c:(.text+0x104999): undefined reference to `mtd_erase_callback'
config attached.
---
~Randy
| Nov 19, 11:53 am 2008 |
| Randy Dunlap | [PATCH] coda: fix creds reference
I guess that Stephen carried this patch for a few weeks, but now
he has stopped carrying linux-next build patches.
Still broken.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: Randy Dunlap <randy.dunlap@oracle.com>
Needs a header file for credentials struct:
linux-next-20081023/fs/coda/file.c:177: error: dereferencing pointer to incomplete type
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
cc: Jan Harkes <jaharkes@cs.cmu.edu>
---
fs/coda/file.c | 1 +
1 file changed, 1 ...
| Nov 19, 12:15 pm 2008 |
| Randy Dunlap | [PATCH -next resend] nfsctl: add headers for credentials
From: Randy Dunlap <randy.dunlap@oracle.com>
Needs headers help for current_cred:
Adding only cred.h wasn't enough.
linux-next-20081023/fs/nfsctl.c:45: error: implicit declaration of function 'current_cred'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
fs/nfsctl.c | 2 ++
1 file changed, 2 insertions(+)
--- linux-next-20081119.orig/fs/nfsctl.c
+++ linux-next-20081119/fs/nfsctl.c
@@ -10,6 +10,8 @@
#include <linux/sunrpc/svc.h>
#include <linux/nfsd/nfsd.h>
...
| Nov 19, 12:33 pm 2008 |
| Randy Dunlap | Re: linux-next: Tree for November 19 (v4l2 warnings)
On Wed, 19 Nov 2008 17:59:17 +1100 Stephen Rothwell wrote:
drivers/media/video/v4l2-ioctl.c:1819: warning: format '%d' expects type 'int', but argument 3 has type 'struct v4l2_fract'
drivers/media/video/v4l2-ioctl.c:1819: warning: format '%d' expects type 'int', but argument 4 has type 'struct v4l2_fract'
drivers/media/video/v4l2-ioctl.c:1819: warning: format '%d' expects type 'int', but argument 5 has type 'struct v4l2_fract'
config attached.
---
~Randy
| Nov 19, 11:51 am 2008 |
| Randy Dunlap | Re: linux-next: Tree for November 19 (dvb build errors)
On Wed, 19 Nov 2008 17:59:17 +1100 Stephen Rothwell wrote:
(.text+0xae89b): undefined reference to `videobuf_dvb_get_frontend'
(.text+0xae91c): undefined reference to `videobuf_dvb_get_frontend'
cx88-mpeg.c:(.devinit.text+0x3f83): undefined reference to `videobuf_dvb_alloc_frontend'
cx88-mpeg.c:(.devinit.text+0x3fa8): undefined reference to `videobuf_dvb_dealloc_frontends'
config attached.
---
~Randy
| Nov 19, 11:55 am 2008 |
| Ben Hutchings | Re: linux-next: Tree for November 19 (mtd build error)
Please use the address linux-net-drivers@solarflare.com, as listed in
MAINTAINERS. There are several of us working on the driver, and they
no longer include Michael Brown.
So does the dependency need to be something like
"depends on SFC && MTD && !(SFC=y && MTD=m)"?
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Nov 19, 12:18 pm 2008 |
| Richard Holden | Re: linux-next: Tree for November 19 (section mismatche ...
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x1d6): Section
mismatch in reference from the function fpu_init() to the
function .init.text:init_thread_xstate()
The function __cpuinit fpu_init() references
a function __init init_thread_xstate().
If init_thread_xstate is only used by fpu_init then
annotate init_thread_xstate with a matching annotation.
appears in arch/x86/kernel/built-in.o
-Richard Holden
--
| Nov 19, 2:17 pm 2008 |
| Randy Dunlap | Re: linux-next: Tree for November 19 (staging/go7007/)
eh?
drivers/staging/go7007/go7007-v4l2.c:1338: error: too many arguments to function 'video_usercopy'
config attached.
---
~Randy
| Nov 19, 11:48 am 2008 |
| Randy Dunlap | Re: linux-next: Tree for November 19 (mtd build error)
and it already depends on SFC && MTD. Weird that it fails like this.
--
~Randy
--
| Nov 19, 12:45 pm 2008 |
| Greg KH | Re: linux-next: Tree for November 19 (staging/go7007/)
That's due to the portions of the staging tree that is in Linus's tree,
interacting with the v4l tree here. It's fixed in my staging tree that
normally gets into -next :)
thanks,
greg k-h
--
| Nov 19, 12:08 pm 2008 |
| David Woodhouse | Re: linux-next: Tree for November 19 (mtd build error)
Sounds like this was built-in while CONFIG_MTD=m
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Nov 19, 12:08 pm 2008 |
| Stephen Rothwell | linux-next: Tree for November 19
Hi all,
Changes since 20081118:
New tree:
m68k-current
Changed tree:
m86k is now a git tree
Undropped trees:
firmware
lblnet
Dropped trees (temporarily):
driver-core (build problem)
usb (depends on driver-core)
userns (it depends on creds)
semaphore-removal (due to unfixed conflicts against Linus' tree)
staging (depends on usb)
The sched tree gained a conflict against Linus' tree.
The net tree picked up a conflict from the cifs tree.
The rr tree lost its ...
| Nov 18, 11:59 pm 2008 |
| Randy Dunlap | Re: linux-next: Tree for November 19 (mtd build error)
drivers/net/sfc/Kconfig:
config SFC_MTD
bool "Solarflare Solarstorm SFC4000 flash MTD support"
depends on SFC && MTD
default y
help
This exposes the on-board flash memory as an MTD device (e.g.
/dev/mtd1). This makes it possible to upload new boot code
to the NIC.
sfc people added to cc.
--
~Randy
--
| Nov 19, 12:06 pm 2008 |
| Randy Dunlap | Re: linux-next: Tree for November 19 (ipw2100/2200 build ...
On Wed, 19 Nov 2008 17:59:17 +1100 Stephen Rothwell wrote:
This can happen when these drivers are built as loadable modules or
built into the kernel image.
Loadable modules:
ERROR: "print_ssid" [drivers/net/wireless/ipw2200.ko] undefined!
ERROR: "print_ssid" [drivers/net/wireless/ipw2100.ko] undefined!
(modular config is attached)
In kernel image:
ipw2200.c:(.text+0x1d6f37): undefined reference to `print_ssid'
ipw2200.c:(.text+0x1d7466): undefined reference to ...
| Nov 19, 11:59 am 2008 |
| David Woodhouse | Re: linux-next: Tree for November 19 (mtd build error)
CONFIG_SFC_MTD=y
What's that?
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Nov 19, 11:58 am 2008 |
| David Woodhouse | Re: linux-next: Tree for November 19 (mtd build error)
If it's a separate driver, perhaps it's sufficient just to make it a
tristate and make it depend on SFC && MTD?
--
dwmw2
--
| Nov 19, 12:24 pm 2008 |
| Ben Hutchings | Re: linux-next: Tree for November 19 (mtd build error)
It's not a separate driver.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
--
| Nov 19, 12:43 pm 2008 |
| Ingo Molnar | Re: [patch] sched: add locking when update the task_grou ...
hm, why trylock?
Ingo
--
| Nov 19, 12:53 am 2008 |
| Chris Friesen | Re: [patch] sched: add locking when update the task_grou ...
Is there any way to get higher resolution math on 64-bit machines? (I'm
assuming that most larger SMP boxes will be 64-bit capable.)
Chris
--
| Nov 19, 2:50 pm 2008 |
| Ken Chen | Re: [patch] sched: add locking when update the task_grou ...
I wholly agree on the scalability. The bigger the system, the more it
needs to protect the integrity of cfs_rq[]->shares that the sum still
adds up to tg->shares. Otherwise, the share distributed on each CPU's
cfs_rq might go wildly and indirectly leads to fluctuation of
effective total tg->shares. However, I have the same doubt that this
will scale on large CPU system. Does CFS really have to iterate the
whole task_group tree?
- Ken
--
| Nov 19, 10:21 am 2008 |
| Ken Chen | Re: [patch] sched: add locking when update the task_grou ...
I'm paranoid about potential lock contention. Considering calls to
tg_shares_up() are more or less sample based, I opt to skip updating
if there is a lock contention. Though kernel only walks tg tree every
sysctl_sched_shares_ratelimit. Maybe chances of running into lock
contention isn't that high anyway, in which case trylock will mostly
able to get the lock.
- Ken
--
| Nov 19, 1:22 am 2008 |
| Peter Zijlstra | Re: [patch] sched: add locking when update the task_grou ...
I see why you want to do this, but introducing a global lock makes me
sad :/
--
| Nov 19, 9:54 am 2008 |
| Ken Chen | [patch] sched: add locking when update the task_group's ...
add locking when update the task_group's cfs_rq[] array. tg_shares_up()
can be potentially executed concurrently on multiple CPUs with overlaping
cpu mask depending on where task_cpu() was when a task got woken up. Lack
of any locking while redistribute tg->shares over cfs_rq[] array opens up
a large window for conflict updates and utimately cause corruptions to the
integrity of per cpu cfs_rq shares. Add a tg_lock to protect the operations.
Signed-off-by: Ken Chen ...
| Nov 18, 11:48 pm 2008 |
| Peter Zijlstra | Re: [patch] sched: add locking when update the task_grou ...
Yes, sadly. The weight of a per-cpu super-task representation depends on
the group's task distribution over all tasks :/
(Dhaval, could you send Ken a copy of the paper we did on this?)
The idea was that we balance the stuff usng the sched-domain tree and
update it incrementally, and on the top level sched domain fix it all
up.
Will it scale, half-way, I'd say. It races a little, but should
converge. The biggest issue is that we're running with 10 bit fixed
point math, and on large cpu ...
| Nov 19, 1:58 pm 2008 |
| Jens Axboe | Re: [PATCH] Do not free io context when taking recursive ...
Agree, it's better to just leave that alone. Applied to for-2.6.29.
--
Jens Axboe
--
| Nov 19, 2:16 am 2008 |
| Nikanth Karthikesan | [PATCH] Do not free io context when taking recursive fau ...
When taking recursive faults in do_exit, if the io_context is not null,
exit_io_context() is being called. But it might decrement the refcount
more than once. It is better to leave this task alone.
Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
---
diff --git a/kernel/exit.c b/kernel/exit.c
index 80137a5..22dedf5 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1024,8 +1024,6 @@ NORET_TYPE void do_exit(long code)
* task into the wait for ever nirwana as well.
*/
...
| Nov 18, 11:45 pm 2008 |
| Peter Zijlstra | Re: [patch] sched: fix inconsistency when redistribute p ...
Another thing we could possibly do is put a low-pass filter on the
This does indeed look much better, the cleanup factor alone makes it a
worthwhile patch, he fact that is improves behaviour makes it even
better :-)
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
--
| Nov 19, 9:47 am 2008 |
| Ken Chen | [patch] sched: fix inconsistency when redistribute per-c ...
In the update_shares() path leading to tg_shares_up(), the calculation of
per-cpu cfs_rq shares is rather erratic even under moderate task wake up
rate. The problem is that the per-cpu tg->cfs_rq load weight used in the
sd_rq_weight aggregation and actual redistribution of the cfs_rq->shares
are collected at different time. Under moderate system load, we've seen
quite a bit of variation on the cfs_rq->shares and ultimately wildly
affects sched_entity's load weight.
This patch caches the ...
| Nov 18, 11:41 pm 2008 |
| Peter Zijlstra | Re: [patch] sched: fix inconsistency when redistribute p ...
On Tue, 2008-11-18 at 22:41 -0800, Ken Chen wrote:
It just occurred to me that you lost the boost stuff.
The issue with the boost flag is that we have a different
tg->cfs_rq[cpu]->shares
than the actual
tg->cfs_se[cpu]->load.weight
So that the starvation shares don't count towards the total distributed
shares.
I guess this is an overestimate vs underestimate issue, you now
--
| Nov 19, 12:19 pm 2008 |
| Ingo Molnar | Re: [patch] sched: fix inconsistency when redistribute p ...
applied to tip/sched/core (for v2.6.29), thanks guys!
Ingo
--
| Nov 19, 10:39 am 2008 |
| Stephen Rothwell | [PATCH] cirrusfb: remove unused variables
Silences:
drivers/video/cirrusfb.c: In function 'cirrusfb_setup':
drivers/video/cirrusfb.c:2466: warning: unused variable 'i'
drivers/video/cirrusfb.c:2465: warning: unused variable 's'
introduced by commit a1d35a7a50d01b445e29d87f479f8c055a414f7e "cirrusfb:
use modedb and add mode_option parameter" which removed the uses of
these variables.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/video/cirrusfb.c | 3 +--
1 files changed, 1 insertions(+), 2 ...
| Nov 18, 11:17 pm 2008 |
| Steven Rostedt | [PATCH 3/3] ftrace: fix dyn ftrace filter selection
Impact: clean up and fix for dyn ftrace filter selection
The previous logic of the dynamic ftrace selection of enabling
or disabling functions was complex and incorrect. This patch simplifies
the code and corrects the usage. This simplification also makes the
code more robust.
Here is the correct logic:
Given a function that can be traced by dynamic ftrace:
If the function is not to be traced, disable it if it was enabled.
(this is if the function is in the set_ftrace_notrace ...
| Nov 18, 10:34 pm 2008 |
| Steven Rostedt | [PATCH 2/3] ftrace: make filtered functions effective on ...
Impact: fix filter selection to apply when set
It can be confusing when the set_filter_functions is set (or cleared)
and the functions being recorded by the dynamic tracer does not
match.
This patch causes the code to be updated if the function tracer is
enabled and the filter is changed.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/trace/ftrace.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git ...
| Nov 18, 10:34 pm 2008 |
| Steven Rostedt | [PATCH 1/3] ftrace: fix set_ftrace_filter
Impact: fix of output of set_ftrace_filter
The commit "ftrace: do not show freed records in
available_filter_functions"
Removed a bit too much from the set_ftrace_filter code, where we now see
all functions in the set_ftrace_filter file even when we set a filter.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/trace/ftrace.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git ...
| Nov 18, 10:34 pm 2008 |
| Steven Rostedt | [PATCH 0/3] ftrace updates to tip/core/urgent
[
Lets try that again. My series file was nuked.
]
Ingo,
I ported the following patches to tip/core/urgent since they are candidates
for 2.6.28.
The first two are trivial, short, and should not be an issue. The first
two handle the printing of the set_ftrace_filter file correctly.
The third is a bigger patch "108 lines changed" and is actually a
clean up and fix. The difference is that the current logic to
determine if a function should be enabled or not is incorrect.
With ...
| Nov 18, 10:34 pm 2008 |
| Ingo Molnar | Re: [PATCH 0/3] ftrace updates to tip/core/urgent
pulled into tip/tracing/urgent, thanks Steve!
Ingo
--
| Nov 19, 1:01 am 2008 |
| Steven Rostedt | [PATCH 0/0] ftrace updates to tip/core/urgent
Ingo,
I ported the following patches to tip/core/urgent since they are candidates
for 2.6.28.
The first two are trivial, short, and should not be an issue. The first
two handle the printing of the set_ftrace_filter file correctly.
The third is a bigger patch "108 lines changed" and is actually a
clean up and fix. The difference is that the current logic to
determine if a function should be enabled or not is incorrect.
With different combinations of using set_ftrace_filter ...
| Nov 18, 10:33 pm 2008 |
| 周佳政 | PHP購物車資料庫網站專案
山鉧科技網頁設計
*我們的宗旨:客戶的每ㄧ件小事情,都是山鉧的大事情
◆我們在推出企業形象網站包含前台網頁美工+後台管理程式
==限時限量專案價 只要$29,900
↖(在送ㄧ年100MB不限流量網站空間)
↖我們做的不只是網站,而是您企業的入口
㊣ㄧ個好的企業網站資料即時更新的速度是很重要的
↖企業e化的高品質團隊,打造您的網路門面
∴選擇山鉧成就您的夢想
~~~~~~~~~~~~~~~~~~~~~~~~~~
PS: 線上購物網站我們還可提供刷卡機制,
與線上列印帳單全省超商+郵局繳費......等金流服務機制
~~~~~~~~~~~~~~~~~~~~~~~~~~
歡迎來電洽詢黃專員(Sam):0980119812 / 0938764395
~~~~~~~~~~~~~~~~~~~~~~~~~~
本公司另外提供關鍵字SEO排序服務
保證將您的網站在Yx / Gx ...排在第一頁
歡迎來電詢問!!!
~~~~~~~~~~~~~~~~~~~~~~~~~~
| Nov 18, 9:55 pm 2008 |
| FUJITA Tomonori | [PATCH] intel-iommu: fix compile warnings
I got the following warnings on IA64:
linux-2.6/drivers/pci/intel-iommu.c: In function 'init_dmars':
linux-2.6/drivers/pci/intel-iommu.c:1658: warning: format '%Lx' expects type 'long long unsigned int', but argument 2 has type 'u64'
linux-2.6/drivers/pci/intel-iommu.c:1663: warning: format '%Lx' expects type 'long long unsigned int', but argument 2 has type 'u64'
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
drivers/pci/intel-iommu.c | 6 ++++--
1 files changed, 4 ...
| Nov 18, 9:53 pm 2008 |
| Ingo Molnar | Re: [PATCH] intel-iommu: fix compile warnings
applied to tip/core/urgent, thanks!
Note, i extended the changelog, see the commit attached below.
I think in 2.6.29 we want to convert struct dmar_drhd_unit's
->reg_base_addr to the phys_addr_t type, and use the %pR extension to
print it out.
There's other files affected as well by this type problem:
drivers/pci/intr_remapping.c for example - it's just not built on ia64
right now because it depends on CONFIG_INTR_REMAP which is only 64-bit
x86.
Some goes for other fields as ...
| Nov 19, 1:29 am 2008 |
| Michael Kerrisk | Documentation for CLONE_NEWPID
Pavel, Kir,
Drawing fairly heavily on your LWN.net article (http://lwn.net/Articles/259217/), plus the kernel source and some experimentation, I created the patch below to document CLONE_NEWPID for the clone(2) manual page. Could you please review and let me know of any improvements or inaccuracies.
Thanks,
Michael
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -266,6 +268,78 @@ in the same
.BR clone ()
call.
.TP
+.BR CLONE_NEWPID " (since Linux 2.6.24)"
+.\" This explanation draws a ...
| Nov 18, 7:59 pm 2008 |
| Andrey Vul | iwlagn causes kernel panic
panic log (printk times removed for clarity) :
BUG: unable to handle kernel NULL pointer at 0000000000000007
IP: [<ffffffff810a8d43>] __kmalloc+0x7a/0xc4
PGD 13d04a067 PUD 13b908067 PMD 0
Oops: 0000 [1] PRREMPT SMP
CPU 0
Modules linked in: nvidia(P) uvcvideo ohci1394 compat_ioctl32 ieee1394
btusb iwlagn sdhci_pci videodev sdhci iwlcore mmc_core v4l1_compat
r8169 pcspkr bluetooth rfkill
Pid: 2562, comm: udevd Tainted: P 2.6.27-gentoo-r2 #10
RIP: 0010:[<ffffffff810a8d43>] ...
| Nov 18, 7:27 pm 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-11-18
Just checked our bug database, the ieee80211_notify_mac was
introduced mainly to overcome HW bug when
receiver become deaf in heavy traffic such as ftp in noisy
environment. Otherwise reconnection was too slow to keep ftp going. We
need to check whether we are still hitting this before applying
removal this function
Thanks
--
| Nov 19, 2:34 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-11-18
On Wed, Nov 19, 2008 at 4:39 PM, John W. Linville
There is a lot of effort to solve this I'm not sure what mailing list
are u reading.
We even presented test patches with alignment issues as Johannes few
month ago but
This is embarrassing also for us that we cannot locate this specific
problem but it not like we are not doing anything.Not sure there are
I'm not against merging these patches to wireless-testing but pushing
them upstream before testing them
is just plainly wrong and all I ...
| Nov 19, 9:51 am 2008 |
| Johannes Berg | Re: pull request: wireless-2.6 2008-11-18
So Luis pointed out a bug in that, it might be useful to squish in this
patch: http://marc.info/?l=linux-wireless&m=122705425425763&w=2
(also below for reference)
But we can also just add it on top, whichever way you prefer.
johannes
---
drivers/net/wireless/iwlwifi/iwl-agn.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- everything.orig/drivers/net/wireless/iwlwifi/iwl-agn.c 2008-11-19 01:16:12.000000000 +0100
+++ ...
| Nov 18, 6:33 pm 2008 |
| John W. Linville | Re: pull request: wireless-2.6 2008-11-18
Well, thanks for your opinion. Here is mine:
The iwlwifi drivers have been hitting these problems for months,
and I have seen no effort by your team to address the problems.
It is possible that your team is working on them behind closed doors
and will eventually throw something over the wall to us. I'm tired
of waiting for that, and I imagine that hordes of iwlagn users are
tired of waiting as well.
Johannes has presented us with plausible fixes, and people are
reporting that the ...
| Nov 19, 7:39 am 2008 |
| John W. Linville | pull request: wireless-2.6 2008-11-18
Dave,
Three fixes from Johannes, intended for 2.6.28... One fixes a 32/64
issue in libertas_tf, another removes a mac80211 callback only used
by iwlwifi which is not obviously needed and which is causing locking
issues, and a final one fixes some mysterious DMA alignment problems
that have been plaguing iwlwifi for some time.
Please let me know if there are problems!
Thanks,
John
P.S. The libertas_tf is actually already in net-next-2.6. Also,
the other fixes cause merge conflicts ...
| Nov 18, 5:07 pm 2008 |
| John W. Linville | Re: pull request: wireless-2.6 2008-11-18
I'll get it in the next run, soon.
John
--
John W. Linville Linux should be at the core
linville@tuxdriver.com of your literate lifestyle.
--
| Nov 18, 6:54 pm 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-11-18
On Wed, Nov 19, 2008 at 8:53 PM, John W. Linville
http://marc.info/?l=linux-wireless&m=122549613209468&w=2,
there is Yi's patch also mentioned int in the Johannes commit.
unfortunately there was a programming typo in it.
There is named 'iwlwifi: get some more information about command
You cannot be serious about 5 minute testing. We already have reports
I've resubmitted every patch you've had an issue with readability of
I'm not a yes man and if I think differently I say so. It's ...
| Nov 19, 2:55 pm 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-11-18
On Wed, Nov 19, 2008 at 2:07 AM, John W. Linville
IMHO its premature pushing ttese 2 patches up, they came in yestrday
and nobody here has run tthe code
--
| Nov 18, 11:46 pm 2008 |
| John W. Linville | Re: pull request: wireless-2.6 2008-11-18
http://bugzilla.kernel.org/show_bug.cgi?id=11731
http://bugzilla.kernel.org/show_bug.cgi?id=11818
http://bugzilla.kernel.org/show_bug.cgi?id=11923
http://bugzilla.kernel.org/show_bug.cgi?id=11983
http://bugzilla.kernel.org/show_bug.cgi?id=12017
http://bugzilla.kernel.org/show_bug.cgi?id=12044
http://bugzilla.kernel.org/show_bug.cgi?id=12046
Those are only the ones not assigned to a specific person. Yet, each
of them has a member of your team CC'ed. Also, I made no effort to
I ...
| Nov 19, 11:53 am 2008 |
| Jeremy Fitzhardinge | race while bringing up scsi / mptspi?
I'm seeing this sometimes when I boot. It looks like mempool_alloc is
falling over calling pool->alloc() because it is null. Other times it
boots fine, and seems solid once it has got past this point.
This is a Xen dom0 kernel, so lots of the low-level interrupt and DMA
stuff is new code, but this seems to be above all that, and I don't
think its related to anything I've done. And as I say, it seems pretty
solid once it gets past this.
Thanks,
J
ioc0: LSI53C1030 C0: ...
| Nov 18, 5:22 pm 2008 |
| Vegard Nossum | Re: kernel BUG at mm/slab.c:601
Hi,
Can you reproduce this with CONFIG_DEBUG_SLAB=y?
Can you reproduce this with CONFIG_SLUB=y instead of SLAB? If not,
could be a genuine bug in SLAB (but I doubt it). If yes, then SLUB
debugging might help us more than SLAB debugging can.
It sounds likely that bttv driver is involved somehow -- it would fit
with your description too. Maybe the fact that the same driver is
serving many devices on the same IRQ? But I guess that shouldn't
really be a problem.
It would also be ...
| Nov 19, 3:19 pm 2008 |
| Brian Phelps | Re: kernel BUG at mm/slab.c:601
Another crash, different output
[ 2128.370238] monitor: Corrupted page table at address 82a4468
[ 2128.370257] PGD 10869067 PUD 23232323 BAD
[ 2128.370271] Bad pagetable: 000d [1] SMP
[ 2128.370276] CPU 2
[ 2128.370281] Modules linked in: i915 drm ipv6 dm_snapshot dm_mirror
dm_log dm_mod coretemp w83627ehf hwmon_vid bttv ir_common
compat_ioctl32 videodev v4l1_compat i2c_algo_bit v4l2_common
videobuf_dma_sg videobuf_core btcx_risc tveeprom i2c_i801 shpchp
pci_hotplug rng_core i2c_core iTCO_wdt ...
| Nov 19, 6:40 am 2008 |
| Andrew Morton | Re: [PATCH] Add 1-wire master driver for i.MX27 / i.MX31
whee, that's a bit of a hack. It would be better to do
struct foo {
struct mxc_w1_device mxc_w1_device;
struct w1_bus_master w1_bus_master;
};
If that 1000000 refers to microseconds then the use of USEC_PER_SEC
Trivial fixes:
From: Andrew Morton <akpm@linux-foundation.org>
- coding-style fixes
- remove unneeded casts of void*
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Luotao Fu <l.fu@pengutronix.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Sascha Hauer ...
| Nov 19, 1:19 am 2008 |
| Geert Uytterhoeven | Re: linux-m68k.git
Hi Stephen,
What's the purpose of your m68k-current tree? There should not be anything
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
| Nov 19, 1:44 am 2008 |
| Stephen Rothwell | Re: linux-m68k.git
Hi Geert,
On Wed, 19 Nov 2008 09:44:03 +0100 (CET) Geert Uytterhoeven <geert@linux-m6=
I have a set of trees (15 so far) that are just patches pending for the
current release (mostly bug fixes). These trees are usually empty (since
things get sent to Linus fairly quickly during the -rc's) but it means
that between the time between when the fixes are ready and when Linus
integrates them, people testing linux-next don't have to worry about bugs
that already have fixes.
Having them in a ...
| Nov 19, 2:28 am 2008 |
| Ralf Baechle | Re: linux-m68k.git
It's CVS that must die, not the poor server ;-) If you're actually going
to pull the old CVS stuff into the new git repository and you happen to have
a newer snapshot than the one which I've converted I can re-run my converter.
Ralf
--
| Nov 19, 1:13 am 2008 |
| Michael Schmitz | Re: linux-m68k.git
Hi Geert,
As most of your 'topcis' are rather small self-contained patch sets, that should
be OK.
Thanks so much!
Michael
--
| Nov 18, 11:45 pm 2008 |
| Michael Schmitz | Re: [PATCH 2/3] ide: add ide_[un]lock_hwgroup() helpers
Something I've run into while working on the locking stuff: what happens if the
above ide_lock_hwgroup(hwgroup) sleeps for long enough to trigger the request
timer?
I'll think about the ramifications of your patch in the context of what I tested
WRT unlocking whenever hwgroup->busy is cleared, and get back to you.
Michael
--
| Nov 18, 7:33 pm 2008 |
| Andrew Morton | Re: [patch] Fix type errors in inotify interfaces
hrm. I see no sane reason why a watch descriptor should take on
negative values, so in some ways the u32 was logical. (Ditto file
descriptors, but I don't think I want to change that ;))
otoh, the system call via which one _obtains_ watch descriptors most
certainly wants to return -ve nunmbers, to signify errors.
All too hard. I think I'll stop thinking about it and merge the patch ;)
--
| Nov 19, 1:03 am 2008 |
| Robert Love | Re: [patch] Fix type errors in inotify interfaces
On Wed, Nov 19, 2008 at 2:10 PM, Michael Kerrisk
I hesitate because I haven't looked at glibc in ages to see what it
and other userland consumers are doing with inotify.
But my original analysis still seems correct, and whatever we do we
currently have inconsistencies, so this looks good to me.
Acked-by: Robert Love <rlove@rlove.org>
Robert
--
| Nov 19, 12:13 pm 2008 |
| Michael Kerrisk | Re: [patch] Fix type errors in inotify interfaces
(Would be nice to see an Aacked-by from Robert or John on this patch.)
On Wed, Nov 19, 2008 at 3:03 AM, Andrew Morton
Yes -- there is no sane reason for a negative watch descriptor to
inotify_rm_watch(); this change is mainly about consistency. (The
Thanks.
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: ...
| Nov 19, 12:10 pm 2008 |
| John McCutchan | Re: [patch] Fix type errors in inotify interfaces
On Wed, Nov 19, 2008 at 11:10 AM, Michael Kerrisk
Seems sane enough.
Acked-by: John McCutchan <john@johnmccutchan.com>
--
John McCutchan <john@johnmccutchan.com>
--
| Nov 19, 12:24 pm 2008 |
| Américo | Re: [Patch] MODULE_UNLOAD should depend on PROC_FS
Thank you, Rusty and Alan!
I think I was wrong. It is compiled fine with the above config, just tested.
--
"Sometimes the only way to stay sane is to go a little crazy."
--
| Nov 19, 11:48 am 2008 |
| Rusty Russell | Re: [Patch] MODULE_UNLOAD should depend on PROC_FS
Hi Wang,
This patch looks wrong to me; you can remove modules without /proc. Does
it not compile with CONFIG_MODULE_UNLOAD=y and CONFIG_PROC_FS=n?
Thanks,
Rusty.
--
| Nov 18, 5:11 pm 2008 |
| Andrew Morton | Re: [Patch] hostfs: fix a duplicated global function name
Thanks, I'll send this in for 2.6.28 unless someone stops me soon.
--
| Nov 19, 12:53 am 2008 |
| Al Viro | Re: [Patch] uml: fix undeclared variables
The error is there, all right. However, proposed patch only hides the
real problem. Building uml/i386 with CONFIG_HIGHMEM will result in
a badly broken kernel with that patch, with no visible hints at the
cause of problems.
You've got it to link, but that's not enough. The problems you are seeing
come from arch/x86/mm/highmem_32.c. It uses several variables from
arch/x86/mm/init_32.c and you have copied them to arch/um. However, getting
these variable defined is not going to make it work ...
| Nov 19, 12:06 pm 2008 |
| Américo | Re: [Patch] uml: fix undeclared variables
Sorry, I can't fully understand you. I got the following error:
arch/um/kernel/mem.c: In function ‘init_highmem’:
arch/um/kernel/mem.c:177: error: ‘pkmap_page_table’ undeclared (first
use in this function)
arch/um/kernel/mem.c:177: error: (Each undeclared identifier is
reported only once
arch/um/kernel/mem.c:177: error: for each function it appears in.)
Thanks.
--
"Sometimes the only way to stay sane is to go a little crazy."
--
| Nov 19, 11:40 am 2008 |
| Jeremy Fitzhardinge | Re: [x86] do_arch_prctl - bug?
Because %gs of 0 means "base too large, go to MSR". If you have a
32-bit base, then loading it into the gdt and loading %gs with the right
selector is faster. wrmsr/rdmsr are slow instructions.
J
--
| Nov 18, 6:07 pm 2008 |
| Jeremy Fitzhardinge | Re: [x86] do_arch_prctl - bug?
Yes, loading a selector into a segment register will load the lower 32
bits of the base from the ldt/gdt into the msr and zero the rest.
J
--
| Nov 19, 2:06 pm 2008 |
| Eric Lacombe | Re: [x86] do_arch_prctl - bug?
Ok, thanks, so I suppose now that only doing :
asm volatile("movl %0,%%gs" :: "r" (0));
could corrupt the address of the PDA that resides actually in the MSR_GS_BASE.
And that's why load_gs_index is used as it contains "swapgs" before and after
the "mov to gs".
Is that correct?
Regards,
Eric
--
| Nov 19, 2:23 am 2008 |
| Eric Lacombe | Re: [x86] do_arch_prctl
Thanks for your answer, I've got one last question ;)
In the ARCH_GET_GS, can you explain the line 834 to 838?
In fact, at first sight I thought that just the line 836 was sufficient, but I
obviously miss the case where MSR_KERNEL_GS_BASE does not reflect the value
requested, hence my question.
828 case ARCH_GET_GS: {
829 unsigned long base;
830 unsigned gsindex;
831 if (task->thread.gsindex == GS_TLS_SEL)
832 base = ...
| Nov 19, 4:35 pm 2008 |
| Roland McGrath | Re: [PATCH 2/2] simplify sig_ignored() pathes
Yeah, it's fine to kill the arg. For consistency, change
tracehook_consider_fatal_signal to match. They are specified as called
with the siglock held, so it will indeed be easy and safe to check
->sighand if tracing code wants to distinguish the cases in the future.
Thanks,
Roland
--
| Nov 19, 11:53 am 2008 |
| Roland McGrath | Re: [PATCH 1/2] protect /sbin/init from unwanted signals more
The effect is fine, but that seems like a kludgey way to do it.
I really don't think the sigaction case matters--certainly it will never
come up with SIGKILL. What about just this instead?
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -66,6 +66,15 @@ static int sig_ignored(struct task_struct *t, int sig)
return 0;
handler = sig_handler(t, sig);
+
+ /*
+ * For init, short-circuit any signal without a handler.
+ * We won't allow them to be delivered, so don't even queue them.
+ ...
| Nov 19, 11:51 am 2008 |
| Ananth N Mavinakayan ... | Nov 18, 9:31 pm 2008 | |
| Lennart Sorensen | Re: Developing non-commercial drivers ?
Ethernet MACs are a commodity these days. Who is dumb enough to think
their ethernet MAC needs to be protected these days?
You make an ethernet MAC... good for you. You have not invented
anything new and amazing that needs protecting. Really. Get over it,
Probably not, but I think the real issue is the previous one.
--
Len Sorensen
--
| Nov 19, 11:38 am 2008 |
| Fredrik Markström | Re: Developing non-commercial drivers ?
Well, who knows ? If you read my email carefully enough you should see
that that is not the question or issue here.
This was my first question to this list ever and I'm impressed with
the good and constructive answers I've gotten, but I really do not
understand the purpose of your response.
/Fredrik
On Wed, Nov 19, 2008 at 7:38 PM, Lennart Sorensen
--
| Nov 19, 3:32 pm 2008 |
| Lennart Sorensen | Re: Developing non-commercial drivers ?
I am one of the (apparently few) people that think when someone asks me
to do something counter productive and most likely misguided, I should
help them by educating them in how they are wrong, not just go do what
they want.
So if your client (or potential client) asks you to write a closed
source driver which would potentially be a licence violation (don't ask
me, ask a lawyer, etc), when there is no reason it should be closed
source, then you should go educate them about why it makes no ...
| Nov 19, 3:47 pm 2008 |
| Muli Ben-Yehuda | Re: [GIT PULL] AMD IOMMU updates for 2.6.28-rc5
This won't work around the bug, it will just make its outcome less
I doubt it, why use an isolation-capable IOMMU at all if not for the
increased reliability? The majority of modern devices---those that you
are likely to find on machines with an IOMMU---don't have DMA
Calgary has a per-bus protection domain, both on x86 and PPC.
Cheers,
Muli
--
The First Workshop on I/O Virtualization (WIOV '08)
Dec 2008, San Diego, CA, http://www.usenix.org/wiov08/
<->
SYSTOR ...
| Nov 19, 5:57 am 2008 |
| FUJITA Tomonori | Re: [GIT PULL] AMD IOMMU updates for 2.6.28-rc5
On Tue, 18 Nov 2008 16:43:22 +0100
Hmm, the change is just because of the bug workaround? If so, I'm not
sure it's a good idea. We need to fix the buggy drivers anyway. And
device isolation is not free; e.g. use more memory rather than sharing
a protection domain. I guess that more people prefer sharing a
protection domain by default. It had been the default option for AMD
IOMMU until you hit the bugs. IIRC, VT-d also shares a protection
domain by default. It would be nice to avoid surprising ...
| Nov 18, 11:05 pm 2008 |
| Ingo Molnar | Re: [GIT PULL] AMD IOMMU updates for 2.6.28-rc5
a WARN_ON() can be acted upon much easier than silent/spurious data
corruption. So printing a WARN_ON() will result in drivers being fixed
a lot faster (and with a lot less debugging needed) than if we were
intentionally letting DMA corruption happen. The WARN_ON() will be
That would be _really_ nice to have.
Ingo
--
| Nov 19, 2:36 am 2008 |
| Joerg Roedel | Re: [GIT PULL] AMD IOMMU updates for 2.6.28-rc5
I found issues in network drivers only for now. The two drivers where I
found issues are the in-kernel ixgbe driver (I see IO_PAGE_FAULTS
there), the ixgbe version from the Intel website has a double-free bug
when unloading the driver or changing the device mtu. The same problem
We can't test all drivers for those bugs until 2.6.28 will be released.
And these bugs can corrupt data, for example when a driver frees dma
addresses allocated by another driver and these addresses are ...
| Nov 19, 2:25 am 2008 |
| Nick Piggin | Re: O_DIRECT patch for processors with VIPT cache for ma ...
Hi,
It would be interesting to know exactly what problem you are seeing.
ARM I think is supposed to handle aliasing problems by flushing
caches at appropriate points. It would be nice to know what's going
wrong and whether we can cover those holes.
We've traditionally avoided cache colouring in the page allocator for
one reason or another. It should be a workable approach, but I think
the way to get it into mainline is to first fix the problem using the
existing cache flushing ...
| Nov 18, 11:40 pm 2008 |
| Russell King - ARM Linux | Re: O_DIRECT patch for processors with VIPT cache for ma ...
I think there's a problem here: the existing cache handling API is
designed around the MM's manipulation of page tables. It is generally
not designed to handle aliasing between multiple mappings of the same
page, except with one exception: page cache pages mmap'd into userspace,
which is handled via flush_dcache_page().
O_DIRECT on ARM is probably completely untested for the most part. It's
not something that is encountered very often, and as such gets zero
testing. I've certainly never ...
| Nov 19, 1:43 pm 2008 |
| Ingo Molnar | Re: ftrace: preemptoff selftest not working
dropping the BKL was a good idea, but the code flow was not
investigated thoroughly enough, which caused this crash to trigger in
-tip testing:
calling utsname_sysctl_init+0x0/0x11 @ 1
initcall utsname_sysctl_init+0x0/0x11 returned 0 after 0 usecs
calling init_sched_switch_trace+0x0/0xf @ 1
Testing tracer sched_switch: PASSED
initcall init_sched_switch_trace+0x0/0xf returned 0 after 101562 usecs
calling init_stack_trace+0x0/0xf @ 1
Testing tracer sysprof: PASSED
initcall ...
| Nov 19, 2:02 am 2008 |
| Heiko Carstens | Re: ftrace: preemptoff selftest not working
Yes, I came to the same conlcusion this morning after reading the patch
again and wanted to send a follow-up patch. But you were faster ;)
Anyway, what bothers me more is the question if the idea to drop the BKL
in register_tracer is good. It's probably just a question of time until
the first tracers come in modules. And then the unlock_kernel()/lock_kernel()
sequence would be broken.
So it probably might make more sense to drop and grab the BKL in the
init functions that register a ...
| Nov 19, 2:23 am 2008 |
| FUJITA Tomonori | Re: [PATCH] x86: always select SWIOTLB on x86_64
On Tue, 18 Nov 2008 12:44:21 +0100
Yeah, as I wrote in a different thread, I think that it makes sense to
enable SWIOTLB at all times:
http://marc.info/?l=linux-kernel&m=122593287501949&w=2
An option asking an user if he has more than 4GB RAM or not, doesn't
make sense much.
--
| Nov 18, 10:41 pm 2008 |
| Yang Xi | Re: [PATCH 2.6.28-rc4]lock_stat: Add "con-hungry" to sho ...
Thanks. This should be better. I add __ticket_spin_nm_contended in
x86/include/asm/spinlock.h to return the number of threads
waiting/holding for the ticket spinlock(Note: The number contains the
holder). If the spinlock is ticket lock, "spin_nm_contended" will be
__ticket_spin_nm_contended, otherwise, it will be 0.
Signed-off-by: Yang Xi <hiyangxi@gmail.com>
diff --git a/arch/x86/include/asm/spinlock.h b/arch/x86/include/asm/spinlock.h
index d17c919..88c3774 100644
--- ...
| Nov 18, 10:18 pm 2008 |
| Peter Zijlstra | Re: [PATCH 2.6.28-rc4]lock_stat: Add "con-hungry" to sho ...
I of course meant folding cpu and isspinlock into a combined bitfield
(sorry for not being more clear), thereby saving space, this still takes
2*sizeof(int).
We can safely take some bits from the cpu number as there currently are
This is a bit icky still, I don't think TICKET_SHIFT is nessecarily the
best macro to check on (other ticket lock implementations might not
define it).
A possible solution is to introduce a Kconfig variable HAVE_TICKET_LOCK
and select that from ...
| Nov 19, 9:39 am 2008 |
| Sebastian Andrzej Si ... | Re: [PATCH] USB/ISP1760: Fix for unaligned exceptions
0x00ea4812 doesn't feel right. Unless I'm missing something, this is
comming from rtl8150_open() while it was calling set_registers() to set
the mac address. So I assume the buffer is the mac address. This is
hardly possible because the MAC address itself is 6 bytes long and the
accompanying control packet has 8 bytes while this comment says that the
transfer legth is 64bytes. And since this is a control message, we
should not receive any response from the device.
Anyway with with WirelesEXT & ...
| Nov 19, 2:18 am 2008 |
| Sebastian Andrzej Si ... | Re: [PATCH] USB/ISP1760: Fix for unaligned exceptions
ach. So that's wrong anyway. There are arches which can't DMA stack
Okay. A packed struct with a u8 followed by u16 which is required by the
spec can't be fixed. unaligned helper is the only solution. I agree here.
Allocating memory on the stack for a dma transfer is wrong.
On PowerPC and X86 get_unaligned() does not behave any different than a
Having a fixup in the exception handler like sparc does is probably little
slower than the fixup here. On the other hand you would not have to fix ...
| Nov 19, 3:55 am 2008 |
| Hennerich, Michael | RE: [PATCH] USB/ISP1760: Fix for unaligned exceptions
Well in that particular case - this doesn't look right.
I know the issue is originated in either RTL8150 set_registers or
get_registers. We get some unaligned address from the stack to the
ISP1760 priv_read/wite_copy.
The RTL8150 driver does something like this:
u8 data[3], tmp;
data[0] = phy;
data[1] = data[2] = 0;
tmp = indx | PHY_READ | PHY_GO;
i = 0;
set_registers(dev, PHYADD, sizeof(data), data);
With gcc-3.x this never used to be a problem because u8 data[] ...
| Nov 19, 3:30 am 2008 |
| gyang | Nov 19, 12:52 am 2008 | |
| Bryan Wu | Re: [PATCH 2/5] Blackfin arch: SMP supporting patchset: ...
Yeah, I posted it to linux-arch.
Thanks
-Bryan
--
| Nov 19, 12:44 am 2008 |
| Bryan Wu | Re: [PATCH 1/5] Blackfin arch: SMP supporting patchset: ...
On Wed, Nov 19, 2008 at 2:56 PM, Andrew Morton
Yes, I also prefer inline functions rather than macros here.
Oh, I suggested Graf to run checkpatch.pl to find some issues before I
sent out this patch.
We can remove these 2 line spin_lock+spin_unlock and it also works.
But maybe we will add some operation between spin_lock and spin_unlock
here in the future,
we'd like to keep them.
P.S. also forward this patch to linux-arch
Thanks
--
| Nov 19, 12:39 am 2008 |
| Bryan Wu | Re: [PATCH 2/5] Blackfin arch: SMP supporting patchset: ...
Both the code and the patch are all right. Because the mess from diff,
we all misread it.
--
| Nov 19, 1:20 am 2008 |
| Bryan Wu | Re: [PATCH 0/5] Blackfin SMP like patchset
On Wed, Nov 19, 2008 at 2:56 PM, Andrew Morton
I guess Graf started this wiki recently although the patch exists for
a long time.
And Graf gave a presentation about this SMP on BF561 in AKA 2008 Linux kernel
developer conference. If I found the link of this presentation, I will
Exactly, SMP means hardware cache coherency. But BF561 dual core
processor was designed almost 8 years ago.
we have to do some workaround in software side. Fortunately, BF561
provides a L2 memory shared by both CoreA ...
| Nov 19, 12:27 am 2008 |
| Andrew Morton | Re: [PATCH 0/5] Blackfin SMP like patchset
Would prefer that changelogs be self-contained, please. Kernel
changelogs are for ever, and I doubt if that page will be there in 20
years time.
Particularly when that page must be read to learn fundamental things such as
The SMP support in certain Blackfin processors is describe as `SMP
Like' rather than just `SMP' due to the lack of hardware cache
coherency. A true SMP system would have support for cache coherency
in hardware.
On all `SMP Like' setups, cache coherency is ...
| Nov 18, 11:56 pm 2008 |
| Mike Frysinger | Re: [PATCH 0/5] Blackfin SMP like patchset
that isnt a changelog though, it's documentation. perhaps we should
put together a reduced version of the page for
Documentation/blackfin/smp-like.txt ...
-mike
--
| Nov 19, 6:51 am 2008 |
| Bryan Wu | Re: [PATCH 5/5] Blackfin arch: SMP supporting patchset: ...
Cc, linux-arch
-Bryan
--
| Nov 19, 12:47 am 2008 |
| Nick Piggin | Re: [PATCH 2/5] Blackfin arch: SMP supporting patchset: ...
like this might attract some helpful comments.
--
| Nov 19, 12:05 am 2008 |
| Andrew Morton | Re: [PATCH 2/5] Blackfin arch: SMP supporting patchset: ...
The macro references its args multiple times and will do weird or
inefficient things when called with expressions which have
Gad what a lot of code. I don't think I have time to read it all, sorry.
--
| Nov 18, 11:56 pm 2008 |
| Bryan Wu | Re: [PATCH 4/5] Blackfin arch: SMP supporting patchset: ...
Cc, linux-arch
-Bryan
>
| Nov 19, 12:46 am 2008 |
| Andrew Morton | Re: [PATCH 1/5] Blackfin arch: SMP supporting patchset: ...
grumble. These didn't need to be implemented as macros and hence
shouldn't have been.
Example:
int cpu = smp_processor_id();
get_l1_scratch_start_cpu(cpu);
that code should generate unused variable warnings on CONFIG_SMP=n. If
it doesn't, you got lucky, because it _should_.
Also
int cpu = smp_processor_id();
get_l1_scratch_start_cpu(pcu);
will happily compile and run with CONFIG_SMP=n.
OK, these are defined in .S and we do often put declarations for such
things in ...
| Nov 18, 11:56 pm 2008 |
| Bryan Wu | Re: [PATCH 2/5] Blackfin arch: SMP supporting patchset: ...
On Wed, Nov 19, 2008 at 2:56 PM, Andrew Morton
As Nick said, include/asm-generic/bitops/non-atomic.h is the generic code.
Thanks a lot for the review, I will forward this patchset to linux-arch.
-Bryan
--
| Nov 19, 12:42 am 2008 |
| Bryan Wu | Re: [PATCH 2/5] Blackfin arch: SMP supporting patchset: ...
Post this patch to linux-arch, maybe more people are interested in this.
-Bryan
> + * This program is free software; you can redist
| Nov 19, 12:44 am 2008 |
| Bryan Wu | Re: [PATCH 3/5] Blackfin arch: SMP supporting patchset: ...
Cc, linux-arch
-Bryan
--
| Nov 19, 12:45 am 2008 |
| Bryan Wu | Re: [PATCH 0/5] Blackfin SMP like patchset
Sorry for forgetting linux-arch. post again.
-Bryan
--
| Nov 19, 12:28 am 2008 |
| gyang | Nov 19, 1:10 am 2008 | |
| Andrew Morton | Re: [PATCH] Parport driver: disable pc-style parport on ...
Again, you overestimate our mind-reading abilities.
Some poor schmuck has to work out whether we need this patch in one,
some or all of 2.6.25.x, 2.6.26.x, 2.6.27.x, 2.6.28 and 2.6.29. This
poor schmuck cannot work that out unless you tell him what the damn
patch does!
If it fixes the build then sure, 2.6.28. If it's just a
dont-compile-this-because-we-dont-have-the-hardware thing then I'd say
2.6.29.
--
| Nov 18, 11:36 pm 2008 |
| Al Viro | Re: [PATCH] asm/generic: fix bug - kernel fails to build ...
Not in the absense of syscall in question. Patch applied, will push the
tree tomorrow.
--
| Nov 19, 12:08 am 2008 |
| Andrew Morton | Re: [PATCH] asm/generic: fix bug - kernel fails to build ...
hrm.
Should blackfin define __NR_swapon instead? afacit
include/asm/unistd.h is an exported-to-userspace header, so the
architecture should export __NR_swapon to prevent userspace build
failures?
--
| Nov 18, 11:33 pm 2008 |
| Mike Frysinger | Re: [PATCH] asm/generic: fix bug - kernel fails to build ...
i dont think ports should be forced to define syscalls they dont
support. no-mmu cant do swap, so Blackfin doesnt define it ...
-mike
--
| Nov 19, 6:49 am 2008 |
| Andrew Morton | Re: [PATCH] genrtc: disable genrtc on Blackfin systems
Gawd that's stupid. It'd be much better to add a new
CONFIG_ARCH_SUPPORTS_GENRTC in arch/*/Kconfig.
Oh well. I suppose we can run with this patch for now. Once we know
what it's for.
--
| Nov 18, 11:26 pm 2008 |
| Mike Frysinger | Re: [PATCH] genrtc: disable genrtc on Blackfin systems
if it doesnt work on a platform, then it shouldnt be available. the
arch list kind of implies that this is like x86 specific anyways ...
-mike
--
| Nov 19, 6:38 am 2008 |
| Max Krasnyansky | Re: [PATCH] cpuset: fix regression when failed to genera ...
Looks good to me. Thanx for the fix.
--
| Nov 18, 6:24 pm 2008 |
| Andrew Morton | Re: [PATCH] kernel/profile.c: Fix section mismatch warning.
Thanks.
There's no point in declaring this as inline, since it is always called
indirectly, via on_each_cpu().
There would be a teeny point in inlining an on_each_cpu() function in
uniprocessor code, because in that case it _would_ be inlined. But a)
that's a bit dopey and b) this code you're patching is SMP-only.
So...
--- a/kernel/profile.c~kernel-profilec-fix-section-mismatch-warning-fix
+++ a/kernel/profile.c
@@ -544,7 +544,7 @@ static const struct file_operations proc
};
...
| Nov 18, 11:19 pm 2008 |
| Miklos Szeredi | Re: [PATCH RESEND] char_dev: add cdev->release() and con ...
Sure, since this is not fuse specific, it better not go through my
tree anyway.
Thanks,
Miklos
--
| Nov 19, 10:59 am 2008 |
| Anthony Liguori | Re: [PATCH] always assign userspace_addr
And it's called as kvm_free_physmem_slot(&old, &new);
If a memory slot exists, the current code always deletes it and creates
But the problem still exists even with this code. I checked.
So if you have something working without modifying the kernel, can you
post it?
Regards,
Anthony Liguori
--
| Nov 19, 11:51 am 2008 |
| Glauber Costa | Re: [PATCH] always assign userspace_addr
Ok, how do you feel about this one?
My proposal is to always delete a memslot before reusing the space,
but controlling this behaviour by a flag, so we can maintain backwards
compatibility with people using older versions of the interface.
| Nov 19, 1:53 pm 2008 |
| Anthony Liguori | Re: [PATCH] always assign userspace_addr
In this case, npages > 0 but !new.rmap is already allocated. But this
is a new slot? The problem is that when we delete the slot, the rmap
never gets freed. This means that if we delete a slot, then create a
new slot which happens to be a different size, we use the old rmap and
potentially overrun that buffer.
So I think we need a fix that properly frees the rmap when the slot is
destroyed.
Regards,
Anthony Liguori
--
| Nov 19, 8:55 am 2008 |
| Anthony Liguori | Re: [PATCH] always assign userspace_addr
Is the old behavior ever correct? I think it's always wrong.
Regards,
Anthony Liguori
--
| Nov 19, 1:59 pm 2008 |
| Glauber Costa | Re: [PATCH] always assign userspace_addr
Oh yeah, it does get freed.
The delete path ends up in a kvm_free_physmem_slot, which will effectively
vfree() the rmap structure. In fact, my userspace use case worked totally
properly when I deleted the slot prior to re-registering it.
The problem here is when there is an already existant slot, and we are
trying to change some information about it. The problem you are concerned
basically does not exist, because it would raise only if we are changing
the slot size. The code says:
...
| Nov 19, 11:43 am 2008 |
| FUJITA Tomonori | Re: pci_map_sg() does not coalesce adjacent physical mem ...
On Wed, 19 Nov 2008 15:58:12 +0900
How about this?
=
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Subject: [PATCH] fix pci_map_sg/dma_map_sg scatterlists handling in DMA-API.txt
- pci_map_sg/dma_map_sg are used with a scatter gather list that
doesn't come from the block layer (e.g. some network drivers do).
- how IOMMUs merge adjacent elements of the scatter/gather list is
independent of how the block layer determines sees elements.
Signed-off-by: FUJITA Tomonori ...
| Nov 19, 12:58 am 2008 |
| Leon Woestenberg | Re: pci_map_sg() does not coalesce adjacent physical mem ...
Hello,
On Wed, Nov 19, 2008 at 8:58 AM, FUJITA Tomonori
This is the point I then want to make: we have pci_map_sg() users in
other system than the block layer, the network and v4l2 subsystems,
why cannot they benefit from coalescing?
Should they copy the block layer coalescing implementation, or should
that implementation be made more generic and live outside the block
sub system?
My intended use case is as follows. See the sg_write() call for the code ...
| Nov 19, 2:45 am 2008 |
| Leon Woestenberg | Re: pci_map_sg() does not coalesce adjacent physical mem ...
Hello,
On Wed, Nov 19, 2008 at 6:19 AM, FUJITA Tomonori
http://lxr.linux.no/linux+v2.6.27.6/Documentation/DMA-API.txt
316 pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg,
317 int nents, int direction)
318
319Maps a scatter gather list from the block layer.
320
321Returns: the number of physical segments mapped (this may be shorter
322than <nents> passed in if the block layer determines that some
323elements of the scatter/gather list are physically ...
| Nov 18, 11:22 pm 2008 |
| FUJITA Tomonori | Re: pci_map_sg() does not coalesce adjacent physical mem ...
On Mon, 17 Nov 2008 19:15:32 -0800
Hm, what document did you read? We might need to fix it.
pci_map_sg() is not a typical place to coalesce the entries of the sg
list are physically adjacent. The block layer is the typical place.
The dma operations are free to coalesce the entries that physically
and virtually adjacent but there are not many that does.
For example, by default, on x86, only AMD GART (x86_64) dma operation
What's kinda of your driver? If it's a SCSI (or block) driver, ...
| Nov 18, 10:19 pm 2008 |
| FUJITA Tomonori | Re: pci_map_sg() does not coalesce adjacent physical mem ...
On Wed, 19 Nov 2008 07:22:31 +0100
Hmm, the description looks confusing. The block layer coalesces
physically adjacent entries before pci_map_sg(). pci_map_sg() could
If you follow what the block does now, you build coalesced
I don't think it's not a good place. What pci_map_single should do is
mapping a virtual address to a dma-capable address.
IOMMU dma operations maps a virtual address to an I/O address and
non-IOMMU dma operations do nothing. As you said below, some IOMMU
operations ...
| Nov 18, 11:58 pm 2008 |
| FUJITA Tomonori | Re: pci_map_sg() does not coalesce adjacent physical mem ...
Oops, sorry about typos.
On Wed, 19 Nov 2008 15:58:12 +0900
--
| Nov 19, 12:05 am 2008 |
| Tejun Heo | Re: pci_map_sg() does not coalesce adjacent physical mem ...
Because pci_map_sg() doesn't know the memory access limits of the
The latter sounds like a good idea to me.
Thanks.
--
tejun
--
| Nov 19, 3:05 am 2008 |
| David Miller | Re: [PATCH 3/3] net: define feature flags for FCoE offloads
From: Yi Zou <yi.zou@intel.com>
Why would FibreChannel over Ethernet need IPV4/IPV6 segmentation
offloading?
--
| Nov 19, 4:47 pm 2008 |
| FUJITA Tomonori | Re: [PATCH] ia64: SN specific version of dma_get_require ...
On Mon, 17 Nov 2008 10:24:54 -0600
I think that adding CONFIG_IA64 to include/linux/dma-mapping.h is
wrong. I also think that you don't need to ifndef this extern.
If you need this trick with only CONFIG_IA64_SGI_SN2, how about
something like this? It's simple and we can avoid duplicate the
generic dma_get_required_mask in arch/ia64/pci/pci.c
diff --git a/arch/ia64/include/asm/dma-mapping.h b/arch/ia64/include/asm/dma-mapping.h
index bbab7e2..4ffbd18 100644
--- ...
| Nov 18, 9:07 pm 2008 |
| Tomas M | Re: [PATCH] loop file resizable
Thank you very much.
Andrew, would you please consider merging this, it's short and working well.
Thank you.
Tomas M
--
| Nov 19, 11:34 am 2008 |
| hooanon05 | Re: [PATCH] loop file resizable
Here is the updated one.
- new function loop_set_capacity().
- return an error when the backend file is not set.
J. R. Okajima
----------------------------------------------------------------------
The following patch against loop.c adds ability to 'resize' the loop device on the fly.
This may be practically very useful.
One practical application is a loop file with XFS filesystem, already mounted:
You can easily enlarge the file (append some bytes) and then call
ioctl(fd, ...
| Nov 18, 8:51 pm 2008 |
| Andrew Morton | Re: [PATCH] loop file resizable
On Mon, 17 Nov 2008 08:44:28 +0100
Various people have tried this before, if I recall correctly. One was
Akinobu Mita (cc'ed here).
--
| Nov 18, 5:42 pm 2008 |
| Akinobu Mita | Re: [PATCH] loop file resizable
Yes, I did.
http://lkml.org/lkml/2006/5/23/26
There wasn't outstanding problem in that patch.
But I didn't send updated patch. Because I was just lazy.
--
| Nov 18, 7:07 pm 2008 |
| Andrew Morton | Re: [PATCH] fs/binfmt_misc.c: let binfmt status be more ...
On Mon, 17 Nov 2008 15:38:16 +0800
Well. That's a bugfix, really.
It fixes a bug which has been there for a very long time, in a way
which is non-backward-compatible.
Are there existing applications out there which will disastrously fail
if we add a newline to the /proc/sys/fs/binfmt_misc/status contents? I
somehow doubt it. But we shall find out :)
--
| Nov 18, 5:36 pm 2008 |
| Frédéric Weisbecker | Re: [PATCH 3/3] tracing/function-return-tracer: add the ...
That's right, I will start with a static array first and end with
dynamic allocation.
I'm not sure if it will be ready for merge window of 2.6.29 but that
Hehe! Indeed :-)
--
| Nov 19, 12:35 am 2008 |
| Evgeniy Polyakov | Re: [take 3] Use pid in inotify events.
Hi Christoph.
So effectively you propose to have second generation of the inotify
which will have additional pid field, which will be unused by all but
the same uid events?
If you want to return -EPERM, than it will be _always_ returned for non
sysadmin capable user, which effectively makes it unusable.
--
Evgeniy Polyakov
--
| Nov 19, 7:05 am 2008 |
| David Brownell | Re: [patch 2.6.28-rc5] regulator: enable/disable refcounting
How about the other two which seemed non-controversial?
http://marc.info/?l=linux-kernel&m=122645403604873&w=2 (code shrink)
http://marc.info/?l=linux-kernel&m=122645416305013&w=2 (attribute shrink)
Those were sent against RC4.
- Dave
--
| Nov 19, 3:12 pm 2008 |
| Liam Girdwood | Re: [patch 2.6.28-rc5] regulator: enable/disable refcounting
Both -rc5 patches applied.
Thanks
Liam
--
| Nov 19, 2:26 pm 2008 |
| Maciej W. Rozycki | Re: PHYLIB dependency in kernel 2.6.27.6
Well, practice shows selecting PHYLIB via a reverse dependency is
probably the most reasonable approach, but given the option is enabled for
explicit selection otherwise for legacy Ethernet devices, it may make
sense to do so for Gigabit devices too. Not sure about 10Gb, but here is
a patch from my pile I prepared a while ago, but haven't submitted it
yet. Feel free to push it further if you find it useful. Please note
netdev is the right list for networking matters.
...
| Nov 19, 7:09 am 2008 |
| Paul Mackerras | Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
My preference would be for the patches to go through the powerpc tree
unless there is a good reason for them to go via another tree.
The style we use for the headline is "powerpc: Add xyz feature" or
"powerpc/subsystem: Fix foo bug".
As for the acked-by, I feel I first need to go through the whole
series again with the changes you have made recently. Have you
reworked the earlier patches to avoid introducing any bugs, rather
than just fixing the bugs with later patches? If you haven't, ...
| Nov 18, 7:38 pm 2008 |
| Steven Rostedt | Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
There's only two generic commits that need to be added for the PowerPC
code to work.
ftrace: pass module struct to arch dynamic ftrace functions
ftrace: allow NULL pointers in mcount_loc
I've already ported them to mainline to test PowerPC there.
Paul could use these two versions and keep ftrace in a separate branch in
his tree. This way all the PowerPC code will be there, and actually can be
tested. They may still hit the same bugs that we have fixed in tip, but
those should all ...
| Nov 19, 5:10 am 2008 |
| Ingo Molnar | Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
note that this inserts a lot of (unnecessary) serialization and a
window of non-testing - by all likelyhood this will delay ppc ftrace
to v2.6.30 or later kernels.
Ingo
--
| Nov 19, 2:27 am 2008 |
| Paul Mackerras | Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
Well, note that I said "unless there is a good reason". If it does
need to go via your tree, it can, though I don't see that it will get
much testing on powerpc there, and having it there will make it harder
to manage any conflicts with the other stuff I have queued up.
How much generic stuff that's not upstream do the powerpc ftrace
patches depend on?
Paul.
--
| Nov 19, 3:38 am 2008 |
| Steven Rostedt | Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
I just pushed all the PowerPC patches on top of this port it works.
I still need to rework the patches for Paul.
-- Steve
--
| Nov 19, 5:15 am 2008 |
| Steven Rostedt | Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
I have no problem with that. The only thing is that we have a lot of
pending work still in the linux-tip tree, which you may need to pull
in to get these patches working. Well, there's two or three commits in the
generic code that I know the PPC code is dependent on.
I could give you a list of commits in tip that need to go mainline first
before we can pull in the PPC changes. Then you could wait till those
changes make it into 29 and then you could push the PPC modifications in
We've ...
| Nov 18, 8:04 pm 2008 |
| Ingo Molnar | Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
this is the diffstat:
arch/powerpc/Kconfig | 2 +
arch/powerpc/include/asm/ftrace.h | 14 +-
arch/powerpc/include/asm/module.h | 16 ++-
arch/powerpc/kernel/ftrace.c | 460 +++++++++++++++++++++++++++++++++---
arch/powerpc/kernel/idle.c | 5 +
arch/powerpc/kernel/module_32.c | 10 +
arch/powerpc/kernel/module_64.c | 13 +
scripts/recordmcount.pl | 18 ++-
8 files changed, 495 insertions(+), 43 deletions(-)
90% of it creates new ...
| Nov 19, 3:57 am 2008 |
| Paul Mackerras | Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
Quite. OK, it does sound like this stuff needs to live in your tree
for now, and from the diffstat it doesn't look like there is any
Sounds like a reasonable idea, except that I think I'll delay pulling
that branch into my tree until I need to in order to resolve a
I do want to see the patches in their final form and have the
opportunity to give an acked-by before you declare the branch frozen.
Apart from that, sounds good.
Paul.
--
| Nov 19, 4:35 am 2008 |
| Jan Kara | Re: [PATCH] udf: implement mode and dmode mounting options
Ah, ok. That makes sence (although such DVD's seem to be really broken).
I'll merge the patch.
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Nov 19, 12:13 pm 2008 |
| Marcin Slusarz | Re: [PATCH] udf: implement mode and dmode mounting options
You can't add permissions by umask/fmask/dmask. I have one DVD with top
level dir permissions set to 0000 and there's no way to read it now (as
an user) and adding mask options wouldn't change it.
I should mention in a changelog that the names and semantics of these
options are copied from isofs.
I can create a second patch which adds mask options but I think modes are
needed too. What do you think?
Marcin
--
| Nov 19, 11:14 am 2008 |
| Andrew Morton | Re: [PATCH] udf: implement mode and dmode mounting options
On Sun, 16 Nov 2008 20:52:19 +0100
Can we give these the same names and usage as their fatfs equivalents?
--
| Nov 18, 5:22 pm 2008 |
| Jan Kara | Re: [PATCH] udf: implement mode and dmode mounting options
Yes, making these options dmask and fmask would be more consistent I
think. Martin?
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Nov 19, 8:16 am 2008 |
| Christoph Lameter | Re: [Bug #11308] tbench regression on each kernel releas ...
Ok will rerun the tests tomorrow. Just got back from SC08 need some time
to catch up.
Looks like a lot of work was done on this issue. Thanks!
--
| Nov 19, 12:43 pm 2008 |
| Ingo Molnar | Re: [Bug #11308] tbench regression on each kernel releas ...
You might also want to try net-next:
[remote "net-next"]
url = git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6.git
fetch = +refs/heads/*:refs/remotes/net-next/*
Some good stuff is in there too, impacting this workload.
Ingo
--
| Nov 19, 1:14 pm 2008 |
| Nick Piggin | Re: [Bug #11308] tbench regression on each kernel releas ...
Probably true. OTOH, I've seen indirect branches get compiled to direct
branches or the common-case special cased into a direct branch
if (object->fn == default_object_fn)
default_object_fn();
That might be an easy way to test suspicions about CPU scheduler
slowdowns... (adding a likely() there, and using likely profiling would
help ensure you got the defualt case right).
--
| Nov 18, 9:31 pm 2008 |
| Andrew Morton | Re: [PATCH 2/2] udf: reduce stack usage of udf_get_filename
On Sun, 16 Nov 2008 19:02:45 +0100
I suspect that we could have used the superior GFP_KERNEL everywhere in
both these patches. But I'll let Jan worry about that ;)
--
| Nov 18, 5:19 pm 2008 |
| Jan Kara | Re: [PATCH 2/2] udf: reduce stack usage of udf_get_filename
Definitely not in the second case - that one is called from inside
readdir, lookup and symlink resolution code so that could lead to deadlocks
IMHO.
Regarding the first case in process_sequence, that is called only from
udf_fill_super(). So there it might be safe to use GFP_KERNEL but I'm not
quite sure either... So I'd leave GFP_NOFS there.
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Nov 19, 8:26 am 2008 |
| Andrew Morton | Re: [PATCH 2/2] udf: reduce stack usage of udf_get_filename
On Wed, 19 Nov 2008 22:01:23 +0100
hm, yeah, OK, true.
iirc this only applies to weird filessytems which do complex things
(ie: take locks) in their destroy_inode/clear_inode/etc handlers.
udf_clear_inode() looks pretty complex.
--
| Nov 19, 2:37 pm 2008 |
| Jan Kara | Re: [PATCH 2/2] udf: reduce stack usage of udf_get_filename
Hmm, but I see for example:
static int shrink_icache_memory(int nr, gfp_t gfp_mask)
{
if (nr) {
/*
* Nasty deadlock avoidance. We may hold various FS locks,
* and we don't want to recurse into the FS that called us
* in clear_inode() and friends..
*/
if (!(gfp_mask & __GFP_FS))
return -1;
prune_icache(nr);
}
return ...
| Nov 19, 2:01 pm 2008 |
| Andrew Morton | Re: [PATCH 2/2] udf: reduce stack usage of udf_get_filename
The reason for using GFP_NOFS is to prevent deadlocks when direct
memory reclaim reenters the filesystem code. But I don't think there's
ever a case when direct reclaim would enter the namespace part of a
filesystem - it is only expected to touch the pagecache (ie: data)
operations: writepage(), block allocator, etc.
--
| Nov 19, 10:35 am 2008 |
| Jan Kara | Re: [PATCH 2/2] udf: reduce stack usage of udf_get_filename
Both patches look fine. Thanks Martin. I've merged them to my UDF tree.
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Nov 19, 8:54 am 2008 |
| H. Peter Anvin | Re: [PATCH/RFC] Move entry_64.S register saving out of t ...
Sorry, I'm away on a trip at the moment, so sorry for the delayed feedback.
First of all, if we're going to go through common code here, we should
do the vector number adjustment in save_args and be able to use the
short form of pushq in the common case.
What isn't clear to me is if we should just push a target field to the
stack and then do an indirect call. That way we can do save_args and
ret_from_intr inline, but at the expense of an indirect call which will
not necessarily ...
| Nov 19, 10:54 am 2008 |
| Ingo Molnar | Re: [RFC,v2] x86_64: save_args out of line
Something like this would be a lot cleaner equivalent replacement:
PUSHQ %rax /* rsp */
PUSHQ $(1<<9) /* eflags - interrupts on */
PUSHQ $__KERNEL_CS /* cs */
PUSHQ \child_rip /* rip */
cfi_map rip, 0
PUSHQ %rax /* orig rax */
as most of the really annoying CFI annotations in entry_64.S that
obscruct code reading are just plain CFA offset modifications related
to stack shuffling.
[ Sidenote: trying to ...
| Nov 19, 1:09 pm 2008 |
| H. Peter Anvin | Re: [RFC,v2] x86_64: save_args out of line
We already have a "Linux magic asm dialect" which require CFI knowledge.
Nothing can change that other than dumping the requirement that we
have valid CFI data. However, the current code is hard to read and easy
to trip up on. We can at least make it easier, especially to read --
and making it easier to read will help writers, too.
-hpa
--
| Nov 18, 5:01 pm 2008 |
| Ingo Molnar | Re: [RFC,v2] x86_64: save_args out of line
i dont buy that argument at all.
Yes, of course full "no changes to the current code at all" automation
is hard.
But _at minimum_ GAS should automate a large part of this and help us
out syntactically: make it really easy to human-annotate instructions
in a _minimal way_. Also, automate the easy bits while at it. Plus
warn about missing annotations - nesting errors, etc. etc.
Yeah. This is the second-best option - but has some limitations. Still
it is much better than what we ...
| Nov 19, 3:34 am 2008 |
| Ingo Molnar | Re: [PATCH/RFC] Move entry_64.S register saving out of t ...
okay - will queue it up in tip/x86/irq, lets see how it goes.
Ingo
--
| Nov 19, 1:16 pm 2008 |
| Andi Kleen | Re: [RFC,v2] x86_64: save_args out of line
Hmm, but if the assembler cannot auto generate it how should the assembler
writer know if he should use the macro or the direct instruction without
understanding CFI?
Also what will the assembler reader do? Do they first have to understand
CFI to understand everything? I personally would probably just
resort to objdump -S in this situation.
I think you're saying that for the user the macros would be just
equivalent, but if that's true they could be just auto generated
by the assembler. ...
| Nov 18, 5:06 pm 2008 |
| Jeremy Fitzhardinge | Re: [RFC,v2] x86_64: save_args out of line
Yes. Something that obviously relates to both the instruction and the
semantic intent of the annotation: add_sp, sub_sp, save_reg, etc. And
at least that will eliminate the differently-signed(!) constant for
stack movement.
--
| Nov 18, 5:08 pm 2008 |
| Alexander van Heukelum | [PATCH/RFC] Move entry_64.S register saving out of the macros
Hi all,
Here is a combined patch that moves "save_args" out-of-line for
the interrupt macro and moves "error_entry" mostly out-of-line
for the zeroentry and errorentry macros.
The save_args function becomes really straightforward and easy
to understand, with the possible exception of the stack switch
code, which now needs to copy the return address of to the
calling function. Normal interrupts arrive with ((~vector)-0x80)
on the stack, which gets adjusted in ...
| Nov 18, 5:18 pm 2008 |
| Ming Lei | Re: [PATCH] kernel/ksysfs.c:fix dependence on CONFIG_NET
--
Lei Ming
--
| Nov 18, 6:25 pm 2008 |
| Balbir Singh | Re: [mm] [PATCH 4/4] Memory cgroup hierarchy feature sel ...
Hmm.. Yes. I initially had a file called features that I intended to use for
Thanks for the review!
--
Balbir
--
| Nov 18, 10:04 pm 2008 |
| Sukadev Bhattiprolu | Re: [RFC][PATCH][v2] Define/use siginfo_from_ancestor_ns()
| @@ -864,6 +902,9 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t,
| * and sent by user using something other than kill().
| */
| return -EAGAIN;
| +
| + if (from_ancestor_ns)
| + return -ENOMEM;
| }
|
| out_set:
We had wanted to start with a check like above and improve later.
But if sender is from ancestor namespace, we must post the signal even if
we don't have the siginfo right ? Otherwise, a SIGKILL from ancestor may
get the ...
| Nov 18, 7:28 pm 2008 |
| Sukadev Bhattiprolu | Re: [RFC][PATCH][v2] Define/use siginfo_from_ancestor_ns()
|
| > +static inline int siginfo_from_ancestor_ns(siginfo_t *info)
| > +{
| > + return SI_FROMUSER(info) && (info->si_pid == 0);
| > +}
|
| Yes, this is problem... I doubt we can rely on !si_pid here.
| More on this later.
BTW, rather than clearing SIG_FROM_USER in send_signal(), can we
keep it till we dequeue the signal ? Yes, collect_signal() would
need to consider this flag. But when we dequeue, we can note that
it was from user and use that in the siginfo_from_ancestor() ...
| Nov 18, 6:22 pm 2008 |
| Peter Zijlstra | Re: Active waiting with yield()
If you cannot get these simple things right, and stubbornly refuse to
listen to people telling you to the kernel is not the place to cut
corners, perhaps you should not be doing kernel code.
--
| Nov 19, 9:14 am 2008 |
| Eric Miao | RE: [PATCH] drivers/video/backlight/da903x.c: introduce ...
Acked-by: Eric Miao <eric.miao@marvell.com>
Andrew,
Could you please help merge this as well? Thanks.
-----Original Message-----
From: Mike Rapoport [mailto:mike@compulab.co.il]
Sent: Wednesday, November 19, 2008 4:51 PM
Cc: rpurdie@linux.intel.com; linux-kernel@vger.kernel.org;
kernel-janitors@vger.kernel.org; Eric Miao; Mike Rapoport;
rpurdie@linux.intel.com
Subject: [PATCH] drivers/video/backlight/da903x.c: introduce one more
missing kfree
One more error handling code should have ...
| Nov 19, 1:55 am 2008 |
| Mike Rapoport | [PATCH] drivers/video/backlight/da903x.c: introduce one ...
One more error handling code should have kfree as well
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
---
drivers/video/backlight/da903x.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/video/backlight/da903x.c b/drivers/video/backlight/da903x.c
index 75388b9..93bb434 100644
--- a/drivers/video/backlight/da903x.c
+++ b/drivers/video/backlight/da903x.c
@@ -131,6 +131,7 @@ static int da903x_backlight_probe(struct platform_device *pdev)
data, ...
| Nov 19, 1:51 am 2008 |
| Ingo Molnar | Re: [PATCH 1/3] kernel/trace/trace.c: introduce missing kfree
it's in tip/tracing/urgent:
agreed, it's messy. At minimum the ordering is wrong: it should not
return the iterator but 'ret' - the _iterator_ value can then be a
side-effect (dependent on the return value being fine).
the usage site clearly shows the problem:
static int tracing_open(struct inode *inode, struct file *file)
{
int ret;
__tracing_open(inode, file, &ret);
return ret;
}
that could then be a simple:
static int tracing_open(struct inode ...
| Nov 19, 1:52 am 2008 |
| Jiri Kosina | Re: [PATCH] n-trig digitizer quirks
Applied, thanks Rafi!
--
Jiri Kosina
SUSE Labs
--
| Nov 19, 8:02 am 2008 |
| Rafi Rubin | Re: [PATCH] n-trig digitizer quirks
-----BEGIN PGP SIGNED MESSAGE-----
Just to confirm then, its not necessary if I'm not checking the driver data for the quirk?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkkHQEACgkQwuRiAT9o60+WHACg8N419HjyNxVeX/ozhRH7Wdrx
J80AoLXsSnLSAidbNYM6BID5j6OMh4ny
=dk3Z
-----END PGP SIGNATURE-----
--
| Nov 19, 7:04 am 2008 |
| Jiri Kosina | Re: [PATCH] n-trig digitizer quirks
Correct; if you don't need to do anything special in the _probe function,
the HID core will do everything necessary (descriptor parsing,
low-level hardware initialization) for you.
--
Jiri Kosina
SUSE Labs
--
| Nov 19, 7:07 am 2008 |
| Rafi Rubin | Re: [PATCH] n-trig digitizer quirks
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Added quirks for the N-Trig digitizer.
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
- ---
drivers/hid/Kconfig | 7 ++++
drivers/hid/Makefile | 1 +
drivers/hid/hid-core.c | 1 +
drivers/hid/hid-dummy.c | 4 +-
drivers/hid/hid-ids.h | 3 ++
drivers/hid/hid-ntrig.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 96 insertions(+), 2 deletions(-)
create mode 100644 ...
| Nov 19, 7:43 am 2008 |
| Jiri Kosina | Re: [PATCH] n-trig digitizer quirks
Could you please keep standard linux-kernel indenting style? I.e.
something like
static int ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi,
struct hid_field *field, struct hid_usage *usage,
unsigned long **bit, int *max)
{
if ((usage->hid & HID_USAGE_PAGE) == HID_UP_DIGITIZER &&
(usage->hid & 0xff) == 0x47) {
nt_map_key_clear(BTN_TOOL_DOUBLETAP);
return 1;
}
return 0;
Also please don't forget to add HID_COMPAT_CALL_DRIVER() entry into ...
| Nov 19, 5:58 am 2008 |
| Jiri Kosina | Re: [PATCH] n-trig digitizer quirks
Please keep the driver as simple as possible. Whenever there are any new
devices in the future, we could easily extend it so that quirk data in
Probe function is necesary, you need to parse the report descriptor
(hid_parse()), activate the hardware (hid_hw_start()), etc.
Thanks,
--
Jiri Kosina
SUSE Labs
--
| Nov 19, 6:52 am 2008 |
| Rafi Rubin | Re: [PATCH] n-trig digitizer quirks
-----BEGIN PGP SIGNED MESSAGE-----
Yes, it wasn't used at the moment, just something left over from using hid-lg.c as a template. Since this is the only device known for this driver at this point, is it better to keep it shorter and
not check for the duplicate usage from the driver data or would it be better to add the flexibility now? Also, if you do prefer using driver data like that, is the probe function necessary to make it
work?
Rafi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG ...
| Nov 19, 6:42 am 2008 |
| Andrew Morton | Re: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS addre ...
(top-posting repaired. Please don't top-post!)
I haven't seen any patch which alters hpwdt_pretimeout() and there is
no such patch in linux-next. Perhaps it got lost?
--
| Nov 19, 10:30 am 2008 |
| Bernhard Walle | Re: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS addre ...
I need to repost.
Regards,
Bernhard
--
| Nov 19, 10:34 am 2008 |
| Wim Van Sebroeck | Re: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS addre ...
This was the patch (see below). It's in the linux-2.6-watchdog-next tree now,
so it should go into the linux-next tree soon.
The other patch is in the linux-2.6-watchdog-next tree also.
Kind regards,
Wim.
----------------------------------------------------------
commit ed22ea64f9efe4531be5130c0f77130c2ad74130
Author: Bernhard Walle <bwalle@suse.de>
Date: Sun Oct 26 15:59:37 2008 +0100
[WATCHDOG] hpwdt: Fix kdump when using hpwdt
When the "hpwdt" module is loaded ...
| Nov 19, 4:00 pm 2008 |
| Wim Van Sebroeck | Re: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS addre ...
I'll create the patches for the linux-2.6-watchdog trees tonight.
Kind regards,
Wim.
--
| Nov 19, 11:34 am 2008 |
| Wim Van Sebroeck | Re: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS addre ...
Wasn't completely clear to me, but it would indeed be much cleaner.
Hi Tom,
What did you test exactly?
Thanks in advance,
Wim.
--
| Nov 19, 4:11 pm 2008 |
| Bernhard Walle | Re: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS addre ...
Wasn't the conclusion that NOTIFY_OK always works and we should not
rely on that 'allow_kdump' option?
Regards,
--
| Nov 19, 4:02 pm 2008 |
| Mingarelli, Thomas | RE: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS addre ...
I tested changing the return value to NOTIFY_OK always.
-----Original Message-----
From: Wim Van Sebroeck [mailto:wim@iguana.be]
Sent: Wednesday, November 19, 2008 5:11 PM
To: Bernhard Walle; Mingarelli, Thomas
Cc: Andrew Morton; linux-kernel@vger.kernel.org; stable@kernel.org
Subject: Re: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS address space as executable
Wasn't completely clear to me, but it would indeed be much cleaner.
Hi Tom,
What did you test exactly?
Thanks in ...
| Nov 19, 4:39 pm 2008 |
| Mingarelli, Thomas | RE: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS addre ...
We have also verified that returning NOTIFY_OK from the hpwdt_pretimeout routine makes the KDUMP feature work correctly.
Bernhard pointed that out a week or so ago and we have since verified it.
Thanks,
Tom
-----Original Message-----
From: Bernhard Walle [mailto:bwalle@suse.de]
Sent: Tuesday, November 18, 2008 4:32 PM
To: Andrew Morton
Cc: Mingarelli, Thomas; linux-kernel@vger.kernel.org; wim@iguana.be; stable@kernel.org
Subject: Re: [PATCH] [WATCHDOG] [hpwdt] Set the mapped BIOS ...
| Nov 19, 7:05 am 2008 |
| Pavel Machek | Re: 2.6.28-rc4 suspend issues on Lenovo X200
Seems like a X problem to me.... can you try to run X with fbdev
Cc yourself, I always do group replies...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Nov 19, 9:53 am 2008 |
| Mel Gorman | Re: [PATCH -mm] vmscan: bail out of page reclaim after s ...
Is this not strictly true as this is used as a running count?
This triggered alarm bells for me because I thought it would affect lumpy
reclaim. However, lumpy reclaim happens at a lower level and what I'd
expect to happen is that nr_reclaimed be at least the number of base pages
making up a high-order block for example. Thinking about it, this should be
safe but I ran it through the old anti-frag tests for hugepage allocations
(basically allocating hugepages under compile-load).
On ...
| Nov 19, 9:54 am 2008 |
| FUJITA Tomonori | Re: [PATCH 18 of 38] x86: unify pci iommu setup and allo ...
On Mon, 17 Nov 2008 16:16:06 +0000
32bit is large enough for dma segment boundary mask, I think.
Since the popular value of the mask is 0xffffffff. So the above code
(mask + 1 ?) works wrongly if the size of mask is 32bit (well,
I guess that you talk about the dma_mask (and coherent_dma_mask) in
struct device. The dma segment boundary mask represents the different
I think that 'unsigned long' is better for the dma segment boundary
mask since it represents the hardware limitation. The ...
| Nov 18, 7:19 pm 2008 |
| Ian Campbell | Re: [PATCH 18 of 38] x86: unify pci iommu setup and allo ...
Ah, I hadn't spotted this, you are right it probably works but just by
I was talking about the segment_boundary_mask in struct
device_dma_parameters which is the source of the "mask" value in the
Right, it's just that on occasion we have to cope with slightly larger
values while manipulating things.
Ian.
--
| Nov 19, 6:48 am 2008 |
| Greg KH | Re: Linux 2.6.27.6
Already fixed in 2.6.27.7-rc2.
thanks,
greg k-h
--
| Nov 18, 11:15 pm 2008 |
| Eric Sandall | Re: Linux 2.6.27.6
Mine works fine as well, on 2.6.27.5. It does not even *compile* on
2.6.27.6. Jean Schurger just sent an e-mail
(http://marc.info/?l=linux-kernel&m=122703112423031) with the same
issue, but was kind enough to provide a patch (which I have not tested).
-sandalle
--
Eric Sandall | Source Mage GNU/Linux Developer
eric@sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285
--
| Nov 18, 5:08 pm 2008 |
| Pierre Ossman | Re: [PATCH] mmc: atmel-mci: move atmel-mci.h file to inc ...
On Thu, 13 Nov 2008 15:43:34 +0100
I'd prefer if include/linux/mmc could stay clean and just have core
stuff since the header files are basically the reference documentation
for the subsystem. But if you can't find any other way...
--=20
-- Pierre Ossman
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
| Nov 19, 11:36 am 2008 |
| Markus Metzger | Re: debugctl msr
OK. So far, there was no user that called ds_*() with interrupts
ds_release() is not robust with respect to double release, if that's
what you mean. Is that desirable?
For a single ds_release() call matching a corresponding successful
ds_request() call, the buffer is freed if and only if it had been
allocated by ds.c.
Kfree() itself handles NULL pointers and scripts/checkpatch.pl warns on
That's even preferable to having the interrupt code itself in ds.c
The point I was trying to ...
| Nov 19, 11:27 am 2008 |
| stephane eranian | Re: debugctl msr
Markus,
On Wed, Nov 19, 2008 at 8:20 PM, stephane eranian
To follow-up on this, the other issue with this code is that you
should not decrease
those two mm fields if the buffer was not allocated by ds.c. So I
think, the modification
I sent you in my patch is actually valid (just for another reason).
--
| Nov 19, 1:53 pm 2008 |
| stephane eranian | Re: debugctl msr
Markus,
Speaking of locking, I also ran into another issue with ds_lock.
Perfmon sessions each have a spinlock for access serialization, but to
prevent from PMU and timers interrupts, interrupts are masked. Thus,
when perfmon
calls ds.c, interrupts are masked. That means that we lock/unlock ds_lock
with interrupts disabled. The lock checker triggered when I ran a simple perfmon
session and warned of possible lock inversion. Suppose you are coming from the
ptrace code into ds. You grab ds_lock, ...
| Nov 19, 10:13 am 2008 |
| Metzger, Markus T | RE: debugctl msr
I'm having a deja vu. We had this discussion before. You reported those
issues and I fixed them. Same for the PEBS size; and Andi Kleen asked
to exclude ds.c from the build instead of guarding the .c file and to
use the mm semaphore in ds_allocate_buffer().
That thread ended in the multiplexing discussion and my fixes never got in.
I'll send a patch covering those problems next week.
Regarding access to the interrupt threshold, we never completed
our discussion.
If we look towards ...
| Nov 19, 8:47 am 2008 |
| stephane eranian | Re: debugctl msr
Markus,
On Wed, Nov 19, 2008 at 7:27 PM, Markus Metzger
Yes, I have narrowed this down to the following lines:
current->mm->total_vm -= context->pages[qual];
current->mm->locked_vm -= context->pages[qual];
I think this is again related to the problem of which thread call
ds_release(). In my test
case, this is the monitored thread as it exits. By the time it gets
But the threshold is a characteristic of the buffer, not the interrupt handler.
Depending on the tool, it may ...
| Nov 19, 12:20 pm 2008 |
| stephane eranian | Re: debugctl msr
Markus,
You are right about the reserved field, it was missing from my code
but that was harmless.
I had to hack ds.c some more to make forward progress with PEBS. First
of all my PEBS code is
in a kernel module, so all PEBS functions have to be exported.
Furhtermore, I need a
ds_get_pebs_thres() and ds_set_pebs_thres() calls.
But the one key problem is ds_validate_access(). I had to disable this
function. The problem is that
with perfmon there can be several threads who need access to ...
| Nov 19, 5:59 am 2008 |
| Markus Metzger | Re: debugctl msr
Yes, this is again the ptrace-ness of the approach. The entire code
assumes that there is one tracer task that controls another traced task.
You're right, though, that I should only do the memory accounting
if the buffer had been allocated by ds.c.
That's a plain bug. Perfmon2 is the first user that uses its own
Good point.
Would you want to change the threshold or would it be OK if this became
another parameter to ds_request()?
regards,
markus.
--
| Nov 19, 3:26 pm 2008 |
| Metzger, Markus T | RE: debugctl msr
You are right that there are 9 fields.
However, the 9th field is double the size of the other fields and the entire structure is padded.
You're right about the PEBS size.
I will send a patch some time this week.
thanks,
markus.
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes ...
| Nov 19, 5:14 am 2008 |
| Carlos R. Mafra | Re: iwlagn driver segfault in 2.6.28-rc3
I thank you too for taking care of it, and now at least my wifi does not
die as before.
I uploaded the dmesg here
http://www.aei.mpg.de/~crmafra/dmesg-iwlwifi.txt
it contains the warnings including the first (not tainted),
but the beginning of the log is missing because it was too big I guess.
But the boot messages are probably the same as the other dmesg
I've sent already in this thread.
--
| Nov 19, 3:29 pm 2008 |
| Tomas Winkler | Re: iwlagn driver segfault in 2.6.28-rc3
The second removal of invalid key corrupt the eeprom pointer
in this line
if (!test_and_clear_bit(priv->stations[sta_id].sta.key.key_offset,
&priv->ucode_key_table))
as discovered by Yi so this patch also fix the immediate failure
We are just not sure in what flow the key is removed second time and maybe
there is an other issue behind it.
The full log will be appreciated but you've already helped a lot
Thanks for your time
--
| Nov 19, 3:06 pm 2008 |
| Carlos R. Mafra | Re: iwlagn driver segfault in 2.6.28-rc3
Ok, the WARN() in your patch from Sunday (quoted below) appeared in my logs.
I've just noticed now (but it is the 3rd or 4th time already in dmesg, that
is why it appears "Tainted")
I don't if the situation leading to the WARN() in your patch is the same
one which used to kill my wireless connection before (with the oops
in iwl_eeprom_query16 that started this thread), but the fact is
that my wifi is still working.
Here is the log:
[ I have the full dmesg from sunday up to now, ...
| Nov 19, 1:45 pm 2008 |
| Max Krasnyansky | Re: Using cpusets for configuration/isolation [Was Re: R ...
Actually we (or maybe just me) gave up on those for now. We went back an forth
on the 'system set' and what it supposed to mean. Both Paul J. and Paul M.
were against the concept and especially backward compatibility with existing
user-space tools that use cpusets. Plus it's really really easy to setup the
'system' set from user-space and I just ended up writing 'syspart' thing that
I mentioned before.
Similar thing happened to "managing irqs via cpusets" idea. Peter and I wanted
to represent ...
| Nov 19, 1:01 pm 2008 |
| Max Krasnyansky | Re: Using cpusets for configuration/isolation [Was Re: R ...
Yes, I saw the original thread on this. I'll reply in there.
Max
--
| Nov 19, 9:28 am 2008 |
| Max Krasnyansky | Re: Using cpusets for configuration/isolation [Was Re: R ...
What you described is almost exactly what I did in my original cpu
isolation patch, which did get NAKed :). Basically I used global
cpu_isolated_map and exposed 'isolated' bit, etc.
I do not see how 'partfs' that you described would be different from
'cpusets' that we have now. Just ignore 'tasks' files in the cpusets and
you already have your 'partfs'. You do _not_ have to use cpuset for
assigning tasks if you do not want to. Just use them to define sets of
cpus and keep all the tasks ...
| Nov 18, 6:59 pm 2008 |
| Ingo Molnar | Re: Using cpusets for configuration/isolation [Was Re: R ...
Yeah, we have bits of it (i merged them, and i still remember them ;-)
- but we still dont have the "system set" concept suggested by Peter
though. We could go further and make it really easy to partition all
scheduling and irq aspects of the system via cpusets.
Ingo
--
| Nov 19, 10:44 am 2008 |
| Max Krasnyansky | Re: Using cpusets for configuration/isolation [Was Re: R ...
Already did. It's all in mainline. The part you quoted was just pointing out
that the original approach was not correct.
Max
--
| Nov 19, 9:31 am 2008 |
| Gregory Haskins | Re: Using cpusets for configuration/isolation [Was Re: R ...
On a related note, please be advised I have a bug in this area:
http://bugzilla.kernel.org/show_bug.cgi?id=3D12054
| Nov 19, 5:30 am 2008 |
| Ingo Molnar | Re: Using cpusets for configuration/isolation [Was Re: R ...
[Empty message]
| Nov 19, 5:51 am 2008 |
| Nish Aravamudan | Re: Using cpusets for configuration/isolation [Was Re: R ...
Max,
Ok, I guess I was just referring to the intent of the administrator
and making it a bit clearer. But using syspart or even a simple
Ok, I'm re-reading the cpusets.txt section. Sorry for my confusion and
Will do, thanks,
Nish
--
| Nov 19, 3:11 pm 2008 |
| Max Krasnyansky | Re: Using cpusets for configuration/isolation [Was Re: R ...
I do not see any benefits in exposing a special 'isolated' bit and have it do
the same thing that the cpu hotplug already does. As I explained in other
threads cpu hotplug is a _perfect_ fit for the isolation purposes. In order to
isolate a CPU dynamically (ie at runtime) we need to flush pending work, flush
chaches, move tasks and timers, etc. Which is _exactly_ what cpu hotplug code
does when it brings CPU down. There is no point in reimplementing it.
btw It sounds like you misunderstood the ...
| Nov 18, 10:14 pm 2008 |
| Nish Aravamudan | Re: Using cpusets for configuration/isolation [Was Re: R ...
Max,
[ Removing Paul's bouncing address... ]
I guess you're right. It still feels a bit kludgy, but that is probably just me.
I have wondered, though, if it makes sense to provide an "isolated"
file in /sys/devices/system/cpu/cpuX/ to do most of the offline
sequence, break sched_domains and remove a CPU from the load balancer
(rather than turning the load balancer off), rather than requiring a
user to explicitly do an offline/online. I guess it can all be rather
transparently masked ...
| Nov 18, 7:11 pm 2008 |
| Henrik Rydberg | Re: [PATCH] input: Add a detailed multi-touch finger dat ...
Long time no see :-)
Yes, there has been quite a bit of feedback on this patch, and using
EV_SYN the way you suggest came up. Thanks - will redo.
Henrik
--
| Nov 19, 4:31 pm 2008 |
| Henrik Rydberg | Re: [PATCH] input: Add a detailed multi-touch finger dat ...
Jim Gettys wrote:
The bcm5974 chip is doing precisely this.
Henrik
--
| Nov 19, 4:34 pm 2008 |
| Dmitry Torokhov | Re: [PATCH] input: Add a detailed multi-touch finger dat ...
Hi Henrik,
Sorry for the long silence. I don't think utilizing button events for
this is a good idea. I'd rather just start reporting extended touch
events for a finger and signal end of sub-packet with something like
EV_SYN/SYN_MT_REPORT.
--
Dmitry
--
| Nov 19, 9:37 am 2008 |
| Jim Gettys | Re: [PATCH] input: Add a detailed multi-touch finger dat ...
I agree.
Also, I'm still concerned about using elipses. I doubt very much any
hardware will ever be reporting elipses; more likely are parallelograms,
or trapezoids, other simple geometric figures, rather than a center with
size and orientation.
There are reasons Cairo uses aligned traps internally when tessellating
figures....
--
Jim Gettys <jg@laptop.org>
One Laptop Per Child
--
| Nov 19, 9:54 am 2008 |
| Takashi Iwai | Re: [alsa-devel] 2.6.26.[6|7]-rt11, alsa rawmidi, seq ha ...
At Fri, 14 Nov 2008 10:57:10 -0800,
AFAIK, tasklet_hi_schedule() uses another softirq vector with the
highest priority (the first item to be scanned).
Regarding the ALSA codes, there is no big reason to use hi_* version.
Could you check the patch below and see whether you get any
regressions?
thanks,
Takashi
---
diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c
index 39672f6..002777b 100644
--- a/sound/core/rawmidi.c
+++ b/sound/core/rawmidi.c
@@ -151,7 +151,7 @@ static ...
| Nov 19, 4:44 am 2008 |
| Fabio Checconi | Re: [patch 0/4] [RFC] Another proportional weight IO con ...
Yes, we started from his code. As Aaron reported, on BFQ our change
to the CIC_SEEKY logic has a bad interaction with the hw tag detection
on some workloads, but that problem should be easy to solve (test patch
Ok, thank you, I'll try to put together and test some patches, and to
post them for discussion in the next few days.
--
| Nov 19, 8:52 am 2008 |
| Fabio Checconi | Re: [patch 0/4] [RFC] Another proportional weight IO con ...
If you look at bfq_update_hw_tag(), the logic introduced by the patch
you mention is still there; BFQ starts with ->hw_tag = 1, and updates it
every 32 valid samples. What changed WRT your patch, apart from the
number of samples, is that the condition for a sample to be valid is:
bfqd->rq_in_driver + bfqd->queued >= 5
while in your patch it is:
cfqd->rq_queued > 5 || cfqd->rq_in_driver > 5
We preferred the first one because that sum better reflects the number
of requests that ...
| Nov 19, 3:17 am 2008 |
| Paolo Valente | Re: [patch 0/4] [RFC] Another proportional weight IO con ...
Just a general note: as Fabio already said, switching back to time
budgets in BFQ would be (conceptually) straightforward.
However, we will never get fairness in bandwidth distribution if we work
(only) in the time domain.
--
-----------------------------------------------------------
| Paolo Valente | |
| Algogroup | |
| Dip. Ing. Informazione | tel: +39 059 2056318 |
| Via Vignolese 905/b ...
| Nov 19, 12:09 am 2008 |
| Aaron Carroll | Re: [patch 0/4] [RFC] Another proportional weight IO con ...
BFQ's tag detection logic is broken in the same way that CFQ's used to
be. Explanation is in this patch:
============================x8============================
commit 45333d5a31296d0af886d94f1d08f128231cab8e
Author: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Date: Tue Aug 26 15:52:36 2008 +0200
cfq-iosched: fix queue depth detection
CFQ's detection of queueing devices assumes a non-queuing device and detects
if the queue depth reaches a certain threshold. Under ...
| Nov 18, 6:52 pm 2008 |
| Jens Axboe | Re: [patch 0/4] [RFC] Another proportional weight IO con ...
OK, I'm assuming this is where Nikanth got his idea for the patch from?
It does seem racy in spots, we can definitely proceed on getting that
Not sure this matters a whole lot, but your approach makes sense. Have
That also looks problematic. I guess we need to recheck that under the
Different compilation units would be my preferred choice.
--
Jens Axboe
--
| Nov 19, 7:30 am 2008 |
| Fabio Checconi | Re: [patch 0/4] [RFC] Another proportional weight IO con ...
Sorry, I forgot the patch... This seems to solve the problem with
your workload here, does it work for you?
[ The magic number would not appear in a definitive fix... ]
---
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index 83e90e9..e9b010f 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c
@@ -1322,10 +1322,12 @@ static void bfq_update_io_seektime(struct bfq_data *bfqd,
/*
* Don't allow the seek distance to get too large from the
- * odd fragment, pagein, ...
| Nov 19, 4:06 am 2008 |
| Jens Axboe | Re: [patch 0/4] [RFC] Another proportional weight IO con ...
Sounds feasible, I'd like to see the cgroups approach get more traction.
My primary concern is just that I don't want to merge it into specific
IO schedulers. As you mention, we can hook into the may queue logic for
that subset of the problem, that avoids touching the io scheduler. If we
can get this supported 'generically', then I'd be happy to help out.
--
Jens Axboe
--
| Nov 19, 7:24 am 2008 |
| Alexey Dobriyan | Nov 18, 5:07 pm 2008 | |
| Alexey Dobriyan | Re: [PATCH 2/7] proc: Implement support for automounts i ...
OK, I fixed some small issues and pushed out to proc.git so it starts
propagate to -next.
--
| Nov 18, 7:35 pm 2008 |
| Eric W. Biederman | Re: [PATCH 2/7] proc: Implement support for automounts i ...
Thanks.
Eric
--
| Nov 19, 6:20 am 2008 |
| Christoph Lameter | Re: linux-next: cpu_alloc tree patch (Was: Re: next-2008 ...
Just came back from the conference. Hope I can catch up with email soon.
--
| Nov 19, 12:18 pm 2008 |
| Jiri Kosina | Re: [PATCH] hid: Complete support for the new unibody macbooks
I see. I have already pushed the bits that ignore the mouse interface on
the hardware in question in HID code. But that should be perfectly fine,
Sure, no problem, I will keep an eye on incoming input patches before you
are fully settled again, and if anything new urgent comes, I will merge it
for .28.
--
Jiri Kosina
SUSE Labs
--
| Nov 19, 10:06 am 2008 |
| Henrik Rydberg | Re: [PATCH] hid: Complete support for the new unibody macbooks
Jiri Kosina wrote:
Without the mouse ignore quirk, HID will find the "normal" usb mouse
interface. The current situation is much worse than to throw the bcm5974
patches in untested. And this is not even the case; the updated driver has
been in use as a dkms package for almost a month.
Cheers,
Henrik
--
| Nov 19, 3:33 pm 2008 |
| Henrik Rydberg | Re: [PATCH] hid: Complete support for the new unibody macbooks
These usb devices provide several different functions through the same
interface. By default, it looks like a regular mouse interface, which
No harm done. :-)
Thanks,
Henrik
--
| Nov 19, 4:10 pm 2008 |
| Jiri Kosina | Re: [PATCH] hid: Complete support for the new unibody macbooks
Therefore my memory must have been wrong -- I thought that you told me
when I was merging f89bd95c5c that the devices are not standard HID
devices at all, and therefore they can be safely ignored by the driver
right away, as they can't be driven by HID driver anyway.
If this is not the case, I'll then revert the hid_mouse_ignore_list[]
addition peformed in a96d6ef34 and will push it for 2.6.29, so that it
goes in together with bcm5974 driver modifications.
Thanks and sorry if I messed ...
| Nov 19, 3:43 pm 2008 |
| Jiri Kosina | Re: [PATCH] hid: Complete support for the new unibody macbooks
That I fully understand. But I though that the device is so much HID
standard non-compliant, that even basic functionality is not possible with
the generic HID driver, and therefore blacklisting it immediately can't do
any harm. That's what I understood previously. But if this is wrong, and
the HID code can get at least basic functionality from the device, I will
revert the blacklist addition.
Thanks,
--
Jiri Kosina
SUSE Labs
--
| Nov 19, 4:57 pm 2008 |
| Dmitry Torokhov | Re: [PATCH] hid: Complete support for the new unibody macbooks
2.6.29 - the driver is in use so I did nto want to touch it after .28
merge window closed. Also I am moving to the west coast so swamped
anyways but I hope I will be somewhat settled after December 8th.
Btw, if you see something that you think needs to go into .28 for
input could please merge it for me? I also going to ask Linus to pull
from my for-linus branch in the next couple of days.
Thanks!
--
Dmitry
--
| Nov 19, 9:40 am 2008 |
| Gregory Haskins | Re: RT sched: cpupri_vec lock contention with def_root_d ...
Do you know if this was pre or post the root-domain code? Here is a
reference to the commit:
http://git.kernel.org/?p=3Dlinux/kernel/git/torvalds/linux-2.6.git;a=3Dco=
mmit;h=3D57d885fea0da0e9541d7730a9e1dcf734981a173
A bisection that shows when this last worked for you would be very
appreciated if you have the time, Dimitri.
Regards,
-Greg
| Nov 19, 2:30 pm 2008 |
| Dimitri Sivanich | Nov 19, 12:55 pm 2008 | |
| Max Krasnyansky | Re: RT sched: cpupri_vec lock contention with def_root_d ...
I beleive that's the intended behaviour. We always put cpus that are not
balanced into null sched domains. This was done since day one (ie when
cpuisol= option was introduced) and cpusets just followed the same convention.
I think the idea is that we want to make balancer a noop on those processors.
We could change cpusets code to create a root sched domain for each cpu I
guess. But can we maybe scale cpupri some other way ?
Max
--
| Nov 19, 12:49 pm 2008 |
| Max Krasnyansky | Re: RT sched: cpupri_vec lock contention with def_root_d ...
Yes. I forgot to point out that if we do change cpusets to generate sched
domain per cpu we want to make sure that balancer is still a noop just like it
I think 'root' in this case is a bit of a misnomer. What I meant is that each
non-balanced cpu would be in a separate sched domain.
Max
--
| Nov 19, 1:17 pm 2008 |
| Dimitri Sivanich | Re: RT sched: cpupri_vec lock contention with def_root_d ...
I think a NULL sched domain, as it is now, is fine.
--
| Nov 19, 1:21 pm 2008 |
| Gregory Haskins | Re: RT sched: cpupri_vec lock contention with def_root_d ...
Re-reading my post made me realize what I said above was confusing. The
"that" in "but that is somewhat beyond the scope" was meant to be
"explicit/direct support for the no-balance flag". However, it perhaps
sounded like I was talking about exclusive cpusets with singleton
membership. Exclusive cpusets are the original raison-d'etre for
root-domains. ;)
Therefore I agree that the exclusive cpuset portion should work (but
seems to be broken, thus the bug report). My primary goal is to ...
| Nov 19, 3:25 pm 2008 |
| Gregory Haskins | Re: RT sched: cpupri_vec lock contention with def_root_d ...
Heh...well, as the guy that wrote root-domans, I can definitively say
It sounds like the problem with my code is that "null sched domain"
translates into "default root-domain" which is understandably unexpected
by Dimitri (and myself). Really I intended root-domains to become
associated with each exclusive/disjoint cpuset that is created. In a
way, non-balanced/isolated cpus could be modeled as an exclusive cpuset
with one member, but that is somewhat beyond the scope of the
root-domain code ...
| Nov 19, 1:25 pm 2008 |
| Dimitri Sivanich | Re: RT sched: cpupri_vec lock contention with def_root_d ...
Actually, at one time, that is how things were setup. Setting the
cpu_exclusive bit on a single cpu cpuset would isolate that cpu from
Agreed.
--
| Nov 19, 1:33 pm 2008 |
| Dimitri Sivanich | Re: RT sched: cpupri_vec lock contention with def_root_d ...
It was pre root-domain. That behavior was replaced by addition of the sched_load_balance flag with the following commit (though it was actually removed even earlier):
--
| Nov 19, 2:47 pm 2008 |
| Pierre Ossman | Re: [patch 7/7] SDHCI: Add change_clock callback for glu ...
On Sat, 15 Nov 2008 23:57:39 +0000
Can these clock sources change mid-flight? Otherwise I don't see the
need for a callback up to the sdhci core. But I don't see any
connection points for such events.
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and ...
| Nov 19, 11:43 am 2008 |
| Pierre Ossman | Re: [patch 5/7] SDHCI: Samsung SDHCI (HSMMC) driver
On Sun, 16 Nov 2008 00:03:02 +0000
I don't see where knowledge about the card gets into the picture here.
All of this sounds like information that is gathered from platform data
and/or ios information.
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and ...
| Nov 19, 11:38 am 2008 |
| Pierre Ossman | Re: [patch 6/7] SDHCI: Check DMA for overruns at end of ...
On Sun, 16 Nov 2008 00:05:08 +0000
Just because you had to provoke it doesn't mean it won't appear under
"normal" circumstances for others.
Until this problem is fully understood I think DMA should be turned off
(or possibly needs to be explicitly forced on using Kconfig or a module
parameter).
Do you have any contacts at Samsung that can help out here?
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer ...
| Nov 19, 11:41 am 2008 |
| Pierre Ossman | Re: [patch 2.6.28-rc2] at91_mci: workaround lockdep
On Mon, 17 Nov 2008 10:28:46 +0100
Any side-effects besides from dmesg noise? IOW should I push for .28?
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
--
| Nov 19, 11:45 am 2008 |
| David Miller | Re: [PATCH] Re: [2.6.26] OOPS in __linkwatch_run_queue ( ...
From: David Miller <davem@davemloft.net>
I did an audit, and found that this construct is too pervasive to
fix right now. Even e1000 and e1000e do this call of netif_carrier_off()
before the device is even registered.
So here is the bandaid I'll use to fix the bug in 2.6.28
net: Do not fire linkwatch events until the device is registered.
Several device drivers try to do things like netif_carrier_off()
before register_netdev() is invoked. This is bogus, but too many
drivers do this to ...
| Nov 19, 4:35 pm 2008 |
| David Rientjes | Re: [patch] oom: print triggering task's cpuset and mems ...
It needs task_lock(current).
--
| Nov 19, 12:56 pm 2008 |
| Li Zefan | Re: [patch] oom: print triggering task's cpuset and mems ...
But none of the callers of this function holds task_lock nor rcu_read_lock,
they hold tasklist_lock. Have you confirmed this is ok? It seems racy that
--
| Nov 18, 6:19 pm 2008 |
| Max Krasnyansky | Re: default IRQ affinity change in v2.6.27 (breaking sev ...
Sorry for delay in replying to this. And sorry for causing regression on some
ppc platforms.
I totally agree with what Dave said above. ALL_CPUS is a sane default,
platform code has to sanity check masks passed via set_affinity() calls
anyway. So I beleive it should be fixed in the platform code.
Max
--
| Nov 18, 11:43 pm 2008 |
| Dimitri Sivanich | [PATCH 0/2 v3] SGI RTC: add clocksource/clockevent drive ...
The following patches provide a driver for synchronized RTC clocksource and
clockevents for SGI systems, as well as a generic timer system interrupt.
With these patches, a module can be installed that registers the system-wide
synchronized RTC clocksource and timers as both a clocksource and clockevents
device running in high resolution mode.
[PATCH 1/2 v3] SGI RTC: add clocksource driver
[PATCH 2/2 v3] SGI RTC: add generic timer system interrupt
--
| Nov 19, 2:22 pm 2008 |
| Dimitri Sivanich | [PATCH 1/2 v3] SGI RTC: add clocksource driver
This patch provides a driver for SGI RTC clocks and timers.
This provides a high resolution clock and timer source using the SGI
system-wide synchronized RTC clock/timer hardware.
Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
---
drivers/clocksource/Makefile | 1
drivers/clocksource/rtc_uv.c | 399 +++++++++++++++++++++++++++++++++++++++
drivers/misc/Kconfig | 9
kernel/time/clockevents.c | 1
kernel/time/clocksource.c | 1
5 files changed, 411 ...
| Nov 19, 2:23 pm 2008 |
| Dimitri Sivanich | [PATCH 2/2 v3] SGI RTC: add generic timer system interrupt
This patch allocates a system interrupt vector for platform specific use
in implementing timer interrupts.
Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
---
Refreshing this to use 0xed as the vector. Have repackaged it to be more
generic.
arch/x86/include/asm/hw_irq.h | 1
arch/x86/include/asm/irq.h | 2 +
arch/x86/include/asm/irq_vectors.h | 5 +++
arch/x86/kernel/entry_64.S | 4 ++
arch/x86/kernel/irqinit_64.c | 45 ...
| Nov 19, 2:26 pm 2008 |
| Trond Myklebust | Re: High load in 2.6.27, NFS / rpcauth_lookup_credcache()?
Looking at the above, it seems that you're spending an inordinate amount
of time in generic_match too.
Could you see if the following patch helps?
Cheers
Trond
-------------------------------------------------------------------------------
From: Trond Myklebust <Trond.Myklebust@netapp.com>
SUNRPC: Fix up generic_match()
Cut down on the number of similar copies of group_info.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
---
net/sunrpc/auth_generic.c | 20 ...
| Nov 19, 3:31 pm 2008 |
| Bob Montgomery | Re: [PATCH] disable CPU side GART accesses
Well, since I hate it when kernel discussion threads just end with no
resolution...
I don't have access to a large range of AMD64 systems that use AGP
graphics. In fact, I can't find any around here. So testing my way to
resolving this potential problem in these drivers is probably not going
to work.
I've seen references to systems that had Opterons, and AGP graphics, and
could hold more than 4GB of RAM, but I don't know how many are out
there. So since I can't do a bunch of distro/X ...
| Nov 19, 3:12 pm 2008 |
| Pavel Machek | Re: w35und wifi driver for linux-staging
No, you don't want to :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Nov 19, 4:28 am 2008 |
| Jens Axboe | Re: in 2.6.23-rc3-git7 in do_cciss_intr
Randy, can you post the debug patch you used? The above goes boom when
it attempts to remove a command that isn't on the list, the Qptr in the
last example should be empty, hence the oops. So I'd be interested in
seeing what removeQ() calls this is, I'm assuming it's this bit in
do_cciss_intr():
...
while (c->busaddr != a) {
c = c->next;
if (c == h->cmpQ)
break;
}
}
...
| Nov 19, 1:52 am 2008 |
| Jens Axboe | Re: in 2.6.23-rc3-git7 in do_cciss_intr
Yeah, kexec is definitely a clue. My guess is that we got some sort of
left over completion. Regardless of the status of this particular bug or
not, I think it would be a good idea to add some checks for when a
command is attempted removed from a queue it isn't currently on.
--
Jens Axboe
--
| Nov 19, 10:29 am 2008 |
| Miller, Mike (OS Dev) | RE: in 2.6.23-rc3-git7 in do_cciss_intr
Ahhhh, the kexec piece was missing. Now I don't feel quite so clueless. I'm OK with dropping the bug for now. Jens, James?
--
| Nov 19, 10:27 am 2008 |
| Randy Dunlap | Re: in 2.6.23-rc3-git7 in do_cciss_intr
Sure. I have 2 patches. One is a fix for CCISS_DEBUG printk formats that I
I don't know that the patch will tell us which call it is.
The added code is inside removeQ() and addQ(), not near the calls
to them.
--
~Randy
| Nov 19, 10:18 am 2008 |
| Jens Axboe | Re: in 2.6.23-rc3-git7 in do_cciss_intr
I'd propose just converting it to list_head instead of doing it
manually. Heck, that should be a 5 minute job, let me just do it...
OK, here it is, totally untested (it compiles, must be golden...)
3 files changed, 24 insertions(+), 40 deletions(-)
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 12de1fd..d2923de 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -215,30 +215,17 @@ static struct block_device_operations cciss_fops = {
/*
* Enqueuing ...
| Nov 19, 1:46 pm 2008 |
| Randy Dunlap | Re: in 2.6.23-rc3-git7 in do_cciss_intr
Done (separately).
I need to back up a bit. Yesterday these BUGs happened consistenly,
so I wondered why. Then I recalled that for debugging another bug/problem,
I had changed the test system's normal boot kernel from 2.6.25 to
2.6.18-8. The test system is used to build and then boot the new kernel
*via kexec*, so it's quite possible (or certain) that something in the kexec
world has been fixed since 2.6.18. I don't recall seeing this problem
lately when using 2.6.25 to kexec/boot the ...
| Nov 19, 10:22 am 2008 |
| Miller, Mike (OS Dev) | RE: in 2.6.23-rc3-git7 in do_cciss_intr
Randy,
I still can't reproduce this bug. I have your config file on a BL465c w/e200i. Just to confirm, you only see this at init time, correct?
Please post your debug patch as Jens requested.
-- mikem
--
| Nov 19, 10:00 am 2008 |
| Miller, Mike (OS Dev) | RE: in 2.6.23-rc3-git7 in do_cciss_intr
I agree, I'll fix.
-- mikem
--
| Nov 19, 12:15 pm 2008 |
| Michael Kerrisk | Re: CLONE_IO documentation
Hi Jens,
Following up after a long time on this:
I took your text as a base but did some reworking, so *please check
the following carefully*, and let me know if there are things to
change and/or add:
CLONE_IO (since Linux 2.4.25)
If CLONE_IO is set, then the new process shares an I/O
context with the calling process. If this flag is not
set, then (as with fork(2)) the new process has its own
I/O context.
...
| Nov 19, 3:30 pm 2008 |
| Németh Márton | Re: AE_ERROR, ACPI thermal trip point state changed
Hi,
Andi Kleen wrote:
> N
| Nov 19, 3:20 pm 2008 |
| Andi Kleen | Re: AE_ERROR, ACPI thermal trip point state changed
Hmm sorry I must have confused it with some other patch back then.
Anyways Len Brown is handling ACPI again now, so he'll have to sort
it out. cc'ed (the original patch is on linux-acpi)
-Andi
--
| Nov 19, 4:22 pm 2008 |
| mikie | Re: understanding firmware loader for speedtouch (kernel ...
On Wed, Jul 25, 2007 at 12:03 AM, Duncan Sands
Duncan, as you remember we discussed 1 year ago speed issues with
Speedtouch driver. Please let me know if the driver has been fixed to
support higher speeds? Or is it still limited to 3Mbaud top ?
Regards,
MK
--
| Nov 19, 5:25 am 2008 |
| Duncan Sands | Re: understanding firmware loader for speedtouch (kernel ...
Nothing changed, so I suppose it is still slow. I'm not planning
to work on this - I no longer have any interest in these modems
(I should really remove myself as maintainer).
Sorry for the bad news,
Duncan.
--
| Nov 19, 5:49 am 2008 |
| previous day | today | next day |
|---|---|---|
| November 18, 2008 | November 19, 2008 | November 20, 2008 |
