linux-kernel mailing list

FromSubjectsort iconDate
Dario Faggioli
divide error trying to set rt_period to zero
Hi all again, Here it is another little Oops we found: echo 0 > /dev/cgroups/0/cpu.rt_period_us or echo 4294967296 > /dev/cgroups/0/cpu.rt_period_us [ 205.509825] divide error: 0000 [#1]=20 [ 205.510151] Modules linked in: [ 205.510151]=20 [ 205.510151] Pid: 2339, comm: bash Not tainted (2.6.26-rc8 #33) [ 205.510151] EIP: 0060:[<c030c6ef>] EFLAGS: 00000293 CPU: 0 [ 205.510151] EIP is at div64_u64+0x5f/0x70 [ 205.510151] EAX: 0000389f EBX: 00000000 ECX: 00000000 EDX: 00000000 [ ...
Jun 25, 3:17 pm 2008
Willy Tarreau
Re: [ANNOUNCE] Position Statement on Linux Kernel Modules
Your statements clearly indicate that you have never worked yet and are slowly discovering the business world. I would like to return the challenge to you : show me one software company still in business and making profit who has not set a few patents on (provably obvious) methods they rely on. Trade secrets don't work anymore because once discovered, you're attacked by their patent holder (since everything is patented in this crappy world). There are no trade secrets in software, everything ...
Jun 25, 4:11 pm 2008
jdow
Re: [ANNOUNCE] Position Statement on Linux Kernel Modules
From: "Willy Tarreau" <w@1wt.eu> Willy, you make a bold assertion here. Your assertion would hold a That is why there are the closed, and flakey, drivers for so many products. Rather than make ideological assertions sit down and prove your points. Address cases where there is an intellectual property holder involved who has chosen Trade Secret rather than Patent as a protection on their proprietary code. Show how they will stay in business if they give away their code. Presume that their ...
Jun 25, 3:45 pm 2008
Vivek Goyal
Re: [PATCH] Remove CONFIG_EXPERIMENTAL from kdump
Makes sense to me. Thanks. Acked-by: Vivek Goyal <vgoyal@redhat.com> Thanks Vivek --
Jun 25, 3:16 pm 2008
WANG Cong
Re: [PATCH] Remove CONFIG_EXPERIMENTAL from kdump
Agreed. Thanks. -- Hi, I'm a .signature virus, please copy/paste me to help me spread all over the world. --
Jun 25, 2:52 pm 2008
Bernhard Walle
[PATCH] Remove CONFIG_EXPERIMENTAL from kdump
I would suggest to remove the "experimental" status from Kdump. Kdump is now in the kernel since a long time and used by Enterprise distributions. I don't think that "experimental" is true any more. Signed-off-by: Bernhard Walle <bwalle@suse.de> --- arch/x86/Kconfig | 1 - fs/Kconfig | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e0edaaa..f4f255b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1190,7 ...
Jun 25, 2:49 pm 2008
Glauber Costa Jun 25, 2:51 pm 2008
Max Asbock
[patch] x86: shift bits the right way in native_read_tscp
native_read_tscp shifts the bits in the high order value in the wrong direction, the attached patch fixes that. Signed-off-by: Max Asbock <masbock@linux.vnet.ibm.com> diff -pburN linux/include/asm-x86/msr.h linux.rdtscp/include/asm-x86/msr.h --- linux/include/asm-x86/msr.h 2008-06-20 11:51:17.000000000 -0700 +++ linux.rdtscp/include/asm-x86/msr.h 2008-06-25 14:26:35.000000000 -0700 @@ -18,7 +18,7 @@ static inline unsigned long long native_ unsigned long low, high; asm volatile(".byte ...
Jun 25, 2:45 pm 2008
Bernhard Walle
x86: Add /sys/firmware/memmap
This patch series adds a new interface /sys/firmware/memmap to export the BIOS (Firmware) provided memory map via sysfs for usage with kexec. While the first patch adds the generic interface, the second patch implements that interface for E820 on x86. EFI is on the TODO list, and other architectures can be added later. This patch is RFC. It has been tested on x86-64 and i386 and replaces my previous attemt that adds such an interface via procfs. Signed-off-by: Bernhard Walle ...
Jun 25, 12:57 pm 2008
Bernhard Walle
[PATCH 2/2] Use FIRMWARE_MEMMAP on x86/E820
This patch uses the /sys/firmware/memmap interface provided in the last patch on the x86 architecture when E820 is used. The patch copies the E820 memory map very early, and registers the E820 map afterwards via firmware_map_add_early(). Signed-off-by: Bernhard Walle <bwalle@suse.de> --- arch/x86/kernel/e820.c | 36 ++++++++++++++++++++++++++++++++++++ include/asm-x86/e820.h | 2 ++ 2 files changed, 38 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/e820.c ...
Jun 25, 12:57 pm 2008
Vivek Goyal
Re: [PATCH 1/2] Add /sys/firmware/memmap
Hi Bernhard, Thanks for the patch. Couple of thoughts. Do we really need another CONFIG option (CONFIG_FIRMWARE_MEMMAP)? To, me this does not seem to be a big chunk of code at the same time I am assuming that most of the people will use it (because of kexec). So probably, it might not make lot of sense to put additional CONFIG option. How about leaving the decision of memory type on arch dependent code? How about letting arch code pass you an string while adding entry and that string ...
Jun 25, 3:43 pm 2008
Bernhard Walle
[PATCH 1/2] Add /sys/firmware/memmap
This patch adds /sys/firmware/memmap interface that represents the BIOS (or Firmware) provided memory map. The tree looks like: /sys/firmware/memmap/0/start (hex number) end (hex number) type (string) ... /1/start end type With the following shell snippet one can print the memory map in the same form the kernel prints itself when booting on x86 (the ...
Jun 25, 12:57 pm 2008
Rene Herman
Re: x86: enable pat on amd athlon mode=6
Yes, PAT works equally well on my earlier model 6. The setup's already changed in linux-next though and now blacklists some Intel models only: http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=blob;f=arch/x86/kernel/... Rene. --
Jun 25, 1:15 pm 2008
Bernd Schubert
x86: enable pat on amd athlon mode=6
Hello, on my AthlonXP 1700 PAT works fine (I tested it several days). Please accept one of the patches below, I don't know which you refer. Signed-off-by: Bernd Schubert <bernd-schubert@gmx.de> Patch to enable PAT specifically on model=6 diff --git a/arch/x86/kernel/cpu/addon_cpuid_features.c b/arch/x86/kernel/cpu/addon_cpuid_features.c index c2e1ce3..61a5aa5 100644 --- a/arch/x86/kernel/cpu/addon_cpuid_features.c +++ b/arch/x86/kernel/cpu/addon_cpuid_features.c @@ -57,6 +57,8 @@ void ...
Jun 25, 12:53 pm 2008
Bernd Schubert
Re: x86: enable pat on amd athlon mode=6
Great, thanks! Cheers, Bernd --
Jun 25, 1:44 pm 2008
Rene Herman
Re: x86: enable pat on amd athlon mode=6
Well, if I provide a link, I might as well look at it myself I guess... Earlier patches on linux-kernel did the white->black list switching but as you can see that in linux-next at least all of AMD is already whitelisted. Rene. --
Jun 25, 1:20 pm 2008
Steven Rostedt
Re: hrtimers: simplify lockdep handling
Hi Oleg, I'm currently porting -rt to 26-rc7 and I came across this change: Commit: 8e60e05fdc7344415fa69a3883b11f65db967b47 With the - double_spin_lock(&new_base->lock, &old_base->lock, - smp_processor_id() < cpu); + spin_lock(&new_base->lock); + spin_lock_nested(&old_base->lock, SINGLE_DEPTH_NESTING); What's the reason that this is possible? Is it because the migration happens only on CPU hotplugging and that the CPU hotplugging code has locks that would prevent a ...
Jun 25, 12:46 pm 2008
Joel C. Salomon
Regenerating Module.symvers
Folks, I'm building kernel modules (for an in-house driver) that depend on the RTAI modules being installed. Trouble is, the computer I'm using does not have the symbols from those modules listed in any Module.symvers file. Is there any way, short of rebuilding them, to dump the symbol versions from existing modules? I'm not subscribed; please CC me on replies. --Joel Salomon --
Jun 25, 12:39 pm 2008
Bernhard Walle
[PATCH] x86: Limit E820 map when a user-defined memory m ...
This patch brings back limiting of the E820 map when a user-defined E820 map is specified. While the behaviour of i386 (32 bit) was to limit the E820 map (and /proc/iomem), the behaviour of x86-64 (64 bit) was not to limit. That patch limits the E820 map again for both x86 architectures. Code was tested for compilation and booting on a 32 bit and 64 bit system. Signed-off-by: Bernhard Walle <bwalle@suse.de> --- arch/x86/kernel/e820.c | 5 +++++ 1 files changed, 5 insertions(+), 0 ...
Jun 25, 12:39 pm 2008
Yinghai Lu Jun 25, 12:59 pm 2008
Mark Seger
Inconsistencies in the way process memory is being repor ...
I have seen past postings on this topic and there still seems to be issues. Since adding process i/o stats to collectl I've been looking more closely at process stats in general and have been digging deeper into how memory is being accounted for on my current test system which is running a 2.6.23 kernel on top of a rhel4.2 distribution and have been using 'man proc' as a guide. Specifically, I realize stats are reported in /proc/pid/stat, /proc/pid/statm and /proc/pid/status and ...
Jun 25, 12:29 pm 2008
Vaidyanathan Srinivasan
[RFC v1] Tunable sched_mc_power_savings=n
Hi, The existing power saving loadbalancer CONFIG_SCHED_MC attempts to run the workload in the system on minimum number of CPU packages and tries to keep rest of the CPU packages idle for longer duration. Thus consolidating workloads to fewer packages help other packages to be in idle state and save power. echo 1 > /sys/devices/system/cpu/sched_mc_power_savings is used to turn on this feature. When enabled, this tunable would influence the loadbalancer decision in find_busiest_group(). ...
Jun 25, 12:11 pm 2008
Len Brown
Re: Strange problem with e1000 driver - ping packet loss
your /proc/interrutps showed just eth1, and it was on IRQ 177 -- was that from a different boot than this dmesg? in any case, when you boot these on a new kernel they should both show up on IRQ 18 (because they're on GSI 18). Also, these IOAPIC interrupts are not programmable -- they are hard-coded, so the issue is not in the ACPI PCI interrupt link programming code. -Len --
Jun 25, 12:04 pm 2008
Len Brown
Linux Power Management Mini-Summit -- Ottawa -- July 22, 2008
This is an open invitation to participate in a Linux Power Management mini-summit 9AM Tuesday July 22, 2008 in Ottawa. This is the day before the Ottawa Linux Symposium. OLS is generously supporting Linux mini-summits by providing the room and projector: http://www.linuxsymposium.org/2008/minisummits.php The meeting format will be round-table discussion. There will be no phone bridge or audio/video recording. However, there will be written minutes as there were last year: ...
Jun 25, 11:44 am 2008
Rafael J. Wysocki
Re: Linux Power Management Mini-Summit -- Ottawa -- July ...
I would like to attend and I'd like to discuss the new framework for suspending and resuming devices and related things (like example implemetations of the new callbacks, the handling of wake-up etc.). Thanks, Rafael --
Jun 25, 1:15 pm 2008
Rene Herman
Re: [PATCH] PNP: have quirk_system_pci_resources() inclu ...
semi-arguably, the pnp_get_resource() is simply wrong though, so maybe this patch. After this, the quirks one should indeed be an unsigned long also. Bjorn? Rene.
Jun 25, 3:16 pm 2008
Rene Herman
[PATCH] PNP: have quirk_system_pci_resources() include i ...
Hi Andrew. quirk_system_pci_resources() disables a PnP mem resource that overlaps a PCI BAR so as to not keep the PCI driver from claiming the resource. Have it do the same for io resources. Here, ACPI claims ports that overlap with my soundcard causing the soundcard driver to fail to load. It's unknown why my ACPI BIOS claims those ports; it did not use to but this is not a (kernel) regression. Some odd BIOS reconfig triggered by temporarily removing the card seems to have brought this ...
Jun 25, 10:58 am 2008
Andrew Morton
Re: [PATCH] PNP: have quirk_system_pci_resources() inclu ...
On Wed, 25 Jun 2008 19:58:20 +0200 pci_resource_flags() returns an unsigned long. But I think you're right and resource.flags is wrong. Because there's no way in which we'll ever be able to use bits 32-63 of that field anyway. I suppose that Someone(tm) should convert resource.flags to a u32 or something. Minor issue. --
Jun 25, 2:16 pm 2008
Rene Herman
Re: [PATCH] PNP: have quirk_system_pci_resources() inclu ...
Yes, did notice but pnp_get_resource() then takes those same flags as an unsigned int -- had to pick one or the other and "the smallest one" then seemed best... Rene. --
Jun 25, 2:46 pm 2008
Patrick LeBoutillier
aic94xx: failing under heavy load
Hi, I'm using the aic94xx driver with a AIC-9410W controller (w/6 Seagate Cheetah SAS drives) and am getting the following errors under heavy load: kernel: aic94xx: escb_tasklet_complete: REQ_TASK_ABORT, reason=0x10 kernel: sas: command 0xffff81083c893700, task 0xffff81083c4459c0, timed out: EH_NOT_HANDLED kernel: sas: command 0xffff8108381b8580, task 0xffff81083d054200, timed out: EH_NOT_HANDLED kernel: sas: command 0xffff81083e64c080, task 0xffff81083c42a240, timed out: ...
Jun 25, 10:44 am 2008
Yinghai Lu
[PATCH] x86: rename setup.c to setup_percpu.c
some functions need to be moved to setup_numa.c after we merge setup32/64.c, some funcs need to be moved back to setup.c Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c deleted file mode 100644 index a81d82c..0000000 --- a/arch/x86/kernel/setup.c +++ /dev/null @@ -1,525 +0,0 @@ -#include <linux/kernel.h> -#include <linux/module.h> -#include <linux/init.h> -#include <linux/bootmem.h> -#include ...
Jun 25, 10:37 am 2008
Stefan Richter
[PATCH] firewire: fw-sbp2: fix parsing of logical unit d ...
Date: Tue, 24 Jun 2008 19:11:13 -0700 From: Richard Sharpe <realrichardsharpe@gmail.com> There is a small off-by-one bug in firewire-sbp2. This causes problems when a device exports multiple LUN Directories. I found it when trying to talk to a SONY DVD Jukebox. Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com> Acked-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (op. order, changelog) --- Kevin, this bug probably prevented the ...
Jun 25, 9:37 am 2008
Ingo Molnar
[patch] softlockup: print a module list on being stuck
Linus, Arjan has been observing lots of softlockup reports on kerneloops.org and would like to have the patch below in v2.6.26 to narrow the real source of it down some more, and has asked for this patch to be applied sooner than planned. The patch is queued up for the next merge window at the moment. It's well-tested and obvious. The module list is printed here the same way it's printed for oopses. Discard it if you feel in any way nervous about ...
Jun 25, 9:36 am 2008
Adrian Bunk
[2.6 patch] unexport journal_update_superblock
This patch removes the unused EXPORT_SYMBOL(journal_update_superblock). Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 5 May 2008 - 22 Apr 2008 - 14 Apr 2008 - 31 Mar 2008 - 27 Feb 2008 66cbc7390d66cdeb83a3f81d7ec1ea71d6f6e2c8 foobar diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c index 3943a89..5c2ebb7 100644 --- a/fs/jbd/journal.c +++ b/fs/jbd/journal.c @@ -68,7 +68,6 @@ EXPORT_SYMBOL(journal_set_features); EXPORT_SYMBOL(journal_create); ...
Jun 25, 9:26 am 2008
Adrian Bunk
[2.6 patch] mm/page_alloc.c: cleanups
This patch contains the following cleanups: - make the following needlessly global variables static: - required_kernelcore - zone_movable_pfn[] - make the following needlessly global functions static: - move_freepages() - move_freepages_block() - setup_pageset() - find_usable_zone_for_movable() - adjust_zone_range_for_zone_movable() - __absent_pages_in_range() - find_min_pfn_for_node() - find_zone_movable_pfns_for_nodes() Signed-off-by: Adrian Bunk ...
Jun 25, 9:26 am 2008
Adrian Bunk
[2.6 patch] make eeepc-laptop.c:cm_{g,s}etv[] static
This patch makes the needlessly global cm_{g,s}etv[] static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 5 May 2008 drivers/misc/eeepc-laptop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 4e41a5023994160e27b2b194d9e67e2208c948de diff --git a/drivers/misc/eeepc-laptop.c b/drivers/misc/eeepc-laptop.c index 6d72760..9e8d79e 100644 --- a/drivers/misc/eeepc-laptop.c +++ b/drivers/misc/eeepc-laptop.c @@ -87,7 +87,7 @@ enum { ...
Jun 25, 9:25 am 2008
Len Brown Jun 25, 12:21 pm 2008
Adrian Bunk
[2.6 patch] make struct scsi_{host,target}_type static
This patch makes the needlessly global struct scsi_{host,target}_type static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 5 May 2008 drivers/scsi/hosts.c | 2 +- drivers/scsi/scsi_scan.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 8d16370bca9037f8ab45eecb676adf8794438b21 diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index 3690360..497ca68 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -290,7 ...
Jun 25, 9:25 am 2008
Adrian Bunk
[2.6 patch] make register_page_bootmem_info_section() static
This patch makes the needlessly global register_page_bootmem_info_section() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 5 May 2008 070dc3db481a222a79755b6a06fb300f022ff56e diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index b3fd604..6a9a28a 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -86,7 +86,7 @@ void put_page_bootmem(struct page *page) } -void register_page_bootmem_info_section(unsigned long ...
Jun 25, 9:25 am 2008
Adrian Bunk
[2.6 patch] remove the dead ATARI_SCC{,_DMA} options
It seems the driver was removed back in kernel 2.3 but the options were forgotten. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- arch/m68k/Kconfig | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) d7a47518b54b51accc11a9cbfd503d740dbec087 diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 8012ff7..8c5e1de 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig @@ -490,28 +490,6 @@ config ...
Jun 25, 9:25 am 2008
Adrian Bunk
[2.6 patch] remove the unused ADB_KEYBOARD option
When the driver was removed back in 2002 the option was forgotten. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- 7698eb0f092f61d2f1d4d99cd7150018d4ddb6fe diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 55ea52f..8012ff7 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig @@ -578,18 +578,6 @@ config MAC_HID depends on INPUT_ADBHID default y -config ADB_KEYBOARD - bool "Support for ADB keyboard (old ...
Jun 25, 9:25 am 2008
Adrian Bunk
[2.6 patch] m32r: remove the unused NOHIGHMEM option
This patch removes the unused NOHIGHMEM option. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- adea6f9163987adf9c5a63b5a257ed3554add9d7 diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index de153de..e2e3661 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig @@ -216,10 +216,6 @@ config MEMORY_SIZE default "01000000" if PLAT_M32104UT default "00800000" if PLAT_OAKS32R -config NOHIGHMEM - bool - default y - config ...
Jun 25, 9:25 am 2008
Adrian Bunk
[2.6 patch] remove unused UNIX98_PTY_COUNT options
The h8300 and sparc options somehow survived when the code stopped using CONFIG_UNIX98_PTY_COUNT. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- arch/h8300/Kconfig | 14 -------------- arch/sparc/Kconfig | 14 -------------- 2 files changed, 28 deletions(-) 153f95e9cbfc5292daf1b115392e5fb231490aaf diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 085dc6e..396ab05 100644 --- a/arch/h8300/Kconfig +++ ...
Jun 25, 9:25 am 2008
Adrian Bunk
[2.6 patch] remove the unused ALPHA_CORE_AGP option
The real option is named AGP_ALPHA_CORE. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- 29619116cb61e48b094e62055da34d85e854bc39 diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 729cdbd..e50a771 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig @@ -333,11 +333,6 @@ config PCI_SYSCALL config IOMMU_HELPER def_bool PCI -config ALPHA_CORE_AGP - bool - depends on ALPHA_GENERIC || ALPHA_TITAN || ...
Jun 25, 9:25 am 2008
Adrian Bunk
[2.6 patch] remove the unused SCSI_QLOGIC_FC_FIRMWARE option
This option was forgotten when the SCSI_QLOGIC_FC driver was removed. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Adrian Bunk <bunk@kernel.org> --- 92547181b79610ddd207a9cdbea35653a1d63b8a diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 81ccbd7..a72993c 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -1305,14 +1305,6 @@ config SCSI_QLOGIC_FAS To compile this driver as a module, choose M here: the module will be called ...
Jun 25, 9:24 am 2008
Michael Kerrisk
man-pages-3.01 is released
Gidday I've released man-pages-3.01. This release is now available for download at: http://www.kernel.org/pub/linux/docs/man-pages or ftp://ftp.kernel.org/pub/linux/docs/man-pages This release is now available for download at: http://www.kernel.org/pub/linux/docs/man-pages or ftp://ftp.kernel.org/pub/linux/docs/man-pages The online changelog is available at http://www.kernel.org/doc/man-pages/changelog.html (blogged ...
Jun 25, 9:14 am 2008
Bernd Schubert
Re: [GIT PULL] KVM fixes for 2.6.26-rc7
I just pulled from Linus and now it stalls to boot at [ 0.616031] pnp: PnP ACPI init [ 0.628031] ACPI: bus type pnp registered [ 0.640031] pnp: PnP ACPI: found 7 devices [ 0.652031] ACPI: ACPI bus type pnp unregistered [ 0.660031] SCSI subsystem initialized [ 0.664031] PCI: Using ACPI for IRQ routing [ 0.692031] PCI-GART: No AMD northbridge found. The kvm process is at 100% time. Taking the many problems I already reported about, 2.6.26 probably will be entirely ...
Jun 25, 9:13 am 2008
Agner Fog
Re: ABI change for device drivers using future AVX instr ...
Arjan van de Ven wrote: >Let me repeat this loud and clear: >It is not allowed to use floating point, SSE of AVX in device drivers. Thank you for a clear answer. Re-reading the ABI: >A.2.4 Miscellaneous Remarks >Linux Kernel code is not allowed to change the x87 and SSE units. If those are >changed by kernel code, they have to be restored properly before sleeping or leaving >the kernel. On preemptive kernels also more precautions may be needed. This states your point, but certainly ...
Jun 25, 12:54 pm 2008
Arjan van de Ven
Re: ABI change for device drivers using future AVX instr ...
On Wed, 25 Jun 2008 17:32:36 +0200 the answer is: you don't use AVX in drivers just as you don't use SSE in drivers. Let me repeat this loud and clear: It is not allowed to use floating point, SSE of AVX in device drivers. (there are few places that very carefully do this anyway, the raid5 a patch introducing xsave/xrestor is being discussed already here... this is not correct; the library functions are provided by the kernel and do not use AVX etc. -- If you want to reach me ...
Jun 25, 9:22 am 2008
Alan Cox
Re: ABI change for device drivers using future AVX instr ...
Linux uses its own routines in these cases - and in fact for MMX we The beauty of the Linux kernel being source based - we don't have to worry about ABI problems like this. Alan --
Jun 25, 1:14 pm 2008
Agner Fog
ABI change for device drivers using future AVX instruction set
The announced future Intel AVX instruction set extends the 128-bit XMM registers to 256-bit YMM registers. Intel has proposed relevant ABI extensions, which I assume will be adopted in the System V ABI. See references below. Some details are not covered in the Intel documents. I have discussed this with an Intel engineer who has supplied all the details I asked for. I have listed the necessary ABI changes in detail in my manual on calling conventions (see below). One problem that has ...
Jun 25, 8:32 am 2008
Arjan van de Ven
Re: ABI change for device drivers using future AVX instr ...
On Wed, 25 Jun 2008 21:54:04 +0200 the linux kernel policy is loud and clear; this is more an OS policy as it is a platform ABI issue. We as linux do not allow this (with the small footnote around the raid stuff, but that has specific very careful use). In addition, you really aren't allowed to use floating point in the kernel period as concept, if you need it you very likely are doing something wrong. -- If you want to reach me at my work email, use arjan@linux.intel.com For ...
Jun 25, 1:09 pm 2008
Maciej W. Rozycki
Re: apic=debug report for 2.6.24 (32-bit) with Intel 3GH ...
Hmm, that's quite odd. There's some recent work in this area in linux-next -- do you have means to try that tree instead? Did any older version of Linux work on this board? Either way, please send .config and a full log from a bootstrap with the "noapic" option -- while this piece of code is not reached in such a scenario, various configuration tables will be dumped at the beginning regardless and that may give us hints. Maciej --
Jun 25, 9:10 am 2008
noah
apic=debug report for 2.6.24 (32-bit) with Intel 3GHz on ...
Motherboard: MSI 7173 Ver 1A CPU: Intel 3.00GHz (HT enabled) Kernel 2.6.24 (Ubuntu: linux-image-2.6.24-19-server 2.6.24-19.34) 32-bit (i wrote this off the screen; i don't have access to a serial console) SMP alternatives: switching to SMP mcode Booting processor 1/1 eip 3000 Initializing CPU#1 masked ExtINT ON CPU#1 Calibrating delay using timer specific routine .... monitor/mwait feature present CPU: Tracecache: 12K uops, L1 D cache: 16K CPU: L2 cache: 2048K CPU: Physical Processor ID: ...
Jun 25, 8:53 am 2008
John W. Linville
pull request: wireless-2.6 2008-06-25
Dave, Here is the latest round of wireless fixes for 2.6.26. The EU regulatory domain patch is straight-forward and should not affect anyone who doesn't choose to use it. It is already queued in net-next-2.6, but upon reflection I think it makes sense to include it as a fix. I don't think git will choke on it at all. The iwlwifi patch is physically bigger than I would like to see at this point of the release, but it is isolated to the iwlwifi drivers and it should avoid problems with ...
Jun 25, 8:36 am 2008
Gautham R Shenoy
[RFC/PATCH] sched: Nominate the idle load balancer from ...
sched: Nominate the idle load balancer from a semi-idle group. From: Gautham R Shenoy <ego@in.ibm.com> This is an RFC Patch, not for inclusion! Currently the first cpu in the nohz.cpu_mask is nominated as the idle load balancer. However, this also be a cpu from an idle group, thereby not yiedling the expected power savings. Improve the logic to pick an idle cpu from a semi-idle group for performing the task of idle load balancing. This patch did show a decent improvements for ...
Jun 25, 8:39 am 2008
Gene Heskett
e2fsck vs sata_sil & 400GB drive
Greetings all; I got a rather unpleasant surprise this morning while rebooting to 2.6.26-rc8 The drive I use for amanda's virtual tapes is a 400GB Deathstar on a sata_sil based pci card. I didn't think too much of it when the bootup said it had been mounted 26 times, check forced. So I knew I was in for a 30+ minute wait, but e2fsck normally outputs about the first 24% of the check's progress on that particular drive fairly quickly before entering a silent phase that may last 15+ ...
Jun 25, 8:15 am 2008
jmerkey
Re: Forensic File System GUID Linux/Windows
Thanks. Good advice. What we really need is someone to maintain a central registry for UUID generation for EFI and GPT based ID's. Since drives are getting bigger and bigger, GPT is probably going to be the standard 5 years from now, so sooner is better than later. I will regenerate a new UUID using these tools and update the software. --
Jun 25, 7:53 am 2008
Roland McGrath
Re: [patch] make siginfo_t si_utime + si_sstime report t ...
That looks fine. The si_utime and si_stime fields have never been standardized and I don't really know of anything that's ever actually used them. I'm sure whatever it has meant for ages is fine for it to mean now, and certainly today's clock_t is what matches what this code meant when it was written. It seems unlikely that cutime rather than utime was ever desired here. If anything, it should probably be the group-wide utime sum rather than the thread's, but that is not so trivial to sample ...
Jun 25, 1:26 pm 2008
Oleg Nesterov
Re: [patch] make siginfo_t si_utime + si_sstime report t ...
This looks like the obviously good fix to me. The patch also deletes the comment about signal_struct->cXtime, this also looks right: why should we use cutime/cstime ? Oleg. --
Jun 25, 8:38 am 2008
Michael Kerrisk
[patch] make siginfo_t si_utime + si_sstime report times ...
Oleg, Thomas, In the switch to configurable HZ in 2.6, the treatment of the si_utime and si_stime fields that are exposed to userland via the siginfo structure looks to have been botched. As things stand, these fields report times in units of HZ, so that userland gets information that varies depending on the HZ that the kernel was configured with. This (trivial, untested) patch changes the reported values to use USER_HZ units. What do you think of making this change? Signed-off-by: ...
Jun 25, 7:49 am 2008
Martin Schwidefsky
[patch 10/21] Cleanup kprobes printk messages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/kprobes.c | 4 +--- arch/s390/kernel/machine_kexec.c | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) Index: quilt-2.6/arch/s390/kernel/kprobes.c =================================================================== --- quilt-2.6.orig/arch/s390/kernel/kprobes.c +++ quilt-2.6/arch/s390/kernel/kprobes.c @@ -41,10 +41,8 @@ int __kprobes ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 00/21] s390 printk message cleanup
Greetings, this is the first batch of patches of our project to document all s390 specific kernel messages. The first step is to cleanup the existing messages: remove debugging messages, convert messages to BUG_ON / WARN_ON and convert messages to debug feature entries. The second step will be to introduce a new family of print macros that are then uniformly used in the s390 device drivers. The third step are the Documentation files and a script that is used to check the messages and to create ...
Jun 25, 7:34 am 2008
Martin Schwidefsky
[patch 19/21] Cleanup netiucv printk messages.
From: Ursula Braun <braunu@de.ibm.com> Cc: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Ursula Braun <braunu@de.ibm.com> --- drivers/s390/net/netiucv.c | 61 ++++++--------------------------------------- 1 file changed, 9 insertions(+), 52 deletions(-) Index: quilt-2.6/drivers/s390/net/netiucv.c =================================================================== --- quilt-2.6.orig/drivers/s390/net/netiucv.c +++ quilt-2.6/drivers/s390/net/netiucv.c @@ -625,9 +625,6 @@ static void ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 11/21] Cleanup cpacf printk messages.
From: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> --- arch/s390/crypto/prng.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) Index: quilt-2.6/arch/s390/crypto/prng.c =================================================================== --- quilt-2.6.orig/arch/s390/crypto/prng.c +++ quilt-2.6/arch/s390/crypto/prng.c @@ -185,11 +185,8 @@ static int __init prng_init(void) prng_seed(16); ret = misc_register(&prng_dev); - if ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 03/21] Cleanup xpram printk messages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/block/xpram.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) Index: quilt-2.6/drivers/s390/block/xpram.c =================================================================== --- quilt-2.6.orig/drivers/s390/block/xpram.c +++ quilt-2.6/drivers/s390/block/xpram.c @@ -100,15 +100,10 @@ static int xpram_page_in (unsigned long : "+d" ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 05/21] Cleanup 3215 printk messages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/con3215.c | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) Index: quilt-2.6/drivers/s390/char/con3215.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/con3215.c +++ quilt-2.6/drivers/s390/char/con3215.c @@ -93,9 +93,6 @@ struct raw3215_info { struct raw3215_req ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 17/21] Cleanup zfcp dumper printk messages.
From: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/zcore.c | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) Index: quilt-2.6/drivers/s390/char/zcore.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/zcore.c +++ quilt-2.6/drivers/s390/char/zcore.c @@ -223,12 +223,10 @@ ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 13/21] Cleanup appldata printk messages.
From: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/appldata/appldata.h | 14 -------- arch/s390/appldata/appldata_base.c | 39 ++--------------------- arch/s390/appldata/appldata_mem.c | 43 +------------------------ arch/s390/appldata/appldata_net_sum.c | 39 ----------------------- arch/s390/appldata/appldata_os.c | 57 ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 04/21] Cleanup 3270 printk messages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/fs3270.c | 5 +---- drivers/s390/char/raw3270.c | 1 - drivers/s390/char/tty3270.c | 3 --- 3 files changed, 1 insertion(+), 8 deletions(-) Index: quilt-2.6/drivers/s390/char/fs3270.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/fs3270.c +++ quilt-2.6/drivers/s390/char/fs3270.c @@ -512,11 ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 08/21] Cleanup printk messages in dcssblk.
From: Hongjie Yang <hongjie@us.ibm.com> Signed-off-by: Hongjie Yang <hongjie@us.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/block/dcssblk.c | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) Index: quilt-2.6/drivers/s390/block/dcssblk.c =================================================================== --- quilt-2.6.orig/drivers/s390/block/dcssblk.c +++ quilt-2.6/drivers/s390/block/dcssblk.c @@ -167,10 +167,8 @@ ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 18/21] Cleanup iucv printk messages.
From: Ursula Braun <braunu@de.ibm.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Ursula Braun <braunu@de.ibm.com> --- net/iucv/af_iucv.c | 8 ++------ net/iucv/iucv.c | 9 ++------- 2 files changed, 4 insertions(+), 13 deletions(-) Index: quilt-2.6/net/iucv/af_iucv.c =================================================================== --- quilt-2.6.orig/net/iucv/af_iucv.c +++ quilt-2.6/net/iucv/af_iucv.c @@ -1135,8 +1135,7 @@ static void ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 16/21] Cleanup vmlogrdr printk messages.
The message descriptions are still missing though .. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/vmlogrdr.c | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) Index: quilt-2.6/drivers/s390/char/vmlogrdr.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/vmlogrdr.c +++ quilt-2.6/drivers/s390/char/vmlogrdr.c @@ -216,9 +216,7 @@ static int ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 21/21] Cleanup lcs printk messages.
From: Klaus-D. Wacker <kdwacker@de.ibm.com> Cc: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Klaus-D. Wacker <kdwacker@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/net/lcs.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) Index: quilt-2.6/drivers/s390/net/lcs.c =================================================================== --- quilt-2.6.orig/drivers/s390/net/lcs.c +++ quilt-2.6/drivers/s390/net/lcs.c @@ -1762,7 +1762,7 ...
Jun 25, 7:35 am 2008
Bastian Blank
Re: [patch 07/21] Cleanup sclp printk messages.
Does that really need to be a panic? Bastian -- Extreme feminine beauty is always disturbing. -- Spock, "The Cloud Minders", stardate 5818.4 --
Jun 25, 8:15 am 2008
Martin Schwidefsky
[patch 07/21] Cleanup sclp printk messages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/sclp.c | 8 +++----- drivers/s390/char/sclp_con.c | 2 -- drivers/s390/char/sclp_config.c | 4 +--- drivers/s390/char/sclp_cpi_sys.c | 12 ++---------- drivers/s390/char/sclp_quiesce.c | 8 +------- drivers/s390/char/sclp_rw.c | 2 -- drivers/s390/char/sclp_sdias.c | 4 +--- drivers/s390/char/sclp_tty.c | 8 ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 20/21] Cleanup qeth print messages.
From: Frank Blaschka <frank.blaschka@de.ibm.com> Cc: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/net/qeth_core_main.c | 3 +-- drivers/s390/net/qeth_l3_main.c | 9 +-------- 2 files changed, 2 insertions(+), 10 deletions(-) Index: quilt-2.6/drivers/s390/net/qeth_core_main.c =================================================================== --- ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 12/21] Cleanup smsgiucv printk messages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/net/smsgiucv.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) Index: quilt-2.6/drivers/s390/net/smsgiucv.c =================================================================== --- quilt-2.6.orig/drivers/s390/net/smsgiucv.c +++ quilt-2.6/drivers/s390/net/smsgiucv.c @@ -156,11 +156,8 @@ static int __init smsg_init(void) if (rc != 0) goto ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 09/21] Cleanup vmwatch printk messages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/vmwatchdog.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) Index: quilt-2.6/drivers/s390/char/vmwatchdog.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/vmwatchdog.c +++ quilt-2.6/drivers/s390/char/vmwatchdog.c @@ -92,23 +92,15 @@ static int vmwdt_keepalive(void) func ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 02/21] Cleanup vtime printk messages.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/vtime.c | 56 ++++++++++------------------------------------- 1 file changed, 12 insertions(+), 44 deletions(-) Index: quilt-2.6/arch/s390/kernel/vtime.c =================================================================== --- quilt-2.6.orig/arch/s390/kernel/vtime.c +++ quilt-2.6/arch/s390/kernel/vtime.c @@ -318,8 +318,7 @@ static void ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 15/21] Cleanup s390 debug feature print messages.
From: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/debug.c | 9 --------- 1 file changed, 9 deletions(-) Index: quilt-2.6/arch/s390/kernel/debug.c =================================================================== --- quilt-2.6.orig/arch/s390/kernel/debug.c +++ quilt-2.6/arch/s390/kernel/debug.c @@ -1079,7 +1079,6 @@ __init debug_init(void) ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 14/21] Cleanup monreader printk messages.
From: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/monreader.c | 74 +++--------------------------------------- 1 file changed, 7 insertions(+), 67 deletions(-) Index: quilt-2.6/drivers/s390/char/monreader.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/monreader.c +++ ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 06/21] Cleanup zcrypt printk messages.
From: Felix Beck <felix.beck@de.ibm.com> Signed-off-by: Felix Beck <felix.beck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/crypto/zcrypt_api.c | 24 ++---------- drivers/s390/crypto/zcrypt_api.h | 28 -------------- drivers/s390/crypto/zcrypt_cex2a.c | 3 - drivers/s390/crypto/zcrypt_error.h | 6 --- drivers/s390/crypto/zcrypt_pcica.c | 3 - drivers/s390/crypto/zcrypt_pcicc.c | 15 +------ ...
Jun 25, 7:35 am 2008
Martin Schwidefsky
[patch 01/21] Cleanup cio printk messages.
From: Michael Ernst <mernst@de.ibm.com> Unnecessary dev_info, dev_warn and printk messages are removed. Signed-off-by: Michael Ernst <mernst@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/cio/chp.c | 7 ++----- drivers/s390/cio/cio.c | 3 +-- drivers/s390/cio/cmf.c | 9 --------- drivers/s390/cio/device.c | 18 ++++++++---------- 4 files changed, 11 insertions(+), 26 deletions(-) Index: ...
Jun 25, 7:35 am 2008
Stephen Rothwell
linux-next: Tree for June 25
Hi all, Changes since next-20080624: The tip-core tree gained three conflicts against Linus' tree. The sched tree gained a conflict against the cpus4096 tree. The x86 tree gained a conflict against the ftrace tree. It also required three patches that Ingo supplied. The pci tree gained two conflicts against the x86 tree. The v4l-dvb tree has had another commit reverted for a build problem, however that may have been due to a mismerge in yesterday's tree. The acpi tree gained two ...
Jun 25, 7:35 am 2008
Miklos Szeredi
generic_file_splice_read() issues
| error = 0; | while (spd.nr_pages < nr_pages) { | /* | * Page could be there, find_get_pages_contig() breaks on | * the first hole. | */ | page = find_get_page(mapping, index); | if (!page) { | /* | * page didn't exist, allocate one. | */ | page = page_cache_alloc_cold(mapping); | if (!page) error = -ENOMEM? | break; | | error = add_to_page_cache_lru(page, mapping, index, | mapping_gfp_mask(mapping)); | if (unlikely(error)) { | ...
Jun 25, 6:54 am 2008
Jens Axboe
Re: generic_file_splice_read() issues
Lets move the error assignment inside that loop, ala - error = 0; while (spd.nr_pages < nr_pages) { + error = 0; Perhaps we can abstract that bit out into a small helper function, tied in with your previous patch. -- Jens Axboe --
Jun 25, 7:10 am 2008
Miklos Szeredi
Re: generic_file_splice_read() issues
If you don't mind, I'd leave this to you. I don't have the means (and time) to test these changes, and anyway my preferred solution to all known and unknown problems of generic_file_splice_read() would be to move it to do_generic_file_read(), which you and Linus unfortunately don't like :/ Miklos --
Jun 25, 7:26 am 2008
barry bouwsma
Re: [PATCH] UTC timestamp option for FAT filesystems
Moin moin! May I just add a resounding YES-YES-YES to the message which was posted earlier today as Message-ID: <> oh b*gger, that doesn't help when snarfing from a web archive (voluntary use as a non-subscirber of a webmail interface prevents me from including a References: header without more effort than I care to do now, not that this would help) I was actually just about to post an almost identical message today to clean out my repository of hacks, with almost the same ...
Jun 25, 6:31 am 2008
Joe Peterson
Re: [PATCH] UTC timestamp option for FAT filesystems
I do understand what you are saying, however I would suggest not making "gmt" a synonym for the following reasons: 1) Better to keep the options simple and less cluttered 2) GMT is not strictly the same as UTC (according to Wikipedia, it usually is used to mean the same thing, but it can also mean "UT1" (or the less exact "UT"), which is not exactly equal to UTC). Ah, then that is, indeed, another good reason. -Thanks, Joe --
Jun 25, 7:42 am 2008
barry bouwsma
Re: [PATCH] UTC timestamp option for FAT filesystems
Fair enough, I won't press the matter. I'm just one of those old f*rts who still remembers the american WWV talking clock and how unnerving it was after years to be hearing ``Coordinated Universal Time'' so I deserve to wither and drop off the vine. Also, in case of all my consumer equipment, I think 100% of it refers to GMT+2 (in my present time zone), so I wonder if in different languages, there's a preference for casual use of the phrase GMT (a quick look in my dictionary shows an entry ...
Jun 25, 12:35 pm 2008
Bryan Wu
[GIT PULL] Blackfin arch bug fixing for 2.6.26-rc8
Hi Linus, Please pull from 'for-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6.git for-linus to receive the following updates: arch/blackfin/kernel/cplb-nompu/cplbinit.c | 6 ++++-- arch/blackfin/kernel/irqchip.c | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) Bryan Wu (1): Blackfin arch: fix up section mismatch warning Sonic Zhang (1): Blackfin arch: fix bug - kernel boot fails when Spinlock ...
Jun 25, 6:35 am 2008
Uwe Kleine-König
[PATCH] fix typo "varaible" -> "variable"
This patch was created by git grep -l '[vV]araible' | xargs -r -t perl -p -i -e 's/\b([Vv]ar)ai(bles?)\b/$1ia$2/g' Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> --- drivers/input/mouse/gpio_mouse.c | 2 +- drivers/net/skfp/h/hwmtm.h | 2 +- drivers/net/wan/farsync.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c index 3392901..f8095a0 100644 --- ...
Jun 25, 6:22 am 2008
Justin Piszcz
In reply to the scheduler performance across md/software RAID.
Strictly "benchmark" only, not example of a real load of course, but we see that overall, most of them finish around the same time, with the exception of CFQ which I had used 0 for the slice idle time for all of the disks. Using 10 Raptor 150s in this test in a md/RAID 5 w/1024k chunk size, utilizing the XFS filesystem: http://home.comcast.net/~jpiszcz/20080625/scheduler_comparison.html jp@p63:~$ mkdir sched jp@p63:~$ mkdir sched/cfq jp@p63:~$ /usr/bin/time ./rt3.sh && mv *txt ...
Jun 25, 6:22 am 2008
Uwe
[PATCH] handle failure of irqchip->set_type in setup_irq
set_type returns an int but currently setup_irq ignores that. To save me from undoing some changes setting the IRQ_NO_BALANCING bit in desc->flags, setting IRQ_PER_CPU in desc->status and adding the new action to desc is only done after set_type succeeded. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> --- Hello, in my case set_type returns an error because gpio-key tries to use IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING and my irq-chip can only do one of these. Best ...
Jun 25, 6:11 am 2008
Mikulas Patocka
Re: [10 PATCHES] inline functions to avoid stack overflow
So, ask gcc developers to do kernel-specific ABI with only 128-byte stack frame. BTW. could some gcc developer explain the reason for additional 16-bytes on stack on sparc64? 64-bit ABI mandates 176 bytes, but gcc allocates 192 bytes. Even worse, gcc doesn't use these additional bytes. If you try this: extern void f(int *i); void g() { int a; f(&a); } , it allocates additional 16 bytes for the variable "a" (so there's total 208 bytes), even though it could ...
Jun 25, 5:53 am 2008
David Miller
Re: [10 PATCHES] inline functions to avoid stack overflow
From: Mikulas Patocka <mpatocka@redhat.com> The extra 16 bytes of space allocated is so that GCC can perform a secondary reload of a quad floating point value. It always has to be present, because we can't satisfy a secondary reload by emitting yet another reload, it's the end of the possible level of recursions allowed by the reload pass. GCC could be smart and eliminate that slot when it's not used, but such a thing is not implemented yet. It would also require quite a bit of new code ...
Jun 25, 3:09 pm 2008
Paul Jackson
[PATCH 2/2] x86 boot: only pick up additional EFI memmap ...
From: Paul Jackson <pj@sgi.com> Applies on top of the previous patch: x86 boot: add code to add BIOS provided EFI memory entries to kernel Instead of always adding EFI memory map entries (if present) to the memory map after initially finding either E820 BIOS memory map entries and/or kernel command line memmap entries, -instead- only add such additional EFI memory map entries if the kernel boot option: add_efi_memmap is specified. Requiring this 'add_efi_memmap' option is ...
Jun 25, 5:44 am 2008
Paul Jackson
[PATCH 1/2] x86 boot: more tweaks to hex prints of some ...
From: Paul Jackson <pj@sgi.com> Fix some problems with (and applies on top of) a previous patch: x86 boot: show pfn addresses in hex not decimal in some kernel info printks Primarily change "0x%8lx" format, which displays with a right aligned space filled hex number (spaces between the "0x" prefix and the number), into "%0#10lx" format, which zero fills instead of space fills, and which uses the printf flag '#' to request the "0x" prefix instead of hard coding it. Also replace some other ...
Jun 25, 5:44 am 2008
Ingo Molnar
Re: [PATCH 2/2] x86 boot: only pick up additional EFI me ...
applied to tip/x86/setup-memory - thanks Paul. Ingo --
Jun 25, 9:11 am 2008
Miklos Szeredi
[patch 0/2] splice: fix nfs export of fuse filesystems
Well, it wasn't that hard to fix just this issue. I tested the following two patches, and verified that splice-in and splice-out now always return full counts, even if pages are invalidated during the splicing. The ClearPageUptodate() thing in 1/2 needs a bit of careful attention from VM hackers (Hugh and Nick added to CC). I still see small issues with generic_file_splice_read() (more in a separate email) and I don't quite see how this async thing is going to work out, but that's another ...
Jun 25, 5:40 am 2008
Miklos Szeredi
[patch 2/2] splice: fix generic_file_splice_read() race ...
From: Miklos Szeredi <mszeredi@suse.cz> If a page was invalidated during splicing from file to a pipe, then generic_file_splice_read() could return a short or zero count. This manifested itself in rare I/O errors seen on nfs exported fuse filesystems. This is because nfsd uses splice_direct_to_actor() to read files, and fuse uses invalidate_inode_pages2() to invalidate stale data on open. Fix by redoing the page find/create if it was found to be truncated (invalidated). Signed-off-by: ...
Jun 25, 5:40 am 2008
Jens Axboe
Re: [patch 2/2] splice: fix generic_file_splice_read() r ...
This looks good to me, page locking is also consistent. You can add my acked-by, I'm assuming Linus will just take it directly for 2.6.26. -- Jens Axboe --
Jun 25, 6:00 am 2008
Evgeniy Polyakov
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
Page is locked of course, but invalidated, removed from all trees and caches, i.e. grab, lock, check, unlock... invalidate, write into that page should fail, but it will not, since page is uptodate and I already found a solution, but I worry about splice code, which usage Or instead of returning error or zero and relookup page eventually, which can already contain new data, we get old data. -- Evgeniy Polyakov --
Jun 25, 8:30 am 2008
Miklos Szeredi
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
AFAICS it does. And I agree, that splice should handle truncation better. But as I said, this affects every single filesystem out there. And yes, my original patch wouldn't solve this (although it wouldn't make it harder to solve either). However the page invalidation issue is completely orthogonal, and only affects a few filesystems which call invalidate_complete_page2(), namely: 9p, afs, fuse and nfs. Miklos --
Jun 25, 11:35 am 2008
Miklos Szeredi
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
That's just a question of how we interpret PG_uptodate. If it means: the page contains data that is valid, or was valid at some point in You rely on page being !PageUptodate() after being invalidated? Why No, instead of returning a short count, it is now returning old content. Miklos --
Jun 25, 7:41 am 2008
Linus Torvalds
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
I really think we should just change splice itself at this point. The VM people may end up removing the clearing of the uptodate bit for other reasons, but there's no way I'll do this kind of thing which affects unknown number of cases for just the splice kind of reason, when we could just change the one place you care about right now - which is just FUSE/NFSD/page_cache_pipe_buf_confirm. I also really don't think this even fixes the problems you have with FUSE/NFSD - because you'll ...
Jun 25, 8:11 am 2008
Miklos Szeredi
[patch 1/2] mm: dont clear PG_uptodate in invalidate_com ...
From: Miklos Szeredi <mszeredi@suse.cz> Clearing the uptodate page flag will cause page_cache_pipe_buf_confirm() to return -ENODATA if that page was in the buffer. This in turn will cause splice() to return a short or zero count. This manifested itself in rare I/O errors seen on nfs exported fuse filesystems. This is because nfsd uses splice_direct_to_actor() to read files, and fuse uses invalidate_inode_pages2() to invalidate stale data on open. Fix this by not clearing PG_uptodate on ...
Jun 25, 5:40 am 2008
Miklos Szeredi
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
I want the page fully invalidated, and I also want splice and nfs exporting to work as for other filesystems. Miklos --
Jun 25, 6:32 am 2008
Miklos Szeredi
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
Exactly. And if page_cache_pipe_buf_confirm() could do a synchronous re-read of the page, that would work. But it can't, because it only Not so. Why couldn't someone modify an ext3 file, while nfsd is holding the page? Is that wrong? I don't know, but it's not fuse No, I think you are wrong. Miklos --
Jun 25, 9:42 am 2008
Evgeniy Polyakov
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
I do not know fuse good enough, but it looks like if your patch only fixes issue for pages which are in splice buffer during invalidation, any subsequent call for splice() will get correct new data (at least invoke readpage(s)), but in the description of error there was a long timeout between reading and writing, so it was a fresh splice() call, which suddenly started to return errors. Is it possible that by having uptodate bit in place, but page was actually freed but not removed from all ...
Jun 25, 8:47 am 2008
Jamie Lokier
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
I'm thinking any kind of user-space server using splice() will not want to transmit zeros either, when another process truncates the file. E.g. Apache, Samba, etc. Does this problem affect sendfile() users? -- Jamie --
Jun 25, 10:38 am 2008
Evgeniy Polyakov
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
Then why not fix filesystems to set error bit on all broken reads, if you sure it is the case? -- Evgeniy Polyakov --
Jun 25, 9:19 am 2008
Linus Torvalds
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
Umm. The regular read does this quite well. If something isn't up-to-date, You're totally ignoring the real issue - user space that uses splice() *knows* that it uses splice(). It's a private mmap(). NFSD, on the other hand, is supposed to act as NFSD. I think that currently it assumes that nobody else modifies the files, which is reasonable, but breaks with FUSE. But do you see? That's a NFSD/FUSE issue, not a splice one! Linus --
Jun 25, 9:30 am 2008
Miklos Szeredi
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
Umm, it doesn't make any sense to try to always get fresh data. If you do read() on a file, the data may become old and invalid a millisecond after the read finished. We can't and needn't do anything about this. Miklos --
Jun 25, 8:59 am 2008
Evgeniy Polyakov
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
What about writing path, when page is written after some previous write? Don't do that, add new function instead which will do exactly that, if you do need exactly this behaviour. Also why isn't invalidate_complete_page() enough, if you want to have that page to be half invalidated? -- Evgeniy Polyakov --
Jun 25, 6:11 am 2008
Evgeniy Polyakov
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
Yes, it is possible to check mapping, but it does not exist and it is correct, that there is no mapping - we are just writing into page in ram, kind of loop device, but without binding page into mapping. Page reading from disk is atomic in respect that page is always locked, now readpage(s) may not be called in some cases... -- Evgeniy Polyakov --
Jun 25, 9:18 am 2008
Miklos Szeredi
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
No, the mechanics of the problem are well understood. Only the solution is problematic :) Miklos --
Jun 25, 9:02 am 2008
Miklos Szeredi
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
We discussed this yesterday. My conclusion was (which I still think is true) that it can't be fixed in page_cache_pipe_buf_confirm(), because due to current practice of not setting PG_error for I/O errors for read, it is impossible to distinguish between a never-been-uptodate page and a was-uptodate-before-invalidation page. And it's not just an nfsd issue. Userspace might also expect that if a zero count is returned, that means it went beyond EOF, and not that it should retry the splice, ...
Jun 25, 8:29 am 2008
Evgeniy Polyakov
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate ...
All we need from mapping here is where to put this page and inode Only when called via standard codepath. If page was grabbed and page unlocked and subsequently 'invalidated' via invalidate_complete_page2(), it still relies on uptodate bit to be set to correctly work. After all we do not need page mapping to write into given page, that's Fully invalidated page can not be uptodate, doesnt' it? :) You destroy existing functionality just because there are some obscure places, where it is ...
Jun 25, 7:16 am 2008
Vitaly Mayatskikh
[PATCH] Fix copy_user on x86_64
Bug in copy_user can be used from userspace on RHEL-4 and other distributions with similar kernel base (CVE-2008-0598). Patch with fixed copy_user attached, it falls into byte copy loop on faults and returns correct count for uncopied bytes. Patch also fixes incorrect passing of zero flag in copy_to_user (%eax was used instead of %ecx). Also there's script for systemtap, it tests corner cases in both copy_user realizations (unrolled and string).
Jun 25, 5:31 am 2008
Haavard Skinnemoen
[PATCH] dmatest: Simple DMA memcpy test client
From: Haavard Skinnemoen <hskinnemoen@atmel.com> This client tests DMA memcpy using various lengths and various offsets into the source and destination buffers. It will initialize both buffers with a repeatable pattern and verify that the DMA engine copies the requested region and nothing more. It will also verify that the bytes aren't swapped around, and that the source buffer isn't modified. The dmatest module can be configured to test a specific device, a specific channel. It can also test ...
Jun 25, 5:19 am 2008
Haavard Skinnemoen
[PATCH] dmaengine: Couple DMA channels to their physical ...
From: Haavard Skinnemoen <hskinnemoen@atmel.com> Set the 'parent' field of channel class devices to point to the physical DMA device initialized by the DMA engine driver. This allows drivers to use chan->dev.parent for syncing DMA buffers and adds a 'device' symlink to the real device in /sys/class/dma/dmaXchanY. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> --- drivers/dma/dmaengine.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git ...
Jun 25, 5:08 am 2008
Dan Williams
Re: [PATCH] dmaengine: Couple DMA channels to their phys ...
On Wed, Jun 25, 2008 at 5:08 AM, Haavard Skinnemoen Thanks, applied to async_tx/next -- Dan --
Jun 25, 11:11 am 2008
Mayank Sharma
Time drifting after multiple sleep/wakeup in timekeeping
Hi, I noticed a bug with respect to time drifting after multiple sleep/wakeup sequence. We have an embedded ARM11 based platform on which we have successfuly ported Linux. We also have a RTC on board. Hence we have implemented the read_persistent_clock() function overriding the one defined in kernel/time/timekeeping.c. What we observed was that after doing multiple sleep/wakeup sequences, the time reported by RTC and gettimeofday was drifting. After about 10 iterations the gettimeofday was lagging by ...
Jun 25, 4:48 am 2008
Yinghai Lu
Re: [PATCH 3/3] Limit E820 map when a user-defined memor ...
that patch about fixing e820_update_rang is in tip/setup-memory. so the one is supposed to be ok, but it is good to keep good input parameter too. YH --
Jun 25, 9:58 am 2008
Bernhard Walle
[PATCH 3/3] Limit E820 map when a user-defined memory ma ...
This patch brings back limiting of the E820 map when a user-defined E820 map is specified. While the behaviour of i386 (32 bit) was to limit the E820 map (and /proc/iomem), the behaviour of x86-64 (64 bit) was not to limit. That patch limits the E820 map again for both x86 architectures. Code was tested for compilation and booting on a 32 bit and 64 bit system. Signed-off-by: Bernhard Walle <bwalle@suse.de> --- arch/x86/kernel/e820.c | 3 +++ 1 files changed, 3 insertions(+), 0 ...
Jun 25, 5:02 am 2008
Bernhard Walle
Limit E820 map when specifying mem parameter
This patch modifies the E820 map when specifying the mem kernel command line parameter. That's the behaviour i386 had before the merging work in the current "tip" tree. As Yinghai Lu pointed out in email discussion, e820_update_range() should be used for the updating instead of an own function. Two modifications in e820_update_range() are necessary: 1. Fix a small bug that prevented the partically covered entry from being stripped (size is not updated). 2. Small API extension to be ...
Jun 25, 5:02 am 2008
Yinghai Lu
Re: [PATCH 3/3] Limit E820 map when a user-defined memor ...
only this one is needed now. but please change ULLONG_MAX to ULLONG_MAX - mem_size YH --
Jun 25, 9:01 am 2008
Bernhard Walle
[PATCH 2/3] e820_update_range(): Allow specifying ULLONG_MAX
Allow the specifying of ULLONG_MAX to limit the whole E820 map from the specified start to the end. Without the patch, there would be integer overflows. Signed-off-by: Bernhard Walle <bwalle@suse.de> --- arch/x86/kernel/e820.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index e466073..7d1109b 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c @@ -397,6 +397,9 @@ int __init ...
Jun 25, 5:02 am 2008
Bernhard Walle
Re: [PATCH 3/3] Limit E820 map when a user-defined memor ...
Why can't we add that check at the beginning of e820_update_range() as you suggested? Bernhard --
Jun 25, 9:03 am 2008
Yinghai Lu
Re: [PATCH 1/3] e820_update_range(): Strip size of origi ...
this one is not needed, I sent one updated to Ingo, and it is in tip/setup-memory [PATCH] x86: change size if e820_update/remove_range YH --
Jun 25, 8:56 am 2008
Bernhard Walle
Re: [PATCH 3/3] Limit E820 map when a user-defined memor ...
Okay, thanks for review and comments. Patch sent. Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development --
Jun 25, 12:39 pm 2008
Bernhard Walle
[PATCH 1/3] e820_update_range(): Strip size of original region
This patch fixes a bug in e820_update_range(): Previously, if a region was partially covered, then e820_update_range() only added a new E820 range but didn't update the end/size of the previous range. That lead to duplicate covering of a region. Patch tested on i386 and x86-64 with patch that uses e820_update_range() to limit the E820 map when "mem" parameter is specified on the command line. Signed-off-by: Bernhard Walle <bwalle@suse.de> --- arch/x86/kernel/e820.c | 1 + 1 files ...
Jun 25, 5:02 am 2008
kurk
Bug in MPT Fusion 2.6.26-rc7 unbootable
Hi all, I'm no kernel expert, I hope I made no mistakes in this report. It seems to me that a bug was added to the MPT Fusion driver in 2.6.26 (rc7). I compiled 2.6.26-rc7 on a machine with controller LSI53C1080 and it cannot boot. Doing the same with 2.6.25, very similar config file, boots without problems. I tried to forward-port the Fusion driver from 2.6.25 to 2.6.26-rc7 by simply copying over the directory drivers/message/fusion/ from 2.6.25 to 2.6.26-rc7 but unfortunately this doesn't ...
Jun 25, 4:42 am 2008
Elias Oltmanns
[PATCH 2/4 v2] IDE: Remove unused code
Remove some code which has been made obsolete and hasn't worked properly before anyway. Part of the infrastructure may be reintroduced in a follow up patch to implement a working command aborting facility. Signed-off-by: Elias Oltmanns <eo@nebensachen.de> --- drivers/ide/ide-cd.c | 1 - drivers/ide/ide-disk.c | 1 - drivers/ide/ide-floppy.c | 1 - drivers/ide/ide-io.c | 49 ---------------------------------------------- drivers/ide/ide-tape.c | 1 - ...
Jun 25, 4:28 am 2008
Elias Oltmanns
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling
Yes there are. Still, I think it should be feasible which is why I personally would prefer to drop the second patch in the series for the time being. But then I can keep it around for reference locally and the original infrastructure can be found in the history after all. Even though the patch series currently doesn't fully restore the intended functionality, I'd like to merge it now. Command aborting didn't work reliably (if at all) before and now, at least, a simple ioctl won't harm a ...
Jun 25, 4:23 am 2008
Bartlomiej Zolnierki ...
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling
Thanks, I applied everything and queued it for 2.6.27. SG_IO ATA pass-through is unsupported currently in drivers/ide/ (though nowadays it should be quite easy to add it if somebody is interested) so it is indeed the best to leave the ioctl for now. Bart --
Jun 25, 1:24 pm 2008
Elias Oltmanns
[PATCH 4/4 v2] IDE: Report errors during drive reset bac ...
Make sure that each error condition during the execution of an HDIO_DRIVE_RESET ioctl is actually reported to the calling process. Also, unify the exit path of reset_pollfunc() when returning ide_stopped since the need of ->port_ops->reset_poll() to be treated specially has vanished (way back, it seems). Signed-off-by: Elias Oltmanns <eo@nebensachen.de> --- Documentation/ioctl/hdio.txt | 2 ++ drivers/ide/ide-iops.c | 18 +++++++++++------- drivers/ide/ide.c | 10 ...
Jun 25, 4:30 am 2008
Elias Oltmanns
[PATCH 3/4 v2] Update documentation of HDIO_DRIVE_RESET ioctl
Alter the entry for HDIO_DRIVE_RESET in Documentation/ioctl/hdio.txt to reflect a functional change in the driver. Besides, the entry has been inaccurate before. Signed-off-by: Elias Oltmanns <eo@nebensachen.de> --- Documentation/ioctl/hdio.txt | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/ioctl/hdio.txt b/Documentation/ioctl/hdio.txt index c19efde..44d283d 100644 --- a/Documentation/ioctl/hdio.txt +++ b/Documentation/ioctl/hdio.txt @@ ...
Jun 25, 4:29 am 2008
Elias Oltmanns
[PATCH 1/4 v2] IDE: Fix HDIO_DRIVE_RESET handling
Currently, the code path executing an HDIO_DRIVE_RESET ioctl is broken in various ways. Most importantly, it is treated as an out of band request in an illegal way which may very likely lead to system lock ups. Use the drive's request queue to avoid this problem (and fix a locking issue for free along the way). Signed-off-by: Elias Oltmanns <eo@nebensachen.de> --- drivers/ide/ide-io.c | 23 ++++++++++++++++++++++- drivers/ide/ide-iops.c | 18 +++++++++++++----- drivers/ide/ide.c ...
Jun 25, 4:27 am 2008
Jiri Slaby
Re: Small cleanups
Sorry, ignore this. --
Jun 25, 4:12 am 2008
Pavel Machek
Small cleanups
Small whitespace cleanups for wireless drivers Signed-off-by: Pavel Machek <pavel@suse.cz> --- commit ac537c3b8a8dda4adcbf7810c4b86474e054f48c tree d638e3fbcb6d6c35109661f908d84cb81df95322 parent 7f80fda409c75b32b46a06b371fe504805188395 author Pavel <pavel@amd.ucw.cz> Wed, 25 Jun 2008 12:23:00 +0200 committer Pavel <pavel@amd.ucw.cz> Wed, 25 Jun 2008 12:23:00 +0200 drivers/net/wireless/airo.c | 41 +++++++++++++++++---------------------- drivers/net/wireless/ath5k/hw.c | 4 ...
Jun 25, 3:25 am 2008
Jiri Slaby
Re: Small cleanups
The ath5k part Acked-by: Jiri Slaby <jirislaby@gmail.com> --
Jun 25, 4:11 am 2008
KOSAKI Motohiro
[-mm][PATCH 2/10] fix printk in show_free_areas()
= From: Rik van Riel <riel@redhat.com> Fix typo in show_free_areas. Debugged-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/mm/page_alloc.c =================================================================== --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1931,7 +1931,7 @@ void ...
Jun 25, 3:02 am 2008
Andrew Morton Jun 25, 3:13 pm 2008
Lee Schermerhorn
Re: [-mm][PATCH 0/10] memory related bugfix set for 2.6 ...
Yes. I ran my stress load with Nishimura-san's cpuset migration test on x86_64 and ia64 platforms overnight. I didn't have all of the memcgroup patches applied--just the unevictable lru related patches. Tests ran for ~19 hours--including 70k-80k passes through the cpuset migration test--until I shut them down w/o error. OK, I did see two oom kills on the ia64. My stress load was already pretty close to edge, but they look suspect because I still had a couple of MB free on each node ...
Jun 25, 8:09 am 2008
Daisuke Nishimura
Re: [-mm][PATCH 9/10] memcg: fix mem_cgroup_end_migrati ...
Sorry for late reply. I've confirmed that this patch fixes the bad page problem Tested-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Thanks, --
Jun 25, 3:53 am 2008
Lee Schermerhorn
Re: [-mm][PATCH 10/10] putback_lru_page()/unevictable pa ...
I'm updating the unevictable-lru doc in Documentation/vm. I have a question, below, on the removal of page_lock() from __mlock_vma_pages_range(). The document discusses how we hold the page lock when calling mlock_vma_page() to prevent races with migration [addressed by putback_lru_page() rework] and truncation. I'm wondering if we're properly protected from truncation now... If we're not holding the page locked here, can the page be truncated out from under us? If so, I think we could ...
Jun 25, 9:29 am 2008
KOSAKI Motohiro
[-mm][PATCH 9/10] memcg: fix mem_cgroup_end_migration() race
= From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> In general, mem_cgroup's charge on ANON page is removed when page_remove_rmap() is called. At migration, the newpage is remapped again by remove_migration_ptes(). But pte may be already changed (by task exits). It is charged at page allocation but have no chance to be uncharged in that case because it is never added to rmap. Handle that corner case in mem_cgroup_end_migration(). Signed-off-by: KAMEZAWA Hiroyuki ...
Jun 25, 3:10 am 2008
KOSAKI Motohiro
Re: [-mm][PATCH 10/10] putback_lru_page()/unevictable pa ...
> Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroy@jp.fujitsu.com> Agghh, typo to kamezawa-san's e-mail. resend this patch. =========================================================== putback_lru_page()/unevictable page handling rework. Changelog ================ V3 -> V4 o fix broken recheck logic in putback_lru_page(). o fix shmem_lock() prototype. V2 -> V3 o remove lock_page() from scan_mapping_unevictable_pages() and scan_zone_unevictable_pages(). o revert ...
Jun 25, 3:14 am 2008
KOSAKI Motohiro
[-mm][PATCH 10/10] putback_lru_page()/unevictable page h ...
Changelog ================ V3 -> V4 o fix broken recheck logic in putback_lru_page(). o fix shmem_lock() prototype. V2 -> V3 o remove lock_page() from scan_mapping_unevictable_pages() and scan_zone_unevictable_pages(). o revert ipc/shm.c mm/shmem.c change of SHMEM unevictable patch. it become unnecessary by this patch. V1 -> V2 o undo unintented comment killing. o move putback_lru_page() from move_to_new_page() to unmap_and_move(). o folded depend ...
Jun 25, 3:11 am 2008
KOSAKI Motohiro
[-mm][PATCH 0/10] memory related bugfix set for 2.6.26- ...
Hi, Andrew and mm guys! this is mm related fixes patchset for 2.6.26-rc5-mm3 v2. Unfortunately, this version has several bugs and some bugs depend on each other. So, I collect, sort, and fold these patchs. btw: I wrote "this patch still crashed" last midnight. but it works well today. umm.. I was dreaming? Anyway, I believe this patchset improve robustness and provide better testing baseline. enjoy! Andrew, this patchset is my silver-spoon. if you like it, I'm glad ...
Jun 25, 2:59 am 2008
KOSAKI Motohiro
[-mm][PATCH 6/10] fix incorrect Mlocked field of /proc/meminfo
Against: 2.6.26-rc5-mm3 Mlocked field of /proc/meminfo display silly number. because trivial mistake exist in meminfo_read_proc(). Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> --- fs/proc/proc_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/fs/proc/proc_misc.c =================================================================== --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c @@ -216,7 ...
Jun 25, 3:06 am 2008
KOSAKI Motohiro
[-mm][PATCH 5/10] collect lru meminfo statistics from co ...
= From: Lee Schermerhorn <lee.schermerhorn@hp.com> Against: 2.6.26-rc5-mm3 Offset 'lru' by 'NR_LRU_BASE' to obtain global page state for lru list 'lru'. Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> fs/proc/proc_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/fs/proc/proc_misc.c =================================================================== --- a/fs/proc/proc_misc.c +++ ...
Jun 25, 3:05 am 2008
KOSAKI Motohiro
[-mm][PATCH 1/10] fix UNEVICTABLE_LRU and !PROC_PAGE_MON ...
= From: Rik van Riel <riel@redhat.com> Both CONFIG_PROC_PAGE_MONITOR and CONFIG_UNEVICTABLE_LRU depend on mm/pagewalk.c being built. Create a CONFIG_PAGE_WALKER Kconfig variable that is automatically selected if needed. Debugged-by: Benjamin Kidwell <benjkidwell@yahoo.com> Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: KOSAKI Motohiro <kosaki@jp.fujitsu.com> --- init/Kconfig | 1 + mm/Kconfig | 5 +++++ mm/Makefile | 2 +- 3 files changed, 7 insertions(+), ...
Jun 25, 3:01 am 2008
KOSAKI Motohiro
[-mm][PATCH 8/10] fix shmem page migration incorrectness ...
= From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> mem_cgroup_uncharge() against old page is done after radix-tree-replacement. And there were special handling to ingore swap-cache page. But, shmem can be swap-cache and file-cache at the same time. Chekcing PageSwapCache() is not correct here. Check PageAnon() instead. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Signed-off-by: KOSAKI Motohiro ...
Jun 25, 3:09 am 2008
KOSAKI Motohiro
[-mm][PATCH 3/10] fix munlock page table walk - now requ ...
= From: Lee Schermerhorn <lee.schermerhorn@hp.com> Against 2.6.26-rc5-mm3. Initialize the 'mm' member of the mm_walk structure, else the page table walk doesn't occur, and mlocked pages will not be munlocked. This is visible in the vmstats: noreclaim_pgs_munlocked - should equal noreclaim_pgs_mlocked less (nr_mlock + noreclaim_pgs_cleared), but is always zero [munlock_vma_page() never called] noreclaim_pgs_mlockfreed - should be zero [for debug only], but == ...
Jun 25, 3:03 am 2008
KOSAKI Motohiro
[-mm][PATCH 4/10] fix migration_entry_wait() for specul ...
= From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> In speculative page cache lookup protocol, page_count(page) is set to 0 while radix-tree modification is going on, truncation, migration, etc... While page migration, a page fault to page under migration should wait unlock_page() and migration_entry_wait() waits for the page from its pte entry. It does get_page() -> wait_on_page_locked() -> put_page() now. In page migration, page_freeze_refs() -> page_unfreeze_refs() is ...
Jun 25, 3:04 am 2008
KOSAKI Motohiro
[-mm][PATCH 7/10] prevent incorrect oom under split_lru
if zone->recent_scanned parameter become inbalanceing anon and file, OOM killer can happened although swappable page exist. So, if priority==0, We should try to reclaim all page for prevent OOM. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Acked-by: Rik van Riel <riel@redhat.com> --- mm/vmscan.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Index: b/mm/vmscan.c =================================================================== --- ...
Jun 25, 3:07 am 2008
biannm
[PATCH] fs: fix bug about seq_read read nothing
When i used seq_file to read a proc file, i got a bug of seq_read. If show() skip the first element or the size of first element is 0, and the size of second element is larger than the seq_file->size at the same time, seq_read will return 0, so nothing can be read from the proc file. So, if seq_read will return because it finds the element is biger than the m->buf, it must make sure either some date was filled to m->buf by show(), or some data was flushed to the user buf before, if not,it ...
Jun 25, 2:44 am 2008
Wang Chen
Re: [PATCH 2/2] kobjects: Transmit return value of kobje ...
It's depended on how important sending uevent is. If the sysfs operation succeeds, but user-space don't get the notification. Is it ok? --
Jun 25, 2:08 am 2008
Russell King
Removal of BAST IDE driver
Referring to this commit in mainline: commit ac1623625c5818bbdf5c68973098ba386ba7a004 Author: Ben Dooks <ben-linux@fluff.org> Date: Fri Jun 20 20:53:35 2008 +0200 BAST: Remove old IDE driver Remove the old BAST IDE driver, as we are now using the platform-pata support. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> I've recieved a couple of patches for the next ...
Jun 25, 2:09 am 2008
Russell King
Re: Removal of BAST IDE driver
There's a bit more than just turning on HAVE_PATA_PLATFORM - there's also the relevant arch code to register the PATA platform device and provide the resources and platform data to properly configure the PATA platform driver. So there's a number of patches required: - the addition of HAVE_PATA_PLATFORM (already merged by Jeff) - "BAST/VR1000: Move to using ata_platform (libata)" to add the arch specific bits - "ANUBIS: Move to using ata_platform driver (libata)" for another arch bit ...
Jun 25, 4:32 am 2008
Bartlomiej Zolnierki ...
Re: Removal of BAST IDE driver
Hi, The libata part is already in, we just need an arch part. [ Looks like we need this patch from 2008-05-29: I think that it is up to arch maintainer to decide, either way is fine This was a special case as indicated in pull request: ... [ not strictly -rc stuff but as we are now using the platform-pata support lets not confuse people with having this driver around ] ... I somehow missed 'the next release' part (please indicate it more clearly when sending patches and ...
Jun 25, 3:14 am 2008
Jeff Garzik
Re: Removal of BAST IDE driver
Ben's change merely adds a knob that a platform may set, in order to enable the existing pata_platform driver, which is pretty safe by itself. The next piece -- once not in 2.6.26 AFAIK -- is arch-specific code selecting HAVE_PATA_PLATFORM. BAST IDE, I assume, can go away once relevant platforms start turning on HAVE_PATA_PLATFORM. Jeff --
Jun 25, 3:31 am 2008
Marco Cesati
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
I believe that using "%-p" instead of "%#p" would work. The canonical meaning of "%-p" should be the very same as "%p", but gcc should not complain because it is ready to parse a format string like "%-10p" (which is of course different than "%10p"). A bit too tricky, perhaps?! Tested on gcc 4.1.2. Marco -- Marco Cesati <cesati@uniroma2.it> Universita' degli Studi di Roma Tor Vergata - DISP via del Politecnico 1, 00133 Roma --
Jun 25, 1:56 am 2008
Ingo Molnar
Re: [PATCH] softlockup: show irqtrace
hm, that must have taken quite some time to do on your desktop, right? FYI, there's no mandatory need to go through that buerocratic testing hassle with patches submitted to -tip - especially with small patches that look obvious and have a high chance of being right. We do non-stop allyes/allno/allmod+randconfig 64-bit/32-bit build and boot testing for every single patch added to the repository. Building, booting and testing it in the environment where you expect it to be used ...
Jun 25, 9:00 am 2008
Vegard Nossum
Re: [PATCH] softlockup: show irqtrace
Hm, no. I admit to having improved the process of compilation somewhat; I compiled only the affected files, or in case a CONFIG prevents a file from being built, the complete parent directory. I find that this works well in practice; the compiler usually warns about implicit declarations (which would otherwise show up as linker errors), so there is no need to link everything. (Sadly, this is not true when declarations are provided regardless of definition -- I think this is actually a case ...
Jun 25, 10:11 am 2008
Johannes Weiner
Re: [PATCH] softlockup: show irqtrace
Hi, Acked-by: Johannes Weiner <hannes@saeurebad.de> --
Jun 25, 2:15 pm 2008
Vegard Nossum
[PATCH] softlockup: show irqtrace
Hi, Ingo, can you please drop the "softirq softlockup debugging" patch and apply this instead? This much, much prettier, reuses existing debugging infrastructure, and is a lot more generic. (Compile tested on allyesconfig, allnoconfig, allnoconfig + softlockup debugging.) Vegard From: Vegard Nossum <vegard.nossum@gmail.com> Date: Wed, 25 Jun 2008 08:50:10 +0200 Subject: [PATCH] softlockup: show irqtrace This patch adds some information about when interrupts were last enabled and ...
Jun 25, 12:13 am 2008
Gustavo Fernando Padovan
[PATCH] kernel/signal.c: change vars pid and tgid types ...
Change the type of pid and tgid variables from int to the POSIX type pid_t. Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br> --- a/kernel/signal.c 2008-06-09 23:45:49.000000000 -0300 +++ b/kernel/signal.c 2008-06-11 19:55:55.000000000 -0300 @@ -1120,7 +1120,7 @@ * is probably wrong. Should make it like BSD or SYSV. */ -static int kill_something_info(int sig, struct siginfo *info, int pid) +static int kill_something_info(int sig, struct siginfo *info, pid_t pid) ...
Jun 25, 12:07 am 2008
Gustavo Fernando Padovan
[PATCH] x86: remove unnecessary #ifdef CONFIG_X86_32...#else
Remove the #ifdef conditional because this comparison is already done in user_mode_vm(). Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br> diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -55,11 +55,7 @@ static inline int notify_page_fault(struct pt_regs *regs) int ret = 0; /* kprobe_running() needs smp_processor_id() */ -#ifdef CONFIG_X86_32 if (!user_mode_vm(regs)) { -#else - if (!user_mode(regs)) ...
Jun 25, 12:03 am 2008
Ben Nizette
[PATCH][RFC] gpiolib: async notification of gpio events
This patch adds poll/select functionality to the gpio sysfs interface's "value" attribute. It applies on top of the latest sysfs interface patch along with the locking bugfix. This patch hits .text size for 1.5k but .bss for an annoying 13k on AVR32. Owch. This is mostly due to the per-descriptor workqueues. We can get around this by - Using one big delayed workqueue which scans each descriptor and acts on it appropriately. I don't love this approach, scanning each descriptor (or ...
Jun 24, 11:28 pm 2008
Mike Christie
Re: Kernel Crash when using the open-iscsi initiator on ...
What do you mean close gracefully? If you are doing IO to the disk you can wait for the host to reconnect and execute the IO. If you are going to wait for as long as it takes (or for whatever you have setup in the host (see the iscsi documentation/README on open-iscsi.org about the replacement_timeout)), and you do not want to see the dump then you can do what the dump says and do this I think: echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. If you want to just ...
Jun 25, 10:47 am 2008
Mike Christie
Re: Kernel Crash when using the open-iscsi initiator on ...
This happens when we cannot reach the target for the noop timout and interval seconds, which can happen if a cable is unplugged or the However, once it happens we should not report it again like is done here. There is something weird there. Do you have the iscsid output? Between these two reports of pings timing out is there any messages from And we should not get here. The iscsi driver's scsi command timeout handler should prevent the command from firing the scsi eh, because in ...
Jun 25, 9:54 am 2008
Ashutosh Naik
Kernel Crash when using the open-iscsi initiator on 2.6.25.6
Please find the kernel log attached. I was using the open-iscsi initiator on kernel 2.6.25.6 with a chelsio iSCSI target and the crash happened on the initiator machine. connection5:0: ping timeout of 5 secs expired, last rx 4309640121, last ping 4309645121, now 4309650121 connection5:0: detected conn error (1011) connection5:0: ping timeout of 5 secs expired, last rx 4309652882, last ping 4309657882, now 4309662882 connection5:0: detected conn error (1011) connection5:0: detected conn ...
Jun 24, 10:36 pm 2008
Ashutosh Naik
Re: Kernel Crash when using the open-iscsi initiator on ...
Yep, but is there any way to close gracefully and avoid the kernel dump? Thanks Ashutosh --
Jun 25, 10:35 am 2008
Andi Kleen
Re: [PATCH] UTC timestamp option for FAT filesystems
The time zone handling seems racy. e.g. consider the case DST changes on that day. You convert before the switch over and suddenly the time offset is different. I'm actually not sure someone in user space is even updating the kernel idea of the timezone for DST on a switch (generally it was assumed it's some obsolete BSD concept and that all real programs only use the user space glibc implementation that knows all the rules). So DST might not be supported at all. Also even if it worked ...
Jun 25, 3:33 pm 2008
Joe Peterson Jun 24, 10:24 pm 2008
Joe Peterson
Re: [PATCH] UTC timestamp option for FAT filesystems
Are you saying that the tz code is racy in general (I saw the following thread that you responded to as well): http://marc.info/?l=linux-kernel&m=115954057716441&w=2 Or are you saying that the proposed "utc" option makes things racy? All the "utc" option does (with this patch) is disable application of the kernel's "tz_minuteswest" offset, so using it actually should remove races with I am not sure about that either (i.e. whether tz_minuteswest is altered on DST changes or if it is ...
Jun 25, 4:56 pm 2008
Jeremy Fitzhardinge
Re: [PATCH] x86: remove end_pfn in 64bit
I posted a patch to remove end_pfn and replace it with num_physpages Do they contain separate values? Do they mean different things? J --
Jun 25, 3:21 pm 2008
Yinghai Lu
[PATCH] x86: numa 32 using apicid_2_node to get node for ...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- include/asm-x86/mach-bigsmp/mach_apic.h | 2 +- include/asm-x86/mach-default/mach_apic.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) Index: linux-2.6/include/asm-x86/mach-bigsmp/mach_apic.h =================================================================== --- linux-2.6.orig/include/asm-x86/mach-bigsmp/mach_apic.h +++ linux-2.6/include/asm-x86/mach-bigsmp/mach_apic.h @@ -81,7 +81,7 @@ static inline int ...
Jun 24, 10:13 pm 2008
Jeremy Fitzhardinge
Re: [PATCH] x86: remove end_pfn in 64bit
Did you CC: this to me to indicate that "x86_64: replace end_pfn with num_physpages" conflicts massively with this patch? Fortunately I don't depend on it, so I don't mind much. How does "max_pfn" differ from "num_physpages"? Should one of them go as well? J --
Jun 25, 2:31 pm 2008
Yinghai Lu
Re: [PATCH] x86: Merge setup_32/64.c into setup.c
Ingo want make setup_32.c have everything (in 10 patches), and then rename setup_32.c to setup.c and delete setup_64.c will move numa related to setup_numa.c or numa.c YH --
Jun 25, 10:46 am 2008
Ingo Molnar
Re: [PATCH] x86: Merge setup_32/64.c into setup.c
hm, that change was supposed to be the seed of a unification. So if it actually hinders you, feel free to move it to a different file. Obviously it is setup_32.c and setup_64.c that should be unified into setup.c. Ingo --
Jun 25, 9:43 am 2008
Yinghai Lu
Re: [PATCH] x86: remove end_pfn in 64bit
x86 64 bit that they are same. num_phypages = max_pfn 32 bit when HIGHMEM=y, it is same.num_phypages = max_pfn when HIGHMEM=n, num_phypages = max_low_pfn YH --
Jun 25, 4:14 pm 2008
Ingo Molnar
Re: [PATCH] x86: Merge setup_32/64.c into setup.c
very nice! could we please split this up into several, gradual steps that bring setup_32.c and setup_64.c to exactly the same content - where the final patch just renames arch/x86/kernel/setup_32.c to arch/x86/kernel/setup.c and deletes arch/x86/kernel/setup_64.c ? it would still result in exactly the same end result - but is much more bisectable (and reviewable, etc.). A bit like how arch/x86/mm/ioremap.c or arch/x86/mm/pageattr.c was unified. maybe it can be done in less than 10 ...
Jun 25, 8:36 am 2008
Mike Travis
Re: [PATCH] x86: Merge setup_32/64.c into setup.c
One thing I was trying to do was to merge more stuff from setup_32/64 into setup.c. Unfortunately, there was some test failures on i386 that I did not have time to debug. But the file existed before my time. ;-) Why does the current setup.c need to be renamed and not simply add the merged changes into it? Thanks, Mike --
Jun 25, 10:38 am 2008
H. Peter Anvin
Re: [PATCH] x86: Merge setup_32/64.c into setup.c
FWIW, I personally would like to see initialization-only code moved out of arch/x86/kernel at some point. Right now "kernel" is a catch-all, in particular, it mixes drivers, runtime core code, and initialization code. -hpa --
Jun 25, 10:48 am 2008
Yinghai Lu
[PATCH] x86: Merge setup_32/64.c into setup.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/Makefile | 2 arch/x86/kernel/setup.c | 676 ++++++++++++++++++++++++++++++++++++++++++++- arch/x86/kernel/setup_32.c | 543 ------------------------------------ arch/x86/kernel/setup_64.c | 381 ------------------------- include/asm-x86/setup.h | 2 5 files changed, 670 insertions(+), 934 deletions(-) Index: ...
Jun 25, 1:14 am 2008
Yinghai Lu
Re: [PATCH] x86: Merge setup_32/64.c into setup.c
OK, someone (Mike Triavis) already stole setup.c for X86_NUMA. YH --
Jun 25, 8:44 am 2008
Jeremy Fitzhardinge
Re: [PATCH] x86: remove end_pfn in 64bit
OK, that makes sense. Thanks, J --
Jun 25, 4:16 pm 2008
Yinghai Lu
Re: [PATCH] x86: Merge setup_32/64.c into setup.c
ok, I will change that setup_percpu.c YH --
Jun 25, 10:28 am 2008
Yinghai Lu
[PATCH] x86: remove end_pfn in 64bit
and use max_pfn directly. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/aperture_64.c | 6 ++++-- arch/x86/kernel/e820.c | 2 +- arch/x86/kernel/early-quirks.c | 2 +- arch/x86/kernel/machine_kexec_64.c | 2 +- arch/x86/kernel/pci-calgary_64.c | 4 ++-- arch/x86/kernel/pci-dma.c | 4 ++-- arch/x86/kernel/pci-gart_64.c | 4 ++-- arch/x86/kernel/pci-swiotlb_64.c | 2 +- arch/x86/kernel/setup_64.c ...
Jun 24, 10:14 pm 2008
Ingo Molnar
Re: [PATCH] x86: remove end_pfn in 64bit
applied to tip/x86/setup-memory - thanks Yinghai. I have picked up these patches: Ingo Molnar (1): Merge branch 'x86/setup-memory' Yinghai Lu (6): x86: fix e820_update_range size when overlapping x86: get max_pfn_mapped in init_memory_mapping x86: add table_top check for alloc_low_page in 64 bit x86: change size if e820_update/remove_range x86: numa 32 using apicid_2_node to get node for logical_apicid x86: remove end_pfn in 64bit Ingo --
Jun 25, 8:41 am 2008
Yinghai Lu
Re: [PATCH] x86: remove end_pfn in 64bit
64bit setup_arch assign num_physpages with end_pfn... and max_pfn is defined in linux/bootmem.h num_physpages is defined in linux/mm.h YH --
Jun 25, 2:57 pm 2008
Arjan van de Ven Jun 25, 3:31 pm 2008
Jeremy Fitzhardinge
[PATCH 14 of 36] x86_64: add sync_cmpxchg
Add sync_cmpxchg to match 32-bit's sync_cmpxchg. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/cmpxchg_64.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/include/asm-x86/cmpxchg_64.h b/include/asm-x86/cmpxchg_64.h --- a/include/asm-x86/cmpxchg_64.h +++ b/include/asm-x86/cmpxchg_64.h @@ -93,6 +93,39 @@ return old; } +/* + * Always use locked operations when touching memory shared with a + * ...
Jun 24, 9:19 pm 2008
Ingo Molnar
Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit ...
i've put the commits (and a good number of dependent commits) into the new tip/x86/xen-64bit topic branch. It quickly broke the build in testing: include/asm/pgalloc.h: In function ‘paravirt_pgd_free': include/asm/pgalloc.h:14: error: parameter name omitted arch/x86/kernel/entry_64.S: In file included from arch/x86/kernel/traps_64.c:51:include/asm/pgalloc.h: In function ‘paravirt_pgd_free': include/asm/pgalloc.h:14: error: parameter name omitted [...] with this config: ...
Jun 25, 8:22 am 2008
Jeremy Fitzhardinge
Re: [PATCH 03 of 36] x86: add memory barriers to wrmsr
OK, we're in vehement agreement then. J --
Jun 25, 4:05 pm 2008
Jeremy Fitzhardinge
[PATCH 03 of 36] x86: add memory barriers to wrmsr
wrmsr is a special instruction which can have arbitrary system-wide effects. We don't want the compiler to reorder it with respect to memory operations, so make it a memory barrier. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/msr.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/asm-x86/msr.h b/include/asm-x86/msr.h --- a/include/asm-x86/msr.h +++ b/include/asm-x86/msr.h @@ -66,7 +66,7 @@ static inline void ...
Jun 24, 9:18 pm 2008
Jeremy Fitzhardinge
Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit ...
No, looks like my fault. The non-PARAVIRT version of paravirt_pgd_free() is: static inline void paravirt_pgd_free(struct mm_struct *mm, pgd_t *) {} but C doesn't like missing parameter names, even if unused. This should fix it: diff -r 19b73cc5fdf4 include/asm-x86/pgalloc.h --- a/include/asm-x86/pgalloc.h Wed Jun 25 11:24:41 2008 -0400 +++ b/include/asm-x86/pgalloc.h Wed Jun 25 13:11:56 2008 -0700 @@ -11,7 +11,7 @@ #include <asm/paravirt.h> #else #define ...
Jun 25, 1:12 pm 2008
Jeremy Fitzhardinge
[PATCH 01 of 36] x86: asm-x86/pgtable.h: fix compiler warning
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/pgtable.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h @@ -425,6 +425,8 @@ * race with other CPU's that might be updating the dirty * bit at the same time. */ +struct vm_area_struct; + #define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS extern int ...
Jun 24, 9:18 pm 2008
Keir Fraser
Re: [Xen-devel] Re: [PATCH 00 of 36] x86/paravirt: groun ...
What does Linux expect to scale up to? Reserving 16 PML4 entries leaves the kernel with 120TB of available 'negative' address space. Should be plenty, I would think. -- Keir --
Jun 25, 11:45 am 2008
H. Peter Anvin
Re: [PATCH 03 of 36] x86: add memory barriers to wrmsr
Actually, I believe the barrier(); before is actually incorrect, since it would affect the wrmsr() register arguments rather than the wrmsr instruction itself. -hpa --
Jun 25, 4:18 pm 2008
Jeremy Fitzhardinge
[PATCH 34 of 36] x86_64: swapgs pvop with a user-stack c ...
It's never safe to call a swapgs pvop when the user stack is current - it must be inline replaced. Rather than making a call, the SWAPGS_UNSAFE_STACK pvop always just puts "swapgs" as a placeholder, which must either be replaced inline or trap'n'emulated (somehow). Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/irqflags.h | 2 +- include/asm-x86/paravirt.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 08 of 36] x86_64: Add gate_offset() and gate_segm ...
For calculating the offset from struct gate_struct fields. [ gate_offset and gate_segment were broken for 32-bit. ] Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/desc_defs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/asm-x86/desc_defs.h b/include/asm-x86/desc_defs.h --- a/include/asm-x86/desc_defs.h +++ b/include/asm-x86/desc_defs.h @@ -75,10 +75,14 @@ typedef struct ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 00 of 36] x86/paravirt: groundwork for 64-bit Xen ...
Hi Ingo, This series lays the groundwork for 64-bit Xen support. It follows the usual pattern: a series of general cleanups and improvements, followed by additions and modifications needed to slide Xen in. Most of the 64-bit paravirt-ops work has already been done and integrated for some time, so the changes are relatively minor. Interesting and potentially hazardous changes in this series are: "paravirt/x86_64: move __PAGE_OFFSET to leave a space for hypervisor" This moves ...
Jun 24, 9:18 pm 2008
Jeremy Fitzhardinge
[PATCH 07 of 36] x86_64: unify early_ioremap
The 32-bit early_ioremap will work equally well for 64-bit, so just use it. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/setup_64.c | 2 + arch/x86/mm/init_64.c | 52 ------------------------------------------- arch/x86/mm/ioremap.c | 5 +++- include/asm-x86/fixmap_64.h | 13 ++++++++++ include/asm-x86/io.h | 13 ++++++++++ include/asm-x86/io_32.h | 12 --------- 6 files changed, 32 insertions(+), 65 ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
Re: [PATCH 03 of 36] x86: add memory barriers to wrmsr
How so? What kind of failure do think might occur? Some effect on how the wrmsr arguments are evaluated? barrier() is specifically a compiler optimisation barrier, so the barrier before would prevent the compiler from moving anything logically before the wrmsr to afterwards. That said, making the wrmsr itself a memory clobber may be simpler understand with a comment, rather than separate barriers... J --
Jun 25, 4:37 pm 2008
Jeremy Fitzhardinge
[PATCH 13 of 36] x86_64: add prototype for x86_64_start_ ...
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/setup.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h --- a/include/asm-x86/setup.h +++ b/include/asm-x86/setup.h @@ -61,6 +61,8 @@ extern unsigned long init_pg_tables_start; extern unsigned long init_pg_tables_end; +#else +void __init x86_64_start_kernel(char *real_mode); #endif /* __i386__ */ #endif /* _SETUP */ #endif /* ...
Jun 24, 9:19 pm 2008
Arjan van de Ven
Re: [PATCH 03 of 36] x86: add memory barriers to wrmsr
On Wed, 25 Jun 2008 00:18:59 -0400 it's more readable for several of these cases to stick a barrier(); in front and after it to be honest; that makes it more explicit that these are deliberate compiler barriers rather than "actual" memory access... -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Jun 24, 9:44 pm 2008
Jeremy Fitzhardinge
[PATCH 24 of 36] x86_64: create small vmemmap mappings i ...
If PSE is not available, then fall back to 4k page mappings for the vmemmap area. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/mm/init_64.c | 62 +++++++++++++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 22 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -997,7 +997,7 @@ pmd_t *pmd; for (; addr < end; addr = next) { - next = ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 28 of 36] Save %fs and %gs before load_TLS() and ...
We must do this because load_TLS() may need to clear %fs and %gs, such (e.g. under Xen). Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/process_64.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c --- a/arch/x86/kernel/process_64.c +++ b/arch/x86/kernel/process_64.c @@ -579,6 +579,7 @@ ...
Jun 24, 9:19 pm 2008
Keir Fraser
Re: [Xen-devel] Re: [PATCH 00 of 36] x86/paravirt: groun ...
There are obviously no x64 boxes around at the moment with >1TB of regular shared memory, since no CPUs have more than 40 address lines. 100+TB RAM is surely years away. If this is a blocker issue, we could just keep PAGE_OFFSET as it is when Xen support is not configured into the kernel. Then those who are concerned about 5% extra headroom at 100TB RAM sizes can configure their kernel Does the formula have any practical significance? -- Keir --
Jun 25, 12:22 pm 2008
Jeremy Fitzhardinge
[PATCH 16 of 36] x86/paravirt: add a pgd_alloc/free hooks
Add hooks which are called at pgd_alloc/free time. The pgd_alloc hook may return an error code, which if non-zero, causes the pgd allocation to be failed. The hooks may be used to allocate/free auxillary per-pgd information. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/paravirt.c | 4 ++++ arch/x86/mm/pgtable.c | 13 ++++++++----- arch/x86/xen/enlighten.c | 4 ++++ include/asm-x86/paravirt.h | 19 ++++++++++++++++++- ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 25 of 36] x86_64: PSE no longer a hard requirement
Because Xen doesn't support PSE mappings in guests, all code which assumed the presence of PSE has been changed to fall back to smaller mappings if necessary. As a result, PSE is optional rather than required (though still used whereever possible). Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/required-features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-x86/required-features.h ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 30 of 36] x86/paravirt_ops: split sysret and sysexit
Don't conflate sysret and sysexit; they're different instructions with different semantics, and may be in use at the same time (at least within the same kernel, depending on whether its an Intel or AMD system). sysexit - just return to userspace, does no register restoration of any kind; must explicitly atomically enable interrupts. sysret - reloads flags from r11, so no need to explicitly enable interrupts on 64-bit, responsible for restoring usermode %gs Signed-off-by: Jeremy ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
Re: [PATCH 03 of 36] x86: add memory barriers to wrmsr
I suppose, though I would be inclined to put the barriers in the wrmsr macro itself to act as documentation. Either way, I don't think there's any legitimate reason to let the compiler reorder things around a wrmsr, and it should be an inherent property of the macro, rather than relying on ad-hoc barriers where it gets used. After all, that's a fairly accurate reflection of how the micro-architecture treats wrmsr... J --
Jun 25, 2:08 pm 2008
Jeremy Fitzhardinge
[PATCH 23 of 36] x86_64: adjust mapping of physical page ...
This makes a few of changes to the construction of the initial pagetables to work better with paravirt_ops/Xen. The main areas are: 1. Support non-PSE mapping of memory, since Xen doesn't currently allow 2M pages to be mapped in guests. 2. Make sure that the ioremap alias of all pages are dropped before attaching the new page to the pagetable. This avoids having writable aliases of pagetable pages. 3. Preserve existing pagetable entries, rather than overwriting. Its ...
Jun 24, 9:19 pm 2008
H. Peter Anvin
Re: [PATCH 03 of 36] x86: add memory barriers to wrmsr
The barrier() before prevents the compiler from optimizing the access to the arguments (before they go into registers), not the actual wrmsr; this has to do with the ordering of operations around the barrier above. This should be functionally equivalent to a barrier(); after, and given that this is clearly a point of confusion *already*, I think the memory clobber is better. -hpa --
Jun 25, 4:42 pm 2008
Jeremy Fitzhardinge
[PATCH 05 of 36] x86_64: use write_gdt_entry in vsyscall ...
Use write_gdt_entry to generate the special vgetcpu descriptor in the vsyscall page. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/vsyscall_64.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c --- a/arch/x86/kernel/vsyscall_64.c +++ b/arch/x86/kernel/vsyscall_64.c @@ -250,7 +250,7 @@ doesn't violate that. We'll find out if it does. */ static void ...
Jun 24, 9:19 pm 2008
Andi Kleen
Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit ...
This will significantly decrease the maximum amount of physical Both sound like cases of "let's hack Linux to work around Xen problems" -Andi --
Jun 25, 5:40 am 2008
Jeremy Fitzhardinge
Re: [PATCH 36 of 36] x86_64/paravirt: Make load_gs_index ...
Yes, it's Eduardo's. Huh, I have the From line here; must have got stripped off by my script... J --
Jun 25, 4:48 am 2008
Jeremy Fitzhardinge
Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit ...
There's no inherent reason why Xen itself needs to be able to have all memory mapped at once. 32-bit Xen doesn't and can survive quite happily. It's certainly nice to be able to access anything directly, but it's just a performance optimisation. In practice, the guest generally has almost everything interesting mapped anyway, and Xen maintains a recursive mapping of the pagetable to make its access to the pagetable very efficient, so it's only when a hypercall is doing something to an ...
Jun 25, 4:46 am 2008
Jeremy Fitzhardinge
Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit ...
A bit, but not "significantly". We'd already discussed that if the amount of physical starts approaching 2^48 then we'd hope that the chips will grow some more virtual bits. J --
Jun 25, 1:03 pm 2008
Jeremy Fitzhardinge
[PATCH 29 of 36] Use __KERNEL_DS as SS when returning to ...
This is needed when the kernel is running on RING3, such as under Xen. x86_64 has a weird feature that makes it #GP on iret when SS is a null descriptor. This need to be tested on bare metal to make sure it doesn't cause any problems. AMD specs say SS is always ignored (except on iret?). Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/entry_64.S | 2 +- 1 file changed, 1 ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 17 of 36] x86: preallocate and prepopulate separately
Jan Beulich points out that vmalloc_sync_all() assumes that the kernel's pmd is always expected to be present in the pgd. The current pgd construction code will add the pgd to the pgd_list before its pmds have been pre-populated, thereby making it visible to vmalloc_sync_all(). However, because pgd_prepopulate_pmd also does the allocation, it may block and cannot be done under spinlock. The solution is to preallocate the pmds out of the spinlock, then populate them while holding the ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 27 of 36] x86_64: __switch_to(): Move arch_leave_ ...
We must leave lazy mode before switching the %fs and %gs selectors. (patch should be merged with previous __switch_to()/arch_leave_lazy_cpu_mode() patch) Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/process_64.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c --- a/arch/x86/kernel/process_64.c +++ ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 19 of 36] paravirt_ops: define PARA_INDIRECT for ...
On 32-bit it's best to use a %cs: prefix to access memory where the other segments may not bet set up properly yet. On 64-bit it's best to use a rip-relative addressing mode. Define PARA_INDIRECT() to abstract this and generate the proper addressing mode in each case. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/paravirt.h | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 33 of 36] x86_64: ia32entry: replace privileged i ...
Replace privileged instructions with the corresponding pvops in ia32entry.S. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/ia32/ia32entry.S | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S --- a/arch/x86/ia32/ia32entry.S +++ b/arch/x86/ia32/ia32entry.S @@ -98,14 +98,14 @@ CFI_SIGNAL_FRAME CFI_DEF_CFA rsp,0 CFI_REGISTER rsp,rbp - swapgs + SWAPGS ...
Jun 24, 9:19 pm 2008
Ingo Molnar
Re: [PATCH 36 of 36] x86_64/paravirt: Make load_gs_index ...
patch logistics detail: the signoff order suggests it's been authored by Eduardo - but there's no From line to that effect - should i change it accordingly? Ingo --
Jun 25, 1:47 am 2008
Ingo Molnar
Re: [PATCH 00 of 36] x86/paravirt: groundwork for 64-bit ...
This reduces native kernel max memory support from around 127 TB to around 120 TB. We also limit the Xen hypervisor to ~7 TB of physical memory - is that wise in the long run? Sure, current CPUs support 40 physical bits [1 TB] for now so it's all theoretical at this moment. my guess is that CPU makers will first extend the physical lines all the way up to 46-47 bits before they are willing to touch the logical model and extend the virtual space beyond 48 bits (47 bits of that ...
Jun 25, 1:42 am 2008
Jeremy Fitzhardinge
[PATCH 11 of 36] x86: unify mmu_context.h
Some amount of asm-x86/mmu_context.h can be unified, including activate_mm paravirt hook. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/mmu_context.h | 32 ++++++++++++++++++++++++++++++++ include/asm-x86/mmu_context_32.h | 28 ---------------------------- include/asm-x86/mmu_context_64.h | 18 ------------------ 3 files changed, 32 insertions(+), 46 deletions(-) diff --git a/include/asm-x86/mmu_context.h ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 09 of 36] x86_64: Use __pgd() on mk_kernel_pgd()
From: Eduardo Habkost <ehabkost@redhat.com> Use __pgd() on mk_kernel_pgd() Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> --- include/asm-x86/pgtable_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h --- a/include/asm-x86/pgtable_64.h +++ b/include/asm-x86/pgtable_64.h @@ -201,7 +201,7 @@ #define pgd_offset_k(address) (init_level4_pgt + pgd_index((address))) #define pgd_present(pgd) ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 02 of 36] x86: add memory clobber to save/loadsegment
Add "memory" clobbers to savesegment and loadsegment, since they can affect memory accesses and we never want the compiler to reorder them with respect to memory references. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-x86/system.h b/include/asm-x86/system.h --- a/include/asm-x86/system.h +++ b/include/asm-x86/system.h @@ -157,14 +157,14 @@ ...
Jun 24, 9:18 pm 2008
Andi Kleen
Re: [Xen-devel] Re: [PATCH 00 of 36] x86/paravirt: groun ...
There are already (ok non x86-64) systems shipping today with 10+TB of addressable memory. 100+TB is not that far away with typical growth rates. Besides there has to be much more in the negative address space than just direct mapping. So far we always that 64bit Linux can support upto 1/4*max VA memory. With your change that formula would be not true anymore. -Andi --
Jun 25, 12:13 pm 2008
Jeremy Fitzhardinge
[PATCH 35 of 36] x86_64/paravirt: add adjust_exception_frame
64-bit Xen pushes a couple of extra words onto an exception frame. Add a hook to deal with them. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/asm-offsets_64.c | 1 + arch/x86/kernel/entry_64.S | 2 ++ arch/x86/kernel/paravirt.c | 3 +++ arch/x86/xen/enlighten.c | 3 +++ include/asm-x86/paravirt.h | 9 +++++++++ include/asm-x86/processor.h | 2 ++ 6 files changed, 20 insertions(+) diff --git ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 36 of 36] x86_64/paravirt: Make load_gs_index() a ...
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/entry_64.S | 4 ++-- arch/x86/kernel/paravirt.c | 3 +++ include/asm-x86/elf.h | 2 +- include/asm-x86/paravirt.h | 10 ++++++++++ include/asm-x86/system.h | 3 ++- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S --- a/arch/x86/kernel/entry_64.S +++ ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 15 of 36] x86: simplify vmalloc_sync_all
vmalloc_sync_all() is only called from register_die_notifier and alloc_vm_area. Neither is on any performance-critical paths, so vmalloc_sync_all() itself is not on any hot paths. Given that the optimisations in vmalloc_sync_all add a fair amount of code and complexity, and are fairly hard to evaluate for correctness, it's better to just remove them to simplify the code rather than worry about its absolute performance. Signed-off-by: Jeremy Fitzhardinge ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 22 of 36] x86_64: split x86_64_start_kernel
Split x86_64_start_kernel() into two pieces: The first essentially cleans up after head_64.S. It clears the bss, zaps low identity mappings, sets up some early exception handlers. The second part preserves the boot data, reserves the kernel's text/data/bss, pagetables and ramdisk, and then starts the kernel proper. This split is so that Xen can call the second part to do the set up it needs done. It doesn't need any of the first part setups, because it doesn't boot via ...
Jun 24, 9:19 pm 2008
Andi Kleen
Re: [Xen-devel] Re: [PATCH 00 of 36] x86/paravirt: groun ...
Yes, but why build something non scalable now that you have to fix in a few years? Especially when it comes with "i have no justification" in Yes, because getting more than 48bits of VA will be extremly costly in terms of infrastructure and assuming continuing growth rates and very large machines 46bits is not all that much. -Andi --
Jun 25, 1:14 pm 2008
Jeremy Fitzhardinge
[PATCH 31 of 36] x86_64 pvops: don't restore user rsp wi ...
There's no need to combine restoring the user rsp within the sysret pvop, so split it out. This makes the pvop's semantics closer to the machine instruction. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citirx.com> --- arch/x86/kernel/asm-offsets_64.c | 2 +- arch/x86/kernel/entry_64.S | 6 +++--- arch/x86/kernel/paravirt.c | 6 +++--- arch/x86/kernel/paravirt_patch_64.c | 4 ++-- include/asm-x86/irqflags.h | 3 +-- ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 12 of 36] x86_64: replace end_pfn with num_physpages
Reasons for replacement: - they're semantically identical - end_pfn is a bad name for a global identifier - small step towards unification Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Vivek Goyal <vgoyal@in.ibm.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> --- arch/x86/kernel/aperture_64.c | 4 ++-- arch/x86/kernel/e820.c | 2 +- arch/x86/kernel/early-quirks.c | 2 +- ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 06 of 36] x86_64: use p??_populate() to attach pa ...
Use the _populate() functions to attach new pages to a pagetable, to make sure the right paravirt_ops calls get called. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/mm/init_64.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -167,7 +167,7 @@ pud = pud_offset(pgd, vaddr); if (pud_none(*pud)) { pmd = (pmd_t *) ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 10 of 36] x86: unify pgd_index
pgd_index is common for 32 and 64-bit, so move it to a common place. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/pgtable.h | 20 ++++++++++++++++++++ include/asm-x86/pgtable_32.h | 20 -------------------- include/asm-x86/pgtable_64.h | 3 --- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h @@ -357,6 ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 20 of 36] paravirt/x86_64: move __PAGE_OFFSET to ...
From: Eduardo Habkost <ehabkost@redhat.com> From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Set __PAGE_OFFSET to the most negative possible address + 16*PGDIR_SIZE. The gap is to allow a space for a hypervisor to fit. The gap is more or less arbitrary, but it's what Xen needs. When booting native, kernel/head_64.S has a set of compile-time generated pagetables used at boot time. This patch removes their absolutely hard-coded layout, and makes it parameterised on __PAGE_OFFSET ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 32 of 36] Add sysret/sysexit pvops for returning ...
In a 64-bit system, we need separate sysret/sysexit operations to return to a 32-bit userspace. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citirx.com> --- arch/x86/ia32/ia32entry.S | 21 +++++++++--- arch/x86/kernel/asm-offsets_64.c | 4 +- arch/x86/kernel/entry_64.S | 4 +- arch/x86/kernel/paravirt.c | 12 ++++--- arch/x86/kernel/paravirt_patch_64.c | 9 +++-- include/asm-x86/irqflags.h | 14 ++++++-- ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 26 of 36] x86_64: Split set_pte_vaddr()
From: Eduardo Habkost <ehabkost@redhat.com> We will need to set a pte on l3_user_pgt. Extract set_pte_vaddr_pud() from set_pte_vaddr(), that will accept the l3 page table as parameter. This change should be a no-op for existing code. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/mm/init_64.c | 31 ++++++++++++++++++++----------- ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 18 of 36] x86/paravirt: add debugging for missing ...
Rather than just jumping to 0 when there's a missing operation, raise a BUG. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/Kconfig | 7 +++++++ include/asm-x86/paravirt.h | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -433,6 +433,13 @@ the kernel is theoretically slower and slightly larger. endif + +config PARAVIRT_DEBUG + ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 21 of 36] x86-64: add FIX_PARAVIRT_BOOTMAP fixmap slot
This matches 32 bit. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- include/asm-x86/fixmap_64.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/asm-x86/fixmap_64.h b/include/asm-x86/fixmap_64.h --- a/include/asm-x86/fixmap_64.h +++ b/include/asm-x86/fixmap_64.h @@ -46,6 +46,9 @@ FIX_EFI_IO_MAP_LAST_PAGE, FIX_EFI_IO_MAP_FIRST_PAGE = FIX_EFI_IO_MAP_LAST_PAGE + MAX_EFI_IO_PAGES - 1, +#ifdef ...
Jun 24, 9:19 pm 2008
Jeremy Fitzhardinge
[PATCH 04 of 36] x86: remove open-coded save/load segmen ...
This removes a pile of buggy open-coded implementations of savesegment and loadsegment. (They are buggy because they don't have memory barriers to prevent them from being reordered with respect to memory accesses.) Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/kernel/cpu/common_64.c | 3 ++- arch/x86/kernel/process_64.c | 28 +++++++++++++++------------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git ...
Jun 24, 9:19 pm 2008
Al Viro
[git pull] audit fixes
Final audit bits for .26. Please, pull from git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current.git/ audit.b52 Diffstat: include/linux/audit.h | 2 +- kernel/audit.c | 6 +++--- kernel/auditfilter.c | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) Shortlog: Peng Haitao (2): kernel/audit.c: nlh->nlmsg_type is gotten more than once remove useless argument type in audit_filter_user() Randy Dunlap (1): audit: fix kernel-doc parameter ...
Jun 24, 8:42 pm 2008
Al Viro
[git pull] vfs patches
Misc fixes + several obvious cleanups + dcache.c locking annotation fixes. Please, pull from git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git/ for-linus Diffstat: fs/block_dev.c | 12 +++++++- fs/dcache.c | 68 ++++++++++++++++++++++++------------------------ fs/locks.c | 6 ---- fs/namei.c | 26 +++++++++--------- fs/pipe.c | 10 +++---- fs/utimes.c | 59 +++++++++++++++++++---------------------- ...
Jun 24, 8:32 pm 2008
Jeff Garzik
Re: [git patches] net driver updates for .27
Yes, they are already in the queue. The above is just the first batch. Jeff --
Jun 25, 12:20 am 2008
Jeff Garzik
[git patches] net driver updates for .27
Please pull from 'davem-next' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git davem-next to receive the following updates: Documentation/networking/dm9000.txt | 167 ++++ arch/blackfin/mach-bf527/boards/ezkit.c | 7 +- arch/blackfin/mach-bf533/boards/H8606.c | 7 +- arch/blackfin/mach-bf537/boards/generic_board.c | 7 +- drivers/net/Kconfig | 28 +- drivers/net/cxgb3/cxgb3_offload.c ...
Jun 24, 8:15 pm 2008
Nobuhiro Iwamatsu
Re: [git patches] net driver updates for .27
Hello, Jeff. Could you take in these paches for .27 ? [PATCH] net: sh_eth: Fix compile error sh_eth http://marc.info/?l=linux-netdev&m=121378156319203 [PATCH] net: sh_eth: Add support of SH7763 to sh_eth http://marc.info/?l=linux-netdev&m=121387121430572 Best regards, Nobuhiro --
Jun 24, 9:13 pm 2008
Nobuhiro Iwamatsu
Re: [git patches] net driver updates for .27
OK, Thank you for your work. Best regards, Nobuhiro --
Jun 25, 12:24 am 2008
University Technolog ...
Re: Helpdesk Alert.(WEBMAIL.CQU.EDU.AU) Account Owner
Dear Central Queensland University (WEBMAIL.CQU.EDU.AU) Account Owner, This message is from WEBMAIL.CQU.EDU.AU messaging center to all Central Queensland University (WEBMAIL.CQU.EDU.AU) account owners. We are currently upgrading our data base and e-mail account center. We are deleting all unused Central Queensland University (WEBMAIL.CQU.EDU.AU) account to create more space for new accounts. To prevent your account from closing you will have to update it below so that we will know that it's a ...
Jun 24, 8:12 pm 2008
财务7
合作
尊贵的先生(小姐): 您好!推出此项业务是双方公司的利益,是一项双赢的业务,本公司每月都有税票剩余,因此愿为有需要的客户代理开具fa票。 本公司有增值税专用票(17%)、普通票,还可提供多家公司及不同性质的税票、海关进口增值、建筑业、广告业、运输业、商品服务等。 若有不明,欢迎来电洽谈,若有打搅、敬请谅解! 联系电话:13570266109 陈瑛 QQ:869885017 Mail:flower-chen88@163.com 建议您保留本邮件 382008-6-25 --
Jun 24, 7:38 pm 2008
Linus Torvalds
Linux 2.6.26-rc8
It hasn't been a week, I know, and this is a pretty small set of changes since -rc7, but I'm going to be mostly incommunicado for the next week or so, so I just released what will hopefully be the last -rc. Or maybe not. It depends on how good you all are while I'm not looking. Anyway, most of the bulk of the changes here are to Xen and to KVM in particular, which shows up as a rather unusual dirstat: 65% is in arch/x86 (counting the asm-x86 changes too). The rest is mostly random ...
Jun 24, 7:31 pm 2008
Waskiewicz Jr, Peter P
RE: [PATCH 1/2] net: Add the CPU id to skb->queue_mappin ...
Do you have a guestimate of which kernel you'll be targeting these The whole point is to identify the flow and redirect your Rx filtering to the CPU it came from. So if you did this properly, the ACKs would be landing on the CPU that originally opened the TCP flow. I don't follow why the scheduler would move the process if the Rx traffic is returning to that core. I also understand the infrastructure is going away. But without knowing when things are being changed, we can't be expected ...
Jun 25, 11:31 am 2008
David Miller
Re: [PATCH 1/2] net: Add the CPU id to skb->queue_mappin ...
From: "Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@intel.com> The process scheduler monitors where wakeup events occur. If predominantly they arrive on a difference cpu from where the process is currently scheduled, the scheduler might decide to move the process there. This RX retargetting idea is also flawed from another perspective. Let's say you have a server thread polling on a lot of connections. And let's say that all of these connections become extremely active all of a ...
Jun 25, 4:37 pm 2008
Peter Zijlstra
Re: [PATCH 6/6] futex: fix miss ordered wakeups
Daniel, I'm not sure what to think,.. you were told how broken this approach was, you were told to give proper justification for this change. You did neither and just reposted the same old broken shite again. Wake up. (Just in case you missed it, that's a NAK) --
Jun 24, 10:29 pm 2008
Daniel Walker
Re: [PATCH 6/6] futex: fix miss ordered wakeups
It may not be going anyplace. I'm not submitting it to anyone but LKML, I don't think it's ugly at all, but I'm open to suggestion for alternate methods of implementing it .. I don't need to unify the blocked_on structures, but it does allow for some nice things like reducing the size of the task struct, and potentially later doing PI across different Any way you read it there is an ordering that isn't random or FIFO or un-ordered, which is what we end up with now depending on the order ...
Jun 25, 9:47 am 2008
Daniel Walker
Re: [PATCH 6/6] futex: fix miss ordered wakeups
Broken approach ? Never heard that before, in fact the problem is whether or not the changes are needed (not weather their broken).. I gave justification in the last thread, and I'm not sure why it's unclear to you.. Daniel --
Jun 25, 7:36 am 2008
Daniel Walker
Re: [PATCH 6/6] futex: fix miss ordered wakeups
I can unify just the rtmutex and the mutex, then add the futex waiter as another entity. Daniel --
Jun 25, 12:58 pm 2008
Peter Zijlstra
Re: [PATCH 6/6] futex: fix miss ordered wakeups
I suggest you re-read some of Thomas' emails from last time... You failed to convince, also justification goes in the changelog, not in random lkml threads. --
Jun 25, 8:07 am 2008
Thomas Gleixner
Re: [PATCH 6/6] futex: fix miss ordered wakeups
Just get it. Mixing concurrency controls and futex waiters is fundamentally wrong. A task can be blocked on exactly one concurrency control, but it can be on a futex waiter _AND_ then block on a concurrency control. Unifying the mutex and the rtmutex blocked_on is semantically correct and is a worthwhile thing to do, but adding the futex waiter to it is simply a semantical brain fart which can not be excused by reducing the size of task struct. No thanks, tglx --
Jun 25, 12:06 pm 2008
Daniel Walker
Re: [PATCH 6/6] futex: fix miss ordered wakeups
Most of what he's saying there is that it breaks real time, and I provided a real time fix in this set of patches. I don't have a problem with the state mixing, since 99.9% of the time we're dealing operations It boils down to POSIX compliance which was discussed in the last thread. POSIX requires the waiters to be sorts for 5-10 different API's which ultimately use the futex (most of which aren't at all related to PI). And yes I can add it to the headers, before it goes up ...
Jun 25, 8:25 am 2008
Peter Zijlstra
Re: [PATCH 6/6] futex: fix miss ordered wakeups
You're not the maintainer, and you fail to respect their opinion - so what makes you think your patches are going anywhere but /dev/null? Also, the main point was about mixing user and kernel space state, you still do so by including the futex waiter in the same union. That's a I'm unconvinced, my reading of the spec doesn't say that at all. It says its up to how things get scheduled. Also, you have failed to say what real world use cases care about this behaviour. This was asked multiple ...
Jun 25, 9:17 am 2008
Kasper Sandberg
Re: weird bug on r8169 with usb
Latest RC i tried was rc6. I can attempt latest rc possibly tomorow night or in 2 days.. im waiting mvh. Kasper Sandberg --
Jun 25, 2:41 pm 2008
Francois Romieu
Re: weird bug on r8169 with usb
Kasper Sandberg <lkml@metanurb.dk> : Still the same "!!! Unknown header !!!" symptom with the latest -rc ? -- Ueimor --
Jun 25, 11:55 am 2008
Francois Romieu
Re: weird bug on r8169 with usb
David CHANIAL <david.ml@euro-web.fr> : Yes, please send the unabbreviated output of 'lspci -vx' and 'dmesg'. -- Ueimor --
Jun 25, 11:52 am 2008
Kasper Sandberg
Re: weird bug on r8169 with usb
Added cc to a person that might have some info I believe this is not actually about usb, i've had some issues too (and still have them) - look back a few months on lkml, you will find the thread. btw, sorry Francois for not coming back to you, but i sortof forgot since the noapic thing works around it. But i can confirm that 2.6.26 doesent fix it. mvh. Kasper Sandberg --
Jun 24, 6:31 pm 2008
Jeremy Fitzhardinge
Re: [PATCH] x86: fix pte allocation in "x86: introduce i ...
This code looks just like the 64-bit code (I guess it's becoming prime for unification), and I'd just spent some time debugging a bug in Xen64 caused by an overrun of the allocated area when creating non-PSE mappings of physical memory. I didn't observe a specific problem with this code, but consistency and pattern matching made it seem like a necessary addition. It only ends up reserving the amount of space actually used, so there's no wasted memory. If you use PSE to create the ...
Jun 24, 8:49 pm 2008
Linus Torvalds
Re: [GIT PULL] KVM fixes for 2.6.26-rc7
Avi, you _really_ need to start respecting the merge window. If you can't learn, I will have to just stop pulling from you. This is simply too big for this late in the game. I pulled, but I'm simply not going to continue doing this dance. I don't care much for virtualization, so I've let it slide, but you need to learn is simply not acceptable this late. Linus --
Jun 24, 6:12 pm 2008
Avi Kivity
Re: [GIT PULL] KVM fixes for 2.6.26-rc7
You're right, I guess I should have disabled kvm clock for 2.6.26 (which makes up the bulk of the changes) and re-enabled it for 2.6.27, but ended up not resisting the temptation. -- error compiling committee.c: too many arguments to function --
Jun 25, 12:08 am 2008
Ingo Molnar
Re: [PATCH] x86 ACPI: normalize segment descriptor regis ...
sure - i have applied it to tip/out-of-tree. I'm equally nervous about this change - it affects every suspend+resume cycle that people do on those boxes which are working just fine currently. btw., it would get a lot more coverage on my test-systems if this commit in tip/out-of-tree: | commit 01259383c345d13b70efcc549439927ae64dc66d | Author: David Brownell <david-b@pacbell.net> | Date: Fri May 16 10:12:36 2008 +0200 | | sleepy linux self-test was upstream and if it was ...
Jun 25, 10:01 am 2008
Rafael J. Wysocki
Re: [PATCH] x86 ACPI: normalize segment descriptor regis ...
I thought it was in linux-next, wasn't it? Rafael --
Jun 25, 1:17 pm 2008
Alok Kataria
Re: [PATCH 2/2] acpi based pci gap caluculation v2
Ingo, Please also apply this patch to the tip/out-of-tree -- Incremental patch . This patch passes the pci producer resources end_addr (got from _CRS) to the e820_search_gap function. Without this patch the code will always search from the producer regions start_address to 2^32, even though the producer region may be smaller. Now , we limit the search only within the producer region's address space. Also we put a condition to check if the resource lies in the 32bit address range. ...
Jun 25, 11:22 am 2008
Alok Kataria
Re: [PATCH 2/2] acpi based pci gap caluculation v2
Yes we will parse e820 several times, but we don't initialize pci_mem_start in every pass. It will be initialized only twice once via the e820_setup_gap code path and once via pci_setup_gap. And i think you agree that both of these are required ? During the gap calculation the previous code or the code now in e820_setup_gap does this... calculates a gap in e820_map from 0 to 2^32. Initializes pci_mem_start. And now with this patch, the code in pci_setup_gap does this... for each ...
Jun 25, 9:57 am 2008
Alok kataria
Re: [PATCH 2/2] acpi based pci gap caluculation v2
Hi Yakui, True..the whole idea behind doing this patch was to get a correct (different) value for pci_mem_start. We read the _CRS object over here to make sure that we assign the pci_mem_start from the address range which is reserved by the BIOS for PCI devices. Also this reading of _CRS object would be done before we start initializing the pci devices, i.e. before we start using the value of pci_mem_start, so the original value assigned by pci_setup_gap is just overwritten by this ...
Jun 24, 11:04 pm 2008
Zhao Yakui
Re: [PATCH 2/2] acpi based pci gap caluculation v2
In the patch the address obtained from the _CRS object will be passed into the function of e820_search_gap. In such case maybe we will get the In the function of setup_arch the pci_mem_start will be parsed by searching the e820 table. After the patch is applied, we will parse the pci_mem_start again in the function of pci_acpi_scan_init and it will override the value parsed in the function of setup_arch. If the pci_mem_start is incorrect in the second case, maybe it will have ...
Jun 24, 10:39 pm 2008
Zhao Yakui
Re: [PATCH 2/2] acpi based pci gap caluculation v2
The pci_mem_start is still gotten by parsing the E820 table.But the input parameter start_addr will be used in the function of e820_search_gap. If the following is the resource start address returned by the PCI0 _CRS object , maybe the different pci_mem_start will be gotten. 0xE0000000 0xE4000000 At the same time if several start address is returned by the _CRS object, the e820 table will be parsed several times. Thanks. --
Jun 25, 1:38 am 2008
Alok kataria
Re: [PATCH 2/2] acpi based pci gap caluculation v2
Hi Yakui, What do you mean by the PCI0 _CRS being incorrect ? Why would the BIOS give a incorrect _CRS object ? Also we don't just take the value given from the _CRS method, we still read the e820_map to search for an unallocated resource. So even if (by chance) the _CRS method returns incorrect value we would still Yes pci_mem_start would be initialized in 2 different ways but we still have to parse the e820_map the old way because there could be Yeah, The result is different in my ...
Jun 24, 9:17 pm 2008
Zhao Yakui
Re: [PATCH 2/2] acpi based pci gap caluculation v2
It seems reasonable. But if the resource obtained from the PCI0 _CRS method is incorrect, we will get the incorrect pci_mem_start. At the same time after the patch is applied, pci_mem_start will be parsed in two different ways. If the result is different, maybe the incorrect pci_mem_start will be used. Best regards. --
Jun 24, 7:49 pm 2008
Alok Kataria
Re: [PATCH 1/2] cleanup e820_setup_gap v2
Hi Ingo, As mentioned in this mail, http://marc.info/?l=linux-kernel&m=121441312409978&w=2 I have also added a end_addr parameter to e820_search_gap to search only till the CRS objects end_addr instead of 2^32. In the normal case via e820_setup_gap we search till 2^32. Please apply this too. Patch on top of tip/master -- e820_search_gap also take a end_addr parameter to limit search from start_addr to end_addr. Signed-off-by: AloK N Kataria <akataria@vmware.com> Index: ...
Jun 25, 11:02 am 2008
Ingo Molnar
Re: [PATCH 1/2] cleanup e820_setup_gap v2
applied to tip/x86/setup-memory - thanks Alok. should i put the other patch, "acpi based pci gap caluculation v2" into tip/out-of-tree for more testing of this new e820 facility? Ingo --
Jun 25, 9:08 am 2008
Pallipadi, Venkatesh
RE: Intel 8100 Error inserting acpi_cpufreq
Most likely BIOS is not exporting relevant ACPI tables for the driver to detect the frequencies and such. Latest BIOS and enabling Speedstep in BIOS options will be the things to check. Thanks, --
Jun 25, 3:46 pm 2008
Nadia Derbey
Re: [PATCH -mm 1/3] sysv ipc: increase msgmnb default va ...
Well, I plead guilty ;-) I've done this proposal when sending the msgmni scaling patches (unfortunatly my network is down, so can't look the reference thread). From what I have in my folders here's the complete story: . January 08: sent the patches . 02/05/2008: got an answer from Yasunori Goto: Yasunori Goto wrote: > Hmmm. I suppose this may be side effect which user does not wish. > > I would like to recommend there should be a switch which can turn > on/off > automatic ...
Jun 25, 3:34 am 2008
Bernhard Walle
Re: [PATCH 1/3] e820_update_range(): Strip size of origi ...
Thanks, works. I added this to my patch series and reposted them. Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development --
Jun 25, 5:04 am 2008
Bernhard Walle
Re: [PATCH 2/3] e820_update_range(): Allow specifying UL ...
I like that. I think the complexity should be in the function, and not in the caller's function. Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development --
Jun 25, 5:05 am 2008
Ingo Molnar
Re: [PATCH 2/3] e820_update_range(): Allow specifying UL ...
ok - i'll wait for v2 of these patches, which will have the feedback from Yinghai incorporated - agreed? (Please Cc: Yinghai on the next submission of this series) Thanks, Ingo --
Jun 25, 8:44 am 2008
Joel Becker
Re: configfs: Q: item leak in a failing configfs_attach_ ...
Um, 'A' hasn't appeared yet. I don't see how it looks up 'A' until we're done. Joel -- "When ideas fail, words come in very handy." - Goethe Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127 --
Jun 25, 1:20 pm 2008
Louis Rilling
Re: configfs: Q: item leak in a failing configfs_attach_ ...
So, my scenario is realistic. Process 2 only locks "B"'s inode in lookup_create() ("B" is the parent of the new directory "C"), and never has= to lock "A" or "A"'s parent. IOW, process 2 does not have to wait on any i_mut= ex locked by process 1. Back to the two solutions that I've suggested (copy-pasted below), which one would you prefer? If I'm right, two kinds of solutions for issue 1 (new item created while attaching a default group hierarchy): i/ tag new directories with ...
Jun 25, 2:55 am 2008
Joel Becker
Re: configfs: Q: item leak in a failing configfs_attach_ ...
Oh, I think you mean cached_lookup isn't blocked by i_mutex. Joel -- Life's Little Instruction Book #497 "Go down swinging." Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127 --
Jun 25, 1:29 pm 2008
Gregory Haskins
Re: [PATCH 1/3] sched: limit "all_pinned" balance attemp ...
>>> On Tue, Jun 24, 2008 at 10:16 AM, in message <20080624141602.28487.81775.stgit@lsg.lsg.lab.novell.com>, Gregory Haskins Hmm...after thinking about this some more, I think I was wrong and this is unfounded. The code would eventually terminate when the f_b_g()/f_b_q() cant find a good target. Pls ignore this patch. Regards, --
Jun 25, 6:19 am 2008
Ingo Molnar
Re: [PATCH] some typo fixes in docs and comments
the x86 bits are looking fine - and the other ones seem OK too. Acked-by: Ingo Molnar <mingo@elte.hu> Ingo --
Jun 25, 9:14 am 2008
Mingming
Re: [PATCH] ext3: handle deleting corrupted indirect blocks
Hi Andrew, thanks for the reminder, I checked and think there are a few These haven't port to ext4 yet. I could port them to ext4 if no one wants to do so. --
Jun 24, 5:13 pm 2008
Duane Griffin
Re: [PATCH] ext3: handle deleting corrupted indirect blocks
I was planning on doing my ones, once they'd gone through review and been accepted into your tree. I'd be happy to do others too, if These four are new ones from me. They don't have ext4 versions yet but Ditto this one. Cheers, Duane. -- "I never could learn to drink that blood and call it wine" - Bob Dylan --
Jun 24, 5:15 pm 2008
Jesse Barnes
Re: PCI: MSI interrupts masked using prohibited method
Yeah, it's probably quite a bit slower too (I assume you're talking about io_apic_64's msi_mask_irq). Seems like masking this at the ioapic level Great, thanks. Jesse --
Jun 25, 2:20 pm 2008
Avi Kivity
Re: [PATCH 2/2] x86: Add "virt flag" in /proc/cpuinfo
(copying Ingo) Ingo, do you prefer this as a separate 'virt flags' line or as addition -- error compiling committee.c: too many arguments to function --
Jun 25, 3:38 am 2008
MinChan Kim
Re: [RFC][PATCH] prevent incorrect oom under split_lru
Hi peter, I agree with you. but if application's virtual address space is big, we have a hard problem with mlockall since memory pressure might be a big. Absolutely. It is another example. So, I suggest following patch. It's based on idea of Takenori Nagano's memory reclaim more efficiently. I expect It will reduce application latency and will not have a regression. How about you ? Signed-off-by: MinChan Kim <minchan.kim@gmail.com> --- mm/vmscan.c | 10 ++++++++-- 1 files changed, ...
Jun 25, 6:05 am 2008
KOSAKI Motohiro
Re: [RFC][PATCH] prevent incorrect oom under split_lru
No problem. priority==0 indicate emergency. I think this is off-topic. but Yes. both my page reclaim throttle and nagano-san's patch provide reclaim cut off mechanism. and more off-topic, nagano-san's patch improve only priority==12. So, typical embedded doesn't improve so big because embedded system does't have so large memory. --
Jun 24, 11:08 pm 2008
KOSAKI Motohiro
Re: [RFC][PATCH] prevent incorrect oom under split_lru
Yup. Agreed with latency is as important as throughput. if anyone explain that patch have reduce some latency and no throughput degression by benchmark result, I have no objection, Of cource. Can you post any performance result? --
Jun 25, 12:29 am 2008
MinChan Kim
Re: [RFC][PATCH] prevent incorrect oom under split_lru
On Wed, Jun 25, 2008 at 3:08 PM, KOSAKI Motohiro I see :) But if such emergency happen in embedded system, application can't be executed for some time. I am not sure how long time it take. But In some application, schedule period is very important than memory reclaim latency. Now, In your patch, when such emergency happen, it continue to reclaim page until it will scan entire page of lru list. -- Kinds regards, MinChan Kim --
Jun 24, 11:56 pm 2008
MinChan Kim
Re: [RFC][PATCH] prevent incorrect oom under split_lru
I have a concern about application latency. If lru list have many pages, it take a very long time to scan pages. More system have many ram, More many time to scan pages. Of course I know this is trade-off between memory efficiency VS latency. But In embedded, some application think latency is more important thing than memory efficiency. We need some mechanism to cut off scanning time. I think Takenori Nagano's "memory reclaim more efficiently patch" is proper to reduce application ...
Jun 24, 10:59 pm 2008
Peter Zijlstra
Re: [RFC][PATCH] prevent incorrect oom under split_lru
IMHO embedded real-time apps shoud mlockall() and not do anything that can result in memory allocations in their fast (deterministic) paths. The much more important case is desktop usage - that is where we run non we can do better here,.. --
Jun 25, 5:11 am 2008
MinChan Kim
Re: [RFC][PATCH] prevent incorrect oom under split_lru
with my mistake, I omit following message. :( So, we need cut-off mechanism to reduce application latency. So In my opinion, If we modify some code of Takenori's patch, we can -- Kinds regards, MinChan Kim --
Jun 24, 11:58 pm 2008
MinChan Kim
Re: [RFC][PATCH] prevent incorrect oom under split_lru
On Wed, Jun 25, 2008 at 4:29 PM, KOSAKI Motohiro hm.. I am not sure when I can post result of benchmark. Of course, If I do, I will post it :) Thanks, Kosaki-san -- Kinds regards, MinChan Kim --
Jun 25, 12:37 am 2008
Stephen Rothwell
Re: [BUILD-FAILURE] linux-next: Tree for June 24 - missi ...
Hi Mauro, On Wed, 25 Jun 2008 13:28:10 +1000 Stephen Rothwell <sfr@canb.auug.org.au> = Although, on reflection, this may have been caused by the mismerge yesterday. I will leave it in tomorrow unless I am told otherwise. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Jun 24, 8:48 pm 2008
Dave Chinner
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2)
This will be a !CONFIG_PROC_FS change. Lachlan/Niv - This is the guilty party: http://oss.sgi.com/cgi-bin/gitweb.cgi?p=xfs/xfs-2.6.git;a=commit;h=e0fe783155e4f1c7106... The commit log is: [XFS] SGI-PV: 111111 SGI-Modid: xfs-linux-melb:xfs-kern:31210a Signed-off-by: Niv Sardi <xaiki@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> --- What the hell happened here? Where's the commit title, description so this can be tracked back to a real patch? ...
Jun 24, 5:37 pm 2008
Dave Chinner
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2)
It never should have made the merge in that state. Niv, I suggest you stop using that broken script of yours to do checkins because you do nothing but break stuff with it. Change logs like: xiaki pmod2git xfs-linux-melb:xfs-kern:31210a (http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_stats.h?f=h#rev1.18) in the CVS tree and busted git logs make it just about impossible to track where something came from. Cheers, Dave. -- Dave Chinner david@fromorbit.com --
Jun 24, 8:43 pm 2008
Randy Dunlap
Re: linux-next: Tree for June 24 (ivtv)
ivtv-ioctl.c uses struct fields that are protected by CONFIG_VIDEO_ADV_DEBUG even when that config option is not set, causing: build-r2146.out:/local/linsrc/linux-next-20080624/drivers/media/video/ivtv/ivtv-ioc tl.c:1899: error: 'struct video_device' has no member named 'vidioc_g_register' build-r2146.out:/local/linsrc/linux-next-20080624/drivers/media/video/ivtv/ivtv-ioc tl.c:1900: error: 'struct video_device' has no member named 'vidioc_s_register' build-r2146.out:make[5]: *** ...
Jun 24, 5:24 pm 2008
Lachlan McIlroy
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2)
We knew this checkin was stuffed up and I was planning to fix it in the for-linus branch before pushing to mainline. The merge tools had kittens when it came across it too. I think we need to rip it out of ptools and re-checkin it in with the --
Jun 24, 7:01 pm 2008
Hans Verkuil
Re: linux-next: Tree for June 24 (ivtv)
Hi Randy, Thanks for the report. It's fixed in my tree and will find it's way upstream soon. Regards, Hans --
Jun 24, 11:05 pm 2008
Randy Dunlap
Re: linux-next: Tree for June 24 (XFS x2)
XFS shows 2 build problems today. 1. xfs_stats.h problem CC fs/xfs/xfs_rtalloc.o In file included from /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_linux.h:91, from /local/linsrc/linux-next-20080624/fs/xfs/xfs.h:44, from /local/linsrc/linux-next-20080624/fs/xfs/xfs_rtalloc.c:18: /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_stats.h: In function 'xfs_init_procfs': /local/linsrc/linux-next-20080624/fs/xfs/linux-2.6/xfs_stats.h:150: ...
Jun 24, 5:18 pm 2008
Stephen Rothwell
Re: [BUILD-FAILURE] linux-next: Tree for June 24 - missi ...
Hi Mauro, On Tue, 24 Jun 2008 23:23:56 +0530 Kamalesh Babulal <kamalesh@linux.vnet.ib= file or directory To fix this, I have reverted commit 969ff74e0ab707801150dc83eb254794bc574442 ("V4L/DVB (8006): em28xx: Split HVR900 into two separate entries") from linux-next for today. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Jun 24, 8:28 pm 2008
Stephen Rothwell
Re: [BUILD-FAILURE] linux-next: Tree for June 24 - missi ...
Hi Kamalesh, On Tue, 24 Jun 2008 23:23:56 +0530 Kamalesh Babulal <kamalesh@linux.vnet.ib= .o', needed by `drivers/media/dvb/frontends/built-in.o'. Stop. I am pretty sure that these were caused by me stuffing up the merging of the v4l-dvb tree yesterday. It should be OK today. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Jun 24, 8:31 pm 2008
Timothy Shimmin
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2)
tcsh> p_modinfo -h xfs-linux-melb:xfs-kern:31210a mod xfs-linux-melb:xfs-kern:31210a header ========================================== - SM_Location: longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb - Workarea: itchy.melbourne.sgi.com:/home/xaiki/Wrk/git/pmod2git - xfs-linux-melb:xfs-kern:31210a 05/21/08 - PV Incidents affected: - Inspected by: - Description: - Files affected: xfs_da_btree.c 1.179, xfs_vfsops.c 1.567, xfs_mount.h 1.269, xfs_error.c 1.60, xfs_error.h ...
Jun 24, 6:31 pm 2008
Timothy Shimmin
Re: [xfs-masters] Re: linux-next: Tree for June 24 (XFS x2)
So we could move up the acl defines in xfs_acl.h. Unless Christoph wants some other rearrangement... Index: 2.6.x-xfs-quilt/fs/xfs/xfs_acl.h =================================================================== --- 2.6.x-xfs-quilt.orig/fs/xfs/xfs_acl.h 2008-06-25 10:46:42.000000000 +1000 +++ 2.6.x-xfs-quilt/fs/xfs/xfs_acl.h 2008-06-25 11:45:25.221045485 +1000 @@ -46,6 +46,8 @@ typedef struct xfs_acl { #define SGI_ACL_FILE_SIZE (sizeof(SGI_ACL_FILE)-1) #define ...
Jun 24, 6:52 pm 2008
hyl
Re: [patch][RFC] an early patch for x86_64 preempt-rt ke ...
rt-6 have fix this by disable IST when RT patches is enabled on x86-64 platform. --
Jun 24, 10:31 pm 2008
Takashi Sato
Re: [PATCH 0/3] freeze feature ver 1.6
Currently, ext3 in mainline Linux doesn't have the freeze feature which suspends write requests. So, we cannot take a backup which keeps the filesystem's consistency with the storage device's features (snapshot and replication) while it is mounted. In many case, a commercial filesystem (e.g. VxFS) has the freeze feature and it would be used to get the consistent backup. If Linux's standard filesytem ext3 has the freeze feature, we can do it without a commercial filesystem. So I have ...
Jun 24, 11:36 pm 2008
Michael Kerrisk
Re: When did High-Resolution Timers hit mainline?
On Tue, Jun 24, 2008 at 8:35 AM, Michael Kerrisk So I got confused by the fact that CONFIG_HIGH_RES_TIMERS only appeared in 2.6.21. I plan to include the following text to time(7) for the next man-pages release. Does it look okay? Cheers, Michael The Software Clock, HZ, and Jiffies The accuracy of various system calls that set timeouts, (e.g., select(2), sigtimedwait(2)) and measure CPU time (e.g., getrusage(2)) is limited by the resolution of the ...
Jun 24, 9:08 pm 2008
Bart Van Assche
Re: When did High-Resolution Timers hit mainline?
On Wed, Jun 25, 2008 at 6:08 AM, Michael Kerrisk Maybe "size of a jiffy" should be replaced by "duration of a jiffy" ? An explanation of the impact of CONFIG_NO_HZ is missing. You also missed the fact that since the 2.6 kernel there are two constants related to time resolution, namely HZ and USER_HZ. HZ is the frequency of the timer interrupt, and 1/USER_HZ is the time resolution for system calls that use jiffies as time unit (e.g. the five values returned by the times() system call). The ...
Jun 24, 11:32 pm 2008
Thomas Gleixner Jun 25, 5:22 am 2008
Thomas Gleixner
Re: When did High-Resolution Timers hit mainline?
Hmm, that's a bit backwards. We changed the internal handling of those interfaces to hrtimers in 2.6.16, but the accuracy is still jiffies unless you have CONFIG_HIGH_RES_TIMERS enabled (which is only possible Also you might point out that you can check whether high resolution timers are active via clock_getres() or by checking the resolution entry in /proc/timer_list. Thanks, tglx --
Jun 25, 12:09 am 2008
Michael Kerrisk
Re: When did High-Resolution Timers hit mainline?
With the suggestions from Bart and Thomas, I've now reworked the text as below. Seem okay now? Cheers, Michael The Software Clock, HZ, and Jiffies The accuracy of various system calls that set timeouts, (e.g., select(2), sigtimedwait(2)) and measure CPU time (e.g., getrusage(2)) is limited by the resolution of the software clock, a clock maintained by the kernel which measures time in jiffies. The size of a jiffy is determined by the ...
Jun 25, 7:11 am 2008
Michael Kerrisk
Re: When did High-Resolution Timers hit mainline?
Thomas, So then it's simply enough to say: Since Linux 2.6.17, Linux optionaly supports high-resolution timers (configurable via CONFIG_HIGH_RES_TIMERS). Okay -- thanks. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html --
Jun 25, 5:20 am 2008
Michael Kerrisk Jun 25, 5:16 am 2008
Michael Kerrisk
Re: When did High-Resolution Timers hit mainline?
Hi Bart, Just following up a little further here. On Wed, Jun 25, 2008 at 8:32 AM, Bart Van Assche As far as I can tell, times() is the only system call that employs USER_HZ. Let me know if you think I'm wrong. The only othe place where USER_HZ seems to come into play is the time fields displayed in /proc/PID/stat and /poc/stat. (My point of verification here is looking at usages of cputime_to_clock_t() and cputime64_to_clock_t() Yes. So I think what I'll do is just add some text ...
Jun 25, 6:33 am 2008
Michael Kerrisk
Re: When did High-Resolution Timers hit mainline?
D'oh! Yes of course. Fingers were working, but Mr. Brain had long since departed... -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html --
Jun 25, 5:25 am 2008
David Miller
Re: [3/10 PATCH] inline wake_up_bit
From: Denys Vlasenko <vda.linux@googlemail.com> The thing to do in these kinds of scenerios is to provide top-level routes in kernel/sched.c where all the inlining occurs, rather than doing it in header files and thus expanding this stuff in multiple places. --
Jun 25, 3:30 pm 2008
Denys Vlasenko
Re: [3/10 PATCH] inline wake_up_bit
Wow, it's nearly x2 reduction. ABI change in not a problem for kernel, since it is a "freestanding -- vda --
Jun 25, 1:37 pm 2008
Denys Vlasenko
Re: [3/10 PATCH] inline wake_up_bit
So now every call to wake_up_bit(word, bit) now is converted to: __wake_up_bit(bit_waitqueue(word, bit), word, bit); which is in turn converted to (looking into your next patch): { wait_queue_head_t *wq = bit_waitqueue(word, bit); struct wait_bit_key key = __WAIT_BIT_KEY_INITIALIZER(word, bit); if (waitqueue_active(wq)) __wake_up(wq, TASK_NORMAL, 1, &key); } which is in turn converted to (looking into your other patch): { ...
Jun 25, 7:17 am 2008
David Miller
Re: [3/10 PATCH] inline wake_up_bit
From: Denys Vlasenko <vda.linux@googlemail.com> It's not a tenable solution to this problem. We have to make this work properly with compiler tools currently available to users, rather than versions of gcc that don't even exist yet. And what's more, the amount we can get back from the current stack size allocation is, at best, 16 bytes. The problem isn't going away sparc64 already passes arguments in registers. The stack frame is (predominantly, size wise) to accomodate the save area ...
Jun 25, 3:23 pm 2008
Denys Vlasenko
Re: [3/10 PATCH] inline wake_up_bit
Now this is a better approach - to actually see how many callsites are there, and inlining only where makes sense. But in practice it's hard to do and also is changing all the time during development. What is optimal today won't be optimal in 2.6.45 :) Ingo's suggestion to talk to gcc people to remedy insane call convention sounds as a more workable solution. BTW, i386 uses regparm call convention, is similar trick Yes, probably... If you can simplify it, everyone will be ...
Jun 25, 8:24 am 2008
Mikulas Patocka
Re: [3/10 PATCH] inline wake_up_bit
Sparc64 has register windows: it passes arguments in registers, but it must allocate space for that registers. If the call stack is too deep (8 levels), the CPU runs out of registers and starts spilling the registers of the function 8-levels-deep to the stack. The stack usage could be reduced to 176 bytes with little work from gcc developers and to 128 bytes with more work (ABI change). If you wanted to go below 128 bytes, you could use one register to indicate number of used registers ...
Jun 25, 9:01 am 2008
Mikulas Patocka
Re: [3/10 PATCH] inline wake_up_bit
Yes, that's 0.2% code size increase (or none increase, if drop inline-__wake_up_bit.patch and apply only the other patches). To me it seems crazy, how this code was refactored again and again over time, up to 8 levels of functions (including passing a pointer to a method). In 2.0.x kernel series, it was just a single call to wake up a queue. Mikulas --
Jun 25, 7:36 am 2008
Jesse Barnes
Re: [PATCH] pci: VT3336 can't do MSI either
Yeah, no objections here. Thanks. Jesse --
Jun 25, 2:12 pm 2008
Jens Axboe
Re: [PATCH 1/2] Avoid bio_endio recursion
I don't think bi_idx is a fantastic idea, I could easily imagine the bi_end_io function wanting to do a segment loop on the bio. Use bi_phys_segments instead (or bi_hw_segemnts, no difference), they should only be used when queuing and building IO, not for completion purposes. And put a big fat comment there explaining the overload. Plus they are just a cache, so if you use either of those and at the same time clear BIO_SEG_VALID in bi_flags, then it's guarenteed to be safe. Also please put ...
Jun 25, 1:24 am 2008
Stefan Hellermann
Re: strange freeze with VIA C7 dedicated server and libc 2.6.1
Hi! I've got the same problem with a VIA Epia SN-1800, Gentoo and glibc-2.6.1. First I had crashes every day, but these came from madwifi-ng. Now with vanilla-2.6.25.6 and no modules it's crashing about every 3 weeks with no log I can provide. I have a serial console connected to it, but I have no other device running 24h to collect the crash. I tried glibc-2.7, but with this powerdns-resolver isn't working any more, and I don't think the problems are gone (only one crash so far). It's not ...
Jun 25, 9:36 am 2008
Ingo Molnar
Re: [PATCH] x86: introduce init_memory_mapping for 32bit
i've applied them to tip/x86/setup-memory, replacing the larger patch - thanks Yinghai. Ingo --
Jun 25, 7:45 am 2008
Len Brown
Re: [PATCH 2.6.26-rc] ACPI Thermal Zone driver breaks lm ...
for CONFIG_HWMON=m CONFIG_THERMAL=y CONFIG_THERMAL_HWMON=n, always. This is not a change to the logic of the existing ifdefs, but was wondering if this was your intent, Rui. --
Jun 25, 4:16 pm 2008
Rene Herman
Re: [PATCH 2.6.26-rc] ACPI Thermal Zone driver breaks lm ...
My intentioon in this case. Yes, this should be. THERMAL_HWMON is a bool (as in, not a tristate) that just changes THERMAL. If THERMAL=y, we need HWMON=y or we'd get a link failure. If THERMAL=m, we're okay with either HWMON=y and HWMON=m and if THERMAL=n, we don't care one hoot about THERMAL_HWMON... Rene. --
Jun 25, 4:38 pm 2008
Len Brown
Re: [PATCH 2.6.26-rc] ACPI Thermal Zone driver breaks lm ...
I think you were right and I was wrong on that part, lets default =n. What is new here is thermal I/F to hwmon. Distros what want it will know they need libsensors 2.10.7 or libsensors 3.x before they turn it on. libsensors <= 2.10.6 users who upgrade their kernel to 2.6.26 without distro support will get no bad surprises. The down-side is simply that we are being less aggressive about exposing these temperature readings via hwmon. I'm not going to lose any sleep over ...
Jun 25, 4:12 pm 2008
Anton Vorontsov
Re: [PATCH -rt] ide: fix interrupts processing issue wit ...
So far I own two ATAPI devices, IDE disks are quire rare nowadays, No, it's not Intel I/O APIC. IRQ18 is the virtual "Linux IRQ", no Hardirq preemption is on, of course. The whole problem is when hardirqs What do you mean by doesn't mask off? With hardirqs preemption it does mask off IDE interrupt, and then sends an EOI. But it doesn't mask processors' IRQs (i.e. local_irq_disable()), true. And MPIC is using It is PowerPC MPC8610 + ULi "Super South Bridge" connected through PCI Express. ...
Jun 25, 7:22 am 2008
Alan Cox
Re: [PATCH -rt] ide: fix interrupts processing issue wit ...
So you don't for example know if the bridge is correctly configured for that device to be edge or level triggered ? Alan --
Jun 25, 7:32 am 2008
Alan Cox
Re: [PATCH -rt] ide: fix interrupts processing issue wit ...
Are you sure the kernel isn't touching the status register and so clearing the IRQ condition at the controller ? --
Jun 25, 5:32 am 2008
Anton Vorontsov
Re: [PATCH -rt] ide: fix interrupts processing issue wit ...
Ok, a bit more investigation showed that this is indeed not RT specific per see, but issue emerges only on RT-style IRQ handlers + alim15x3 IDE controller (for example, PDC20269 works ok). The difference is that that with RT: low-level (non-threaded) IRQ handler masks IDE IRQ, then wakes up appropriate IRQ thread, which calls IDE handler, and then, after IDE handler exits, thread routine unmasks IDE IRQ. Without RT: low-level non-threaded IRQ handler does not mask specific IRQ, but ...
Jun 25, 5:34 am 2008
Anton Vorontsov
Re: [PATCH -rt] ide: fix interrupts processing issue wit ...
Nope. But I don't think that I can configure it anyway. The thing is that this particular setup doesn't use ULi's i8259 PIC (it is disabled by one of PCI quirks), and IDE interrupt is a sideband PCI-E interrupt (also configured by the PCI quirk). So IDE interrupt is "directly" connected to OpenPIC interrupt line (through the SOC PCI-E controller, of course). If that ULi bridge (M1575) provides some other means of configuring, I could try it... with the specifications. -- Anton ...
Jun 25, 8:26 am 2008
Anton Vorontsov
Re: [PATCH -rt] ide: fix interrupts processing issue wit ...
There are lots of places that reads status register, and looking into the code flow I don't see any problem with the code. But to be sure I inserted a printk into INB, and I don't see any status reads when/after the drive asserts its IRQ. -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2 --
Jun 25, 7:12 am 2008
Anton Vorontsov
Re: [PATCH -rt] ide: fix interrupts processing issue wit ...
Thanks for the drive, and the result is: hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest } ide: failed opcode was: unknown -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2 --
Jun 25, 7:59 am 2008
Sergei Shtylyov
Re: [PATCH -rt] ide: fix interrupts processing issue wit ...
Hello. Hm, handle_level_irq() (and PCI IRQs are level-triggered) calls mask_ack_irq() which should *mask* IRQ and send EOI (at least on i8259). By IRQ18 I can assume it's I/O APIC -- this one may be using different methods of handling IRQ depending on whether hardirq preemption is on or off (at least it was so in 2.6.18-rt time). The default, "fasteoi" path doesn't mask off the IRQ indeed (it should be disabled from re-occuring anyway until the code issues EOI)... That's ...
Jun 25, 6:15 am 2008
Jeff Garzik Jun 24, 8:09 pm 2008
Russell King
Re: [2.6 patch] asm/ptrace.h userspace headers cleanup
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: --
Jun 25, 12:46 am 2008
David Miller
Re: stuck tcp connections 2.6.26-rc7
From: "Ray Lee" <ray-lk@madrabbit.org> See if firefox is stuck in disk wait when things get wedged like this. --
Jun 25, 3:24 pm 2008
Ray Lee
Re: stuck tcp connections 2.6.26-rc7
On Tue, Jun 24, 2008 at 11:25 PM, Justin Mattock On my system, I've noticed that the flashplugin can manage to starve other processes in a pure scheduler sort of way, so you might try running latencytop to see if there's some sort of issue there. OTOH, I've noticed firefox itself hang for 3-15 seconds in the middle of a read (just as you describe), with nothing else going on in the system, so <shrug>. I've been blaming firefox, but I could be wrong. --
Jun 25, 8:16 am 2008
Justin Mattock
Re: stuck tcp connections 2.6.26-rc7
I agree, after playing around with different applications I'm noticing this around firefox and flash as well. When watching T.V. through mplayer there is no problem at all i.g. having three T.V. stations playing all at once plus music streaming gives me no errors or pauses at all, not even any pops in the music. But as soon as I load firefox the pauses occur, and so forth(ussually have to restart firefox a couple of times to have it run smooth). Maybe there is something in about:config ...
Jun 25, 9:22 am 2008
Justin Mattock
Re: stuck tcp connections 2.6.26-rc7
Hello; Thanks for the response. I must admit I need to figure out how to do that(disk wait mode with firefox). Aside from that, it seems there are reports of this with the latest and so forth. As a note This explains why and when I plugged in an older kernel that had no problems at all, was suddenly giving me problems, leading me to believe that my service provider(was bandwidth limiting), or a script kiddie was messing with the line, but this did not seem to be the case; Thankfully. I'll ...
Jun 25, 4:29 pm 2008
Justin Mattock
Re: stuck tcp connections 2.6.26-rc7
Hmm, well I really don't know what to say with the tcp connection(issue), It seems to go in and out of phases i.g. at first running music, and t.v.(through flash) there's moments of pauses,(around 5 secs or so) then after a while the tcp seems to even itself out, but then after a while(5min or so) the same pauses begin. Maybe due to some missing packet, or some deadlock if this is proper to say. regards; -- Justin P. Mattock --
Jun 24, 11:25 pm 2008
Eduard - Gabriel Mun ...
[PATCH 2/3] Full conversion to early_initcall() interfac ...
A previous patch added the early_initcall(), to allow a cleaner hooking of pre-SMP initcalls. Now we remove the older interface, converting all existing users to the new one. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> --- include/linux/sched.h | 12 ------------ include/linux/smp.h | 8 -------- init/main.c | 23 +---------------------- kernel/sched.c | 6 +++++- kernel/smp.c | 6 +++++- kernel/softirq.c | 4 +++- ...
Jun 25, 2:01 am 2008
Eduard - Gabriel Mun ...
Re: [PATCH 2/3] Full conversion to early_initcall() inte ...
Hi, Please merge this instead, it's based on linux-next. Your change wasn't enough. And I don't think Tom Zanussi should be Cc-ed on patches 1 and 2, these are mere prereqs for the 3rd. So add the Cc for Tom just for the third. You could add yourself as Cc to the other two, or whoever you think is responsible for such core stuff. Cheers, Eduard --
Jun 25, 2:07 am 2008
David Woodhouse
Re: [PATCH] dabusb: use request_firmware()
I've reworked the git tree to do it that way. -- dwmw2 --
Jun 25, 4:01 pm 2008
Alessandro Zummo
Re: [PATCH] RTC: Fix CMOS time error after writing /proc ...
On Mon, 23 Jun 2008 18:52:21 +0800 Acked-by: Alessandro Zummo <a.zummo@towertech.it> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it --
Jun 25, 1:44 am 2008
Dave Jones
Re: [BUG] While changing the cpufreq governor, kernel hi ...
On Wed, Jun 25, 2008 at 09:47:50PM +0200, Johannes Weiner wrote: > Cool, thanks for testing! > > I think the above patch is right but not enough. > > Dave, what do you think about the following? Makes sense to me. I'll queue it up. Dave -- http://www.codemonkey.org.uk --
Jun 25, 1:00 pm 2008
Johannes Weiner
Re: [BUG] While changing the cpufreq governor, kernel hi ...
Hi, Cool, thanks for testing! I think the above patch is right but not enough. Dave, what do you think about the following? --- From: Johannes Weiner <hannes@saeurebad.de> Subject: cpufreq: cancel self-rearming work synchroneuously The ondemand and conservative governor workers are self-rearming. Cancel them synchroneously to avoid nasty races. Reported-by: Nageswara R Sastry <rnsastry@linux.vnet.ibm.com> Signed-off-by: Johannes Weiner <hannes@saeurebad.de> --- diff --git ...
Jun 25, 12:47 pm 2008
Michael Kerrisk
Re: [PATCH] Documentation: add descs for guest fields in ...
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> --
Jun 24, 8:28 pm 2008
Michael Kerrisk
Re: nanosleep() uses CLOCK_MONOTONIC, should be CLOCK_RE ...
Thanks Thomas -- that's what I was beginning to understand, butit's nice to have confirmation. -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html --
Jun 24, 11:16 pm 2008
Thomas Gleixner
Re: nanosleep() uses CLOCK_MONOTONIC, should be CLOCK_RE ...
We use CLOCK_MONOTONIC for the relative timeouts simply to avoid trickery vs. clock_settime(CLOCK_REALTIME). That's an kernel internal implementation detail which does not have any visible effect to the user space interface. CLOCK_MONOTONIC and CLOCK_REALTIME are using the same timebase internally and therefor we can safely use CLOCK_MONOTONIC for the relative timeouts. Thanks, tglx --
Jun 24, 11:13 pm 2008
Pavel Machek
[regression] Re: 2.6.26-rc6: pcmcia stopped working
Actually, it is worse. On thinkpad, PCMCIA card is only detected once. If I remove it and reinsert it, it will not be detected, and machine will not reboot. Thinkpad X60. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Jun 25, 3:23 am 2008
Pavel Machek
Re: [regression] Re: 2.6.26-rc6: pcmcia stopped working
...and this fixes PCMCIA/IDE for me... (Pseudopatch) Pavel diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -336,29 +341,38 @@ void ide_unregister(ide_hwif_t *hwif) ++irq_count; g = g->next; } while (g != hwgroup->hwif); if (irq_count == 1) free_irq(hwif->irq, hwgroup); ide_remove_port_from_hwgroup(hwif); device_unregister(hwif->portdev); ...
Jun 25, 3:15 pm 2008
Pavel Machek
Re: [regression] Re: 2.6.26-rc6: pcmcia stopped working
Hmm, hitting sysrq-w produces no blocked task until I eject pcmcia card. Backtrace there is: Greg, I believe some traces lead to sysfs, can you help here? Pavel SysRq : Show Blocked State task PC stack pid father pccardd D f7fb53b8 0 1121 2 f6d37e30 00000086 00000000 f7fb53b8 00000002 f7c71ef0 c2015e80 c2015e80 00000282 834ba19e 0000001a f7fb53b8 f7fb5618 c2015e80 f6d36000 f68ccdc0 f6d37e08 00013c4d 00000000 c085d5dd ...
Jun 25, 2:53 pm 2008
Pavel Machek
Re: [regression] Re: 2.6.26-rc6: pcmcia stopped working
Hmm, but with -rc8, I actually got some useful info: kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. debug: unmapping init memory c099f000..c09ef000 Write protecting the kernel text: 5320k Write protecting the kernel read-only data: 1916k Failed to execute /tmp/swsusp-init. Attempting defaults... EXT3 FS on sda4, internal journal Adding 987988k swap on /dev/sda1. Priority:-1 extents:1 ...
Jun 25, 4:01 am 2008
Pavel Machek
Re: [regression] Re: 2.6.26-rc6: pcmcia stopped working
ide_unregister() does not complete :-(. device_unregister(&hwif->gendev); + printk("ide_unregister: waiting for rel_comp\n"); wait_for_completion(&hwif->gendev_rel_comp); ...that wait_for_completion never returns. I added some debug prints: Jun 25 23:59:21 amd cardmgr[1389]: start cmd exited with status 1 Jun 25 23:59:25 amd kernel: pccard: card ejected from slot 0 Jun 25 23:59:25 amd kernel: ide_unregister Jun 25 23:59:25 amd kernel: ide_unregister: have ...
Jun 25, 3:09 pm 2008
Tejun Heo
Re: [regression] Re: 2.6.26-rc6: pcmcia stopped working
Hello, Pavel. Strange. sysfs_addrm_finish() releases resources and is unlikely to block. Can you please translate the PC to source line? Thanks. -- tejun --
Jun 25, 5:03 am 2008
Alessandro Zummo
Re: [rtc-linux] [patch 2.6.26-rc7] rtc_read_alarm() hand ...
On Sun, 22 Jun 2008 20:42:13 -0700 Acked-by: Alessandro Zummo <a.zummo@towertech.it> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it --
Jun 25, 1:59 am 2008
Jonathan Corbet
Re: [PATCH] rtc: remove BKL for ioctl()
On Sun, 22 Jun 2008 19:55:42 -0700 Looks good, I'll happily put it into the bkl-removal tree. One Shouldn't that be -EINTR? Thanks, jon --
Jun 25, 3:39 pm 2008
David Brownell
Re: [PATCH] rtc: remove BKL for ioctl()
It's in MM now too ... are all the bkl-removal patches going in I was just copying that usage from drivers/rtc/interface.c ... all users there return -EBUSY. If it's wrong in this patch it's probably wrong there too. I suspect EINTR is the answer in all cases. - Dave --
Jun 25, 3:58 pm 2008
Jonathan Corbet
Re: [PATCH] rtc: remove BKL for ioctl()
On Wed, 25 Jun 2008 23:30:17 +0100 OTOH, my sysadmin youth left me with some painful memories of having to reboot important systems to get rid of a process with some vital resource in a D-state death grip. So I have a certain aversion to putting uninterruptible waits in places where they aren't really necessary. Perhaps this is a good candidate for mutex_lock_killable()? jon --
Jun 25, 4:41 pm 2008
Alan Cox
Re: [PATCH] rtc: remove BKL for ioctl()
On Wed, 25 Jun 2008 16:39:28 -0600 For an ioctl case which should never be blocking for long periods it shouldn't be _interruptible in the first place, that will just introduce bizarre and weird bugs in application code. If there are slow ops they should drop and retake the lock. Alan --
Jun 25, 3:30 pm 2008
David Brownell
Re: [PATCH] rtc: remove BKL for ioctl()
What's a "long period"? RTCs that connect using I2C or SPI will need to queue for access to that particular serial bus, and then there are transfer costs. The busses are frequently, but of course not always, idle. For I2C at 100 KHz, RTC transfers might take a millisecond or so. I'd be tempted to say those are all quick enough that the ops don't need to be interruptible. - Dave --
Jun 25, 4:04 pm 2008
Alessandro Zummo
Re: [rtc-linux] [PATCH] rtc: remove BKL for ioctl()
On Sun, 22 Jun 2008 19:55:42 -0700 Acked-by: Alessandro Zummo <a.zummo@towertech.it> -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it --
Jun 25, 1:57 am 2008
Randy Dunlap
Re: [Bug #10872] x86_64 boot hang when CONFIG_NUMA=n
--- ~Randy Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA http://linuxplumbersconf.org/ --
Jun 25, 10:48 am 2008
Adam Williamson Jun 24, 7:05 pm 2008
Helge Hafting
Re: [Bug #10962] 2.6.26-rc2 WARNING from usb-serial, and ...
I can confirm that this problem still happens in 2.6.26-rc8. When the gps loose connection (probably due to faulty USB cabling), then the kernel spits out numerous WARNINGs. I'll try to reproduce with USB debugging later. Helge Hafting --
Jun 25, 3:41 am 2008
Oliver Neukum
Re: [Bug #10868] Oops on loading ipaq module since 2.6.2 ...
Please also set the debug module parameter for the ipaq module. Regards Oliver --
Jun 25, 8:41 am 2008
Helge Hafting
Re: 2.6.26-rc2 WARNING from usb-serial, and then my gps ...
USB logging sure creates lots of data. 8.4M of log bzipped into 237kB here: http://www.aitel.hist.no/~helgehaf/usbtrouble1.log.bz2 This contains: * Kernel log all the way from bootup (2.6.26-rc8) * An USB incident before I turned USB logging on * An USB incident after I turned USB logging on Almost all of it is these two lines repeating forewer: drivers/usb/serial/usb-serial.c: serial_chars_in_buffer = port 0 drivers/usb/serial/usb-serial.c: serial_write_room - port 0 The port numbers ...
Jun 25, 4:30 am 2008
Helge Hafting
Re: 2.6.26-rc2 WARNING from usb-serial, and then my gps ...
Sorry for taking some time, I've been struggling with the init system. I now see that the problem still is in 2.6.26-rc8, I will do that I run "udev" that starts "gpsd" when I plug in a gps. The gps is then connected to /dev/ttyUSB0. I then run "gpxlogger" that simply contact gpsd and prints coordinates to stdout. I also run "xgps" that contact gpsd in order to show some info about the gps satellites in use. All software from debian testing. The problem is triggered by bending the USB cable ...
Jun 25, 4:00 am 2008
Alan Stern
Re: [REGRESSION] 2.6.24/25: random lockups when accessin ...
So it should. Do you know how to test whether interrupts are enabled? There's a routine called raw_irqs_disabled() defined in include/asm/irqflags.h. Stick it inside usb_hcd_link_urb_to_ep, and That should do the trick. Although it would be quicker just to make a small change to your existing code: The first time the spin_trylock fails, do a dump_stack(). You did say this is a UP system, right? (Because obviously on SMP systems, one expects spin_trylock to fail from time to ...
Jun 25, 11:38 am 2008
Stefan Becker
Re: [REGRESSION] 2.6.24/25: random lockups when accessin ...
Hi, Well, I guess I'm just lucky it didn't turn into a heisenbug with all Unfortunately I could only run a small test today. I added some simple debugging code for the spinlock usage in hcd.c (see attached diff) and I get the following message at lockup (I tried it twice just to be sure): HCD URB list locked by usb_hcd_link_urb_to_ep! As far as I understand the matter this only can happen if usb_hcd_link_urb_to_ep() gets interrupted while holding the spinlock. But according to the ...
Jun 25, 8:52 am 2008
Michael Buesch
Re: Oops when using growisofs
I don't know. kded, which caused the oops, is always running. It is a KDE daemon that polls device state and so on. So yeah, it might have accessed the drive while growisofs was writing to it. However with "accessing" I mean the DVD drive motor was spinning up and down and the laser lens was moving like crazy. The sound that happens, if you put a completely scratched DVD into the drive and it is unable to make sense of it. However, this was not scratched. It was a new DVD with one session on ...
Jun 25, 2:46 am 2008
Arnd Bergmann
Re: Oops when using growisofs
So maybe a use-after-free bug in the I/O error handling caused an inode to be overwritten and then passed to an I/O function that used an invalid inode->i_blkbits? Arnd <>< --
Jun 24, 6:42 pm 2008
Jan Kara
Re: Oops when using growisofs
Hmm, by "accessing" do you mean that you've mounted the burned DVD and when browsing it the IO error and the oops occured or that IO error happened when burning? It is important because in the first case i_blkbits would be taken from some ISOFS inode desribing some file while in the second case i_blkbits are from the inode of the device... Honza -- Jan Kara <jack@suse.cz> SUSE Labs, CR --
Jun 25, 2:37 am 2008
Linus Torvalds
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
That doesn't work - gcc warns about it. That turns out to be a problem with %#p too. It's really irritating how we cannot extend on the printk strings without either having to throw out gcc warnings altogether. gcc has no extension mechanism to the built-in rules ;/ The format warnings are too useful to drop entirely. I guess sparse could be taught to do them, and then we could drop the gcc support for them. But that would still limit coverage a _lot_. Linus --
Jun 24, 9:04 pm 2008
Paul Jackson
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
I don't see any such uses, so that could work. I agree - that the lib/vsprintf.c code seems to prefix "%#p" numbers with "0x", as currently coded. But I find borrowing the '#' flag for symbolic names to be a slight stretch, as well as likely to confuse some of us, such as myself, for whom these printf flags are already a tad cryptic and error prone. I'd be inclined instead to use "%P" for symbolic addrs. -- I won't rest till it's the best ... ...
Jun 24, 8:08 pm 2008
H. Peter Anvin
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
Yes, zero padding. What we really should have is %p produce this format. For some odd reason, right now %p produces numbers without the 0x prefix. -h --
Jun 24, 7:18 pm 2008
H. Peter Anvin Jun 24, 6:56 pm 2008
Johannes Berg
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
We should probably start working on getting this fixed. In networking, we've gone through various incarnations of print_mac() which is similar to the sym() macro Paul proposed, and it turned out to be undesirable because of the way it interacts with static inlines that only optionally contain code at all, the print_mac() function call is still emitted by the compiler. People experimented with marking it __pure but that had other problems. It would be nice to be able to say u8 ...
Jun 25, 8:00 am 2008
Linus Torvalds
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
Indeed it does, I just checked. Very irritating. Linus --
Jun 24, 8:00 pm 2008
H. Peter Anvin
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
You're right, I didn't. I still think the 0x%p's and -- even worse -- 0x%08lx's (what about 64 bits?!) we currently have *all over the kernel* suck, but yes, that's a minor problem and getting the symbolic info would be a very nice thing. It looks like gcc will warn about just about ever modifier to %p. I wondered whose diseased brain came up with that idea. Overall, I think the glibc people have botched their printf extensions horribly, failing to pick up the very useful %I ...
Jun 25, 8:29 am 2008
Ingo Molnar
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
i think the main problem with Sparse isnt even technical but just a few minor gotchas IMO that artificially work against the widespread use of Sparse in various common workflows. Sparse is a cool tool that extends upon C types (and more), but it's been made too hard to use widely: - right now it's opt-in with no ability for testers to use it transparently while also building the kernel. Forcing a second kernel build just for 'debugging' reduces the userbase. - it produces ...
Jun 25, 7:53 am 2008
Paul Jackson
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
Ah so. How about the following "sym(addr, buf)" macro? This could make it more practical to include kernel symbols within ordinary printk's. On a silly little test with: { char b1[32], b2[32], b3[32]; printk(">>>>>> Testing sym(): A. %s, B. %s, C. %s\n", sym(&pid_max, b1), sym(0xffffffff80615750, b2), /* an addr in my System.map */ sym(0, b3)); } the kernel printed: >>>>>> Testing sym(): A. pid_max+0x0/0x4, B. trampoline_base+0x0/0x10, C. ...
Jun 25, 1:04 am 2008
Paul Jackson
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
Aha - you're right! I just earned the Ugly Patch of the Day Award. I think changes of "%lu" to "0x%lx" are still ok, but changes of "%8lu" to "0x%8lx" (which use 8 columns, right aligned, space filled format) are not ok. I will redo this patch, without the "0x" prefix on the space filled fields. Let me know if that is better. Thank-you. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson ...
Jun 24, 6:32 pm 2008
Paul Jackson
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
Hmmm ... the '#' is a good idea, instead of an explicit "0x". Do we want zero padding as well, with "0#8lx" ? Zone PFN ranges: DMA 0x00000000 -> 0x00001000 DMA32 0x00001000 -> 0x00100000 Normal 0x00100000 -> 0x00428000 or right aligned, space padded: Zone PFN ranges: DMA 0x0 -> 0x1000 DMA32 0x1000 -> 0x100000 Normal 0x100000 -> 0x428000 I like the zero padding here myself. -- I won't rest till it's the ...
Jun 24, 7:17 pm 2008
Linus Torvalds
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
Actually, I'd like to make %p produce the format that you right now have to jump through insane hoops for: symbolic addresses. Right now you have to do something insane like print_symbol(KERN_WARNING "address: %s\n", ptr); to print a symbolic version, and it sucks because it's actually just able to print symbols, you cannot mix any other types in there. I think it would be much easier to use if "%p" just did the symbolic version (if it's relevant) automatically. If you _just_ ...
Jun 24, 7:58 pm 2008
H. Peter Anvin
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
Any reason we can't just re-define %p to print the 0x prefix, just as glibc does? It'd be easy enough to go and sed out all the 0x%p's currently in the kernel. -hpa --
Jun 24, 10:01 pm 2008
H. Peter Anvin
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
FWIW, I did a pass over the tree stripping out all the 0x%p's and changing the behaviour about a year ago. It ended up sitting around and not be submitted, but I'd be happy to re-do it. -hpa --
Jun 24, 10:05 pm 2008
Linus Torvalds
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
You don't even have to go that esoteric. Just printing things like "sector_t" or "u64" is painful, because the For special things, I do think we should extend the format more, and forget about single-character names. It would be lovely to do them as %[mac], %[u64], %[symbol] or similar. Because once you don't rely on gcc checking the string, you can do it. The problem is that right now we absolutely _do_ rely on gcc checking the string, and as such we're forced to use standard ...
Jun 25, 8:19 am 2008
Johannes Berg
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
Heh, true, but I have the print_mac() disaster firmly imprinted in my Oh yes, I agree. At one point I figured it should be easy enough to extend gcc with something that allows you to specify the format character/type to take but alas, such a thing is not possible. johannes
Jun 25, 8:34 am 2008
Linus Torvalds
Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex n ...
You didn't listen. I want #p to do the _symbolic_ address. The thing we have in the backtraces etc. With nice symbol offset information etc. The '0x<hex>' thing isn't all that interesting. You can do it by adding the '0x' by hand, or by using a cast and using %#lx instead. Linus --
Jun 25, 7:42 am 2008
Mike Travis
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL point ...
Yes. As I see it, nr_cpu_ids is the max index (+1) into anything dealing with Yes, I agree. If for some reason, ACPI discovers a "possible" cpu but it faults when brought online, then it simply stays offline. It may never come online, or with some trick hardware, it could be replaced on the running system and then a new attempt can be made to bring it online. Thanks, Mike --
Jun 25, 8:06 am 2008
Rusty Russell
Re: v2.6.26-rc7: BUG: unable to handle kernel NULL point ...
It's ok if nr_cpu_ids is an overestimate, isn't it? But for this corner case, I think clearing cpu_possible_map is wrong. Cheers, Rusty. --
Jun 24, 10:38 pm 2008
Rene Herman
Re: [PATCH] Re: regression, 2.6.26-rc7, pnp: quirk_syste ...
I'm not up on the ACPI side of things at least, but am available for any testing you'd like me to do. Just say the word. Rene. --
Jun 25, 11:08 am 2008
Jan Kara
Re: [PATCH, v2] ext3: validate directory entry data before use
Andrew might complain that the above function is too big to be inlined. I'm not really sure where he draws the borderline but I believe Here should be __func__ as well - not your fault, I know... Anyway, Apart from (char *) thing, you also don't need braces above. Maybe the whole while loop would be nicer as: de2 = de; while (de2 != NULL && de2 < top) { de = de2; de2 = ext3_next_entry(__func__, dir, de, bh, 0); Honza -- Jan Kara <jack@suse.cz> SuSE CR Labs --
Jun 25, 3:08 am 2008
Duane Griffin
[PATCH, v3] ext3: validate directory entry data before use
Various places in fs/ext3/namei.c use ext3_next_entry to loop over directory entries, but not all of them verify that entries are valid before attempting to move to the next one. In the case where rec_len == 0 this causes an infinite loop. Introduce a new version of ext3_next_entry that checks the validity of the entry before using its data to find the next one. Rename the original function to __ext3_next_entry and use it in places where we already know the data is valid. Note that the ...
Jun 25, 5:11 am 2008
Jan Kara
Re: [PATCH, v3] ext3: validate directory entry data before use
For what it's worth, you can add Acked-by: Jan Kara <jack@suse.cz> -- Jan Kara <jack@suse.cz> SUSE Labs, CR --
Jun 25, 5:18 am 2008
Duane Griffin
Re: [PATCH, v2] ext3: validate directory entry data before use
Done, fixing a couple of incorrect strings along the way, thereby proving the usefulness of the exercise. A macro would make things slightly tidier, but I'm not sure it is worth doing. Let me know if you Cheers, Duane. -- "I never could learn to drink that blood and call it wine" - Bob Dylan --
Jun 25, 4:30 am 2008
Alan Stern
Re: Scatter-gather list constraints
And I can't write a patch without learning a lot more about how the Is it? What does the block layer do when it receives an I/O request that don't satisfy the other constraints (max_sectors or Why do you think I think that USB can't? I didn't ask whether it was _possible_; I asked whether it was _reasonable_. Alan Stern --
Jun 25, 7:23 am 2008
Alan Stern
RE: Scatter-gather list constraints
In what way would it simplify the code? Note that usbcore already contains a scatter-gather library. (Unfortunately the library is limited in usefulness because it needs to run in process context.) Alan Stern --
Jun 25, 7:24 am 2008
FUJITA Tomonori
Re: Scatter-gather list constraints
On Tue, 24 Jun 2008 10:57:13 -0400 (EDT) I can't say that it's easy to implement a clean mechanism to break up a request into multiple requests until I see a patch. What I said is that you think that this is about extending something in the block layer but it's about adding a new concept to the block The block layer does. Why do you think that USB can't? --
Jun 24, 5:18 pm 2008
Perez-Gonzalez, Inaky
RE: Scatter-gather list constraints
That would simplify a *LOT* of WUSB wire-adapter code which now is a horrible kludge. -- Inaky --
Jun 24, 9:02 pm 2008
Rogério
Re: [2.6.26-rc4] Problems with rt2x00 USB interface on p ...
Hi, Ivo and John (again). Just for your information, I just compiled the -rc7 kernel on x86-64 (where rt2500usb works if I boot with kernel 2.6.25) and still doesn't work (I'm not even mentioning here PowerPC). The "doesn't work" part means that the usual procedure of bringing the interface up, setting the key (I'm using WEP), setting the essid (at which point it should already be associated with the AP) and then using a dchp client on the interface doesn't get a DHCP lease. The DHCP ...
Jun 25, 12:49 pm 2008
Jonathan Corbet
[PATCH, RFC] fasync() BKL pushdown (take 2)
On Fri, 20 Jun 2008 21:12:51 +0200 OK, I've gone over all of the fasync() definitions again with an eye toward convincing myself that the fasync list would not get cleared, freed, or otherwise molested if fasync() runs without BKL protection. I focused especially on other code (open(), ioctl()) which might still run with the BKL. The result was two more pushdowns in spots where I wasn't sure; chance are both are unnecessary. The new fasync pushdown tree contains: Jonathan Corbet (9): ...
Jun 25, 3:30 pm 2008
Mathieu Desnoyers
[RFC PATCH] Tracepoint sched probes
** note : early RFC. This patch applies on a unreleased LTTng for 2.6.26-rc8 patchset. Scheduler tracepoint probes Only a single probe is implement as a POC. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: 'Peter Zijlstra' <peterz@infradead.org> CC: "Frank Ch. Eigler" <fche@redhat.com> CC: 'Ingo Molnar' <mingo@elte.hu> CC: 'Hideo AOKI' <haoki@redhat.com> CC: Takashi Nishiie <t-nishiie@np.css.fujitsu.com> CC: 'Steven Rostedt' <rostedt@goodmis.org> --- init/Kconfig ...
Jun 25, 4:55 pm 2008
Mathieu Desnoyers
[RFC PATCH] Kernel Tracepoints
** note : this patch is submitted for early review. It applies after my current unreleased 2.6.26-rc8 LTTng patchset. Comments are welcome. Implementation of kernel tracepoints. Inspired from the Linux Kernel Markers. Allows complete typing verification. No format string required. TODO : Documentation/tracepoint.txt Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: 'Peter Zijlstra' <peterz@infradead.org> CC: "Frank Ch. Eigler" <fche@redhat.com> CC: 'Ingo Molnar' ...
Jun 25, 4:52 pm 2008
Andrew Morton
Re: [PATCH] capabilities: refactor kernel code + bugfix
On Fri, 20 Jun 2008 08:38:19 -0700 This is one helluva large (security!) patch for so late in -rc. Could we please split out the bugfix for 2.6.26 (is it needed in 2.6.25 too?) and hold the refactoring back for 2.6.27? --
Jun 25, 4:30 pm 2008
Balbir Singh
Re: [2/2] memrlimit fix usage of tmp as a parameter name
Yes, I remember reviewing those patches. Nice to have problems solved automatically :) -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL --
Jun 25, 4:51 pm 2008
Andrew Morton
Re: [1/2] memrlimit handle attach_task() failure, add ca ...
On Fri, 20 Jun 2008 20:31:42 +0530 The comment and the function name imply that thins function will "Add the value val to the resource counter". But it doesn't do that at all. In fact the first arg could be a `const struct res_counter *'. Perhaps res_counter_can_add() would be more accurate. --
Jun 25, 4:37 pm 2008
Balbir Singh
Re: [1/2] memrlimit handle attach_task() failure, add ca ...
Will fix both problems and send out fixes. I intended to call it res_counter_check_and_add(), but I don't like "and" in function names. res_counter_can_add is definitely better. -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL --
Jun 25, 4:52 pm 2008
Balbir Singh
Re: [0/2] memrlimit improve error handling
I did look at that and use that code, but we initialize ret = -EINVAL and then we have the checks for if (flags & ~(MREMAP_FIXED | MREMAP_MAYMOVE)) goto out; if (addr & ~PAGE_MASK) goto out; In out, we check for ret & ~PAGE_MASK That's OK for vm_unacct_memory, since charged is set to 0, but not for mem_cgroup_uncharge_as as we uncharge (new_len - old_len) >> PAGE_SHIFT); Yes, that is nasty and a bad miss. It should ...
Jun 24, 6:01 pm 2008
Andrew Morton
Re: [2/2] memrlimit fix usage of tmp as a parameter name
On Fri, 20 Jun 2008 20:31:52 +0530 Paul's "CGroup Files: Convert res_counter_write() to be a cgroups write_string() handler" (memrlimit-setup-the-memrlimit-controller-cgroup-files-convert-res_counter_write-to-be-a-cgroups-write_string-handler-memrlimitcgroup.patch) deleted memrlimit_cgroup_write_strategy(), so problem solved ;) --
Jun 25, 4:41 pm 2008
Zhao Yakui
Re: [PATCH] ACPI: don't walk tables if ACPI was disabled
In fact this issue is related with the following factors: a. when acpi is disabled, OS won't initialize the ACPI mutex, which is accessed by many ACPI interface functions. For example: acpi_walk_namespace, acpi_install_fixed_event_handler. b. When acpi is disabled, some drivers will call the ACPI interface functions. For example: The acpi_walk_namespace is called in dock_init/bay_init. The acpi_install_fixed_event_handler is called in the acpi_rtc_init. Although the following ...
Jun 24, 6:37 pm 2008
Len Brown Jun 24, 8:10 pm 2008
Arjan van de Ven
Re: [PATCH] ACPI: add standard linux WARN() output to AC ...
On Tue, 24 Jun 2008 22:34:25 -0400 (EDT) Please do not use warn_on_slowpath() directly! Please use WARN_ON() or WARN(). The later has printk semantics so this could turn into WARN(1, "ACPI Error (%s-%0d): \n", module_name, line_number); and kerneloops.org and various other tools will pick up the printk like arguments as part of the warning message. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, ...
Jun 24, 7:49 pm 2008
Len Brown
[PATCH] ACPI: add standard linux WARN() output to ACPI w ...
From: Len Brown <len.brown@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Maybe something like this would help? (totally untested) -Len diff --git a/drivers/acpi/utilities/utmisc.c b/drivers/acpi/utilities/utmisc.c index 1f057b7..d53e82c 100644 --- a/drivers/acpi/utilities/utmisc.c +++ b/drivers/acpi/utilities/utmisc.c @@ -1028,6 +1028,7 @@ acpi_ut_error(char *module_name, u32 line_number, char *format, ...) { va_list args; + warn_on_slowpath(module_name, ...
Jun 24, 7:34 pm 2008
Len Brown
Re: [PATCH] ACPI: don't walk tables if ACPI was disabled
No, that commit was not a bug, it was correct, and still is, for pnpACPI and pnpBIOS must be mutually exclusive. The thing that changed was the RTC specific code. -Len --
Jun 24, 7:41 pm 2008
Ingo Molnar
Re: [PATCH] ACPI: don't walk tables if ACPI was disabled
ok. Vegard's patch/workaround got my test setup going, i'll drop it if something better comes along. (tip/out-of-tree commits dont get propagated into linux-next so it will not interfere with anything) Ingo --
Jun 25, 12:07 am 2008
Bjorn Helgaas
Re: [PATCH] ACPI: don't walk tables if ACPI was disabled
I think most current uses of acpi_walk_namespace() are indications that the ACPI or PNP core is missing something. In dock_init() and bay_init(), it's used to bind a driver to a device. I think it would be better if we could figure out how to use the usual acpi_bus_register_driver() interface. Actually, it looks like this is already 90% done: acpi_dock_match() does the same thing as is_dock(), so it looks like dock_init() could easily be converted to register as a driver for ...
Jun 25, 8:08 am 2008
Jack Steiner
Re: [bug] Re: [PATCH] - Fix stack overflow for large val ...
Is this already fixed? I see a number of patches to this area have been merged since the failure occurred. I added enough hacks to get backtraces on threads at the time a hang occurs. show_state() shows 79 "kstopmachine" tasks. Most have one of the following backtraces: <6>kstopmachine R running task 6400 375 369 ffff8101ad28bd80 ffffffff8068c5c6 ffff8101ad28bb20 0000000000000002 0000000000000046 0000000000000000 0000000000002f42 ffff8101ad28c8b8 ffff8101ad28bb90 ...
Jun 25, 1:56 pm 2008
Venki Pallipadi
Re: mce_64.c: mce_cpu_quirks being ignored
Yes. That particular quirk getting ignored was a bug. Below patch fixes the bug, until we have the dynamic banks support. sysfs choice configuration should not have any issues with the earlier patch as we look for NR_SYSFS_BANKS in do_machine_check(). Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> --- arch/x86/kernel/cpu/mcheck/mce_64.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Index: ...
Jun 24, 5:12 pm 2008
hong zhang
Re: [E1000-devel] Strange problem with e1000 driver - pi ...
Vatsa, This is not legacy mode that causes long ping time. ---henry --
Jun 25, 11:09 am 2008
Srivatsa Vaddagiri
Re: Strange problem with e1000 driver - ping packet loss
Sorry about the delay, but here's /proc/interrupts: CPU0 0: 1342021 IO-APIC-edge timer 1: 416 IO-APIC-edge i8042 6: 6 IO-APIC-edge floppy 8: 1 IO-APIC-edge rtc 12: 13367 IO-APIC-edge i8042 169: 1 IO-APIC-level acpi 177: 8882 IO-APIC-level libata, eth1 185: 75633 IO-APIC-level uhci_hcd:usb1, i915@pci:0000:00:02.0 193: 0 IO-APIC-level uhci_hcd:usb2 NMI: 0 LOC: ...
Jun 25, 7:32 am 2008
Dmitry Adamushko
Re: [BUG] CFS vs cpu hotplug
FYI, I've managed to reproduce it 3 times (took 10 to 45 minutes) on my dual-core Thinkpad R60. (1) make -j3 of the kernel source (2) a loop with : offline cpu_1 ; sleep 1 ; online cpu_1 ; sleep 1 2 times in the GUI environment so I couldn't see an oops (although, I could here it as the very first time my laptop was constantly beeeeeeeep-ing :-) Strangely enough, an oops didn't appear in the plain console mode (well, at least not on the active terminal). Although, my ...
Jun 25, 3:12 pm 2008
Jiri Kosina
Re: [PATCH] module: make symbol_put_addr() work for all ...
Hi Rusty, I see two options how to do this -- either I can make 'value' input parameter too, so that find_symbol_in_section() could perform lookup either according to address or according to name (whatever is specified in the passed struct find_symbol_arg), or I can do a completely new lookup function for address-wise lookups. What would you prefer? I don't have any strong preference either way. Thanks, -- Jiri Kosina SUSE Labs --
Jun 25, 1:37 am 2008
Rusty Russell
Re: [PATCH] module: make symbol_put_addr() work for all ...
A new lookup function (and hence a new structure) I think. It'll be clearer. Cheers, Rusty. --
Jun 25, 8:37 am 2008
Richard Purdie
Re: [PATCH] leds: make sure led->trigger is valid before ...
I seem to remember actively making the code work the way it does when I originally wrote it, what I can't remember is why I did that :/. Anyhow, I have no objections to the change and will probably queue it for the next merge window, its post 2.6.26 material. Cheers, Richard --
Jun 25, 3:18 am 2008
Dmitry Baryshkov
Re: [PATCH] leds: make sure led->trigger is valid before ...
I hope this is better. This isn't an 2.6.25.x material. And probably not an 2.6.26. From 4ce3598c6ce5e6b529a05432b18996a99cc5bf0d Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov <dbaryshkov@gmail.com> Date: Wed, 25 Jun 2008 13:48:07 +0400 Subject: [PATCH] leds: make sure led->trigger is valid before calling trigger->activate This is necessary if one wants to use the led->trigger field during trigger activation for a led (e.g. to set up the state of the led). No current drivers depend on ...
Jun 25, 2:50 am 2008
Jeff Garzik Jun 24, 8:09 pm 2008
Serge E. Hallyn
Re: [PATCH 11/11] sysfs: user namespaces: fix bug with c ...
Except the sysfs mount holds no refcount on the userns. So as long as we do the ida tagging as you suggested in your response to patch 6, there should be no reference to the user_ns left in sysfs code. The extra reference in patch #9 is for a light ref on the network namespace. I'm still not sure that needs to be there, since if the network namespace goes away, it will properly unregister its sysfs mounts. Eric, Benjamin, I really don't see any use for the hold_net() from sysfs. What is ...
Jun 25, 11:44 am 2008
Eric W. Biederman
Re: [PATCH 11/11] sysfs: user namespaces: fix bug with c ...
Mostly just being a sanity check. We can remove that if it easier. Eric --
Jun 25, 2:11 pm 2008
Tejun Heo
Re: [PATCH 05/11] sysfs: sysfs_chmod_file handle multipl ...
Yeah, something like that. With looping for all the inodes added, it looks like it will work fine. Thanks. -- tejun --
Jun 25, 5:31 am 2008
Paul E. McKenney
[PATCH -tip-rcu] Make rcutorture more vicious: invoke RC ...
This patch allows torturing RCU from irq handlers (timers, in this case). A new module parameter irqreader enables such additional torturing, and is enabled by default. Variants of RCU that do not tolerate readers being called from irq handlers (e.g., SRCU) ignore irqreader. (No failures observed, but only short tests thus far. And no failures observed thus far from about 10 hours of running stock rcutorture in parallel with 170 kernel builds on a two-CPU machine.) Signed-off-by: Paul E. ...
Jun 25, 12:24 pm 2008
Ralf Baechle
Re: [2.6 patch] remove pcibios_update_resource() functions
Yes, of course. Acked-by: Ralf Baechle <ralf@linux-mips.org> Ralf --
Jun 25, 4:41 pm 2008
Jesse Barnes
Re: [2.6 patch] remove pcibios_update_resource() functions
Ralf, I assume you're ok with this? Thanks, --
Jun 25, 4:02 pm 2008
Jesse Barnes
Re: [patch 0/5] dev_printk() conversions
Thanks Bjorn, I applied 2-4 to my linux-next tree. The x86 bits didn't apply for me, probably because my tree is slightly out of date, but those changes can come through Ingo & co. Jesse --
Jun 25, 4:07 pm 2008
Jon Tollefson
Re: [RFC] hugetlb reservations -- MAP_PRIVATE fixes for ...
Version two works for me too. I am not seeing the reserve value become negative when running the libhuge tests. Jon --
Jun 25, 2:22 pm 2008
Holger Kiehl
Re: Performance of ext4
Thanks, it applies without any problems. However I still hit an oops. What I find strange is that I got the oops just as the benchmark is done and all process where shutting down. The same behaviour I reported here: http://www.ussg.iu.edu/hypermail/linux/kernel/0806.2/2113.html Only this time I got just one oops. This is on x86_64 system (4 Opteron CPU's and SW Raid 1+0). I have not seen this on my home system x86 (1 Dual Core and HW Raid). Anyway, here the dmesg output: kjournald2 starting. ...
Jun 25, 2:09 am 2008
Greg KH
Re: [PATCH] add diffconfig utility (v2)
Very cool tool, I like it a lot, thanks for pushing this. greg k-h --
Jun 24, 10:36 pm 2008
Bartlomiej Zolnierki ...
Re: [0/5] move hd.c to drivers/block/
thanks, I applied all patches --
Jun 25, 1:16 pm 2008
Russ Anderson
Re: [PATCH 3/3] ia64: Call migration code on correctable ...
The original patch used /proc/ (/proc/meminfo had badpage summary info and /proc/badram had detailed info. It was suggested that /sys was a better place. FWIW, I'm more than happy to put it anywhere deemed "best" by the community. It is currently /sys/kernel/badram. Thanks, -- Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc rja@sgi.com --
Jun 25, 3:25 pm 2008
Paul E. McKenney
Re: [Bug #10815] 2.6.26-rc4: RIP find_pid_ns+0x6b/0xa0
And running rcutorture overnight on an Opteron system (9.7M updates) showed no failures. Thanx, Paul --
Jun 25, 2:04 am 2008
Solofo.Ramangalahy
Re: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number ...
Manfred Spraul writes: > > Humm... now this make me think that you did not change the MSGMNB > > value when you changed MSGMNI and MSGMAX. > > Maybe that was on purpose? > > > > > I was afraid that it might break user space applications that queue a > few kb of messages. Ok, the choice of a maximum value of 65536 which is already is use for several months/years was made partly for the same concern. Beside, as the values are not enforced, we should be relatively safe. Searching ...
Jun 24, 11:18 pm 2008
Nadia Derbey
Re: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number ...
Manfred, If I'm not missign anything when reading the code, sending up to MSGMNB 0-bytes messages would make us enqueue MSGMNB msg_msg structures (this is in the worst case where no receiver is waiting for those messages). ==> MSGMNB * 24 bytes (or 48 bytes in 64-bit mode)) ==> 384 KB with current MSGMNB value (16K). But 1,5 MB with a MSGMNB=64K Even if it is a worst case, it should be considered and may be we should refine the formula Solofo has proposed if you think this is not a ...
Jun 25, 3:12 am 2008
Pavel Machek
Re: pci-gart_64.c: could we get better explanation?
--- Add better explanation to pci-gart. Signed-off-by: Pavel Machek <pavel@suse.cz> diff --git a/arch/x86/kernel/pci-gart_64.c b/arch/x86/kernel/pci-gart_64.c index 838a1d3..e72e583 100644 --- a/arch/x86/kernel/pci-gart_64.c +++ b/arch/x86/kernel/pci-gart_64.c @@ -800,10 +800,10 @@ #endif wbinvd(); /* - * Try to workaround a bug (thanks to BenH) + * Try to workaround a bug (thanks to BenH): * Set unmapped entries to a scratch page instead of 0. * Any prefetches that ...
Jun 25, 3:25 pm 2008
Harvey Harrison
Re: byteorder helpers and void * (was: Re: [PATCH 01/21] ...
I'm starting to come around to the typechecking argument. This would also be a chance to fix the argument ordering in put_analigned_XXXX that was noticed by others. As there are already some existing users in-tree, we could transition gradually by: 1) Introduce typed versions of get/put_unaligned_XXXX, that implies the byteswap better: u16 load_unaligned_le16(__le16 *) void store_unaligned_le16(__le16 *, u16) Then the aligned helpers could be: le16_to_cpup -> aligned equivalent of ...
Jun 24, 7:35 pm 2008
Geert Uytterhoeven
Re: byteorder helpers and void * (was: Re: [PATCH 01/21] ...
With kind regards, Geert Uytterhoeven Software Architect Sony Techsoft Centre The Corporate Village
Jun 25, 4:20 am 2008
Adrian Bunk
Re: [PATCH 0/1] Embedded Maintainer(s), linux-embedded@v ...
Jan Dittmer has a great page showing the build status and kernel size of the defconfigs of all architectures that is running since 2004 or 2005: Perhaps in an ideal world... In reality, I'd claim I'm one out of only two people who regularly fix cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck ...
Jun 25, 8:41 am 2008
James Chapman
Re: [PATCH 0/1] Embedded Maintainer(s), linux-embedded@v ...
> > And we are not talking about something to be done once, as soon as you > leave x86 there are tons of regular breakages. Could automated builds and build error reporting be used to help resolve these problems? The good people at Simtec have an automated build report available as an e-mail digest. I use it to watch for architecture build breakages in subsystems or drivers that I use or touch. It covers defconfigs of ARM and MIPS architectures and reports compile errors/warnings, ...
Jun 25, 2:50 am 2008
Alfred E. Heggestad Jun 25, 1:07 pm 2008
Cyrill Gorcunov Jun 24, 8:18 pm 2008
previous daytodaynext day
June 24, 2008June 25, 2008June 26, 2008