Re: utrace comments

2007-04-30 Thread Christoph Hellwig
On Sun, Apr 29, 2007 at 09:02:13PM -0700, Roland McGrath wrote: I'm sorry I've taken so long to reply to your review comments. I won't dwell on that, and just dive into the discussion. --- linux-2.6/include/asm-i386/thread_info.h.utrace-ptrace-compat +++

Re: [PATCH] [9/26] x86_64: Fix vmalloc_32 to really allocate 4GB on 64bit platforms

2007-04-30 Thread Andi Kleen
Isn't the following shorter: Perhaps, but this is not a contest to write the shortest code. I think mine is more clearer. -Andi - 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: [patches] [PATCH] [8/35] x86_64: a memcpy that tries to reducecache pressure

2007-04-30 Thread Andi Kleen
On Monday 30 April 2007 09:26:05 Jan Beulich wrote: +testb $8, %dxl/* rdx is 3,5,6,7,9..15 */ Could you use the more conventional name %dl (or whatever is being meant) here? +.L42: +prefetchnta 128(%rsi) I think I commented similarly on a previous version of the

condingstyle, was Re: utrace comments

2007-04-30 Thread Christoph Hellwig
I've separated this out under a new subject because some style issues that so far aren't documented explicitly are in doubt here, and Roland wants and Answer from Andrew. We also should put clauses on this into CodingStyle. On Sun, Apr 29, 2007 at 09:02:13PM -0700, Roland McGrath wrote:

Re: [PATCH] utrace: remove exports

2007-04-30 Thread Christoph Hellwig
On Sun, Apr 29, 2007 at 09:02:32PM -0700, Roland McGrath wrote: EXPORT_SYMBOL_GPL(utrace_attach); There is not modular user of this, so this and the other utrace_ functions should not be exported. Nor do I think that exporting such a low-level process control is nessecary a

Re: Problem: 2.6.21 won't boot

2007-04-30 Thread Riccardo Ricci
I'll try... On 28/04/07, Thomas Gleixner [EMAIL PROTECTED] wrote: On Fri, 2007-04-27 at 20:47 +0200, Riccardo Ricci wrote: Hi to everyone, i've compiled kernel 2.6.21 on my debian PIII 650 / 256MB / Dell Latitude J650GT. With 2.6.20.8 all works very good, with 2.6.21 don't boot... While

Re: utrace comments

2007-04-30 Thread Russell King
On Mon, Apr 30, 2007 at 10:08:40AM +0100, Christoph Hellwig wrote: Btw, is there a fundamental reason why an architecture would not support single-stepping except for a transition period of porting, i.e. are there real hardware limitation in any of our ports? Roland's idea of single-stepping

Re: utrace comments

2007-04-30 Thread Christoph Hellwig
On Mon, Apr 30, 2007 at 10:18:09AM +0100, Russell King wrote: Roland's idea of single-stepping is that it *must* be supported by hardware for utrace to use it. There are a number of architectures which can only do single-stepping by modifying the text of the program being single stepped. ARM

Re: [-mm patch] i386: enable 4k stacks by default

2007-04-30 Thread Andi Kleen
Alan Cox [EMAIL PROTECTED] writes: If this still occurs for some combinations then the fix would be 8K + 4K IRQ stack, not just to use 8K stack Yes i've been thinking for some time doing that would be a good idea. -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH] x86_64: support poll() on /dev/mcelog

2007-04-30 Thread Andi Kleen
- + + /* handle a waiting machine check */ +retint_mce: You could just handle it in notify_resume, no need to complicate the assembler code -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: utrace comments

2007-04-30 Thread Russell King
On Mon, Apr 30, 2007 at 11:22:00AM +0200, Christoph Hellwig wrote: On Mon, Apr 30, 2007 at 10:18:09AM +0100, Russell King wrote: Roland's idea of single-stepping is that it *must* be supported by hardware for utrace to use it. There are a number of architectures which can only do

Re: utrace comments

