linux-kernel mailing list

FromSubjectsort iconDate
travis
[PATCH 1/1] x86: Fixup NR-CPUS patch for numa
This patch removes the EXPORT_SYMBOL for: x86_cpu_to_node_map_init x86_cpu_to_node_map_early_ptr ... thus fixing the section mismatch problem. Also, the mem -> node hash lookup is fixed. Based on 2.6.24-rc6-mm1 + change-NR_CPUS-V3 patchset Signed-off-by: Mike Travis <travis@sgi.com> --- arch/x86/mm/numa_64.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c @@ -35,8 +35,6 @@ u16 x86_cpu_to_node_map_init[NR_...
Jan 16, 2:34 pm 2008
Jeremy Fitzhardinge
[PATCH 0 of 8] x86: refactored paravirt mmu_ops
Hi Ingo, I refactored the paravirt.h mmu_ops patch into a number of smaller ones. Thanks, J --
Jan 16, 7:27 pm 2008
Jeremy Fitzhardinge
[PATCH 3 of 8] x86/paravirt: common implementation for pte v...
Remove duplicate __pte/pte_val functions. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/paravirt.h | 48 ++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h @@ -920,15 +920,37 @@ static inline void pte_update_defer(stru PVOP_VCALL3(pv_mmu_ops.pte_update_defer, mm, addr, ptep); ...
Jan 16, 7:27 pm 2008
Jeremy Fitzhardinge
[PATCH 5 of 8] x86/paravirt: common implementation for pmd v...
Remove duplicate __pmd/pmd_val functions. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/paravirt.h | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h @@ -978,18 +978,37 @@ static inline pgdval_t pgd_val(pgd_t pgd return ret; } -#ifdef CONFIG_X86_PAE -static inline pmd_t __pmd...
Jan 16, 7:27 pm 2008
Jeremy Fitzhardinge
[PATCH 8 of 8] x86/paravirt: make set_pud operation common
Remove duplicate set_pud()s. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/paravirt.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h @@ -1086,17 +1086,19 @@ static inline pmdval_t pmd_val(pmd_t pmd return ret; } + +static inline void set_pud(pud_t *pudp, pud_t pud) +{ + pudval_t ...
Jan 16, 7:27 pm 2008
Jeremy Fitzhardinge
[PATCH 7 of 8] x86/paravirt: make set_pmd operation common
Remove duplicate set_pmd()s. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/paravirt.h | 43 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h @@ -998,6 +998,16 @@ static inline void set_pte_at(struct mm_ PVOP_VCALL4(pv_mmu_ops.set_pte_at, mm, addr, ptep, pte.pte); } +st...
Jan 16, 7:27 pm 2008
Jeremy Fitzhardinge
[PATCH 6 of 8] x86/paravirt: make set_pte operations common
Remove duplicate set_pte* operations. PAE still needs to have special variants of some of these because it can't atomically update a 64-bit pte, so there's still some duplication. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/paravirt.h | 116 ++++++++++++++++++++++---------------------- 1 file changed, 60 insertions(+), 56 deletions(-) diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h --- a/include/asm-x86/paravirt.h +++ b/include/asm...
Jan 16, 7:27 pm 2008
Jeremy Fitzhardinge
[PATCH 4 of 8] x86/paravirt: common implementation for pgd v...
Remove duplicate __pgd/pgd_val functions. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/paravirt.h | 50 ++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h @@ -950,6 +950,34 @@ static inline pteval_t pte_val(pte_t pte return ret; } +static inline pgd_t __pgd(pgdval_t val...
Jan 16, 7:27 pm 2008
Jeremy Fitzhardinge
[PATCH 2 of 8] x86/paravirt: rearrange common mmu_ops
Rearrange the various pagetable mmu_ops to remove duplication. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/paravirt.h | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/include/asm-x86/paravirt.h b/include/asm-x86/paravirt.h --- a/include/asm-x86/paravirt.h +++ b/include/asm-x86/paravirt.h @@ -230,28 +230,32 @@ struct pv_mmu_ops { void (*pte_update_defer)(struct mm_struct *mm, unsigned long addr...
Jan 16, 7:27 pm 2008
Jeremy Fitzhardinge
[PATCH 1 of 8] add native_pud_val and _pmd_val for 2 and 3 l...
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> --- include/asm-x86/page.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h --- a/include/asm-x86/page.h +++ b/include/asm-x86/page.h @@ -91,6 +91,11 @@ static inline pudval_t native_pud_val(pu } #else /* PAGETABLE_LEVELS == 3 */ #include <asm-generic/pgtable-nopud.h> + +static inline pudval_t native_pud_val(pud_t pud) +{ + return native_pgd_val(pud.pgd); ...
Jan 16, 7:27 pm 2008
Andi Kleen
[PATCH] Print which shared library/executable faulted in seg...
The previously posted version was missing all the 64bit hunks. Fix that. Please use over previous version. -Andi --- They now look like hal-resmgr[13791]: segfault at 3c rip 2b9c8caec182 rsp 7fff1e825d30 error 4 in libacl.so.1.1.0[2b9c8caea000+6000] This makes it easier to pinpoint bugs to specific libraries. And printing the offset into a mapping also always allows to find the correct fault point in a library even with randomized mappings. Previously there was no way to actually f...
Jan 16, 7:15 pm 2008
Bartlomiej Zolnierki...
[PATCH 00/22] ide: even more IDE probing code rework
Just another bunch of small fixes/cleanups... diffstat: drivers/ide/arm/bast-ide.c | 22 +++- drivers/ide/arm/rapide.c | 4 drivers/ide/ide-acpi.c | 60 +++-------- drivers/ide/ide-pnp.c | 9 - drivers/ide/ide-probe.c | 204 +++++++++++++++++++++----------------- drivers/ide/ide-proc.c | 7 - drivers/ide/ide.c | 66 +++++++----- drivers/ide/legacy/dtc2278.c | 10 - drivers/ide/legacy/ht6560b.c...
Jan 16, 7:25 pm 2008
Bartlomiej Zolnierki...
[PATCH 22/22] ide: move create_proc_ide_drives() call to ide...
* Un-static create_proc_ide_drives() and call it from ide_device_add_all(). While at it: * Rename create_proc_ide_drives() to ide_proc_port_register_devices(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 4 +++- drivers/ide/ide-proc.c | 4 +--- include/linux/ide.h | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== ---...
Jan 16, 7:28 pm 2008
Bartlomiej Zolnierki...
[PATCH 21/22] ide: move hwif->present check out from ide_...
Move hwif->present check out from ide_proc_register_port() to ide_device_add_all(). There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 9 +++++++-- drivers/ide/ide-proc.c | 3 --- 2 files changed, 7 insertions(+), 5 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/...
Jan 16, 7:28 pm 2008
Bartlomiej Zolnierki...
[PATCH 20/22] ide: factor out devices setup from ide_acpi_in...
* Factor out devices setup from ide_acpi_init() to ide_acpi_port_init_devices(). * Call ide_acpi_port_init_devices() in ide_device_add_all(). While at it: * Remove no longer needed 'drive' field from struct ide_acpi_drive_link. There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-acpi.c | 49 +++++++++++++++++++----------------------------- drivers/ide/ide-probe.c | 1 include/linux/...
Jan 16, 7:28 pm 2008
Bartlomiej Zolnierki...
[PATCH 19/22] ide-acpi: remove dead code from do_drive_get_G...
These pointers are always setup in ide_acpi_init(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-acpi.c | 10 ---------- 1 file changed, 10 deletions(-) Index: b/drivers/ide/ide-acpi.c =================================================================== --- a/drivers/ide/ide-acpi.c +++ b/drivers/ide/ide-acpi.c @@ -280,16 +280,6 @@ static int do_drive_get_GTF(ide_drive_t port = hwif->channel ? drive->dn - 2: drive->dn; - if (!drive...
Jan 16, 7:28 pm 2008
Bartlomiej Zolnierki...
[PATCH 15/22] ide: factor out adding drive to hwgroup from i...
Factor out adding drive to hwgroup from init_irq() to ide_add_drive_to_hwgroup(). There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -...
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 18/22] ide-acpi: remove needless exports
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-acpi.c | 4 ---- 1 file changed, 4 deletions(-) Index: b/drivers/ide/ide-acpi.c =================================================================== --- a/drivers/ide/ide-acpi.c +++ b/drivers/ide/ide-acpi.c @@ -494,7 +494,6 @@ int ide_acpi_exec_tfs(ide_drive_t *drive return ret; } -EXPORT_SYMBOL_GPL(ide_acpi_exec_tfs); /** * ide_acpi_get_timing - get the channel (controller) timings @@ -580...
Jan 16, 7:28 pm 2008
Bartlomiej Zolnierki...
[PATCH 17/22] ide: move ide_acpi_init() call to ide_device_a...
There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1260,7 +1260,6 @@ static int hwif_init(ide_hwif_t *hwif) done: blk_register_region(MKDEV(hwif->major, 0), M...
Jan 16, 7:28 pm 2008
Bartlomiej Zolnierki...
[PATCH 16/22] ide: factor out devices setup from init_irq()
* Factor out devices setup from init_irq() to ide_port_setup_devices(). While at it: * Do devices setup after printing port information. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 44 ++++++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 16 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe....
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 14/22] ide: move hwif->rqsize init from ide_init_q...
Move hwif->rqsize init from ide_init_queue() to init_irq(). There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -881,13 +881,6 @@ static int ide_init...
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 13/22] ide: merge init_gendisk() into hwif_register_d...
There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 44 ++++++++++++++++---------------------------- 1 file changed, 16 insertions(+), 28 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1182,26 +1182,6 @@ static void drive_release_dev (struct de complete...
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 12/22] ide: call init_gendisk() after ide_acpi_init()
There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1258,10 +1258,10 @@ static int hwif_init(ide_hwif_t *hwif) hwif->name, hwif->irq); done: - init_gendi...
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 11/22] ide: move blk_register_region() call out from ...
Move blk_register_region() call out from init_gendisk() to hwif_init(). There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1200,8 +1200,6 @@ static void init_gen...
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 10/22] ide: skip not present devices in init_gendisk()
No need to initialize drive->gendev and waste memory on IDE settings for not present devices. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 4 ++++ 1 file changed, 4 insertions(+) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1194,6 +1194,10 @@ static void init_gendisk (ide_hwif_t *hw for (unit = 0; unit < MAX...
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 09/22] ide: remove incorrect init_gendisk() comment
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 6 ------ 1 file changed, 6 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -1182,12 +1182,6 @@ static void drive_release_dev (struct de complete(&drive->gendev_rel_comp); } -/* - * init_gendisk() (as opposed to ide_geninit) is called for each major devi...
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 08/22] ide: add ->init_port_devs method to ide_hwif_t
* Add ->init_port_devs method to ide_hwif_t for a host specific initialization of devices on a port. Call the new method from ide_port_init_devices(). * Convert ht6560b, qd65xx and opti621 host drivers to use the new ->init_port_devs method. There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 3 ++ drivers/ide/legacy/ht6560b.c | 26 +++++++++++++------------ dr...
Jan 16, 7:27 pm 2008
Bartlomiej Zolnierki...
[PATCH 07/22] ide: add IDE_HFLAG_NO_{IO32_BIT,UNMASK_IRQS} h...
* Use the same bit for IDE_HFLAG_CS5520 and IDE_HFLAG_VDMA host flags (both are used only by cs5520 host driver currently). * Add IDE_HFLAG_NO_IO32_BIT host flag and use it instead of ->no_io_32bit ide_hwif_t field. * Add IDE_HFLAG_NO_UNMASK_IRQS host flag, then convert dtc2278 and rz1000 host drivers to use it. There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 4...
Jan 16, 7:26 pm 2008
Bartlomiej Zolnierki...
[PATCH 06/22] ide: factor out code initializing devices from...
* Factor out code initializing devices from ide_init_port() to ide_port_init_devices(). * Call the new function from ide_device_add_all(). There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-probe.c | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) Index: b/drivers/ide/ide-probe.c =================================================================== -...
Jan 16, 7:26 pm 2008
Bartlomiej Zolnierki...
[PATCH 05/22] ide: fix ide_unregister() usage in host drivers
bast-ide.c/ide-cs.c/delkin_cb.c: * Don't set 'restore' flag for ide_unregister() when initializing new interface. rapide.c/ide-pnp.c/ide-cs.c/ide_platform.c/au1xxx-ide.c/delkin_cb.c/scc_pata.c: * Don't set 'init_default' and 'restore' flags for ide_unregister() when removing interface. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/arm/bast-ide.c | 2 +- drivers/ide/arm/rapide.c | 2 +- drivers/ide/ide-pnp.c | 2...
Jan 16, 7:26 pm 2008
Bartlomiej Zolnierki...
[PATCH 04/22] ide: add ide_deprecated_find_port() helper
* Factor out code for finding ide_hwifs[] slot from ide_register_hw() to ide_deprecated_find_port(). * Convert bast-ide, ide-cs and delkin_cb host drivers to use ide_device_add() instead of ide_register_hw() (while at it drop doing "ide_unregister()" loop which tries to unregister _all_ IDE interfaces if useable ide_hwifs[] slot cannot be find). This patch leaves us with only two ide_register_hw() users: - drivers/macintosh/mediabay.c - drivers/ide/ide.c Signed-off-by: Bartlomiej Zoln...
Jan 16, 7:26 pm 2008
Bartlomiej Zolnierki...
[PATCH 03/22] ide: add 'init_default' and 'restore' argument...
* Add 'init_default' (flag for calling init_hwif_default()) and 'restore' (flag for calling ide_hwif_restore()) arguments to ide_unregister(). * Update ide_unregister() users to set 'init_default' and 'restore' flags. * No need to set 'init_default' flag in ide_register_hw() if the setup done by init_hwif_default() is going to be overridden by ide_init_port_hw(). * No need to set 'init_default' and 'restore' flags in cleanup_module(). There should be no functionality changes caused by this...
Jan 16, 7:26 pm 2008
Bartlomiej Zolnierki...
[PATCH 02/22] ide: remove redundant init_hwif_default() call...
ide_init_port_hw() call overrides setup done by init_hwif_default(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) Index: b/drivers/ide/ide.c =================================================================== --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -716,10 +716,8 @@ int ide_register_hw(hw_regs_t *hw, void found: if (hwif->present) ide_unregister(index); - else if (!...
Jan 16, 7:26 pm 2008
Bartlomiej Zolnierki...
[PATCH 01/22] ide: remove redundant hwif->present check f...
We check earlier for hwif->present and call ide_unregister() if necessary (after ide_unregister() hwif->present will be always cleared). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide.c | 2 -- 1 file changed, 2 deletions(-) Index: b/drivers/ide/ide.c =================================================================== --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -720,8 +720,6 @@ found: ide_init_port_data(hwif, index); init_hwif_d...
Jan 16, 7:26 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 the commit below, which moves a little code around to make a couple of major MPI implementations work on ipath devices: drivers/infiniband/hw/ipath/ipath_ud.c | 44 ++++++++++++++++---------------- 1 files changed, 22 insertions(+), 22 ...
Jan 16, 6:46 pm 2008
David Chinner
Re: [patch] Converting writeback linked lists to a tree base...
Note that data writeback may be adversely affected by location based writeback rather than time based writeback - think of the effect of location based data writeback on an app that creates lots of short term (<30s) temp files and then removes them before they are written back. Also, data writeback locatio cannot be easily derived from the inode number in pretty much all cases. "near" in terms of XFS means the same AG which means the data could be up to a TB away from the inode, and if you ha...
Jan 16, 6:35 pm 2008
Andi Kleen
[PATCH] [0/7] Some random x86 patches that should all go int...
Some are reposts, some are not. See patch descriptions for details. I believe I addressed all feedback that made sense in the reposted patches. -Andi --
Jan 16, 6:27 pm 2008
Andi Kleen
[PATCH] [7/7] Don't disable the APIC if it hasn't been mappe...
When the kernel panics early for some unrelated reason there would be eventually an early exception inside panic because clear_local_APIC tried to disable the not yet mapped APIC. Check for that explicitely. Signed-off-by: Andi Kleen <ak@suse.de> --- arch/x86/kernel/apic_32.c | 11 ++++++++--- arch/x86/kernel/apic_64.c | 9 +++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) Index: linux/arch/x86/kernel/apic_32.c =======================================================...
Jan 16, 6:27 pm 2008
Andi Kleen
[PATCH] [5/7] Replace hard coded reservations in x86-64 earl...
On x86-64 there are several memory allocations before bootmem. To avoid them stomping on each other they used to be all hard coded in bad_area(). Replace this with an array that is filled as needed. This cleans up the code considerably and allows to expand its use. v1->v2: add one tab Cc: peterz@infradead.org Signed-off-by: Andi Kleen <ak@suse.de> --- arch/x86/kernel/e820_64.c | 95 ++++++++++++++++++++++++--------------------- arch/x86/kernel/head64.c | 48 ++++++++++++...
Jan 16, 6:27 pm 2008
Andi Kleen
[PATCH] [6/7] Optimize lock prefix switching to run less fre...
On VMs implemented using JITs that cache translated code changing the lock prefixes is a quite costly operation that forces the JIT to throw away and retranslate a lot of code. Previously a SMP kernel would rewrite the locks once for each CPU which is quite unnecessary. This patch changes the code to never switch at boot in the normal case (SMP kernel booting with >1 CPU) or only once for SMP kernel on UP. This makes a significant difference in boot up performance on AMD SimNow! Also I...
Jan 16, 6:27 pm 2008
Andi Kleen
[PATCH] [4/7] Print which shared library/executable faulted ...
They now look like hal-resmgr[13791]: segfault at 3c rip 2b9c8caec182 rsp 7fff1e825d30 error 4 in libacl.so.1.1.0[2b9c8caea000+6000] This makes it easier to pinpoint bugs to specific libraries. And printing the offset into a mapping also always allows to find the correct fault point in a library even with randomized mappings. Previously there was no way to actually find the correct code address inside the randomized mapping. Relies on earlier patch to shorten the printk formats. They a...
Jan 16, 6:27 pm 2008
Andi Kleen
[PATCH] [3/7] Use shorter addresses in i386 segfault printks
Signed-off-by: Andi Kleen <ak@suse.de> --- arch/x86/mm/fault_32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/arch/x86/mm/fault_32.c =================================================================== --- linux.orig/arch/x86/mm/fault_32.c +++ linux/arch/x86/mm/fault_32.c @@ -516,7 +516,7 @@ bad_area_nosemaphore: printk_ratelimit()) { printk( #ifdef CONFIG_X86_32 - "%s%s[%d]: segfault at %08lx ip %08lx sp %08lx error %lx\n", + "%s%s[%d]: seg...
Jan 16, 6:27 pm 2008
Andi Kleen
[PATCH] [2/7] Use the correct cpuid method to detect MWAIT s...
Previously there was a AMD specific quirk to handle the case of AMD Fam10h MWAIT not supporting any C states. But it turns out that CPUID already has ways to detectly detect that without using special quirks. The new code simply checks if MWAIT supports at least C1 and doesn't use it if it doesn't. No more vendor specific code. Note this is does not simply clear MWAIT because MWAIT can be still useful even without C states. Credit goes to Ben Serebrin for pointing out the (nearly) obvious. ...
Jan 16, 6:27 pm 2008
Andi Kleen
[PATCH] [1/7] i386: Move MWAIT idle check to generic CPU ini...
Previously it was only run for Intel CPUs, but AMD Fam10h implements MWAIT too. This matches 64bit behaviour. Signed-off-by: Andi Kleen <ak@suse.de> --- arch/x86/kernel/cpu/common.c | 2 ++ arch/x86/kernel/cpu/intel.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) Index: linux/arch/x86/kernel/cpu/common.c =================================================================== --- linux.orig/arch/x86/kernel/cpu/common.c +++ linux/arch/x86/kernel/cpu/common.c @@ -499,6 +...
Jan 16, 6:27 pm 2008
Andi Kleen
[PATCH] Only print kernel debug information for OOMs caused ...
I recently suffered an 20+ minutes oom thrash disk to death and computer completely unresponsive situation on my desktop when some user program decided to grab all memory. It eventually recovered, but left lots of ugly and imho misleading messages in the kernel log. here's a minor improvement -Andi --- Only print kernel debug information for OOMs caused by kernel allocations For any page cache allocation don't print the backtrace and the detailed zone debugging information. This makes the...
Jan 16, 6:24 pm 2008
Paul Jackson
Re: [PATCH] Only print kernel debug information for OOMs cau...
Nice - thanks. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214 --
Jan 16, 6:55 pm 2008
Andi Kleen
[PATCH] Deprecate checkpatch.pl --file mode; add warning; ad...
I'm not entirely sure who collects checkpatch patches for .25 -- i thought it was Andy W., but he doesn't seem to answer. Anyways whoever does it please queue this patch for the next checkpatch.pl update. Or perhaps it could be put into -mm? Thanks, -Andi ---- Deprecate checkpatch.pl --file mode; add warning; add --file-force As discussed on linux-kernel checkpatch.pl only patches for whole files have a significant cost. Better such changes should be only done together with other changes. ...
Jan 16, 6:21 pm 2008
Andy Whitcroft
Re: [PATCH] Deprecate checkpatch.pl --file mode; add warning...
It is me, I have been off on holiday skiing. I have a whole bunch of updates merged already which I will send out tommorrow. Your --file is in the next batch which should be tested and ready by next week. Sorry for the delay. -apw --
Jan 16, 7:17 pm 2008
Andi Kleen
[PATCH mm] [1/2] Remove a.out interpreter support in ELF loa...
-mm patch for now. To be applied to 2.6.25. Following the deprecation schedule the a.out ELF interpreter support is removed now with this patch. a.out ELF interpreters were an transition feature for moving a.out systems to ELF, but they're unlikely to be still needed. Pure a.out systems will still work of course. This allows to simplify the hairy ELF loader. Signed-off-by: Andi Kleen <ak@suse.de> --- Documentation/feature-removal-schedule.txt | 11 -- fs/binfmt_elf.c ...
Jan 16, 6:18 pm 2008
Andi Kleen
[PATCH mm] [2/2] Remove ibcs2 support in ELF loader too
ibcs2 support has never been supported on 2.6 kernels as far as I know, and if it has it must have been an external patch. Anyways, if anybody applies an external patch they could as well readd the ibcs checking code to the ELF loader in the same patch. But there is no reason to keep this code running in all Linux kernels. This will save at least two strcmps each ELF execution. No deprecation period because it could not have been used anyways. Signed-off-by: Andi Kleen <ak@suse.de> ---...
Jan 16, 6:18 pm 2008
previous daytodaynext day
January 15, 2008January 16, 2008January 17, 2008