[PATCH for review] [2/48] i386: fix section mismatch warning in intel_cacheinfo

2007-07-19 Thread Andi Kleen
From: Sam Ravnborg [EMAIL PROTECTED] Fix following warning: WARNING: arch/i386/kernel/built-in.o(.init.text+0x3818): Section mismatch: reference to .exit.text:cache_remove_dev (between 'cacheinfo_cpu_callback' and 'cache_sysfs_init') It points out that a function marked __cpuexit is calling a

[PATCH for review] [3/48] i386: do not restore reserved memory after hibernation

2007-07-19 Thread Andi Kleen
From: Rafael J. Wysocki [EMAIL PROTECTED] On some systems the ACPI NVS area is located in the first 1 MB of RAM and it is overwritten by the i386 code during the restore after hibernation. This confuses the ACPI platform firmware that doesn't update the AC adapter status appropriately as a

[PATCH for review] [4/48] i386: DMI_MATCH patch in reboot.c for SFF Dell OptiPlex 745 - fixes hang on reboot

2007-07-19 Thread Andi Kleen
From: James Jarvis [EMAIL PROTECTED] The following patch enables reboot through BIOS on the Dell Optiplex 745 Small Form Factor base, on which reboot hangs. The larger form factor does not require this, hence the match on DMI_BOARD_NAME. Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Andrew

[PATCH for review] [5/48] i386: HPET, check if the counter works

2007-07-19 Thread Andi Kleen
From: Thomas Gleixner [EMAIL PROTECTED] Some systems have a HPET which is not incrementing, which leads to a complete hang. Detect it during HPET setup. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Cc: john stultz

[PATCH for review] [6/48] x86: trim memory not covered by WB MTRRs

2007-07-19 Thread Andi Kleen
From: Jesse Barnes [EMAIL PROTECTED] On some machines, buggy BIOSes don't properly setup WB MTRRs to cover all available RAM, meaning the last few megs (or even gigs) of memory will be marked uncached. Since Linux tends to allocate from high memory addresses first, this causes the machine to be

[PATCH for review] [7/48] i386: divorce CONFIG_X86_PAE from CONFIG_HIGHMEM64G

2007-07-19 Thread Andi Kleen
From: William Lee Irwin III [EMAIL PROTECTED] PAE is useful for more than supporting more than 4GB RAM. It supports expanded swapspace and NX executable protections. Some users may want NX or expanded swapspace support without the overhead or instability of highmem. For these reasons, the

[PATCH for review] [8/48] i386: Remove unneeded test of 'task' in dump_trace()

2007-07-19 Thread Andi Kleen
From: Jesper Juhl [EMAIL PROTECTED] Remove unneeded test of task != NULL from arch/i386/kernel/traps.c::dump_trace() At the start of the function we have this test: if (!task) task = current; so further down there's no need to test 'task'. Signed-off-by: Jesper Juhl

[PATCH for review] [9/48] i386: move the kernel to 16MB for NUMA-Q

2007-07-19 Thread Andi Kleen
From: Andy Whitcroft [EMAIL PROTECTED] We are seeing corruption of the decompressed kernel. It is suspected that this is platform specific as it has yet to be seen on any other x86. Move the kernel to the 16MB boundary. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Signed-off-by: Andrew

[PATCH for review] [10/48] x86_64: Move functions declarations to header file

2007-07-19 Thread Andi Kleen
From: Glauber de Oliveira Costa [EMAIL PROTECTED] Some interrupt entry points are currently defined in i8259.c They probably belong in a header. Right now, their only user is init_IRQ, justifying their declaration in-file. But when virtualization comes in, we may be interested in using that

[PATCH for review] [11/48] x86_64: During VM oom condition, kill all threads in process group

2007-07-19 Thread Andi Kleen
From: Will Schmidt [EMAIL PROTECTED] During a VM oom condition, kill all threads in the process group. We have had complaints where a threaded application is left in a bad state after one of it's threads is killed when we hit a VM: out_of_memory condition. Killing just one of the process

[PATCH for review] [12/48] x86_64: use the global PIT lock

2007-07-19 Thread Andi Kleen
From: Thomas Gleixner [EMAIL PROTECTED] Replace the pcspkr private PIT lock by the global PIT lock to serialize the PIT access all over the place. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: Dmitry Torokhov

[PATCH for review] [13/48] x86_64: fix typo in acpi_pm.c