2007-04-30 Thread Russell King
On Mon, Apr 30, 2007 at 10:33:31AM +0100, Russell King wrote: On Mon, Apr 30, 2007 at 11:22:00AM +0200, Christoph Hellwig wrote: On Mon, Apr 30, 2007 at 10:18:09AM +0100, Russell King wrote: Roland's idea of single-stepping is that it *must* be supported by hardware for utrace to use it.

Re: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the same time?

2007-04-30 Thread Robert P. J. Day
On Mon, 30 Apr 2007, Jan Engelhardt wrote: On Apr 30 2007 04:46, Robert P. J. Day wrote: i'd always assumed that the type flags of GFP_ATOMIC and GFP_KERNEL were mutually exclusive when it came to calling kmalloc(), at least based on everything i'd read. so i'm not sure how to

Re: Linux 2.6.21

2007-04-30 Thread Nicolas Mailhot
Johannes Stezenbach wrote : On Sun, Apr 29, 2007, Adrian Bunk wrote: On Sun, Apr 29, 2007 at 01:33:16PM -0700, Linus Torvalds wrote: On Sun, 29 Apr 2007, Adrian Bunk wrote: The kernel Bugzilla currently contains 1600 open bugs. Adrian, why do you keep harping on this, and

Re: [linux-pm] Re: 2.6.21-rc7-mm2 suspend bug. [kernel/kthread.c]

2007-04-30 Thread Gautham R Shenoy
On Mon, Apr 30, 2007 at 12:39:46AM -0700, Andrew Morton wrote: On Sun, 29 Apr 2007 22:27:44 +0200 Rafael J. Wysocki [EMAIL PROTECTED] wrote: On Sunday, 29 April 2007 21:51, Dan Kruchinin wrote: Hi all. There is a problem on my macbook core duo with suspend. after suspending

Re: Probable PCIE prob

2007-04-30 Thread Syren Baran
Am Sonntag, den 29.04.2007, 15:21 +0100 schrieb Alistair John Strachan: On Saturday 28 April 2007 20:53:37 Syren Baran wrote: System crashes only happen when viewing films (neither xine nor mplayer run with root privileges) and independent of video drivers (framebuffer, vesa and fglrx).

Re: utrace comments

2007-04-30 Thread Christoph Hellwig
On Mon, Apr 30, 2007 at 10:33:31AM +0100, Russell King wrote: Does the current arm ptrace code support single stepping in kernelspace? If yes we absolutely need to continue to support it. single stepping of user space code via standard ptrace calls, yes. I'd also like to see utrace

[PATCH] [2/40] i386: Remove CONFIG_DEBUG_PARAVIRT

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Remove CONFIG_DEBUG_PARAVIRT. When inlining code, this option attempts to trash registers in the patch-site's clobber field, on the grounds that this should find bugs with incorrect clobbers. Unfortunately, the clobber field really means registers

[PATCH] [24/40] i386: Page-align the GDT

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Xen wants a dedicated page for the GDT. I believe VMI likes it too. lguest, KVM and native don't care. Simple transformation to page-aligned struct gdt_page. Signed-off-by: Rusty Russell [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED]

[PATCH] [5/40] i386: Hooks to set up initial pagetable

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] This patch introduces paravirt_ops hooks to control how the kernel's initial pagetable is set up. In the case of a native boot, the very early bootstrap code creates a simple non-PAE pagetable to map the kernel and physical memory. When the VM

[PATCH] [0/40] x86 candidate patches for review V: paravirt patches

2007-04-30 Thread Andi Kleen
Lots of paravirt patches from Jeremy and Zach. I think most of them have hit the list already. Mostly Xen preparation, but lots of generic cleanups Happy reviewing! -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

[PATCH] [8/40] x86: add hooks to intercept mm creation and destruction

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Add hooks to allow a paravirt implementation to track the lifetime of an mm. Paravirtualization requires three hooks, but only two are needed in common code. They are: arch_dup_mmap, which is called when a new mmap is created at fork arch_exit_mmap,

[PATCH] [7/40] i386: Allow paravirt backend to choose kernel PMD sharing

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Normally when running in PAE mode, the 4th PMD maps the kernel address space, which can be shared among all processes (since they all need the same kernel mappings). Xen, however, does not allow guests to have the kernel pmd shared between page

