Re: 2.6.20-rc5: known regressions with patches

2007-01-13 Thread Roland Dreier
> This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19 > with patches available. > Subject: KVM: guest crash > References : http://lkml.org/lkml/2007/1/8/163 > Submitter : Roland Dreier <[EMAIL PROTECTED]> > Handled-By : Avi Kivity <[EMAIL PROTECTED]> > Patch :

Re: 2.6.20-rc5: known regressions with patches

2007-01-13 Thread Adrian Bunk
On Sat, Jan 13, 2007 at 07:32:46AM -0800, Roland Dreier wrote: > > This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19 > > with patches available. > > > Subject: KVM: guest crash > > References : http://lkml.org/lkml/2007/1/8/163 > > Submitter : Roland Dreier <[EMAIL

Re: High lock spin time for zone->lru_lock under extreme conditions

2007-01-13 Thread Andrew Morton
> On Fri, 12 Jan 2007 23:36:43 -0800 Ravikiran G Thirumalai <[EMAIL PROTECTED]> > wrote: > On Sat, Jan 13, 2007 at 03:39:45PM +1100, Nick Piggin wrote: > > Ravikiran G Thirumalai wrote: > > >Hi, > > >We noticed high interrupt hold off times while running some memory > > >intensive > > >tests on a

Two versions of the truth (Documentation/{filesystems/proc.txt,sysctl/vm.txt}

2007-01-13 Thread Toon van der Pas
Hi, I was looking for a description of the kernel parameter page-cluster and found two versions that appear to be very different to me. (see the two text fragments below) The first one talks about the clusting of pages on a page fault, when pages need to be read into memory. The second one talks

[-mm patch] make mmc_sysfs.c:mmc_key_type static

2007-01-13 Thread Adrian Bunk
On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: >... > Changes since 2.6.20-rc3-mm1: >... > git-mmc.patch >... > git trees >... This patch makes the needlessly global struct mmc_key_type static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/mmc/mmc.h |1

[-mm patch] make gfs2_change_nlink_i() static

2007-01-13 Thread Adrian Bunk
On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: >... > Changes since 2.6.20-rc3-mm1: >... > git-gfs2-nmw.patch >... > git trees >... This patch makes the needlessly globlal gfs2_change_nlink_i() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/gfs2/inode.c | 88

Kernel 2.6.19.2 PCI issue

2007-01-13 Thread Vladislav Dembskiy
Dear Kernel developers, I am running 2.6.19.2 kernel on ASUS W2V laptop and I have the following boot messages" PCI: Transparent bridge - :00:1e.0 PCI: Bus #04 (-#07) is hidden behind transparent bridge #03 (-#04) (try 'pci=assign-busses') Please report the result to linux-kernel to fix

Re: 2.6.20-rc3 regression: suspend to RAM broken on Mac mini Core Duo

2007-01-13 Thread Pavel Machek
On Sat 2007-01-13 04:45:12, Tino Keitel wrote: > On Sat, Jan 13, 2007 at 04:05:28 +0100, Tino Keitel wrote: > > [...] > > > I think I found the problem. In 2.6.18, I had a slightly different > > config. With 2.6.20-rc4, I had sucessful suspend/resume cycles without > > the USB DVB-T box attached.

[2.6 patch] fix the JFFS2_FS_DEBUG=2 compilation

2007-01-13 Thread Adrian Bunk
On Fri, Jan 12, 2007 at 09:05:37PM +, Russell King wrote: > The following configuration: > > CONFIG_JFFS2_FS=y > CONFIG_JFFS2_FS_DEBUG=2 > # CONFIG_JFFS2_FS_NAND is not set > # CONFIG_JFFS2_FS_NOR_ECC is not set > # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set > CONFIG_JFFS2_ZLIB=y > CONFIG_JFF

Re: 2.6.20-rc3 regression: suspend to RAM broken on Mac mini Core Duo

2007-01-13 Thread Tino Keitel
On Sat, Jan 13, 2007 at 04:45:12 +0100, Tino Keitel wrote: > On Sat, Jan 13, 2007 at 04:05:28 +0100, Tino Keitel wrote: > > [...] > > > I think I found the problem. In 2.6.18, I had a slightly different > > config. With 2.6.20-rc4, I had sucessful suspend/resume cycles without > > the USB DVB-T b

Re: [2.6 patch] fix the JFFS2_FS_DEBUG=2 compilation

2007-01-13 Thread David Woodhouse
On Sat, 2007-01-13 at 11:51 +0100, Adrian Bunk wrote: > On Fri, Jan 12, 2007 at 09:05:37PM +, Russell King wrote: > > The following configuration: > > > > CONFIG_JFFS2_FS=y > > CONFIG_JFFS2_FS_DEBUG=2 > > # CONFIG_JFFS2_FS_NAND is not set > > # CONFIG_JFFS2_FS_NOR_ECC is not set > > # CONFIG_J

PCI: Bus #05 (-#08) is hidden behind transparent bridge #02

2007-01-13 Thread Marc Haber
Hi, when booting my hp compaq nc 8000, the 2.6.19.2 kernel log asks me to report something to linux-kernel which I am doing now: Jan 13 12:44:13 scyw00225 kernel: PCI: Probing PCI hardware (bus 00) Jan 13 12:44:13 scyw00225 kernel: ACPI: Assume root bridge [\_SB_.C044] bus is 0 Jan 13 12:44:13 sc

PROBLEM: 2.6.19.1 Oops while doing Disk IO + playing sound

2007-01-13 Thread Frank Hartmann
[1.] One line summary of the problem: 2.6.19.1 Oops while doing Disk IO + playing sound [2.] Full description of the problem/report: I found two Oopses recently, both occured running 2.6.19.1 I did not have Oopses using 2.6.17 and my usage pattern of this machine does not change much. on 7th

Re: Choosing a HyperThreading/SMP/MultiCore kernel ?

2007-01-13 Thread Stefan Richter
On 1/13/2007 4:38 AM, [EMAIL PROTECTED] wrote: > On Fri, 12 Jan 2007 10:03:49 EST, Lennart Sorensen said: >> I believe the closest optimization for a Core2 is probably the Pentium M >> (certainly not the P4/netburst). Not entirely sure though. > > CONFIG_MCORE2=y > > That's probably even closer

Re: Linux v2.6.20-rc5

2007-01-13 Thread Jan Engelhardt
On Jan 13 2007 06:01, Adrian Bunk wrote: >On Fri, Jan 12, 2007 at 02:26:45PM -0800, Andrew Morton wrote: >> On Fri, 12 Jan 2007 14:27:48 -0500 (EST) >> Linus Torvalds <[EMAIL PROTECTED]> wrote: >> >> > >> > Ok, there it is, in all its shining glory. >> >> It still doesn't run Excel. >>... > >It

Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-13 Thread Toon van der Pas
On Sat, Jan 13, 2007 at 08:22:18AM +0100, Willy Tarreau wrote: > > > > Which makes me think that we aren't writing back fast enough. If I > > mount the drive "sync" the issue clearly goes away. > > > > It appears from an strace we are doing ftruncate64(5, 178257920) when > > we OOM. > > > >

[2.6 patch] drivers/isdn/sc/: proper prototypes

2007-01-13 Thread Adrian Bunk
This patch adds proper prototypes in a header file for global code under drivers/isdn/sc/. Since the GNU C compiler is now able do tell us that caller and callee disagreed about the number of arguments of setup_buffers(), this patch also fixes this bug. Signed-off-by: Adrian Bunk <[EMAIL PROTE

[RFC: -mm patch] fs/ecryptfs/: make code static

2007-01-13 Thread Adrian Bunk
This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/ecryptfs/crypto.c | 24 fs/ecryptfs/ecryptfs_kernel.h | 18 -- fs/ecryptfs/messaging.c | 20 +++- 3 files chan

Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-13 Thread Willy Tarreau
Hi Toon, On Sat, Jan 13, 2007 at 02:16:01PM +0100, Toon van der Pas wrote: > On Sat, Jan 13, 2007 at 08:22:18AM +0100, Willy Tarreau wrote: > > > > > > Which makes me think that we aren't writing back fast enough. If I > > > mount the drive "sync" the issue clearly goes away. > > > > > > It a

Re: Fwd: [PATCH] Fix some ARM builds due to HID brokenness

2007-01-13 Thread Jiri Kosina
On Fri, 12 Jan 2007, Russell King wrote: > > So... we have USB_HID _newly_ selected in configurations which didn't > > have it before, which overrides CONFIG_HID and builds HID without > > input support. Can USB_HID also depend on INPUT ? > Nevertheless, here's a patch to solve more of the same

[announce] ipwireless_cs 3G PCMCIA network driver

2007-01-13 Thread Jiri Kosina
Hi, there was some discussion some time ago on lkml about the driver for the ipwireless 3G UMTS (in some countries, such as Czech Republic, this is shipped under the name "4G UMTS") PCMCIA card [1] I have taken the old driver written by guys at Symmetric Systems and ported it to the current ke

Re: 2.6.20-rc5: known unfixed regressions

2007-01-13 Thread Damien Wyart
* Adrian Bunk <[EMAIL PROTECTED]> [070113 08:11]: > This still leaves the old regressions we have not yet fixed... > This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19. > Subject: BUG: scheduling while atomic: hald-addon-stor/... > cdrom_{open,release,ioctl}

Re: 2.6.20-rc5: known unfixed regressions

2007-01-13 Thread Adrian Bunk
On Sat, Jan 13, 2007 at 04:51:36PM +0100, Damien Wyart wrote: > * Adrian Bunk <[EMAIL PROTECTED]> [070113 08:11]: > > This still leaves the old regressions we have not yet fixed... > > This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19. > > > Subject: BUG: scheduling whil

[RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Richard Knutsson
Hello all Would like to come with a suggestion I have been wondering about for a while, why not add the config-flag, used in Kconfig/Makefile in the MAINTAINERS-file? By doing this, there would not be any confusion who to send a patch, since all "files" is defined under a flag, right? (when

Re: 2.6.20-rc5: known unfixed regressions

2007-01-13 Thread Jon Smirl
On 1/13/07, Adrian Bunk <[EMAIL PROTECTED]> wrote: On Sat, Jan 13, 2007 at 04:51:36PM +0100, Damien Wyart wrote: > * Adrian Bunk <[EMAIL PROTECTED]> [070113 08:11]: > > This still leaves the old regressions we have not yet fixed... > > This email lists some known regressions in 2.6.20-rc5 compare

Re: O_DIRECT question

2007-01-13 Thread Bodo Eggert
Linus Torvalds <[EMAIL PROTECTED]> wrote: > On Sat, 13 Jan 2007, Michael Tokarev wrote: >> (No, really - this load isn't entirely synthetic. It's a typical database >> workload - random I/O all over, on a large file. If it can, it combines >> several I/Os into one, by requesting more than a sing

[PATCH] qconf: Back button behaviour normalization

2007-01-13 Thread Cyrill V. Gorcunov
This patch does "Back" button behaviour normalization so it is enabled starting from second-level menu only. Signed-off-by: Cyrill V. Gorcunov <[EMAIL PROTECTED]> --- Roman, please check it... may be a better way does exist to do it. The diff is produced over pure Linux v2.6.20-rc5 scripts/kc

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Stefan Richter
On 13 Jan, Richard Knutsson wrote: [...] > SUPERCOOL ALPHA CARD > > P:Clark Kent > M:[EMAIL PROTECTED] > L:[EMAIL PROTECTED] > C:SUPER_A > S:Maintained > (C: for CONFIG. Any better idea?) > > then if someone changes a file who are built with CONFIG_SUPER_A, can > easily backt

Re: Choosing a HyperThreading/SMP/MultiCore kernel ?

2007-01-13 Thread Lennart Sorensen
On Fri, Jan 12, 2007 at 10:38:43PM -0500, [EMAIL PROTECTED] wrote: > amd64 will only work on a core2duo if it's a T7200 or higher - the > lower numbers are 32-bit-only chipsets. I admit not knowing what > exact variant the Mac has. The Core Duo had 32bit only (being a Pentium M), but the Core 2 D

Re: ieee1394 feature needed: overwrite SPLIT_TIMEOUT from userspace

2007-01-13 Thread Stefan Richter
(full quote for linux1394-devel) On 12 Jan, Philipp Beyer wrote to linux-kernel: > Hi, > > I'm investigating an unwanted behaviour of our firewire devices in > connection with the ieee1394 kernel module. > > The problem is caused by a non standard-conform behaviour of our > devices. Anyway, cha

Re: [-mm] reiserfs4 still hangs

2007-01-13 Thread Andrew Morton
> On Sat, 13 Jan 2007 19:54:53 +0100 Marc Dietrich <[EMAIL PROTECTED]> wrote: > > Hi, > > using 2.6.20-rc3-mm1 and 2.6.20-rc4-mm1, I get reiserfs4 related processes in > down state (not only using googleearth...). Any hints? > > sysrq-t shows: > > Jan 13 19:32:57 fb07-iapwap2 kernel: googleeart

[-mm] reiserfs4 still hangs

2007-01-13 Thread Marc Dietrich
Hi, using 2.6.20-rc3-mm1 and 2.6.20-rc4-mm1, I get reiserfs4 related processes in down state (not only using googleearth...). Any hints? sysrq-t shows: Jan 13 19:32:57 fb07-iapwap2 kernel: googleearth-b D 0001 0 6089 6072 6109 (NOTLB) Jan 13 19:32:57 fb07-iapwap2 ker

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Richard Knutsson
Stefan Richter wrote: On 13 Jan, Richard Knutsson wrote: [...] SUPERCOOL ALPHA CARD P: Clark Kent M: [EMAIL PROTECTED] L: [EMAIL PROTECTED] C: SUPER_A S: Maintained (C: for CONFIG. Any better idea?) then if someone changes a file who are built with CONFIG_SUPER_A, c

Re: O_DIRECT question

2007-01-13 Thread Bill Davidsen
Bodo Eggert wrote: (*) This would allow fadvise_size(), too, which could reduce fragmentation (and give an early warning on full disks) without forcing e.g. fat to zero all blocks. OTOH, fadvise_size() would allow users to reserve the complete disk space without his filesizes reflect

Re: High lock spin time for zone->lru_lock under extreme conditions

2007-01-13 Thread Ravikiran G Thirumalai
On Sat, Jan 13, 2007 at 12:00:17AM -0800, Andrew Morton wrote: > > On Fri, 12 Jan 2007 23:36:43 -0800 Ravikiran G Thirumalai <[EMAIL > > PROTECTED]> wrote: > > > >void __lockfunc _spin_lock_irq(spinlock_t *lock) > > > >{ > > > >local_irq_disable(); > > > >>

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Matthias Schniedermeyer
Richard Knutsson wrote: > Any thoughts on this is very much appreciated (is there any flaws with > this?). The thought that crossed my mind was: Why not do the same thing that was done to the "Help"-file. (Before it was superseded by Kconfig). Originaly there was a central Help-file, with all t

Re: O_DIRECT question

2007-01-13 Thread Bill Davidsen
Linus Torvalds wrote: On Sat, 13 Jan 2007, Michael Tokarev wrote: (No, really - this load isn't entirely synthetic. It's a typical database workload - random I/O all over, on a large file. If it can, it combines several I/Os into one, by requesting more than a single block at a time, but over

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Stefan Richter
On 13 Jan, Richard Knutsson wrote: > Stefan Richter wrote: >> On 13 Jan, Richard Knutsson wrote: >> [...] >> >>> SUPERCOOL ALPHA CARD >>> >>> P: Clark Kent >>> M: [EMAIL PROTECTED] >>> L: [EMAIL PROTECTED] >>> C: SUPER_A >>> S: Maintained >>> (C: for CONFIG. Any better idea?) >>> >>> then i

Re: Choosing a HyperThreading/SMP/MultiCore kernel ?

2007-01-13 Thread Bill Davidsen
[EMAIL PROTECTED] wrote: On Fri, 12 Jan 2007 10:03:49 EST, Lennart Sorensen said: I would expect any distribution should work on these (as long as the kernel they use isn't too old.). Of course if it is a Mac, you need a distribution that supports their firmware (which is of course not a PC bio

Re: Linux v2.6.20-rc5

2007-01-13 Thread Bill Davidsen
Jeff Chua wrote: On 1/13/07, Jeff Chua <[EMAIL PROTECTED]> wrote: On 1/13/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Fri, 12 Jan 2007 14:27:48 -0500 (EST) > Linus Torvalds <[EMAIL PROTECTED]> wrote: CC [M] drivers/kvm/vmx.o {standard input}: Assembler messages: {standard input}:3257:

Re: Kernel command line for a specific framebuffer console driver

2007-01-13 Thread Juergen Beisert
Hi Alexey, On Friday 12 January 2007 20:36, Alexey Dobriyan wrote: > On Fri, Jan 12, 2007 at 01:43:42PM +0100, Juergen Beisert wrote: > > does someone know how to forward a kernel command line option to > > configure the AMD Geode GX1 framebuffer? > > > > I tried with "video=gx1fb:[EMAIL PROTECTED

Re: O_DIRECT question

2007-01-13 Thread Michael Tokarev
Bill Davidsen wrote: > Linus Torvalds wrote: >> [] >> But what O_DIRECT does right now is _not_ really sensible, and the >> O_DIRECT propeller-heads seem to have some problem even admitting that >> there _is_ a problem, because they don't care. > > You say that as if it were a failing. Currently

2.6.20-rc4-mm1 USB (asix) problem

2007-01-13 Thread Eric Buddington
The following problem occured on an Athlon64 X2 under 2.6.20-rc4-mm1, but not 2.6.20-rc3-mm1. I'm using two D-Link DUB-E100 USB ethernet adapters, using the 'asix' driver. When I upgraded to 2.6.20-rc4-mm1, they were still recognized, but various ifconfig operations on them (up/down, changing IP)

Re: 2.6.20-rc5: known unfixed regressions

2007-01-13 Thread Aaron Sethman
On Sat, 13 Jan 2007, Adrian Bunk wrote: On Sat, Jan 13, 2007 at 04:51:36PM +0100, Damien Wyart wrote: * Adrian Bunk <[EMAIL PROTECTED]> [070113 08:11]: This still leaves the old regressions we have not yet fixed... This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19. S

Re: 2.6 Partitioning bug with LILO

2007-01-13 Thread Andries Brouwer
On Fri, Jan 12, 2007 at 06:18:00PM -0500, Kris Karas wrote: > Hello Andries, > > I noticed you're listed as the maintainer for the disk > geometry/partitioning logic in the 2.6 kernel, so I'm sending this to > you, as I think this bug is most likely in that part of the code, ... > > I've been bug

Re: High lock spin time for zone->lru_lock under extreme conditions

2007-01-13 Thread Andrew Morton
> On Sat, 13 Jan 2007 11:53:34 -0800 Ravikiran G Thirumalai <[EMAIL PROTECTED]> > wrote: > On Sat, Jan 13, 2007 at 12:00:17AM -0800, Andrew Morton wrote: > > > On Fri, 12 Jan 2007 23:36:43 -0800 Ravikiran G Thirumalai <[EMAIL > > > PROTECTED]> wrote: > > > > >void __lockfunc _spin_lock_irq(spinlo

[PATCH -mm] MMCONFIG: Reject a broken MCFG tables on Asus etc

2007-01-13 Thread OGAWA Hirofumi
This rejects a broken MCFG tables on Asus etc. Arjan and Andi suggest this. Signed-off-by: OGAWA Hirofumi <[EMAIL PROTECTED]> --- arch/i386/pci/mmconfig-shared.c | 24 ++- arch/i386/pci/mmconfig.c|9 --- arch/x86_64/pci/mmconfig.c | 50 +++

Re: [-mm patch] make mmc_sysfs.c:mmc_key_type static

2007-01-13 Thread Pierre Ossman
Adrian Bunk wrote: > On Thu, Jan 11, 2007 at 10:26:27PM -0800, Andrew Morton wrote: >> ... >> Changes since 2.6.20-rc3-mm1: >> ... >> git-mmc.patch >> ... >> git trees >> ... > > > This patch makes the needlessly global struct mmc_key_type static. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECT

Re: [PATCH] severing module.h->sched.h

2007-01-13 Thread Tim Schmielau
On Wed, 10 Jan 2007, Geert Uytterhoeven wrote: > which needs the definition of struct task_struct. > > The patch below fixes it by including in > kernel/time/clocksource.c. But perhaps this is the right time to move > struct task_struct to its own include instead? I used to post such a patch on

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Richard Knutsson
Stefan Richter wrote: On 13 Jan, Richard Knutsson wrote: Stefan Richter wrote: On 13 Jan, Richard Knutsson wrote: [...] SUPERCOOL ALPHA CARD P: Clark Kent M: [EMAIL PROTECTED] L: [EMAIL PROTECTED] C: SUPER_A S: Maintained (C: for CONFIG. Any better i

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Richard Knutsson
Matthias Schniedermeyer wrote: Richard Knutsson wrote: Any thoughts on this is very much appreciated (is there any flaws with this?). The thought that crossed my mind was: Why not do the same thing that was done to the "Help"-file. (Before it was superseded by Kconfig). Originaly th

Re: Linux v2.6.20-rc5

2007-01-13 Thread Segher Boessenkool
CC [M] drivers/kvm/vmx.o {standard input}: Assembler messages: {standard input}:3257: Error: bad register name `%sil' make[2]: *** [drivers/kvm/vmx.o] Error 1 make[1]: *** [drivers/kvm] Error 2 make: *** [drivers] Error 2 Am I missing something or this is a real problem? What's on (and sround

Re: tuning/tweaking VM settings for low memory (preventing OOM)

2007-01-13 Thread Toon van der Pas
On Sat, Jan 13, 2007 at 03:30:27PM +0100, Willy Tarreau wrote: > On Sat, Jan 13, 2007 at 02:16:01PM +0100, Toon van der Pas wrote: > > On Sat, Jan 13, 2007 at 08:22:18AM +0100, Willy Tarreau wrote: > > > > > > > > Which makes me think that we aren't writing back fast enough. If I > > > > mount

Re: No more "device" symlinks for classes

2007-01-13 Thread Kay Sievers
On Sun, 2007-01-14 at 00:51 +0100, Pierre Ossman wrote: > I just wanted to know the rationale behind > 99ef3ef8d5f2f5b5312627127ad63df27c0d0d05 (no more "device" symlink in > class devices). I thought that was a rather convenient way of finding > which physical device the class device was coupled t

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Matthias Schniedermeyer
Richard Knutsson wrote: > Matthias Schniedermeyer wrote: > >> Richard Knutsson wrote: >> >> >> >>> Any thoughts on this is very much appreciated (is there any flaws with >>> this?). >>> >> >> >> The thought that crossed my mind was: >> >> Why not do the same thing that was done to the "Help

Re: No more "device" symlinks for classes

2007-01-13 Thread Pierre Ossman
Kay Sievers wrote: > > The plan is to have a single unified tree at /sys/devices, where all > device-directories live below their parents, and /sys/class contains > only symlinks pointing into this single tree, just like /sys/bus. > > People want to stack class-devices, but this leads to a /sys/dev

How to mmap a shadow framebuffer in virtual memory

2007-01-13 Thread Bernardo Innocenti
Hello, This is driving me crazy. I wrote this custom fb driver for an organic LED display for an embedded ARM system. The display is connected trough an I2C bus, therefore the display buffer is not memory mapped. Anyway, I want to support mmap() and my driver allocates shadow buffer with __get_

Re: No more "device" symlinks for classes

2007-01-13 Thread Kay Sievers
On Sun, 2007-01-14 at 01:29 +0100, Pierre Ossman wrote: > Kay Sievers wrote: > > > > The plan is to have a single unified tree at /sys/devices, where all > > device-directories live below their parents, and /sys/class contains > > only symlinks pointing into this single tree, just like /sys/bus. >

Patch series to mark struct file_operations and struct inode_operations const

2007-01-13 Thread Arjan van de Ven
Hi, today a sizable portion of the "struct file_operations" variables in the kernel are const, but by far not all. Nor are any of the struct inode_operations const. Marking these read-only datastructures const has the advantage of reducing false sharing of these, often hot, datastructures. In addi

[patch 00/12] Fix ppc64's writing to struct file_operations

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 00/12] Fix ppc64's writing to struct file_operations the ppc64 code needlessly wrote to a struct file_operations variable; this patch turns this into a compile time initialization instead. Signed-off-by: Arjan van de Ven <[EMAIL PROTECTE

[patch 01/12] mark struct file_operations const 1

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 01/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

[patch 02/12] mark struct file_operations const 2

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 02/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

[patch 03/12] mark struct file_operations const 3

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 03/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

[patch 04/12] mark struct file_operations const 4

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 04/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Stefan Richter
On 14 Jan, Richard Knutsson wrote: > Stefan Richter wrote: [getting a wrong contact from looking at the MAINTAINERS file] > Hopefully, but I think it is asking much of the maintainer and then > there will certanly be confused/frustrated submitter who don't know why > they don't get any answer nor

[patch 05/12] mark struct file_operations const 5

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 05/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

[patch 06/12] mark struct file_operations const 6

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 06/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

[patch 08/12] mark struct file_operations const 8

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 08/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

[patch 07/12] mark struct file_operations const 7

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 07/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

Re: [RFC] How to (automatically) find the correct maintainer(s)

2007-01-13 Thread Stefan Richter
I wrote: > gcc -o test3.o test.c test.c ^^ typo gcc -o test3.o test.c test2.c -- Stefan Richter -=-=-=== ---= -===- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More ma

[patch 09/12] mark struct file_operations const 9

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 09/12] mark struct file_operations const Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch acciden

[patch 10/12] mark struct inode_operations const 1

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 10/12] mark struct inode_operations const Many struct inode_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch accid

[patch 11/12] mark struct inode_operations const 2

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 11/12] mark struct inode_operations const Many struct inode_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch accid

[patch 12/12] mark struct inode_operations const 3

2007-01-13 Thread Arjan van de Ven
From: Arjan van de Ven <[EMAIL PROTECTED]> Subject: [patch 12/12] mark struct inode_operations const Many struct inode_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch accid

Re: ahci_softreset prevents acpi_power_off

2007-01-13 Thread Robert Hancock
Faik Uygur wrote: What happens when you try to shutdown? Does not shutdown and freezes. Hand copied last messages seen on console: Synchronizing SCSI cache for disk sda: ACPI: PCI Interrupt for device :06:08.0 disabled Power down. acpi_power_off called hwsleep-0285 [01] enter_sleep_sta

Re: [PATCH] libata: PIIX3 support

2007-01-13 Thread Robert Hancock
Mikael Pettersson wrote: On Wed, 10 Jan 2007 17:13:38 +, Alan <[EMAIL PROTECTED]> wrote: This I believe completes the PIIX range of support for libata This adds the table entries needed for the PIIX3, both a new PCI identifier and a new mode list. It also fixes an erroneous access to PCI co

Re: Choosing a HyperThreading/SMP/MultiCore kernel ?

2007-01-13 Thread Valdis . Kletnieks
On Sat, 13 Jan 2007 15:18:31 EST, Bill Davidsen said: > [EMAIL PROTECTED] wrote: > > On Fri, 12 Jan 2007 10:03:49 EST, Lennart Sorensen said: > >> I would expect any distribution should work on these (as long as the > >> kernel they use isn't too old.). Of course if it is a Mac, you need a > >> di

Re: Choosing a HyperThreading/SMP/MultiCore kernel ?

2007-01-13 Thread Valdis . Kletnieks
On Sat, 13 Jan 2007 12:54:43 EST, Lennart Sorensen said: > On Fri, Jan 12, 2007 at 10:38:43PM -0500, [EMAIL PROTECTED] wrote: > > CONFIG_MCORE2=y > > Oh good. Makes life much simpler for users. After writing that, I actually went back and *checked* the fine print. It turns out that unless you ha

Re: ahci_softreset prevents acpi_power_off

2007-01-13 Thread Jeff Garzik
Robert Hancock wrote: Faik Uygur wrote: What happens when you try to shutdown? Does not shutdown and freezes. Hand copied last messages seen on console: Synchronizing SCSI cache for disk sda: ACPI: PCI Interrupt for device :06:08.0 disabled Power down. acpi_power_off called hwsleep-02

How to flush the disk write cache from userspace

2007-01-13 Thread Ricardo Correia
Hi, (please CC: to my email address, I'm not subscribed) Quick question: how can I flush the disk write cache from userspace? Long question: I'm porting the Solaris ZFS filesystem to the FUSE/Linux filesystem framework. This is a copy-on-write, transactional filesystem and so it needs to ensure

Re: Proposed changes for libata speed handling

2007-01-13 Thread Alan
O> Wouldn't it be better to have ->determine_xfer_mask() and > ->set_specific_mode() than having two somewhat overlapping callbacks? > Or is there some problem that can't be handled that way? I'm not sure I follow what you are suggesting - can you explain further. Right now ->set_mode does all th

Re: ahci_softreset prevents acpi_power_off

2007-01-13 Thread Faik Uygur
Hello Tejun, 13 Oca 2007 Cts 03:12 tarihinde şunları yazmıştınız: > If possible, please post dmesg of shutting down. I have taken more detailed dmesg outputs of three configs with ATA_DEBUG and ATA_VERBOSE_DEBUG defined. You can find them at this address: http://cekirdek.pardus.org.tr/~faik/t

[PATCH] IDE Driver for Delkin/Lexar/etc.. cardbus CF adapter

2007-01-13 Thread Mark Lord
On Thursday 11 January 2007 23:17, Bartlomiej Zolnierkiewicz wrote: > > My working IDE tree (against Linus' tree) now resides here: > > http://kernel.org/pub/linux/kernel/people/bart/pata-2.6/patches/ Bart, here's a driver I've been keeping out-of-tree for the past couple of years. This i

Re: 2.6.17 - weird, boot CPU (#0) not listed by the BIOS.

2007-01-13 Thread Mark Hounschell
Len Brown wrote: > On Friday 12 January 2007 10:50, Mark Hounschell wrote: >> Mark Hounschell wrote: >>> I have a Tyan S4881 Thunder K8QW 4 processor (8 cores). Kernel 2.6.16.37 >>> boots >>> and runs fine. >>> However kernel 2.6.17 and up doesn't. Here is my boot error msg. >>> >>> >>> kernel /vm

Re: Display class

2007-01-13 Thread James Simmons
> Hi, > > On Tuesday 05 December 2006 13:03, James Simmons wrote: > > +int probe_edid(struct display_device *dev, void *data) > > +{ > > +   struct fb_monspecs spec; > > +   ssize_t size = 45; That code was only for testing. I do have new core code. Andrew could you merge this patch as

Re: [Linux-fbdev-devel] Display class

2007-01-13 Thread James Simmons
Andrew please apply this patch. Signed-off-by: James Simmons <[EMAIL PROTECTED]> > > > Hi, > > > > On Tuesday 05 December 2006 13:03, James Simmons wrote: > > > +int probe_edid(struct display_device *dev, void *data) > > > +{ > > > +   struct fb_monspecs spec; > > > +   ssize_t size =

Re: Linux Software RAID 5 Performance Optimizations: 2.6.19.1: (211MB/s read & 195MB/s write)

2007-01-13 Thread Justin Piszcz
On Sat, 13 Jan 2007, Al Boldi wrote: > Justin Piszcz wrote: > > On Sat, 13 Jan 2007, Al Boldi wrote: > > > Justin Piszcz wrote: > > > > Btw, max sectors did improve my performance a little bit but > > > > stripe_cache+read_ahead were the main optimizations that made > > > > everything go faster

Re: [patch 10/10] mm: fix pagecache write deadlocks

2007-01-13 Thread Nick Piggin
Nick Piggin wrote: @@ -1878,31 +1889,88 @@ generic_file_buffered_write(struct kiocb break; } + /* +* non-uptodate pages cannot cope with short copies, and we +* cannot take a pagefault with the destination page locked. +

[patch 00/20] XEN-paravirt: Xen guest implementation for paravirt_ops interface

2007-01-13 Thread Jeremy Fitzhardinge
This patch series implements the Linux Xen guest in terms of the paravirt-ops interface. The features in implemented this patch series are: * domU only * UP only (most code is SMP-safe, but there's no way to create a new vcpu) * writable pagetables, with late pinning/early unpinning (no shad

[patch 02/20] XEN-paravirt: Add a flag to allow the VGA console to be disabled

2007-01-13 Thread Jeremy Fitzhardinge
Add a flag to allow the VGA console to be disabled. The VGA code will spin forever if there isn't any real VGA hardware, which will happen under Xen. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Gerd Hoffmann <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]>

[patch 01/20] XEN-paravirt: Fix typo in sync_constant_test_bit()s name.

2007-01-13 Thread Jeremy Fitzhardinge
Fix typo in sync_constant_test_bit()s name. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> === --- a/include/asm-i386/sync_bitops.h +++ b/include/asm-i386/sync_bitops.h @@ -130,7 +130,7 @@ static inline int sync_test_and_chan

[patch 04/20] XEN-paravirt: paravirt pagetable init

2007-01-13 Thread Jeremy Fitzhardinge
Add paravirt hooks into the initial pagetable setup. In the native case, the kernel builds itself a new initial pagetable from scratch. In the Xen case, the kernel starts with a pagetable provided by the hypervisor, which is used as the prototype for the kernel-generated pagetable. The hooks adde

[patch 16/20] XEN-paravirt: Add the Xen virtual console driver.

2007-01-13 Thread Jeremy Fitzhardinge
This provides a bootstrap and ongoing emergency console which is intended to be available from very early during boot and at all times thereafter, in contrast with alternatives such as UDP-based syslogd, or logging in via ssh. The protocol is based on a simple shared-memory ring buffer. Signed-off

[patch 09/20] XEN-paravirt: dont export paravirt_ops structure, do individual functions

2007-01-13 Thread Jeremy Fitzhardinge
Wrap the paravirt_ops members we want to export in wrapper functions. Since we binary-patch the critical ones, this doesn't make a speed impact. I moved drm_follow_page into the core, to avoid having to wrap the various pte ops. Unlining kernel_fpu_end and using that in the RAID6 code would remov

[patch 17/20] XEN-paravirt: Add Xen grant table support

2007-01-13 Thread Jeremy Fitzhardinge
Add Xen 'grant table' driver which allows granting of access to selected local memory pages by other virtual machines and, symmetrically, the mapping of remote memory pages which other virtual machines have granted access to. This driver is a prerequisite for many of the Xen virtual device drivers

[patch 06/20] XEN-paravirt: remove pgd ctor

2007-01-13 Thread Jeremy Fitzhardinge
Remove the ctor for the pgd cache. There's no point in having the cache machinery do this via an indirect call when all pgd are freed in the one place anyway. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Cc: Chris Wright <[EMAIL PROTECTED]> Cc: Zachary Amsden <[EMAIL PROTECTED]> Cc: And

[patch 07/20] XEN-paravirt: paravirt shared kernel pmd flag

2007-01-13 Thread Jeremy Fitzhardinge
Xen does not allow guests to have the kernel pmd shared between page tables, so parameterize pgtable.c to allow both modes of operation. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Cc: Chris Wright <[EMAIL PROTECTED]> Cc: Zachary Amsden <[EMAIL PROTECTED]> Cc: Andi Kleen <[EMAIL PROTECT

[patch 11/20] XEN-paravirt: Add apply_to_page_range() which applies a function to a pte range.

2007-01-13 Thread Jeremy Fitzhardinge
Add a new mm function apply_to_page_range() which applies a given function to every pte in a given virtual address range in a given mm structure. This is a generic alternative to cut-and-pasting the Linux idiomatic pagetable walking code in every place that a sequence of PTEs must be accessed. Alt

[patch 08/20] XEN-paravirt: paravirt pgd allocation alignment

2007-01-13 Thread Jeremy Fitzhardinge
Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Cc: Chris Wright <[EMAIL PROTECTED]> Cc: Zachary Amsden <[EMAIL PROTECTED]> Cc: Andi Kleen <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]> Cc: Rusty Russell <[EMAIL PROTECTED]>

[patch 12/20] XEN-paravirt: Xen: Add nosegneg capability to the vsyscall page notes

2007-01-13 Thread Jeremy Fitzhardinge
Add the "nosegneg" fake capabilty to the vsyscall page notes. This is used by the runtime linker to select a glibc version which then disables negative-offset accesses to the thread-local segment via %gs. These accesses require emulation in Xen (because segments are truncated to protect the hypervi

  1   2   >