2007-07-19 Thread Andi Kleen
From: Alessio Igor Bogani [EMAIL PROTECTED] Signed-off-by: Alessio Igor Bogani [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: john stultz [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/clocksource/acpi_pm.c |2 +- 1 file changed, 1

[PATCH for review] [14/48] x86_64: lower printk severity

2007-07-19 Thread Andi Kleen
From: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86_64/kernel/process.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[PATCH for review] [15/48] x86_64: fix wrong comment regarding set_fixmap()

2007-07-19 Thread Andi Kleen
From: Jiri Kosina [EMAIL PROTECTED] The function name is set_fixmap(), not fixmap_set() as stated in the comment. Also fix a typo, punctuation and lower/uppercase a bit. Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Jiri Kosina [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED]

[PATCH for review] [16/48] x86_64: Geode HW Random Number Generator depends on X86_32

2007-07-19 Thread Andi Kleen
From: Yinghai Lu [EMAIL PROTECTED] Signed-off-by: Yinghai Lu [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Acked-by: Alan Cox [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/char/hw_random/Kconfig |2 +- 1 file changed, 1 insertion(+), 1

[PATCH for review] [17/48] x86_64: change _map_single to static in pci_gart.c etc

2007-07-19 Thread Andi Kleen
From: Yinghai Lu [EMAIL PROTECTED] This function is called via dma_ops-.., so change it to static Signed-off-by: Yinghai Lu [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86_64/kernel/pci-gart.c |6 +++---

[PATCH for review] [18/48] x86_64: flush_tlb_kernel_range() warning fix

2007-07-19 Thread Andi Kleen
From: Andrew Morton [EMAIL PROTECTED] mm/vmalloc.c: In function 'unmap_kernel_range': mm/vmalloc.c:75: warning: unused variable 'start' make it a C function so that the compiler thinks it used its arguments. Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED]

[PATCH for review] [19/48] i386: add cpu_relax() to cmos_lock()

2007-07-19 Thread Andi Kleen
From: Andreas Mohr [EMAIL PROTECTED] Add cpu_relax() to cmos_lock() inline function for faster operation on SMT CPUs and less power consumption on others in case of lock contention (which probably doesn't happen too often, so admittedly this patch is not too exciting). [EMAIL PROTECTED]:

[PATCH for review] [20/48] i386: replace hard-coded constant with appropriate macro from kernel.h

2007-07-19 Thread Andi Kleen
From: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- include/asm-i386/uaccess.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[PATCH for review] [21/48] x86_64: disable the GART in shutdown

2007-07-19 Thread Andi Kleen
From: Yinghai Lu [EMAIL PROTECTED] For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when using kexec to load second kernel. In the second kernel, when mem is allocated for GART, it will do the memset for clear, it will cause restart, because some device

[PATCH for review] [22/48] x86_64: fix e820_hole_size based on address ranges

2007-07-19 Thread Andi Kleen
From: David Rientjes [EMAIL PROTECTED] e820_hole_size() now uses the newly extracted helper function, e820_find_active_region(), to determine the size of usable RAM in a range of PFN's. This was previously broken because of two reasons: - The start and end PFN's of each e820 entry were not

[PATCH for review] [23/48] x86_64: disable srat when numa emulation succeeds

2007-07-19 Thread Andi Kleen
From: David Rientjes [EMAIL PROTECTED] When NUMA emulation succeeds, acpi_numa needs to be set to -1 so that srat_disabled() will always return true. We won't be calling acpi_scan_nodes() or registering the true nodes we've found. [EMAIL PROTECTED]: Fix x86_64 CONFIG_NUMA_EMU build: acpi_numa

[PATCH for review] [24/48] x86_64: move iommu declaration from proto to iommu.h

2007-07-19 Thread Andi Kleen
From: Yinghai Lu [EMAIL PROTECTED] [EMAIL PROTECTED]: build fix] Signed-off-by: Yinghai Lu [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Cc: Alan Cox [EMAIL PROTECTED] Cc: Eric W. Biederman [EMAIL PROTECTED] Cc: Muli Ben-Yehuda [EMAIL PROTECTED]

[PATCH for review] [25/48] i386: remove volatile in apic.c

2007-07-19 Thread Andi Kleen
From: Thomas Gleixner [EMAIL PROTECTED] Remove the volatile in apic. We have a cpu_relax() in the wait loop. Fix a coding style issue while at it. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Cc: Ingo Molnar

[PATCH for review] [26/48] i386: hpet assumes boot cpu is 0

2007-07-19 Thread Andi Kleen
From: Chris Wright [EMAIL PROTECTED] I fixed this in x86_64. Looks like the kind of thing that will break voyager on i386. Signed-off-by: Chris Wright [EMAIL PROTECTED] Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL

[PATCH for review] [27/48] i386: move PIT function declarations and constants to correct header file

2007-07-19 Thread Andi Kleen
From: Thomas Gleixner [EMAIL PROTECTED] setup_pit_timer is declared in asm-i386/timer.h. Move it to the pit header file, so it can be used by x86_64 as well. Move also the PIT constants. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi

[PATCH for review] [28/48] i386: fix iounmap's use of vm_struct's size field

2007-07-19 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] get_vm_area always returns an area with an adjacent guard page. That guard page is included in vm_struct.size. iounmap uses vm_struct.size to determine how much address space needs to have change_page_attr applied to it, which will BUG if applied to

[PATCH for review] [29/48] x86_64: arch/x86_64/kernel/aperture.c lower printk severity

2007-07-19 Thread Andi Kleen
From: Dan Aloni [EMAIL PROTECTED] Users that use kernel log filtering (e.g. via syslogd or a proprietry method) wouldn't like to see warning prints that are not really warnings. Signed-off-by: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Andi Kleen

[PATCH for review] [30/48] x86_64: arch/x86_64/kernel/e820.c lower printk severity

2007-07-19 Thread Andi Kleen
From: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Dan Aloni [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86_64/kernel/e820.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[PATCH for review] [31/48] i386: basic infrastructure support for AMD geode-class machines

2007-07-19 Thread Andi Kleen
From: Andres Salomon [EMAIL PROTECTED] This builds upon the existing geode infrastructure, but adds southbridge support, some GPIO functions, and a header file (asm-i386/geode.h) with some useful GX/LX detection tests. The majority of this code was written by Jordan Crouse. Signed-off-by:

[PATCH for review] [32/48] i386: insert HPET firmware resource after PCI enumeration has completed

2007-07-19 Thread Andi Kleen
From: Aaron Durbin [EMAIL PROTECTED] Insert HPET resources after pci probing has been completed in order to avoid resource conflicts with PCI resource reservation. With this change the HPET firmware resources will be identified, but it should also not cause issues when the HPET address falls on

[PATCH for review] [33/48] i386: remove old IRQ balancing debug cruft

2007-07-19 Thread Andi Kleen
From: Stefan Richter [EMAIL PROTECTED] Dead or misnamed CONFIG_BALANCED_IRQ_DEBUG found by Robert P. J. Day. It's not a Kconfig variable. Since this debug code is ancient, I suggest to get rid of this misleading CONFIG_ macro by deleting all of this debug code. Signed-off-by: Stefan Richter

[PATCH for review] [35/48] x86_64: remove __smp_alt* sections

2007-07-19 Thread Andi Kleen
From: Jan Beulich [EMAIL PROTECTED] Leftovers from the removal of the more general (but abandoned) SMP alternatives. Signed-off-by: Jan Beulich [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] arch/x86_64/kernel/vmlinux.lds.S |9 - 1 file changed, 9 deletions(-)

[PATCH for review] [34/48] i386: Update alignment when 4K stacks are used.

2007-07-19 Thread Andi Kleen
From: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- it's not clear from MAINTAINERS who's responsible for something this generic. --- arch/i386/kernel/irq.c |8 ++-- 1 file changed, 2

[PATCH for review] [36/48] x86_64: k8topology add family 10h and 11h PCI IDs

2007-07-19 Thread Andi Kleen
From: Joachim Deguara [EMAIL PROTECTED] This just adds the PCI IDs of AMD's family 10h and 11h CPU's northbridges to k8topology discovery. Signed-off-by: Joachim Deguara [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] -- --- arch/x86_64/mm/k8topology.c |8 ++-- 1 file

[PATCH for review] [37/48] x86_64: make k8topology multi-core aware

2007-07-19 Thread Andi Kleen
From: Joachim Deguara [EMAIL PROTECTED] This makes k8topology multicore aware instead of limited to signle- and dual-core CPUs. It uses the CPUID to be more future proof. Signed-off-by: Joachim Deguara [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] -- ---

[PATCH for review] [38/48] x86_64: Put allocated ELF notes in read-only data segment

2007-07-19 Thread Andi Kleen
From: Roland McGrath [EMAIL PROTECTED] This changes the x86_64 linker script to use the asm-generic NOTES macro so that ELF note sections with SHF_ALLOC set are linked into the kernel image along with other read-only data. The PT_NOTE also points to their location. This paves the way for

[patch 0/4] PS3 storage driver updates (was: Re: [patch 1/3] ps3: Disk Storage Driver)

2007-07-19 Thread Geert Uytterhoeven
Hi Andrew, On Thu, 19 Jul 2007, Andrew Morton wrote: On Thu, 19 Jul 2007 10:57:53 +0200 (CEST) Geert Uytterhoeven [EMAIL PROTECTED] wrote: On Wed, 18 Jul 2007, Andrew Morton wrote: Your patchset significantly hits powerpc, scsi and block. So who gets to merge this? Jens?

Re: [PATCH for review] [31/48] i386: basic infrastructure support for AMD geode-class machines

2007-07-19 Thread Andi Kleen
+/* Specific geode tests */ + +static inline int is_geode_gx(void) +{ + return ((boot_cpu_data.x86_vendor == X86_VENDOR_NSC) + (boot_cpu_data.x86 == 5) + (boot_cpu_data.x86_model == 5)); +} My docs imply this could also be 5,5,VENDOR_CYRIX ? Mot sure

[patch 1/4] ps3disk: use correct bio vector size

2007-07-19 Thread Geert Uytterhoeven
ps3disk: use correct bio vector size This fixes the O_DIRECT corruptions, as reported by Olaf Hering (triggered by e.g. parted = 1.8.0). Signed-off-by: Geert Uytterhoeven [EMAIL PROTECTED] --- drivers/block/ps3disk.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) ---

Re: [PATCH] net/, drivers/net/ , missing EXPERIMENTAL in menus

2007-07-19 Thread Stefan Richter
Robert P. J. Day wrote: i *did* submit a preliminary patch once upon a time, and it (predictably) went nowhere. A patch which pulls the word experimental into prompts or adds a dedicated directive for tagging of options? Can't find it in archives. -- Stefan Richter -=-=-=== -=== =--==

[patch 2/4] ps3disk: updates after final review

2007-07-19 Thread Geert Uytterhoeven
ps3disk: updates after final review: o Kill KERNEL_SECTOR_SIZE, just hardcode `512' or ` 9' o Kill confusing ps3disk_priv() macro, open code it instead o ps3disk_scatter_gather(): Kill unused variable `sectors' o Introduce ps3disk_mask_mutex to protect ps3disk_mask o Minor coding style

[patch 3/4] ps3rom: updates after final review

2007-07-19 Thread Geert Uytterhoeven
ps3rom: updates after final review: o Kill confusing ps3rom_priv() macro, open code it instead o kmap_atomic() cannot fail Signed-off-by: Geert Uytterhoeven [EMAIL PROTECTED] --- drivers/scsi/ps3rom.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-) ---

[patch 4/4] ps3flash: updates after final review

2007-07-19 Thread Geert Uytterhoeven
ps3flash: updates after final review: o Kill confusing ps3flash_priv() macro, open code it instead o ps3flash_llseek(): Add missing locking (using i_mutex) o Replace do_div_llr() by `/' and `%' o ps3flash_read(): Use a common return for the error path o Minor coding style fixes not

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-19 Thread Bodo Eggert
On Wed, 18 Jul 2007, Rob Landley wrote: On Friday 13 July 2007 2:56:00 pm Bodo Eggert wrote: I toyed with setting up a diskless system in initramfs. In the process, I came across some things: 1) There is no way to have the kernel not mount a filesystem, unless you use /init or

Re: [PATCH][RFC] Delete export of tty.h to userspace.

2007-07-19 Thread Christoph Hellwig
On Thu, Jul 19, 2007 at 07:17:07AM -0400, Robert P. J. Day wrote: so you're saying you'll drop that include from util-linux, is that it? but it's still a good plan to generate a warning whenever userspace includes that file, so i'll submit a quick patch to generate that, based on jiri's

Re: [PATCH try #3] security: Convert LSM into a static interface

2007-07-19 Thread Christoph Hellwig
On Thu, Jul 19, 2007 at 09:19:56AM -0400, James Morris wrote: Is my understanding correct? You're shipping this to customers as a security feature? It's the usual Tivoli crap, what would you expect? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: Linux, tcpdump and vlan

2007-07-19 Thread Patrick McHardy
Stephen Hemminger wrote: On Thu, 19 Jul 2007 15:28:46 +0200 Krzysztof Halasa [EMAIL PROTECTED] wrote: Your suggestion of disabling VLAN acceleration in promiscous mode sounds like a reasonable solution until then .. From a user perspective: I'm not sure promiscous mode is related to the

Re: [PATCH] Consolidate PTRACE_DETACH

2007-07-19 Thread Christoph Hellwig
On Thu, Jul 19, 2007 at 04:38:01PM +0400, Alexey Dobriyan wrote: Identical handlers of PTRACE_DETACH go into ptrace_request(). Not touching compat code. Not touching archs that don't call ptrace_request. Looks very nice, thanks. - To unsubscribe from this list: send the line unsubscribe

Re: Someone ( bsg merge ? ) broke {sd,hd}parm on current git

2007-07-19 Thread James Bottomley
On Thu, 2007-07-19 at 08:25 +0900, FUJITA Tomonori wrote: From: Gabriel C [EMAIL PROTECTED] Subject: Re: Someone ( bsg merge ? ) broke {sd,hd}parm on current git Date: Tue, 17 Jul 2007 03:40:58 +0200 FUJITA Tomonori wrote: From: Gabriel C [EMAIL PROTECTED] Subject: Re: Someone ( bsg

Re: [PATCH for review] [11/48] x86_64: During VM oom condition, kill all threads in process group

2007-07-19 Thread Christoph Hellwig
On Thu, Jul 19, 2007 at 03:48:40PM +0200, Andi Kleen wrote: From: Will Schmidt [EMAIL PROTECTED] During a VM oom condition, kill all threads in the process group. We have had complaints where a threaded application is left in a bad state after one of it's threads is killed when we hit a

Re: kmalloc zero size changes break i386

2007-07-19 Thread Pekka Enberg
Hi Andi, On 7/19/07, Andi Kleen [EMAIL PROTECTED] wrote: qemu testing and booting test machines with i386 kernels wasn't very successfull with recent git kernels. I got either BUGs because of failing sysfs initialization or oopses in kmalloc, but no user land. I bisected it down to this

__pdflush have an unnecessary code ?

2007-07-19 Thread barrios
When pdflush kernel thread is died, Why do it store current jiffies in when_i_went_to_sleep variable ? IMHO, __pdflush function have an unnecessary code although it is trivial. If my thought is wrong, please give me a answer. --- mm/pdflush.c |1 - 1 files changed, 0 insertions(+), 1

Re: BUG: unable to handle kernel NULL pointer dereference - nfs v3

2007-07-19 Thread Satyam Sharma
Hi Neil, [ okay, just searching through my lkml folder looking for unable to handle :-) ] On 7/17/07, Neil Brown [EMAIL PROTECTED] wrote: On Monday July 16, [EMAIL PROTECTED] wrote: BUG: unable to handle kernel NULL pointer dereference at virtual address 0004 EIP is at

[BUG] Lockup on boot when trying to bring up r8169 NIC

2007-07-19 Thread Thomas Müller
Hi, I already sent this two days ago, but I have the feeling it was overlooked or filtered because of a large attachment. If I try to boot 2.6.21.6, 2.6.22.1 or 2.6.22-git8 the system completely hangs when init tries to bring up my r8169-based NIC. Not even the keyboard lights are working

Re: Determine version of kernel that produced vmcore

2007-07-19 Thread Vivek Goyal
On Wed, Jul 18, 2007 at 11:07:40PM +0900, Ken'ichi Ohmichi wrote: Hi, 2007/07/16 18:06:33 +0530, Vivek Goyal [EMAIL PROTECTED] wrote: On Mon, Jul 16, 2007 at 02:28:54PM +0200, Bernhard Walle wrote: * Vivek Goyal [EMAIL PROTECTED] [2007-07-16 14:25]: Ok. Now there seems to be two

Re: [PATCH for review] [11/48] x86_64: During VM oom condition, kill all threads in process group

2007-07-19 Thread Geert Uytterhoeven
On Thu, 19 Jul 2007, Christoph Hellwig wrote: On Thu, Jul 19, 2007 at 03:48:40PM +0200, Andi Kleen wrote: From: Will Schmidt [EMAIL PROTECTED] During a VM oom condition, kill all threads in the process group. We have had complaints where a threaded application is left in a bad state

Re: [BUGFIX]{PATCH] flush icache on ia64 take2

2007-07-19 Thread Zoltan Menyhart
KAMEZAWA Hiroyuki wrote: But is it too costly that flushing icache page only if a page is newly installed into the system (PG_arch1) it is mapped as executable ? Well it was a bit long time ago, I measured on a Tiger box with CPUs of 1.3 GHz: Flushing a page of 64 Kbytes, with modified data

Re: [PATCH][IPMI] Fix mem leak in try_init_dmi() code

2007-07-19 Thread Corey Minyard
Indeed this is a problem, please merge. This is only called at init time and only happens if the BIOS screws something up, so the leak is slight and it is probably not worth sending to 2.6.22.x. The driver would not initialize the interface in the case, and I have no reports of this happening.

[GIT PULL] XFS update

2007-07-19 Thread Tim Shimmin
Hi Linus, Please pull from the for-linus branch: git pull git://oss.sgi.com:8090/xfs/xfs-2.6.git for-linus This will update the following files: fs/buffer.c | 47 +++ fs/xfs/linux-2.6/xfs_file.c | 16 ++

Re: Linux, tcpdump and vlan

2007-07-19 Thread Krzysztof Halasa
Stephen Hemminger [EMAIL PROTECTED] writes: 1) non-accelerated device * all frames show in promiscious mode * tag is part of the frame that shows up in tcpdump, and then gets stripped by the 8021q module. Sure. It's IMHO good and working, modulo the tag being removed on the

Re: does CONFIG_UNUSED_SYMBOLS have any value anymore?

2007-07-19 Thread Stefan Richter
Robert P. J. Day wrote: ... it's not clear if that means that it was a *one-time* transition aid which is now unnecessary, or whether it's an *ongoing* aid which might be used at any time. currently, there are no invocations of EXPORT_UNUSED_SYMBOL[_GPL] anywhere in the tree. so does that

Re: [patch] fix the softlockup watchdog to actually work

2007-07-19 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: btw., could you apply the patch below as well? Maybe sched_clock() is misbehaving on your box? (with this i have 5 softlockup patches in my tree - and they are working fine so far.) Ingo Subject: [patch] softlockup: use a reliable global time

Re: Someone ( bsg merge ? ) broke {sd,hd}parm on current git

2007-07-19 Thread Gabriel C
James Bottomley wrote: On Thu, 2007-07-19 at 08:25 +0900, FUJITA Tomonori wrote: From: Gabriel C [EMAIL PROTECTED] Subject: Re: Someone ( bsg merge ? ) broke {sd,hd}parm on current git Date: Tue, 17 Jul 2007 03:40:58 +0200 FUJITA Tomonori wrote: From: Gabriel C [EMAIL

Re: [PATCH] Conexant 2388x: check for kthread_run

2007-07-19 Thread Cyrill Gorcunov
[Mauro Carvalho Chehab - Wed, Jul 18, 2007 at 04:25:38PM -0300] | Hi Cyrill, | | Em Qua, 2007-07-18 ??s 22:56 +0400, Cyrill Gorcunov escreveu: | This patch adds checking of kthread_run return code. | | Signed-off-by: Cyrill Gorcunov [EMAIL PROTECTED] | --- | Probably we could just ignore a

Re: [patch] CFS scheduler, -v19

2007-07-19 Thread Ingo Molnar
* Bill Davidsen [EMAIL PROTECTED] wrote: Does the patch below help? Spectacularly no! With this patch the glitch1 script with multiple scrolling windows has all xterms and glxgears stop totally dead for ~200ms once per second. I didn't properly test anything else after that. Bill,

Re: [BUGFIX]{PATCH] flush icache on ia64 take2

2007-07-19 Thread Zoltan Menyhart
KAMEZAWA Hiroyuki wrote: A bit new idea. How about this ? == - Set PG_arch_1 if icache is *not* coherent page-flags.h: * PG_arch_1 is an architecture specific page state bit. The generic code * guarantees that this bit is cleared for a page when it first is entered into * the page cache.

Re: [patch] fix the softlockup watchdog to actually work

2007-07-19 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: How reliable does it need to be? All we need is to measure about 10 seconds; if we can't get that out of it, how can it be good for anything else? sched_clock(), as its name suggests it, is meant for the scheduler's use. The scheduler

Re: [patch] fix the softlockup watchdog to actually work

2007-07-19 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: How reliable does it need to be? All we need is to measure about 10 seconds; if we can't get that out of it, how can it be good for anything else? sched_clock(), as its name suggests it, is meant for the scheduler's use. The scheduler generally only needs to

Re: [PATCH] [2/58] x86_64: Tell gcc to only align stack to 8 bytes

2007-07-19 Thread Chuck Ebbert
On 07/19/2007 05:54 AM, Andi Kleen wrote: Don't need 16 byte alignment because kernel doesn't use SSE2 Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86_64/Makefile |1 + 1 file changed, 1 insertion(+) Index: linux/arch/x86_64/Makefile

Re: [PATCH 0/3][try 1] init: enable system-on-initramfs

2007-07-19 Thread Stephen Smalley
On Thu, 2007-07-19 at 15:56 +0200, Bodo Eggert wrote: On Wed, 18 Jul 2007, Rob Landley wrote: On Friday 13 July 2007 2:56:00 pm Bodo Eggert wrote: I toyed with setting up a diskless system in initramfs. In the process, I came across some things: 1) There is no way to have the

Re: [PATCH 1/1] Driver for the Atmel on-chip SSC on AT32AP and AT91.

2007-07-19 Thread David Brownell
On Thursday 19 July 2007, Haavard Skinnemoen wrote: So the protocol drivers need some kind of resource management in order to not step on each others' toes, and that's the reason for the export of ssc_request() and ssc_free(). I'm not sure if anyone would have been very mad at me for

Re: [PATCH for review] [7/48] i386: divorce CONFIG_X86_PAE from CONFIG_HIGHMEM64G

2007-07-19 Thread Dave Jones
On Thu, Jul 19, 2007 at 03:48:36PM +0200, Andi Kleen wrote: Some users may want NX or expanded swapspace support without the overhead or instability of highmem. NX is still going to need the larger PTEs, so I don't see how this change removes any 'overhead' or potential 'instability'.

Re: [PATCH] [34/58] x86_64: ia32entry adjustments

2007-07-19 Thread Jeff Garzik
Andi Kleen wrote: From: Jan Beulich [EMAIL PROTECTED] Consolidate the three 32-bit system call entry points so that they all treat registers in similar ways. Signed-off-by: Jan Beulich [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] arch/x86_64/ia32/ia32entry.S |5 +++-- 1

Re: [patch] fix the softlockup watchdog to actually work

2007-07-19 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: sched_clock(), as its name suggests it, is meant for the scheduler's use. The scheduler generally only needs to measure time when the CPU is busy - not across idle periods. So sched_clock() can (and will) break across certain types of ACPI idle methods. Hm, or more

Re: does CONFIG_UNUSED_SYMBOLS have any value anymore?

2007-07-19 Thread Arjan van de Ven
Stefan Richter wrote: Robert P. J. Day wrote: ... it's not clear if that means that it was a *one-time* transition aid which is now unnecessary, or whether it's an *ongoing* aid which might be used at any time. currently, there are no invocations of EXPORT_UNUSED_SYMBOL[_GPL] anywhere in the

Re: [patch] fix the softlockup watchdog to actually work

2007-07-19 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Hm, or more specifically, why would that be a problem for softlockup? Do you mean it doesn't measure time during ACPI idle? That would just make it trigger later than it would otherwise. no, the return value after idling can be completely

Re: [PATCH for review] [7/48] i386: divorce CONFIG_X86_PAE from CONFIG_HIGHMEM64G

2007-07-19 Thread Christoph Hellwig
On Thu, Jul 19, 2007 at 03:48:36PM +0200, Andi Kleen wrote: From: William Lee Irwin III [EMAIL PROTECTED] PAE is useful for more than supporting more than 4GB RAM. It supports expanded swapspace and NX executable protections. Some users may want NX or expanded swapspace support without

Re: [BUGFIX]{PATCH] flush icache on ia64 take2

2007-07-19 Thread KAMEZAWA Hiroyuki
On Thu, 19 Jul 2007 16:15:03 +0200 Zoltan Menyhart [EMAIL PROTECTED] wrote: We may have, say 1 Gbyte / sec local i/o activity (using some RAIDs). Assume a few % of this 1 Gbyte is the program execution, or program swap in. It gives some hundreds of new exec pages / sec = some msec-s can be

[PATCH] Cleanup elevator_ops-trim function

2007-07-19 Thread Pavel Emelyanov
The elevator_ops's member trim is declared and called not like all the other ones. Was this deliberate? Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] --- block/as-iosched.c |2 +- block/cfq-iosched.c |2 +- block/elevator.c |4 ++-- include/linux/elevator.h |

Re: [Cbe-oss-dev] [patch 11/13] cell: driver for DDR2 memory on AXON

2007-07-19 Thread Arnd Bergmann
On Thursday 19 July 2007, Christoph Hellwig wrote: None of these seems to make any difference whatsoever, except for BLKBSZGET returning non-zero on a ramdisk or dcssblk device. I think we'd be best off removing bd_block_size from the kernel altogether, and I'll remove it from the

Re: [PATCH] [58/58] x86: remove support for the Rise CPU

2007-07-19 Thread Jeff Garzik
Andi Kleen wrote: On Thursday 19 July 2007 13:13:40 Alan Cox wrote: - It's not only code, it also bloats everyone's kernel image. Its a miniscule piece of code that is discarded on boot. Yes it might make the image 100 bytes longer, but have you priced a 160GB disk recently. I don't think 100

Re: Linux, tcpdump and vlan

2007-07-19 Thread Stephen Hemminger
On Thu, 19 Jul 2007 16:23:48 +0200 Krzysztof Halasa [EMAIL PROTECTED] wrote: Stephen Hemminger [EMAIL PROTECTED] writes: 1) non-accelerated device * all frames show in promiscious mode * tag is part of the frame that shows up in tcpdump, and then gets stripped by the

Re: [PATCH 01/10] IB/ehca: Support for multiple event queues

2007-07-19 Thread Hoang-Nam Nguyen
Roland Dreier [EMAIL PROTECTED] wrote on 17.07.2007 19:52:55: At a higher level, I'm left wondering why nobody talked about multiple EQs during the last months of the 2.6.22 process and now all of a sudden it becomes urgent in the last few days of the 2.6.23 merge window. That's not really

Re: [PATCH for review] [11/48] x86_64: During VM oom condition, kill all threads in process group

2007-07-19 Thread Will Schmidt
On Thu, 2007-07-19 at 16:14 +0200, Geert Uytterhoeven wrote: On Thu, 19 Jul 2007, Christoph Hellwig wrote: On Thu, Jul 19, 2007 at 03:48:40PM +0200, Andi Kleen wrote: From: Will Schmidt [EMAIL PROTECTED] During a VM oom condition, kill all threads in the process group. We have

Re: [patch] fix the softlockup watchdog to actually work

2007-07-19 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: no, the return value after idling can be completely random on some boxes, on a 64-bit scale - triggering the softlockup watchdog randomly. (some boxes return random TSC values, etc.) Again, it's fine for the scheduler's purpose, that's why i named it sched_clock(). the

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-19 Thread Ingo Molnar
ugh. Something really weird happened with this e1000 problem. i crashed the laptop in a weird way and had to power-cycle it in an unusual fashion. After that i wanted to try your latest BUG_ON() theory but the network hang went away! For 3 hours i tried to reproduce the hang (i went back to

Re: [Cbe-oss-dev] [patch 11/13] cell: driver for DDR2 memory on AXON

2007-07-19 Thread Alan Cox
Any suggestion on what BLKBSZGET should return? 1) blocksize = 0 (same as it does already for most devices) This is what tools like df expect - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch] fix the softlockup watchdog to actually work