[PATCH] [13/40] i386: Document asm-i386/paravirt.h

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Clean things up, and broadly document: - the paravirt_ops functions themselves - the patching mechanism Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Rusty Russell [EMAIL PROTECTED] ---

[PATCH] [37/40] i386: Convert VMI timer to use clock events

2007-04-30 Thread Andi Kleen
From: Zachary Amsden [EMAIL PROTECTED] Convert VMI timer to use clock events, making it properly able to use the NO_HZ infrastructure. On UP systems, with no local APIC, we just continue to route these events through the PIT. On systems with a local APIC, or SMP, we provide a single source

[PATCH] [40/40] i386: Clean up ELF note generation

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Three cleanups: 1: ELF notes are never mapped, so there's no need to have any access flags in their phdr. 2: When generating them from asm, tell the assembler to use a SHT_NOTE section type. There doesn't seem to be a way to do this from C. 3: Use

[PATCH] [34/40] i386: Clean up arch/i386/kernel/cpu/mcheck/p4.c

2007-04-30 Thread Andi Kleen
From: Zachary Amsden [EMAIL PROTECTED] No, just no. You do not use goto to skip a code block. You do not return an obvious variable from a singly-inlined function and give the function a return value. You don't put unexplained comments about kmalloc in code which doesn't do dynamic

[PATCH] [32/40] i386: kRemove a warning about unused variable in !CONFIG_ACPI compilation.

2007-04-30 Thread Andi Kleen
From: Zachary Amsden [EMAIL PROTECTED] Signed-off-by: Zachary Amsden [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] CC: Trivial [EMAIL PROTECTED] --- arch/i386/kernel/acpi/earlyquirk.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] [33/40] i386: Allow boot-time disable of paravirt_ops patching

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Add noreplace-paravirt to disable paravirt_ops patching. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Rusty Russell [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Signed-off-by: Andrew Morton

[PATCH] [36/40] i386: Implement vmi_kmap_atomic_pte

2007-04-30 Thread Andi Kleen
From: Zachary Amsden [EMAIL PROTECTED] Implement vmi_kmap_atomic_pte in terms of the backend set_linear_mapping operation. The conversion is rather straighforward; call kmap_atomic and then inform the hypervisor of the page mapping. The _flush_tlb damage is due to macros being pulled in from

[PATCH] [35/40] i386: Now that the VDSO can be relocated, we can support it in VMI configurations.

2007-04-30 Thread Andi Kleen
From: Zachary Amsden [EMAIL PROTECTED] Signed-off-by: Zachary Amsden [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) === Index:

[PATCH] [38/40] x86: Jeremy Fitzhardinge [EMAIL PROTECTED]

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] The other symbols used to delineate the alt-instructions sections have the form __foo/__foo_end. Rename parainstructions to match. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL

[PATCH] [39/40] i386: Export paravirt_ops for non GPL modules too

2007-04-30 Thread Andi Kleen
Otherwise non GPL modules cannot even do basic operations like disabling interrupts anymore, which would be excessive. Longer term should split the single structure up into internal and external symbols and not export the internal ones at all. Signed-off-by: Andi Kleen [EMAIL PROTECTED] ---

[PATCH] [29/40] i386: map enough initial memory to create lowmem mappings

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] head.S creates the very initial pagetable for the kernel. This just maps enough space for the kernel itself, and an allocation bitmap. The amount of mapped memory is rounded up to 4Mbytes, and so this typically ends up mapping 8Mbytes of memory. When

[PATCH] [12/40] i386: Consistently wrap paravirt ops callsites to make them patchable

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Wrap a set of interesting paravirt_ops calls in a wrapper which makes the callsites available for patching. Unfortunately this is pretty ugly because there's no way to get gcc to generate a function call, but also wrap just the callsite itself with the

[PATCH] [18/40] i386: flush lazy mmu updates on kunmap_atomic

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] kunmap_atomic should flush any pending lazy mmu updates, mainly to be consistent with kmap_atomic, and to preserve its normal behaviour. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] ---

