linux-kernel mailing list

FromSubjectsort iconDate
Casey Schaufler
[PATCH] [RFC] Smack: unlabeled outgoing ambient packets - v2
From: Casey Schaufler <casey@schaufler-ca.com> Smack uses CIPSO labeling, but allows for unlabeled packets by specifying an "ambient" label that is applied to incoming unlabeled packets. Because the other end of the connection may dislike IP options, and ssh is one know application that behaves thus, it is prudent to respond in kind. This patch changes the network labeling behavior such that an outgoing packet that would be given a CIPSO label that matches the ambient label is left unlabeled...
Feb 11, 2:29 pm 2008
Yinghai Lu
Re: [PATCH] hwmon: (adm1026) Properly terminate sysfs groups...
LBSuse:/x/kernel.org # ./i2cdetect 1 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-1. I will probe address range 0x03-0x77. Continue? [Y/n] y 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- 08 -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- 18 19 -- -- 1c 1d -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- UU UU -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: 40 41 -- -- -- -- -- -- 48 49 4a -- ...
Feb 11, 7:39 pm 2008
Jonathan Corbet
[PATCH] Avoid buffer overflows in get_user_pages()
Avoid buffer overflows in get_user_pages() So I spent a while pounding my head against my monitor trying to figure out the vmsplice() vulnerability - how could a failure to check for *read* access turn into a root exploit? It turns out that it's a buffer overflow problem which is made easy by the way get_user_pages() is coded. In particular, "len" is a signed int, and it is only checked at the *end* of a do {} while() loop. So, if it is passed in as zero, the loop will execute once and decreme...
Feb 11, 7:17 pm 2008
Nick Piggin Feb 11, 7:45 pm 2008
Lukas Hejtmanek
2.6.25-rc1 regression - suspend to ram
Hello, 2.6.25-rc1 takes really long time till it suspends (about 30-40secs, used to be about 5 secs at all) and it is resuming about few minutes. While resuming, capslock toggles the capslock led but with few secs delay. 2.6.24-git15 was OK. 2.6.24 is OK. I have Lenovo ThinkPad T61. -- Lukáš Hejtmánek --
Feb 11, 6:58 pm 2008
Jesse Barnes
Re: 2.6.25-rc1 regression - suspend to ram
Oh, you're lucky, I couldn't get my T61 to suspend at all with 2.6.25-rc1... Len found that it'll work again with idle=poll, but that'll cost you a lot of battery life... Oh and make sure you have i915 loaded before you suspend if you want your text console to come back. Jesse --
Feb 11, 7:16 pm 2008
R. J. Wysocki
Re: 2.6.25-rc1 regression - suspend to ram
If you have CONFIG_CPU_IDLE set, please try to boot with idle=poll and see if that helps. Thanks, Rafael --
Feb 11, 7:10 pm 2008
Venki Pallipadi
Re: 2.6.25-rc1 regression - suspend to ram
Just sent this patch to fix a regression in acpi processor_idle.c on another thread. Can you try the patch below and check whether that helps. Thanks, Venki Earlier patch (bc71bec91f9875ef825d12104acf3bf4ca215fa4) broke suspend resume on many laptops. The problem was reported by Carlos R. Mafra and Calvin Walton, who bisected the issue to above patch. The problem was because, C2 and C3 code were calling acpi_idle_enter_c1 directly, with C2 or C3 as state parameter, while suspend/resume was...
Feb 11, 7:22 pm 2008
Jesse Barnes
Re: 2.6.25-rc1 regression - suspend to ram
Excellent, that patch makes things work for me (including console restore). Thanks a lot Venki. Jesse --
Feb 11, 7:32 pm 2008
mark gross
[PATCH]intel-iommu batched iotlb flushes
The intel-iommu hardware requires a polling operation to flush IOTLB PTE's after an unmap operation. Through some TSC instrumentation of a netperf UDP stream with small packets test case it was seen that the flush operations where sucking up to 16% of the CPU time doing iommu_flush_iotlb's The following patch batches the IOTLB flushes removing most of the overhead in flushing the IOTLB's. It works by building a list of to be released IOVA's that is iterated over when a timer goes off or when a h...
Feb 11, 6:41 pm 2008
Randy Dunlap Feb 11, 7:27 pm 2008
Roland McGrath
[PATCH 2.6.25] x86: vdso_install fix
The makefile magic for installing the 32-bit vdso images on disk had a little error. Only one line of change would fix that bug. This does a little more to reduce the error-prone duplication of this bit of makefile variable magic. Signed-off-by: Roland McGrath <roland@redhat.com> --- arch/x86/vdso/Makefile | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile index d28dda5..f385a4b 100644 --- a/a...
Feb 11, 6:38 pm 2008
Pekka J Enberg
[PATCH] slob: fix linking for user mode linux
From: Pekka Enberg <penberg@cs.helsinki.fi> UML has some header magic that expects a non-inline __kmalloc() function to be available. Fixes the following link time errors: arch/um/drivers/built-in.o: In function `kmalloc': /home/penberg/linux-2.6/arch/um/include/um_malloc.h:14: undefined reference to `__kmalloc' /home/penberg/linux-2.6/arch/um/include/um_malloc.h:14: undefined reference to `__kmalloc' /home/penberg/linux-2.6/arch/um/include/um_malloc.h:14: undefined reference to `__kmalloc' ...
Feb 11, 6:32 pm 2008
Matt Mackall
Re: [PATCH] slob: fix linking for user mode linux
Can someone explain why the magic is needed (and preferably capture it in a comment somewhere sensible)? I took a peek at this and have no idea what's going on. -- Mathematics is the supreme nostalgia of our time. --
Feb 11, 6:39 pm 2008
Christoph Lameter
Re: [PATCH] slob: fix linking for user mode linux
UML defined its own external __kmalloc and things. Isnt there some other way to fix it? I guess including slab.h is not possible here? /* * Copyright (C) 2005 Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> * Licensed under the GPL */ #ifndef __UM_MALLOC_H__ #define __UM_MALLOC_H__ #include "kern_constants.h" extern void *__kmalloc(int size, int flags); static inline void *kmalloc(int size, int flags) { return __kmalloc(size, flags); } extern void kfree(c...
Feb 11, 6:44 pm 2008
Jeff Dike
Re: [PATCH] slob: fix linking for user mode linux
This is definitely dubious code on my part and I wouldn't support Pekka's patch unless you're going to uninline __kmalloc for some other reason. The reason for this is that part of UML is userspace code, and thus can't use kernel headers. However, they do need some kernel interfaces in some form. That form has traditionally been little wrappers in the kernel side of UML which just call the kernel interface. In this case, there used to be um_kmalloc, which just called kmalloc. I've been tryi...
Feb 11, 7:32 pm 2008
Priit Laes
REGRESSION: x86 vDSO: remove vdso-syms.o
I started getting following linking error on amd64 after the 2.6.25 patch floodgates were opened: [snip] CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/x86/vdso/built-in.o: In function `init_vdso_vars': vma.c:(.init.text+0x170): undefined reference to `VDSO64_vgetcpu_mode' vma.c:(.init.text+0x1a3): undefined reference to `VDSO64_vsyscall_gtod_data' vma.c:(.init.text+0x1aa): undefined reference ...
Feb 11, 6:30 pm 2008
Roland McGrath
Re: REGRESSION: x86 vDSO: remove vdso-syms.o
I was not able to reproduce this failure. Those symbols should be defined by arch/x86/vdso/vdso-syms.lds, a file generated by the build. If that file is empty in your build, remove it and see if it gets regenerated properly, or try a clean build. If the problem persists, please send me your complete .config file. Thanks, Roland --
Feb 11, 6:53 pm 2008
Ingo Molnar
Re: REGRESSION: x86 vDSO: remove vdso-syms.o
if that file is empty, it might be the effect of a Ctrl-C. I sometimes get that on .o files, if i Ctrl-C a highly parallel make -j at the wrong moment. (is this expected behavior? It's been like this for a long time.) Ingo --
Feb 11, 7:16 pm 2008
Roland McGrath
Re: REGRESSION: x86 vDSO: remove vdso-syms.o
It is the known situation with the compiler since the dawn of time, yes. It just writes the file directly, so if it dies in the middle, there's a file with a fresh date. For things like this done in makefile commands with >, it has forever been canonical for the anal to use: ... > $@.new mv -f $@.new $@ which avoids the problem. The kernel makefiles are entirely haphazard about places that do this or don't. It uglifies the commands, but avoids the problem of freshly-dated but wrong/...
Feb 11, 7:23 pm 2008
Roland McGrath
Re: REGRESSION: x86 vDSO: remove vdso-syms.o
Sam might want to experiment with something like: stdout_target = $(1) > $(@D)/.tmp_$(@F) && mv -f $(@D)/.tmp_$(@F) $@ cmd_foo = $(call stdout_target,blah | sed s/foo/bar/) to clean up all the places that would benefit from robust treatment for output files vs interrupted/erring make runs. Thanks, Roland --
Feb 11, 7:29 pm 2008
Olof Johansson
[PATCH] Execute tasklets in the same order they were queued
I noticed this when looking at an openswan issue. Openswan (ab?)uses the tasklet API to defer processing of packets in some situations, with one packet per tasklet_action(). I started noticing sequences of reverse-ordered sequence numbers coming over the wire, since new tasklets are always queued at the head of the list but processed sequentially. Convert it to instead append new entries to the tail of the list. As an extra bonus, the splicing code in takeover_tasklets() no longer has to iterate ov...
Feb 11, 6:28 pm 2008
Andrew Morton
Re: [PATCH] Execute tasklets in the same order they were que...
On Mon, 11 Feb 2008 16:28:13 -0600 hm, I'd have thought that this would already have caused problems in networking. And perhaps this change might have effects on networking too? Probably it won't have _much_ effect on networking because networking probably isn't queueing one tasklet per packet(!) but perhaps with bonded channels or something like that? --
Feb 11, 6:49 pm 2008
Roland Dreier
[GIT PULL] please pull infiniband.git
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will get one build fix: Olof Johansson (1): mlx4_core: Fix build break (missing include) drivers/net/mlx4/alloc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/mlx4/alloc.c b/drivers/net/mlx4/all...
Feb 11, 6:25 pm 2008
Mike Miller
[PATCH 1/1] cciss: procfs updates to display info about many...
Patch 1 of 1 This patch allows us to display information about all of the logical volumes configured on a particular without stepping on memory even when there are many volumes (128 or more) configured. This patch replaces the one submitted on 20071214. See http://groups.google.com/group/linux.kernel/browse_thread/thread/49a50244b19f8855/ba3d... which has not been merged. That patch displayed information about only the first logical volume on ...
Feb 11, 6:09 pm 2008
mark gross
iova RB tree setup tweak.
The following patch merges two functions into one allowing for a 3% reduction in overhead in locating, allocating and inserting pages for use in IOMMU operations. Its a bit of a eye-crosser so I welcome any RB-tree / MM experts to take a look. It works by re-using some of the information gathered in the search for the pages to use in setting up the IOTLB's in the insertion of the iova structure into the RB tree. --mgross Singed-off-by: <mgross@linux.intel.com> Index: linux-2.6.24-m...
Feb 11, 5:56 pm 2008
Andrew Morton
Re: iova RB tree setup tweak.
On Mon, 11 Feb 2008 13:56:51 -0800 I guess this is a PCI patch hence I'd be tagging is as For some reason patch(1) claims that the patch is corrupted at this line. --
Feb 11, 6:29 pm 2008
Hiroshi Shimamoto
[RFC PATCH] RTTIME watchdog timer proc interface
Hi Ingo, I think an interface to access RLIMIT_RTTIME from outside is useful. It makes administrator able to set RLIMIT_RTTIME watchdog to existing real-time applications without impact. I implemented that interface with /proc filesystem. --- From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Introduce new proc interface for RTTIME watchdog. It makes administrator able to set RTTIME watchdog to existing applications. $ echo 10000000 > /proc/<pid>/rttime set RTTIME current...
Feb 11, 5:44 pm 2008
Peter Zijlstra
Re: [RFC PATCH] RTTIME watchdog timer proc interface
/proc/<pid>/tasks/<tid>/rttime might also make sense. --
Feb 11, 5:52 pm 2008
Alexey Dobriyan
Re: [RFC PATCH] RTTIME watchdog timer proc interface
As well as /proc/*/limits for all kinds of rlimit stuff. --
Feb 11, 7:03 pm 2008
Geert Uytterhoeven
[PATCH] ide: Add missing base addresses for falconide and ma...
commit 29dd59755a849cc6475faa6a75f3b804e23a6fc2 ("ide: remove ide_setup_ports") forgot to take into account the base addresses for the CONTROL registers for falconide and macide, as pointed out by Michael Schmitz. Falconide was tested on Aranym. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Michael Schmitz <schmitz@debian.org> --- drivers/ide/legacy/falconide.c | 2 +- drivers/ide/legacy/macide.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --...
Feb 11, 5:34 pm 2008
Leonardo Potenza
[PATCH] block/genhd.c: compilation warning fix
From: Leonardo Potenza <lpotenza@inwind.it> Added a check for the class_register() return value. Signed-off-by: Leonardo Potenza <lpotenza@inwind.it> --- The aim of this patch is to remove the following warning message: block/genhd.c: In function 'genhd_device_init': block/genhd.c:361: warning: ignoring return value of 'class_register', declared with attribute warn_unused_result --- linux-2.6.orig/block/genhd.c +++ linux-2.6/block/genhd.c @@ -358,7 +358,12 @@ static struct kobje...
Feb 11, 5:10 pm 2008
Matej Laitl
[ALSA] HDA: no sound in headphone-out caused by commit f889f...
Hi, after upgrading from 2.6.24 to 2.6.25-rc1, I lost headphone-out sound output of my Intel HDA card - it is quiet no matter what the mixer settings are. After playing wit git bisect a bit, I narrowed it down to commit f889fa91ad47e "[ALSA] hda-codec - Improve the auto-configuration". [1] It works okay with tree as of previous commit 69b1f1e8337fc9. First lines from /proc/asound/Intel/codec#0: Codec: Realtek ALC262 Address: 0 Vendor Id: 0x10ec0262 Subsystem Id: 0x17340000 Revision Id: 0x1...
Feb 11, 4:58 pm 2008
Alan D. Brunelle
IO queueing and complete affinity w/ threads: Some results
The test case chosen may not be a very good start, but anyways, here are some initial test results with the "nasty arch bits". This was performed on a 32-way ia64 box with 1 terrabyte of RAM, and 144 FC disks (contained in 24 HP MSA1000 RAID controlers attached to 12 dual-port adapters). Each test case was run for 3 minutes. I had one application per device performing a large amount of direct/asynchronous large reads. Here's the table of results, with explanation below (results are for all 144 devices eithe...
Feb 11, 4:56 pm 2008
Pekka J Enberg
[PATCH] slub: kmalloc page allocator pass-through cleanup
From: Pekka Enberg <penberg@cs.helsinki.fi> This adds a proper function for kmalloc page allocator pass-through. While it simplifies any code that does slab tracing code a lot, I think it's a worthwhile cleanup in itself. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- include/linux/slub_def.h | 8 ++++++-- mm/slub.c | 14 ++++++-------- 2 files changed, 12 insertions(+), 10 deletions(-) Index: linux-2.6/include/linux/slub_def.h =====================...
Feb 11, 4:47 pm 2008
Christoph Lameter
Re: [PATCH] slub: kmalloc page allocator pass-through cleanup
Thanks, queued to slab-linus and slab-mm. --
Feb 11, 4:52 pm 2008
Harvey Harrison
[PATCH] Remove CONFIG_FORCE_INLINING from defconfigs
Option has been removed as of: 185c045c245f46485ad8bbd8cc1100e986ff3f13 x86, core: remove CONFIG_FORCED_INLINING Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- Patch against 2.6.25-rc1 arch/arm/configs/at91cap9adk_defconfig | 1 - arch/arm/configs/at91sam9260ek_defconfig | 1 - arch/arm/configs/at91sam9261ek_defconfig | 1 - arch/arm/configs/at91sam9263ek_defconfig | 1 - arch/arm/configs/at91sam9rlek_defconfig | 1 - ...
Feb 11, 4:29 pm 2008
Adrian Bunk
Re: [PATCH] Remove CONFIG_FORCE_INLINING from defconfigs
I'm not a fan of patching defconfig's this way - this will only bring tons of patch conflicts (consider what happens when anyone already has a completely updated defconfig in his tree and your patch goes in first). What you do manually already happens automatically when a maintainer updates a defconfig. And for not regularly updated defconfigs one obsolete option more or less does not matter at all - even more since apart from a warning there's anyway no problem. cu Adrian -- ...
Feb 11, 4:53 pm 2008
Harvey Harrison
Re: [PATCH] Remove CONFIG_FORCE_INLINING from defconfigs
OK, I just figured it was my patch that went in removing it, so I should submit a full-removal for completeness. If it will just cause problems, no need for it to be applied. Harvey --
Feb 11, 5:05 pm 2008
Kevin Lloyd
[PATCH] usb: serial: move zte MF330 from sierra to option
From: Kevin Lloyd <linux@sierrawireless.com> Moves the Onda H600/ZTE MF33 device from the sierra driver to the option driver. Signed-off-by: Kevin Lloyd <klloyd@sierrawireless.com> --- drivers/usb/serial/sierra.c | 1 - drivers/usb/serial/option.c | 2 + 2 files changed, 2 insertions(+), 1 deletion(-) --- linux-2.6.25-rc1/drivers/usb/serial/sierra.c.orig 2008-02-11 11:34:06.000000000 -0800 +++ linux-2.6.25-rc1/drivers/usb/serial/sierra.c 2008-02-11 11:34:36.000000000 -0800 ...
Feb 11, 4:29 pm 2008
Nur Hussein
[PATCH 1/1] Taint kernel after WARN_ON(condition)
This patch will taint the kernel with a new flag, 'W', whenever a warning is issued with WARN_ON(condition). Whenever a warning occurs, it is helpful to record this within the kernel state as a taint. When a BUG happens, it'd be useful to know if it was also preceded by a WARN. This patch applies to Linus's git tree. Signed-off-by: Nur Hussein (nurhussein@gmail.com) --- diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h index 2632328..0633e96 100644 --- a/include/asm-generic/b...
Feb 11, 3:52 pm 2008
Randy Dunlap
Re: [PATCH 1/1] Taint kernel after WARN_ON(condition)
Oops. Both 'A' and 'W' also need to be added to --- ~Randy --
Feb 11, 4:28 pm 2008
Josef 'Jeff' Sipek
Re: [PATCH 1/1] Taint kernel after WARN_ON(condition)
Any architecture that has it's own WARN_ON will not taint the kernel. Speaking of WARN_ON... $ git-grep "[^A-Za-z_0-9]WARN_ON(1)" | wc -l 180 Maybe making a WARN() (similar to BUG) that does an unconditional warning (and sets the taint flag) and having a simple wrapper around it for the conditional WARN_ON would be worth it? Hm...looks like some of the USB folks have a #define'd WARN to something quite a bit more complex (format string, etc.) Josef 'Jeff' Sipek. -- Linux, n.: Gene...
Feb 11, 4:20 pm 2008
Jeff Garzik
[git patches] libata fixes
Please pull from 'upstream-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-fixes to receive the following updates: drivers/ata/libata-core.c | 48 +++++++++++++++++++++++++++++------------- drivers/ata/pata_amd.c | 2 +- drivers/ata/pata_legacy.c | 2 +- drivers/ata/pata_ninja32.c | 9 ++++++- drivers/ata/pata_via.c | 6 ++++- drivers/ata/sata_mv.c | 50 ++++++++++++++++++++++++------------------- 6 files changed, 75...
Feb 11, 3:51 pm 2008
Jiri Kosina
Re: [Patch] Elf loader crash while zero-filling .bss
Now, the question is whether it is valid for ELF binary to not have the end of .bss section (if present at all) not page-aligned. -- Jiri Kosina SUSE Labs --
Feb 11, 3:28 pm 2008
H. Peter Anvin
Re: [Patch] Elf loader crash while zero-filling .bss
Why wouldn't it be? It would, however, be valid to the kernel to round it up to the next boundary. -hpa --
Feb 11, 4:35 pm 2008
Jiri Kosina
Re: [Patch] Elf loader crash while zero-filling .bss
I wasn't immediately sure if there is nothing in ELF specification that would forbid that. Then I think that Abel's patch is correct. -- Jiri Kosina SUSE Labs --
Feb 11, 4:40 pm 2008
Andreas Schwab
Re: [Patch] Elf loader crash while zero-filling .bss
The only requirement for a loadable segment is that its address is congruent modulo alignment with the file offset. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." --
Feb 11, 6:14 pm 2008
Glauber Costa
[PATCH 1/5] Change vsmp compile dependency
Change Makefile so vsmp_64.o object is dependent on PARAVIRT, rather than X86_VSMP Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ravikiran Thirumalai <kiran@scalemp.com> Acked-by: Shai Fultheim <shai@scalemp.com> --- arch/x86/kernel/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 21dc1a0..71a92a2 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile ...
Feb 11, 3:16 pm 2008
Glauber Costa
[PATCH 2/5] [PATCH] make vsmp_init void, instead of static int
Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ravikiran Thirumalai <kiran@scalemp.com> Acked-by: Shai Fultheim <shai@scalemp.com> --- arch/x86/kernel/vsmp_64.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c index d971210..9766917 100644 --- a/arch/x86/kernel/vsmp_64.c +++ b/arch/x86/kernel/vsmp_64.c @@ -16,20 +16,20 @@ #include <linux/pci_regs.h> #include <asm/pci...
Feb 11, 3:16 pm 2008
previous daytodaynext day
February 10, 2008February 11, 2008February 12, 2008