2007-07-19 Thread Ingo Molnar
* Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Ingo Molnar wrote: no, the return value after idling can be completely random on some boxes, on a 64-bit scale - triggering the softlockup watchdog randomly. (some boxes return random TSC values, etc.) Again, it's fine for the

Re: BUG: unable to handle kernel NULL pointer dereference - nfs v3

2007-07-19 Thread Satyam Sharma
Ugh, not a good day for me today ... my earlier conclusion was right, but not the reasoning behind it ... hopefully this time I'll do better :-) On 7/19/07, Satyam Sharma [EMAIL PROTECTED] wrote: Hi Neil, [ okay, just searching through my lkml folder looking for unable to handle :-) ] On

Re: i386: pata_cs5520 does not work

2007-07-19 Thread Alan Cox
O rc = devm_request_irq(pdev-dev, irq[ap-port_no], ata_interrupt, 0, DRV_NAME, host); devm_request_irq() is called twice from loop. In 1st time, ap-port_no is 0. devm_request_irq() is success. 2nd time, ap-port_no is 0 too. devm_request_irq() failed. Looks like whoever updated it to

Re: [PATCH 1/2] nbd: use list_for_each_entry_safe to make it more consolidated and readable

2007-07-19 Thread Paul Clements
Denis Cheng wrote: Thus the traverse of the loop may delete nodes, use the safe version. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- drivers/block/nbd.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index