[PATCH] [14/40] i386: add common patching machinery

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Implement the actual patching machinery. paravirt_patch_default() contains the logic to automatically patch a callsite based on a few simple rules: - if the paravirt_op function is paravirt_nop, then patch nops - if the paravirt_op function is a jmp

[PATCH] [30/40] x86: update for i386 and x86-64 check_bugs

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Remove spurious comments, headers and keywords from x86-64 bugs.[ch]. Use identify_boot_cpu() AK: merged with other patch Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] ---

[PATCH] [23/40] x86_64: deflate inflate_dynamic too

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] inflate_dynamic() has piggy stack usage too, so heap allocate it too. I'm not sure it actually gets used, but it shows up large in make checkstack. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] ---

[PATCH] [21/40] i386: drop unused ptep_get_and_clear

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] In shadow mode hypervisors, ptep_get_and_clear achieves the desired purpose of keeping the shadows in sync by issuing a native_get_and_clear, followed by a call to pte_update, which indicates the PTE has been modified. Direct mode hypervisors (Xen)

[PATCH] [20/40] i386: Clean up paravirt patchable wrappers

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Replace all the open-coded macros for generating calls with a pair of more general macros (__PVOP_CALL/VCALL), and redefine all the PVOP_V?CALL[0-4] in terms of them. [ Andrew, Andi: this should slot in immediately after Document asm-i386/paravirt.h

[PATCH] [19/40] i386: fix paravirt-documentation

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Remove #defines, add enum for PARAVIRT_LAZY_FLUSH. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- include/asm-i386/paravirt.h |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-)

[PATCH] [3/40] i386: use paravirt_nop to consistently mark no-op operations

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Add a _paravirt_nop function for use as a stub for no-op operations, and paravirt_nop #defined void * version to make using it easier (since all its uses are as a void *). This is useful to allow the patcher to automatically identify noop operations so

[PATCH] [6/40] i386: Allocate a fixmap slot

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Allocate a fixmap slot for use by a paravirt_ops implementation. This is intended for early-boot bootstrap mappings. Once the zones and allocator have been set up, it would be better to use get_vm_area() to allocate some virtual space. Xen uses this

[PATCH] [4/40] i386: Add pagetable accessors to pack and unpack pagetable entries

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Add a set of accessors to pack, unpack and modify page table entries (at all levels). This allows a paravirt implementation to control the contents of pgd/pmd/pte entries. For example, Xen uses this to convert the (pseudo-)physical address into a

[PATCH] [11/40] i386: Fix patch site clobbers to include return register

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Fix a few clobbers to include the return register. The clobbers set is the set of all registers modified (or may be modified) by the code snippet, regardless of whether it was deliberate or accidental. Also, make sure that callsites which are used in

[PATCH] [26/40] i386: cleanups to help using per-cpu variables from asm

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] This patch does a few small cleanups: - use PER_CPU_NAME to generate the names of per-cpu variables - use lea to add the per_cpu offset in PER_CPU(), because it doesn't affect condition flags - add PER_CPU_VAR which allows direct access to pre-cpu

[PATCH] [28/40] i386: Fix UP gdt bugs

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Fixes two problems with the GDT when compiling for uniprocessor: - There's no percpu segment, so trying to load its selector into %fs fails. Use a null selector instead. - The real gdt needs to be loaded at some point. Do it in cpu_init().

[PATCH] [1/40] x86_64: update MAINTAINERS

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Chris Wright [EMAIL PROTECTED] Cc: Zachary Amsden [EMAIL PROTECTED] Cc: Rusty Russell [EMAIL PROTECTED] --- MAINTAINERS | 22 ++

[PATCH] [10/40] i386: Use patch site IDs computed from offset in paravirt_ops structure

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Use patch type identifiers derived from the offset of the operation in the paravirt_ops structure. This avoids having to maintain a separate enum for patch site types. Also, since the identifier is derived from the offset into paravirt_ops, the offset

[PATCH] [15/40] i386: add flush_tlb_others paravirt_op

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] This patch adds a pv_op for flush_tlb_others. Linux running on native hardware uses cross-CPU IPIs to flush the TLB on any CPU which may have a particular mm's pagetable entries cached in its TLB. This is inefficient in a paravirtualized environment,

[PATCH] [9/40] i386: rename struct paravirt_patch to paravirt_patch_site for clarity

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Rename struct paravirt_patch to paravirt_patch_site, so that it clearly refers to a callsite, and not the patch which may be applied to that callsite. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc:

[PATCH] [31/40] i386: In compat mode, the return value here was uninitialized.

2007-04-30 Thread Andi Kleen
From: Zachary Amsden [EMAIL PROTECTED] Signed-off-by: Zachary Amsden [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/i386/kernel/sysenter.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) === Index:

[PATCH] [27/40] i386: Define per_cpu_offset

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Define per_cpu_offset in asm-i386/percpu.h when SMP defined, like asm-generic/percpu.h does for UP. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Rusty Russell [EMAIL PROTECTED] Cc: Andi Kleen

[PATCH] [25/40] i386: Convert PDA into the percpu section

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Currently x86 (similar to x84-64) has a special per-cpu structure called i386_pda which can be easily and efficiently referenced via the %fs register. An ELF section is more flexible than a structure, allowing any piece of code to use this area.

[PATCH] [17/40] i386: add kmap_atomic_pte for mapping highpte pages

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Xen and VMI both have special requirements when mapping a highmem pte page into the kernel address space. These can be dealt with by adding a new kmap_atomic_pte() function for mapping highptes, and hooking it into the paravirt_ops infrastructure. Xen

[PATCH] [16/40] i386: revert map_pt_hook.

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Back out the map_pt_hook to clear the way for kmap_atomic_pte. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] Cc: Zachary Amsden [EMAIL PROTECTED] --- arch/i386/kernel/paravirt.c |2 --

Re: utrace comments

2007-04-30 Thread Christoph Hellwig
On Mon, Apr 30, 2007 at 10:45:10AM +0100, Russell King wrote: For the sake of avoiding too much rehash, here's Roland's reply to my initial forrey into utrace: http://marc.info/?l=linux-kernelm=117309251916053w=2 In that mail Roland suggests keeping the singlestep code entirely in the arm

[PATCH] [22/40] x86: deflate stack usage in lib/inflate.c

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] inflate_fixed and huft_build together use around 2.7k of stack. When using 4k stacks, I saw stack overflows from interrupts arriving while unpacking the root initrd: do_IRQ: stack overflow: 384 [c0106b64] show_trace_log_lvl+0x1a/0x30 [c01075e6]

Re: [PATCH] s390/scsi/zfcp_erp: Convert to use the kthread API

2007-04-30 Thread Swen Schillig
On Sunday 22 April 2007 22:17, Christoph Hellwig wrote: On Thu, Apr 19, 2007 at 01:58:42AM -0600, Eric W. Biederman wrote: From: Eric W. Biederman [EMAIL PROTECTED] Modify zfcperp%s to be started with kthread_run not a combination of kernel_thread, daemonize and siginitsetinv making

Re: Critical points about kernel 2.6.21 and pseudo-authorities

2007-04-30 Thread Uwe Bugla
Original-Nachricht Datum: Sun, 29 Apr 2007 18:37:00 -0700 (PDT) Von: Trent Piepho [EMAIL PROTECTED] An: Linus Torvalds [EMAIL PROTECTED] CC: Uwe Bugla [EMAIL PROTECTED], [EMAIL PROTECTED], linux-kernel@vger.kernel.org, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]

Re: [-mm patch] i386: enable 4k stacks by default

2007-04-30 Thread Christoph Hellwig
On Mon, Apr 30, 2007 at 12:26:42PM +0200, Andi Kleen wrote: Alan Cox [EMAIL PROTECTED] writes: If this still occurs for some combinations then the fix would be 8K + 4K IRQ stack, not just to use 8K stack Yes i've been thinking for some time doing that would be a good idea. Yes, the

Re: [PATCH] [39/40] i386: Export paravirt_ops for non GPL modules too