Re: [PATCH] ext2 statfs improvement for block and inode free count

2007-07-19 Thread Badari Pulavarty
On Wed, 2007-07-18 at 20:18 -0700, Andrew Morton wrote: On Fri, 13 Jul 2007 18:36:54 -0700 Badari Pulavarty [EMAIL PROTECTED] wrote: More statfs() improvements for ext2. ext2 already maintains percpu counters for free blocks and inodes. Derive free block count and inode count by summing

Re: kmalloc zero size changes break i386

2007-07-19 Thread Roland Dreier
I think the oops below is related -- Michael reports that avoiding kmalloc(0) in the mlx4_ib driver makes it go away. From: Michael S. Tsirkin [EMAIL PROTECTED] Subject: oops on mlx4 modprobe To: [EMAIL PROTECTED], Roland Dreier [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 11:47:51 +0300 Reply-To:

Re: Keyboard programming needs root

2007-07-19 Thread Dmitry Torokhov
Hi Daniel, On 7/14/07, Daniel Mantione [EMAIL PROTECTED] wrote: Hello, A while back a patch was merged to make that only root can program the keyboard: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0b360adbdb54d5b98b78d57ba0916bc4b8871968 Is this patch

Re: [BUGFIX]{PATCH] flush icache on ia64 take2

2007-07-19 Thread Zoltan Menyhart
KAMEZAWA Hiroyuki wrote: Hmm...but the current code flushes the page. just do it in lazy way. much difference ? I agree the current code flushes the I-cache for all kinds of file systems (for PTEs with the exec bit on). The error is that it does it after the PTE is written. In addition, I

Re: Someone ( bsg merge ? ) broke {sd,hd}parm on current git

2007-07-19 Thread James Bottomley
On Thu, 2007-07-19 at 16:31 +0200, Gabriel C wrote: No is not an SATA controller. sda and sdb are SCSI disks connected to an Adaptec AIC-7892P U160/m controller using the aic7xxx driver. OK, this definitely works for me, that's what my root disk is on. I think this isn't a kernel problem

Re: Linux, tcpdump and vlan

2007-07-19 Thread Stephen Hemminger
On Thu, 19 Jul 2007 16:23:48 +0200 Krzysztof Halasa [EMAIL PROTECTED] wrote: Stephen Hemminger [EMAIL PROTECTED] writes: 1) non-accelerated device * all frames show in promiscious mode * tag is part of the frame that shows up in tcpdump, and then gets stripped by the

Re: [patch] fix the softlockup watchdog to actually work

2007-07-19 Thread Jeremy Fitzhardinge
Ingo Molnar wrote: Well, my observation is that both softlockup and the scheduler really want to measure unstolen time, so it seemed to me that sched_clock was a nice common place to implement that, rather than implementing a whole new time interface. At the time that seemed OK, and nobody

Re: [PATCH for review] [12/48] x86_64: use the global PIT lock

2007-07-19 Thread Dmitry Torokhov
Hi Andi, On 7/19/07, Andi Kleen [EMAIL PROTECTED] wrote: From: Thomas Gleixner [EMAIL PROTECTED] Replace the pcspkr private PIT lock by the global PIT lock to serialize the PIT access all over the place. Like I said before I'd be more happy if spinlock was attached to a platform device

<    6   7   8   9   10   11   12   13   14   15   >