2007-04-30 Thread Christoph Hellwig
On Mon, Apr 30, 2007 at 12:28:14PM +0200, Andi Kleen wrote: Otherwise non GPL modules cannot even do basic operations like disabling interrupts anymore, which would be excessive. Longer term should split the single structure up into internal and external symbols and not export the internal

Geode-GX1 processor in 2.6.21

2007-04-30 Thread Juergen Beisert
Hi all, I do not understand it, but setting up some chipset features (tweaks) fail on Geode GX1. In arch/i386/kernel/cpu/cyrix.c function geode_configure() tries to enable the suspend on halt power saving feature. This is the line: setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x88); If

[PATCH] Fix error handling in HDIO_GETGEO compat wrapper

2007-04-30 Thread Andreas Schwab
Don't clobber error from sys_ioctl in HDIO_GETGEO compat wrapper. Signed-off-by: Andreas Schwab [EMAIL PROTECTED] --- fs/compat_ioctl.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- linux-2.6.21.orig/fs/compat_ioctl.c 2007-04-26 13:40:52.0 +0200 +++

[PATCH] powerpc: minor fault path optimization

2007-04-30 Thread Christoph Hellwig
Call the kprobes pagefault handler directly instead of going through the complex notifier chain. Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Index: linux-2.6/arch/powerpc/mm/fault.c === ---

Re: [PATCH] [39/40] i386: Export paravirt_ops for non GPL modules too

2007-04-30 Thread Andi Kleen
On Monday 30 April 2007 12:50:09 Christoph Hellwig wrote: On Mon, Apr 30, 2007 at 12:28:14PM +0200, Andi Kleen wrote: Otherwise non GPL modules cannot even do basic operations like disabling interrupts anymore, which would be excessive. Longer term should split the single structure up

Re: [linux-dvb] Re: Critical points about kernel 2.6.21 and pseudo-authorities

2007-04-30 Thread Uwe Bugla
Original-Nachricht Datum: Mon, 30 Apr 2007 02:58:33 +0200 Von: hermann pitton [EMAIL PROTECTED] An: Uwe Bugla [EMAIL PROTECTED] CC: Linus Torvalds [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], linux-kernel@vger.kernel.org Betreff: Re: [linux-dvb]

[PATCH 00/36] Use menuconfig objects II - (overview)

2007-04-30 Thread Jan Engelhardt
Hi Andrew, here is the second run of use-menuconfig-objects patches that make more menus use, well, the menuconfig objects. The series, which goes on top of mm-broken-out-20070428, includes: * 1 patch to fix up a remainder of the first run * 35 patches to change to menuconfigs Jan -- -

Re: [PATCH] [39/40] i386: Export paravirt_ops for non GPL modules too

2007-04-30 Thread Jan Engelhardt
On Apr 30 2007 11:50, Christoph Hellwig wrote: On Mon, Apr 30, 2007 at 12:28:14PM +0200, Andi Kleen wrote: Otherwise non GPL modules cannot even do basic operations like disabling interrupts anymore, which would be excessive. Longer term should split the single structure up into internal

Re: [patches] [PATCH] [19/40] i386: fix paravirt-documentation

2007-04-30 Thread Nigel Cunningham
Hi. On Mon, 2007-04-30 at 12:27 +0200, Andi Kleen wrote: From: Jeremy Fitzhardinge [EMAIL PROTECTED] Remove #defines, add enum for PARAVIRT_LAZY_FLUSH. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- include/asm-i386/paravirt.h |

Re: [-mm patch] i386: enable 4k stacks by default

2007-04-30 Thread Andi Kleen
Christoph Hellwig [EMAIL PROTECTED] writes: On Mon, Apr 30, 2007 at 12:26:42PM +0200, Andi Kleen wrote: Alan Cox [EMAIL PROTECTED] writes: If this still occurs for some combinations then the fix would be 8K + 4K IRQ stack, not just to use 8K stack Yes i've been thinking for

Re: [PATCH] [39/40] i386: Export paravirt_ops for non GPL modules too

2007-04-30 Thread Jan Engelhardt
On Apr 30 2007 13:00, Andi Kleen wrote: On Monday 30 April 2007 12:50:09 Christoph Hellwig wrote: On Mon, Apr 30, 2007 at 12:28:14PM +0200, Andi Kleen wrote: Otherwise non GPL modules cannot even do basic operations like disabling interrupts anymore, which would be excessive. Longer

[KJ][PATCH] i386: white space fixes in i387.h

2007-04-30 Thread Jan Kiszka
Signed-off-by: Jan Kiszka [EMAIL PROTECTED] --- include/asm-i386/i387.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linux-2.6/include/asm-i386/i387.h === --- linux-2.6.orig/include/asm-i386/i387.h +++

[PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu

2007-04-30 Thread Jan Kiszka
There are two callers of __unlazy_fpu, unlazy_fpu and __switch_to, and none of them appear to require additional preempt_disable/enable here. Let's open-code save_init_fpu in __unlazy_fpu to save a few ops. Signed-off-by: Jan Kiszka [EMAIL PROTECTED] --- include/asm-i386/i387.h | 11

[PATCH 02/36] Use menuconfig objects II - auxdisplay

2007-04-30 Thread Jan Engelhardt
Make a menuconfig out of the Kconfig objects menu, ..., endmenu, so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/auxdisplay/Kconfig |9 +++-- 1 file

[PATCH 04/36] Use menuconfig objects II - block devices

2007-04-30 Thread Jan Engelhardt
Make a menuconfig out of the Kconfig objects menu, ..., endmenu, so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/block/Kconfig | 11 ++- 1 file changed,

Re: [PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu

2007-04-30 Thread Andi Kleen
On Monday 30 April 2007 13:16:42 Jan Kiszka wrote: There are two callers of __unlazy_fpu, unlazy_fpu and __switch_to, and none of them appear to require additional preempt_disable/enable here. Let's open-code save_init_fpu in __unlazy_fpu to save a few ops. Both patches added thanks -Andi - To

Re: [PATCH] [39/40] i386: Export paravirt_ops for non GPL modules too

2007-04-30 Thread Andi Kleen
On Monday 30 April 2007 13:15:36 Jan Engelhardt wrote: On Apr 30 2007 13:00, Andi Kleen wrote: On Monday 30 April 2007 12:50:09 Christoph Hellwig wrote: On Mon, Apr 30, 2007 at 12:28:14PM +0200, Andi Kleen wrote: Otherwise non GPL modules cannot even do basic operations like

[PATCH 03/36] Use menuconfig objects II - battery

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/battery/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) ---

[PATCH 01/36] Use menuconfig objects I.b - block

2007-04-30 Thread Jan Engelhardt
block/Kconfig already has its own menuconfig so remove these menu, endmenu that did not get cleaned up in the block patch [ http://lkml.org/lkml/2007/4/10/251 ] Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- init/Kconfig |2 -- 1 file changed, 2 deletions(-) ---

[PATCH 05/36] Use menuconfig objects II - EDAC

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/edac/Kconfig | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) ---

[PATCH 06/36] Use menuconfig objects II - fusion

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/message/fusion/Kconfig | 14 +- 1 file changed, 5 insertions(+), 9

[PATCH 07/36] Use menuconfig objects II - HID

2007-04-30 Thread Jan Engelhardt
Make a menuconfig out of the Kconfig objects menu, ..., endmenu, so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/hid/Kconfig |9 ++--- 1 file changed, 6

Re: [linux-dvb] Re: Critical points about kernel 2.6.21 and pseudo-authorities

2007-04-30 Thread Helge Hafting
Uwe Bugla wrote: In this ten Emails you will yourself see the intellectual and technical proof in how far Mr. Chehab is acting with nothing else but: a. Lies b. Unproven thesis c. Stigmatizations and so on. THIS MAN HAS NO IDEA, BUT HE HAS THE POWER! Please note that there are ways to

[PATCH 08/36] Use menuconfig objects II - hwmon

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/hwmon/Kconfig | 109 -- 1 file changed,

[PATCH 09/36] Use menuconfig objects II - IEEE1394

2007-04-30 Thread Jan Engelhardt
Make a menuconfig out of the Kconfig objects menu, ..., endmenu, so that the user can disable all the options in that menu at once instead of having to disable each option separately. Follows Stefan's suggestion as per http://lkml.org/lkml/2007/4/28/108 Signed-off-by: Jan Engelhardt [EMAIL

Re: [linux-dvb] Re: Critical points about kernel 2.6.21 and pseudo-authorities

2007-04-30 Thread Thomas Gleixner
Uwe, On Mon, 2007-04-30 at 13:02 +0200, Uwe Bugla wrote: stupid and utmost hypocritic excuse for bare naked incompatibility, dumbness, wrong solidarity, kiddishness and technical incompetence. ... soap in Andrew Morton's face with this enourmous threat of incompetence, kiddishness,

[PATCH 11/36] Use menuconfig objects II - IPMI

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/char/ipmi/Kconfig | 12 1 file changed, 4 insertions(+), 8 deletions(-)

Re: [-mm patch] i386: enable 4k stacks by default

2007-04-30 Thread Jens Axboe
On Mon, Apr 30 2007, Christoph Hellwig wrote: On Mon, Apr 30, 2007 at 06:55:52PM +1000, Neil Brown wrote: On Saturday April 28, [EMAIL PROTECTED] wrote: On Sat, 2007-04-28 at 21:19 +0200, Adrian Bunk wrote: 4k stacks have become a well-tested feature used fore a long time in Fedora

Re: sky2 regression in 2.6.21: Asus P5B-E Plus ethernet adapter no more supported

2007-04-30 Thread Malte Schröder
On Saturday 28 April 2007, Mikael Pettersson wrote: Same thing on my ASUS P5B-E Plus. sky2 worked with 2.6.20/2.6.21-rc[1-7] but 2.6.21 final killed it. Regarding the alleged data corruption issues: I regularly do multi-gigabyte data transfers over my lan to my P5B-E Plus, followed by md5sum

[PATCH 10/36] Use menuconfig objects II - Infiniband

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/infiniband/Kconfig | 14 ++

[PATCH 14/36] Use menuconfig objects II - LED

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/leds/Kconfig | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) ---

[PATCH 13/36] Use menuconfig objects II - KVM/Virt

2007-04-30 Thread Jan Engelhardt
Make a menuconfig out of the Kconfig objects menu, ..., endmenu, so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/kvm/Kconfig |9 +++-- 1 file changed, 7

[PATCH 12/36] Use menuconfig objects II - ISDN

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. In this patch, CONFIG_ISDN is also changed from a tristate to bool, since no Makefile uses obj-$(CONFIG_ISDN) that could possibly produce a module out

[PATCH 15/36] Use menuconfig objects II - Macintosh

2007-04-30 Thread Jan Engelhardt
Make a menuconfig out of the Kconfig objects menu, ..., endmenu, so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/macintosh/Kconfig |8 ++-- 1 file changed,

CFQ IO scheduler patch series - AIM7 DBase results on a 16-way IA64

2007-04-30 Thread Alan D. Brunelle
The results from a single run of an AIM7 DBase load on a 16-way ia64 box (64GB RAM + 144 FC disks) showed a slight regression (~0.5%) by adding in this patch. (Graph can be found at http://free.linux.hp.com/~adb/cfq/cfq_dbase.png ) It is only a single set of runs, on a single platform, but

[PATCH 17/36] Use menuconfig objects II - misc strange dev

2007-04-30 Thread Jan Engelhardt
Make a menuconfig out of the Kconfig objects menu, ..., endmenu, so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/misc/Kconfig |9 ++--- 1 file changed, 6

[PATCH 16/36] Use menuconfig objects II - MD

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/md/Kconfig | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) ---

[PATCH 18/36] Use menuconfig objects II - MMC

2007-04-30 Thread Jan Engelhardt
Change Kconfig objects from menu, config into menuconfig so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] --- drivers/mmc/Kconfig | 10 +- drivers/mmc/card/Kconfig |3 +--

<    3   4   5   6   7   8   9   10   11   12   >