Re: [PATCH] Remove redundant #ifdef __KERNEL__ checks.

2007-02-25 Thread H. Peter Anvin
Robert P. J. Day wrote: Remove the redundant intermediate checks for __KERNEL__ since, as soon as one ends, the next one starts. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> However, what's much worse is that this already has put series of constants which are part of the ABI under _

Re: [RFC/PATCH] revokeat/frevoke system calls V5

2007-02-25 Thread H. Peter Anvin
Pekka Enberg wrote: Hi Alan, On 2/26/07, Alan <[EMAIL PROTECTED]> wrote: Whats the status on this, I was suprised to see something so important just go dead ? It's not dead. You can find the latest patches here: http://www.cs.helsinki.fi/u/penberg/linux/revoke/patches/ and user-space tests

D-Link DGE-528T (r8159) autonegotation of 1000 Mbps link does not work

2007-02-25 Thread Petri T. Koistinen
Hi! I just brought two D-Link DGE-528T (uses r8159 driver) network adapters to have nice 1 Gbps home network between two computers. I have gigabit crossover cable that is connected like this Pin Connector #1 Connector #2 1white/orange white/green 2orangegreen 3white/green

Re: [RFC/PATCH] revokeat/frevoke system calls V5

2007-02-25 Thread Pekka Enberg
Hi Alan, On 2/26/07, Alan <[EMAIL PROTECTED]> wrote: Whats the status on this, I was suprised to see something so important just go dead ? It's not dead. You can find the latest patches here: http://www.cs.helsinki.fi/u/penberg/linux/revoke/patches/ and user-space tests here: http://www.cs.

[PATCH -mm 3/6] Freezer: Close theoretical race between refrigerator and thaw_tasks

2007-02-25 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> If the freezing of tasks fails and a task is preempted in refrigerator() before calling frozen_process(), then thaw_tasks() may run before this task is frozen. In that case the task will freeze and no one will thaw it. To fix this race we can call freez

[PATCH -mm 1/6] Freezer: Read PF_BORROWED_MM in a nonracy way

2007-02-25 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> The reading of PF_BORROWED_MM in is_user_space() without task_lock() is racy. Fix it. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- kernel/power/process.c |8 +++- 1 file changed, 7 insertio

[PATCH -mm 0/6] Freezer changes

2007-02-25 Thread Rafael J. Wysocki
Hi, The following series of patches contains modifications of the task freezer that harden it and prepare it to be used in the CPU hotplug. Greetings, Rafael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo inf

[PATCH -mm 6/6] Freezer: Add try_to_freeze calls to all kernel threads

2007-02-25 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Add try_to_freeze() calls to the remaining kernel threads that do not call try_to_freeze() already, although they set PF_NOFREEZE. In the future we are going to replace PF_NOFREEZE with a set of flags that will be set to indicate in which situations the

[PATCH -mm 4/6] Freezer: Remove PF_NOFREEZE from rcutorture thread

2007-02-25 Thread Rafael J. Wysocki
From: Paul E. McKenney <[EMAIL PROTECTED]> Remove PF_NOFREEZE from the rcutorture thread, adding a try_to_freeze() call as required. Signed-off-by: Paul E. McKenney <[EMAIL PROTECTED]> Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- kernel/rcut

[PATCH -mm 2/6] Freezer: Fix memory ordering in refrigerator

2007-02-25 Thread Rafael J. Wysocki
From: Oleg Nesterov <[EMAIL PROTECTED]> refrigerator() can miss a wakeup, "wait event" loop needs a proper memory ordering. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- kernel/power/process.c

[PATCH -mm 5/6] Freezer: Remove PF_NOFREEZE from bluetooth threads

2007-02-25 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Remove PF_NOFREEZE from the bluetooth threads, adding try_to_freeze() calls as required. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> Signed-off-by: Marcel Holtmann <[EMAIL PROTECTED]> --- net/bluetoot

Re: Make sure we populate the initroot filesystem late enough

2007-02-25 Thread William Lee Irwin III
On Sun, Feb 25, 2007 at 11:01:06PM -0500, David Woodhouse wrote: > Yeah, I did that before giving up on it for the day and going in search > of dinner. It changes the failure mode to a BUG() in > cache_free_debugcheck(), at line 2876 of mm/slab.c > It smells like the pages weren't actually reserved

Correction 2.6.21-rc1 Was: 2.6.20-rc1: CIFS cheers, NFS4 jeers

2007-02-25 Thread Florin Iucha
On Mon, Feb 26, 2007 at 12:45:00AM -0600, Florin wrote: > After the writing stalls, I have echoed 't' into /proc/sysrq-trigger > and got a trace, which is at http://iucha.net/20-rc1/after.1. There was > no oops before the trace request; the 'before' dmesg is at > http://iucha.net/20-rc1/before.1 .

2.6.20-rc1: CIFS cheers, NFS4 jeers

2007-02-25 Thread Florin Iucha
Hello, it's me and my 70 GB of photos again. I have tested both CIFS and NFSv4 clients in kernel 2.6.20-rc1 . CIFS passed with flying colors and NFSv4 stalled after 7 GB. Configuration: Server: PIII/1GHz, 512 MB RAM, Debian testing, distro kernel 2.6.18-3-vserver-686, Intel E1000 NIC,

RE: RFC/patch: down_timeout_interruptible()

2007-02-25 Thread Perez-Gonzalez, Inaky
>From: Arjan van de Ven [mailto:[EMAIL PROTECTED] > >> I gave it a quick try (must admit, not too tested) and it seems that >> the setting of TIF_SIGPENDING without really having a signal queued >> is not having easily visible ugly consequences. > >what happens if you get a signal around the time t

[PATCH] libata: handle ata_pci_device_do_resume() failure while resuming (v2)

2007-02-25 Thread Dmitriy Monakhov
Randy Dunlap <[EMAIL PROTECTED]> writes: > On Sat, 24 Feb 2007 00:43:18 +0300 Dmitriy Monakhov wrote: > >> Since commit:553c4aa630af7bc885e056d0436e4eb7f238579b >> ata_pci_device_do_resume() can return error code, all callers was updated >> except this one. >> >> Signed-off-by: Monakhov Dmitriy <

[PATCH] sata_mv: fix DMA boundary, 64-bit PCI DMA issues

2007-02-25 Thread Jeff Garzik
commit b350d3ae0a21fd093d99644a3cfb90f4fb275cb2 Author: Jeff Garzik <[EMAIL PROTECTED]> Date: Mon Feb 26 01:26:06 2007 -0500 [libata] sata_mv: clean up DMA boundary issues, turn on 64-bit DMA The chips covered by sata_mv have a 32-bit DMA boundary they must not cross, not a 64K

Re: [ANNOUNCE] qgit-1.5.5

2007-02-25 Thread Marco Costalba
On 2/26/07, Martin Langhoff <[EMAIL PROTECTED]> wrote: On 2/26/07, Marco Costalba <[EMAIL PROTECTED]> wrote: > P.S: There is also a Qt4 version (works under Windows) downloadable > from git://repo.or.cz/qgit4.git it is a little bit experimental > tough. Is the QT4 Windows port working against t

[RFC][PATCH][2/4] Add RSS accounting and control (v2)

2007-02-25 Thread Balbir Singh
Changelog 1. Be consistent, use the C style of returning 0 on success and negative values on failure 2. Change and document the locking used by the controller (I hope I got it right this time :-)) 3. Remove memctlr_double_(un)lock routines 4. Comment the usage of MEMCONTROL_DONT_CHECK_LIMI

[RFC][PATCH][3/4] Add reclaim support (v2)

2007-02-25 Thread Balbir Singh
Changelog 1. Move void *container to struct container (in scan_control and vmscan.c and rmap.c) 2. The last set of patches churned the LRU list, in this release, pages that can do not belong to the container are moved to a skipped_pages list. At the end of the isolation they are added b

[RFC][PATCH][0/4] Memory controller (RSS Control) (v2)

2007-02-25 Thread Balbir Singh
This is a repost of the patches at http://lkml.org/lkml/2007/2/24/65 The previous post had a misleading subject which ended with a "(". This patch applies on top of Paul Menage's container patches (V7) posted at http://lkml.org/lkml/2007/2/12/88 It implements a controlle

[RFC][PATCH][4/4] RSS controller documentation (v2)

2007-02-25 Thread Balbir Singh
--- Signed-off-by: <[EMAIL PROTECTED]> --- Documentation/memctlr.txt | 70 ++ 1 file changed, 70 insertions(+) diff -puN /dev/null Documentation/memctlr.txt --- /dev/null 2007-02-02 22:51:23.0 +0530 +++ linux-2.6.20-balbir/Documentation/m

[RFC][PATCH][1/4] RSS controller setup (v2)

2007-02-25 Thread Balbir Singh
Changelog 1. Change the name from memctlr to memcontrol 2. Coding style changes, call the API and then check return value (for kmalloc). 3. Change the output format, to print sizes in both pages and kB 4. Split the usage and limit files to be independent (cat memcontrol_usage no longer prints

Re: [kvm-devel] PIO port width on various archs?

2007-02-25 Thread Avi Kivity
Hollis Blanchard wrote: On Sun, 2007-02-25 at 10:58 +0200, Avi Kivity wrote: I'm changing the kvm userspace interface to be more friendly to other archs. One issue is the PIO port size. x86 uses 16 bits to hold the port size (64K ports). Is that an issue for other archs? I guess I could

Re: [PATCH] libata: handle ata_pci_device_do_resume() failure while resuming

2007-02-25 Thread Randy Dunlap
On Sat, 24 Feb 2007 00:43:18 +0300 Dmitriy Monakhov wrote: > Since commit:553c4aa630af7bc885e056d0436e4eb7f238579b > ata_pci_device_do_resume() can return error code, all callers was updated > except this one. > > Signed-off-by: Monakhov Dmitriy <[EMAIL PROTECTED]> > --- > drivers/ata/sata_inic1

Re: MSI entry unlinked before arch_teardown_msi_irq().

2007-02-25 Thread Eric W. Biederman
David Miller <[EMAIL PROTECTED]> writes: > Nevermind, something strange is going on here. I think my > patch is bogus and the thing is still crashing, let me get > back to you. Sure. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EM

Re: [PATCH 7/7] cxgb3 - Add SW LRO support

2007-02-25 Thread Christoph Hellwig
On Sat, Feb 24, 2007 at 04:44:23PM -0800, [EMAIL PROTECTED] wrote: > From: Divy Le Ray <[EMAIL PROTECTED]> > > Add all-in-sw lro support. Doing this in a LLDD doesn't sound like a good idea. Have you tried doing this in the core networking code instead? - To unsubscribe from this list: send the

Re: [kvm-devel] PIO port width on various archs?

2007-02-25 Thread Hollis Blanchard
On Sun, 2007-02-25 at 10:58 +0200, Avi Kivity wrote: > I'm changing the kvm userspace interface to be more friendly to other > archs. One issue is the PIO port size. x86 uses 16 bits to hold the > port size (64K ports). Is that an issue for other archs? > > I guess I could change it to __u32,

Re: BUG in 2.6.20-rt8

2007-02-25 Thread Nick Piggin
David Miller wrote: From: "Paul E. McKenney" <[EMAIL PROTECTED]> Date: Sun, 25 Feb 2007 17:52:30 -0800 Why doesn't the traditional hash table of locks work here? Use the cache-line address as input to the hash function, take the corresponding lock, do the compare-and-exchange by hand, and the

[PATCH 2.6.20-rc1-git1] siimage SIL 3512 support

2007-02-25 Thread Øyvind Repvik
Patch to enable SIL 3512 S-ATA controller, used in eg. QNAP TS-101 and TS-201 devices. Signed-off-by: OEyvind Repvik <[EMAIL PROTECTED]> Index: linux-2.6.21-rc1/drivers/ide/pci/siimage.c === --- linux-2.6.21-rc1.orig/drivers/ide/pci

Re: Make sure we populate the initroot filesystem late enough

2007-02-25 Thread Linus Torvalds
On Sun, 25 Feb 2007, David Woodhouse wrote: > > > Can you try adding something like > > > > memset(start, 0xf0, end - start); > > Yeah, I did that before giving up on it for the day and going in search > of dinner. It changes the failure mode to a BUG() in > cache_free_debugcheck(), at

Re: Make sure we populate the initroot filesystem late enough

2007-02-25 Thread David Woodhouse
On Sun, 2007-02-25 at 19:45 -0800, Linus Torvalds wrote: > Ok. Clearly something is using that memory. That said, I *suspect* that > the commit that you bisected to is just showing the problem indirectly. > The ordering shouldn't make any difference, but it can obviously make a > huge difference

Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system

2007-02-25 Thread Mike Galbraith
On Sun, 2007-02-25 at 19:29 +0100, Uwe Bugla wrote: > Hi everybody, > "The bug was introduced somewhere at the transition of 2.6.20 towards > 2.6.20-git14." > I fortunately had some git9 patch at home and found out that it is sane. > In so far the floppy mount bug was introduced somewhen between 2

Re: [ANNOUNCE] DualFS: File System with Meta-data and Data Separation

2007-02-25 Thread Juan Piernas Canovas
On Sun, 25 Feb 2007, [utf-8] Jörn Engel wrote: On Sun, 25 February 2007 03:41:40 +0100, Juan Piernas Canovas wrote: Well, our experimental results say another thing. As I have said, the greatest part of the files are written at once, so their meta-data blocks are together on disk. This allows

Re: Make sure we populate the initroot filesystem late enough

2007-02-25 Thread Linus Torvalds
On Sun, 25 Feb 2007, David Woodhouse wrote: > > I'm inclined to agree that it _shouldn't_ be a problem. Nevertheless, > even this hack seems sufficient to 'fix' it: Ok. Clearly something is using that memory. That said, I *suspect* that the commit that you bisected to is just showing the probl

Re: [patch 3/3] mm: fix PageUptodate memorder

2007-02-25 Thread Nick Piggin
On Sun, Feb 25, 2007 at 04:06:57AM -0800, Andrew Morton wrote: > > What an unpleasing patchset. I really really hope we really have a bug in > there, and that all this crap isn't pointless uglification. It's the same bug for file pages as we had for anonymous pages, which the POWER guys actually

Re: [linux-usb-devel] usbfs2: Why asynchronous I/O?

2007-02-25 Thread Alan Stern
On Sun, 25 Feb 2007, Greg KH wrote: > On Sun, Feb 25, 2007 at 11:51:46AM -0500, Alan Stern wrote: > > This deserves to be discussed on LKML. > > Are you sure? I thought it already got pretty well answered on the USB > mailing list (see David's response for one such response.) Well, I was sure a

Re: BUG in 2.6.20-rt8

2007-02-25 Thread David Miller
From: "Paul E. McKenney" <[EMAIL PROTECTED]> Date: Sun, 25 Feb 2007 17:52:30 -0800 > Why doesn't the traditional hash table of locks work here? Use the > cache-line address as input to the hash function, take the corresponding > lock, do the compare-and-exchange by hand, and then release the lock

Re: MSI entry unlinked before arch_teardown_msi_irq().

2007-02-25 Thread David Miller
From: [EMAIL PROTECTED] (Eric W. Biederman) Date: Sun, 25 Feb 2007 17:14:43 -0700 > David Miller <[EMAIL PROTECTED]> writes: > > > From: [EMAIL PROTECTED] (Eric W. Biederman) > > Date: Sun, 25 Feb 2007 02:08:07 -0700 > > > >> If that isn't the issue holler and I will look into it a little more. >

Re: GPL vs non-GPL device drivers

2007-02-25 Thread D. Hazelton
On Sunday 25 February 2007 19:47, David Schwartz wrote: > > > Similary, there are many ways to write inline functions present in > > headers, and no, embedded developer being lazy does not mean they can > > copy those functions into their proprietary module. > > Yes, it does. Have you read Lexmark

Re: PREEMPT_RCU breaks anon_vma locking ?

2007-02-25 Thread Paul E. McKenney
On Sun, Feb 25, 2007 at 11:05:50PM +0300, Oleg Nesterov wrote: > On 02/24, Hugh Dickins wrote: > > > > On Sat, 24 Feb 2007, Oleg Nesterov wrote: > > > > > So page_lock_anon_vma() works correctly due to SLAB_DESTROY_BY_RCU even if > > > anon_vma_unlink() has already freed anon_vma. In that case we

Re: BUG in 2.6.20-rt8

2007-02-25 Thread Paul E. McKenney
On Sat, Feb 24, 2007 at 10:37:44PM -0800, David Miller wrote: > From: Ingo Molnar <[EMAIL PROTECTED]> > Date: Sun, 25 Feb 2007 07:27:47 +0100 > > > > > * Paul E. McKenney <[EMAIL PROTECTED]> wrote: > > > > > I got the following running stock 2.6.20-rt8 on an 4-CPU 1.8GHz > > > Opteron box. The

[BUG] Linux 2.6.20.1 - unable to handle kernel paging request - accessing freed memory?

2007-02-25 Thread Chris Rankin
Hi, This looks like a memory fault to me; are those 0x6b characters "slab poisoning"? This is the dual P4 Xeon / 2 GB RAM machine, and I'm guessing that udevd has just loaded snd_rtctimer (because that's the module at the top of the list): BUG: unable to handle kernel paging request at virtual

Re: BUG in 2.6.20-rt8

2007-02-25 Thread Paul E. McKenney
On Sun, Feb 25, 2007 at 07:27:47AM +0100, Ingo Molnar wrote: > > * Paul E. McKenney <[EMAIL PROTECTED]> wrote: > > > I got the following running stock 2.6.20-rt8 on an 4-CPU 1.8GHz > > Opteron box. The machine continued to run a few rounds of kernbench > > and LTP. Looks a bit scary -- a taskl

Re: Make sure we populate the initroot filesystem late enough

2007-02-25 Thread David Woodhouse
On Sun, 2007-02-25 at 16:24 -0800, Linus Torvalds wrote: > Hmm. No, I don't think that should be a problem. free_initmem() only > happens at the very, after do_basic_setup() has been run, which > includes all the initcall stuff. I'm inclined to agree that it _shouldn't_ be a problem. Nevertheless

2.6.21-rc1 dims my LCD

2007-02-25 Thread Jiri Kosina
Richard, 2.6.21-rc1 on my ibm t42p dims a LCD after some time (I guess it happens at the time the console should normally be blanked). When I hit the keyboard, the brightness stays low (it's 50% of light or so, so I could read what's on the screen, but it's uncomfortably dim), and I have to m

RE: GPL vs non-GPL device drivers

2007-02-25 Thread David Schwartz
> > Right, but *why* is he doing that? The answer: It is the most > > practical way > > to write his driver. > Most practical way to get something Windows compatible is to pirate > Windows; I do not think that gives me permission to do so. This is comparing apples to oranges because Windows has

Re: Make sure we populate the initroot filesystem late enough

2007-02-25 Thread David Woodhouse
On Sun, 2007-02-25 at 16:24 -0800, Linus Torvalds wrote: > Hmm. No, I don't think that should be a problem. free_initmem() only > happens at the very, after do_basic_setup() has been run, which includes > all the initcall stuff. > However, it's an interesting observation. How sure are you that i

Re: [PATCH 3/7] cxgb3 - FW version update

2007-02-25 Thread Divy Le Ray
Jeff Garzik wrote: Steve Wise wrote: I would rather fix the code to use constants, and thus avoid this problem ever happening again. Jeff How's this (not tested)? seems OK to me I tested it and resubmitted. Thanks fro the fix suggestion and the patch! Cheers, Divy - To unsubscribe

[PATCH 3/7] cxgb3 - FW version update

2007-02-25 Thread divy
From: Divy Le Ray <[EMAIL PROTECTED]> Update FW version to 3.2 Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/t3_hw.c |6 -- drivers/net/cxgb3/version.h |2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/

Re: Make sure we populate the initroot filesystem late enough

2007-02-25 Thread Linus Torvalds
On Sun, 25 Feb 2007, David Woodhouse wrote: > > One side-effect of this patch is to move the call to free_initrd() much > later in the init sequence, potentially after other memory management > code is assuming it's already been freed. Hmm. No, I don't think that should be a problem. free_initm

Re: [ANNOUNCE] qgit-1.5.5

2007-02-25 Thread Martin Langhoff
On 2/26/07, Marco Costalba <[EMAIL PROTECTED]> wrote: P.S: There is also a Qt4 version (works under Windows) downloadable from git://repo.or.cz/qgit4.git it is a little bit experimental tough. Is the QT4 Windows port working against the MinGW port of GIT? cheers. martin - To unsubscribe fro

Re: [patch 00/18] 2.6.18-stable review

2007-02-25 Thread Adrian Bunk
On Wed, Feb 21, 2007 at 01:55:04PM +0200, S.Çağlar Onur wrote: > 21 Şub 2007 Çar tarihinde, Greg KH şunları yazmıştı: > > Responses should be made by Friday February 23 00:00 UTC. Anything > > received after that time might be too late. > > We have still some CVEish patches in our package which

Re: MSI entry unlinked before arch_teardown_msi_irq().

2007-02-25 Thread Eric W. Biederman
David Miller <[EMAIL PROTECTED]> writes: > From: [EMAIL PROTECTED] (Eric W. Biederman) > Date: Sun, 25 Feb 2007 02:08:07 -0700 > >> If that isn't the issue holler and I will look into it a little more. > > Talking in code is always more effective :-) > > This patch fixes the OOPS I was talking abo

Re: [stable] [patch 00/18] 2.6.18-stable review

2007-02-25 Thread Adrian Bunk
On Wed, Feb 21, 2007 at 09:34:45AM -0800, Greg KH wrote: > On Wed, Feb 21, 2007 at 01:55:04PM +0200, S.??a??lar Onur wrote: > > 21 ??ub 2007 ??ar tarihinde, Greg KH ??unlar?? yazmt??: > > > Responses should be made by Friday February 23 00:00 UTC. Anything > > > received after that time might

Re: Make sure we populate the initroot filesystem late enough

2007-02-25 Thread David Woodhouse
On Mon, 2006-12-11 at 20:59 +, Linux Kernel Mailing List wrote: > Gitweb: > http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8d610dd52dd1da696e199e4b4545f33a2a5de5c6 > Commit: 8d610dd52dd1da696e199e4b4545f33a2a5de5c6 > Parent: 8993780a6e44fb4e7ed34e33

Re: sparc64 / bbc_i2c.c

2007-02-25 Thread J.J.Green
Hi Andrew The code around there looks relatively unbuggy to me. Removing that remove_wait_queue() would be very bad - it would cause later stack corruption. msleep_interruptible() certainly shouldn't consume CPU like that. Do we know where the CPU time is being spent? The output of: readpro

Re: [linux-usb-devel] usbfs2: Why asynchronous I/O?

2007-02-25 Thread Greg KH
On Sun, Feb 25, 2007 at 11:51:46AM -0500, Alan Stern wrote: > This deserves to be discussed on LKML. Are you sure? I thought it already got pretty well answered on the USB mailing list (see David's response for one such response.) thanks, greg k-h - To unsubscribe from this list: send the line

Re: [RFC][PATCH 6/7] Freezer: Remove PF_NOFREEZE from bluetooth threads

2007-02-25 Thread Marcel Holtmann
Hi Rafael, > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > Remove PF_NOFREEZE from the bluetooth threads, adding try_to_freeze() calls as > required. > > Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> > --- > net/bluetooth/bnep/core.c |6 -- > net/bluetooth/cmtp/core.c |

Re: 2.6.16.41 & 2.6.18.7 OK, 2.6.19.5 NOT, 2.6.18.8 KERNEL PANIC

2007-02-25 Thread Randy Dunlap
On Sun, 25 Feb 2007 17:05:58 +0100 Mario Vanoni wrote: > Randy Dunlap wrote: > > On Sat, 24 Feb 2007 16:44:20 +0100 Mario Vanoni wrote: > > > >> 2.6.18.7 vanilla & 2.6.16.41 vanilla: > >> /dev/hda CD/DVD > >> /dev/hda1 / IDE HD 160GB > >> /dev/hda2 swap > >> /dev/sda1 /xyz SATA HD 320GB > >> /dev

Re: SMP performance degradation with sysbench

2007-02-25 Thread Rik van Riel
Lorenzo Allegrucci wrote: Hi lkml, according to the test below (sysbench) Linux seems to have scalability problems beyond 8 client threads: http://jeffr-tech.livejournal.com/6268.html#cutid1 http://jeffr-tech.livejournal.com/5705.html Hardware is an 8-core amd64 system and jeffr seems willing to

Re: MSI entry unlinked before arch_teardown_msi_irq().

2007-02-25 Thread David Miller
From: [EMAIL PROTECTED] (Eric W. Biederman) Date: Sun, 25 Feb 2007 02:08:07 -0700 > If that isn't the issue holler and I will look into it a little more. Talking in code is always more effective :-) This patch fixes the OOPS I was talking about: diff --git a/drivers/pci/msi.c b/drivers/pci/msi.

[PATCH, RFT, v2] sata_mv: convert to new EH

2007-02-25 Thread Jeff Garzik
Just got sata_mv working under the new EH, on my 6041. It probes and talks to disks just fine (chip doesn't support ATAPI), and hotplug actually has a chance of working. The 'mv-eh' branch of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev.git mv-eh contains the following updat

Re: [RFC/PATCH] revokeat/frevoke system calls V5

2007-02-25 Thread Alan
Whats the status on this, I was suprised to see something so important just go dead ? Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Linux 2.6.16.42

2007-02-25 Thread Adrian Bunk
Security fixes since 2.6.16.41: - CVE-2006-5753: fix bad_inode_ops memory corruption - CVE-2007-0006: Keys: Fix key serial number collision handling - CVE-2007-0772: Fix a free-wrong-pointer bug in nfsd/acl Location: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ git tree: git://git.kernel.org/pub/s

[2.6 patch] init/do_mounts.c: proper prepare_namespace() prototype

2007-02-25 Thread Adrian Bunk
This patch adds a proper protype for prepare_namespace() in include/linux/init.h. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/init.h |3 ++- init/do_mounts.c |1 + init/main.c |1 - 3 files changed, 3 insertions(+), 2 deletions(-) --- linux-2.6.20

[2.6 patch] mm/slab.c: proper prototypes

2007-02-25 Thread Adrian Bunk
This patch adds proper prototypes in include/linux/slab.h. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/proc/proc_misc.c |2 -- include/linux/slab.h |3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) --- linux-2.6.20-mm2/include/linux/slab.h.old 2007-02-25 19:48:30.00

[2.6 patch] fs/dlm/user.c should #include "user.h"

2007-02-25 Thread Adrian Bunk
Every file should include the headers containing the prototypes for it's global functions. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.20-mm2/fs/dlm/user.c.old 2007-02-25 19:40:16.0 +0100 +++ linux-2.6.20-mm2/fs/dlm/user.c 2007-02-25 19:40:29.0 +0100 @@

[2.6 patch] kconfig: abort configuration with recursive dependencies

2007-02-25 Thread Adrian Bunk
A recursive kconfig dependency is a bug that has to be fixed, and that might currently not be noted until booting the built kernel. Currently, the warning that a recursive dependency was detected scrolls away during "make oldconfig", and often people don't notice until they booted the kernel an

[2.6 patch] drivers/dma/: no "static inline" in C files

2007-02-25 Thread Adrian Bunk
This patch changes "static inline"s in C files to "static": gcc should know best whether or not to inline a static function. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/dma/async_tx.c | 12 ++-- drivers/dma/iop-adma.c | 14 +++--- 2 files changed, 13 insertion

Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

2007-02-25 Thread Michael K. Edwards
On 2/25/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: Fundamentally a kernel thread is just its EIP/ESP [on x86, similar on other architectures] - which can be saved/restored in near zero time. That's because the kernel address space is identical in every process's MMU context, so the MMU doesn't

Re: mincore returning -ENOMEM instead of -EFAULT

2007-02-25 Thread Linus Torvalds
On Fri, 23 Feb 2007, Joel Becker wrote: > > Your fix in commit 2f77d107050abc14bc393b34bdb7b91cf670c250 > modifies sys_mincore() to return -ENOMEM instead of -EFAULT on a totally > bogus address. Was this intentional, or is it something that should be > fixed up? It was intentional, and I

Re: [PATCH 2.6.21-rc1] x86 signal number delivery fixes

2007-02-25 Thread Mikael Pettersson
On Sun, 25 Feb 2007 23:39:48 +0100, Andi Kleen wrote: > On Sunday 25 February 2007 12:47, Mikael Pettersson wrote: > > The invokation of signal handlers on x86 has several bugs > > in its treatment of the signal number parameter: > > > > - the i386 kernel passes the raw not the translated signal n

Re: [PATCH] kbuild: Add the code maturity levels DEPRECATED and OBSOLETE.

2007-02-25 Thread Tilman Schmidt
Am 25.02.2007 11:42 schrieb Pavel Machek: > On Wed 2007-02-21 00:12:28, Tilman Schmidt wrote: >> Am 20.02.2007 23:52 schrieb Robert P. J. Day: >>> "deprecated" means that there *is* a complete replacement available >>> *right now* and you should consider switching to it. >>> >>> if you can't offer

Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

2007-02-25 Thread Linus Torvalds
On Thu, 22 Feb 2007, Evgeniy Polyakov wrote: > > My tests show that with 4k connections per second (8k concurrency) more > than 20k connections of 80k total block in tcp_sendmsg() over gigabit > lan between quite fast machines. Why do people *keep* taking this up as an issue? Use select/poll

Re: [PATCH 2.6.21-rc1] x86 signal number delivery fixes

2007-02-25 Thread Andi Kleen
On Sunday 25 February 2007 12:47, Mikael Pettersson wrote: > The invokation of signal handlers on x86 has several bugs > in its treatment of the signal number parameter: > > - the i386 kernel passes the raw not the translated signal number > in EAX to non-SA_SIGINFO handlers compiled with -mregp

Re: [PATCH 3/7] cxgb3 - FW version update

2007-02-25 Thread Jeff Garzik
Steve Wise wrote: I would rather fix the code to use constants, and thus avoid this problem ever happening again. Jeff How's this (not tested)? seems OK to me - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] M

Re: GPL vs non-GPL device drivers

2007-02-25 Thread Trent Waddington
On 2/26/07, Michael K. Edwards <[EMAIL PROTECTED]> wrote: I know it's fun to blame everything on Redmond, but how about a simpler explanation? Says the master of conspiracy. Trent - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTE

second thoughts about DEPRECATED and OBSOLETE maturity levels

2007-02-25 Thread Robert P. J. Day
having championed the cause of adding those two code maturity levels to init/Kconfig, i just realized that implementing them as simple dependencies has a *really* annoying shortcoming. in order to display that a kernel config feature is experimental, developers have not only made that feature

Re: [PATCH 06/44 take 2] [UBI] startup code

2007-02-25 Thread Rusty Russell
On Sun, 2007-02-25 at 05:58 +, Christoph Hellwig wrote: > On Tue, Feb 20, 2007 at 03:00:56PM +0200, Artem Bityutskiy wrote: > > > > +module_param_call(mtd, ubi_mtd_param_parse, NULL, NULL, 000); > > > > +MODULE_PARM_DESC(mtd, "MTD devices to attach. Parameter format: " > > > > +

Re: [PATCH 3/7] cxgb3 - FW version update

2007-02-25 Thread Steve Wise
> I would rather fix the code to use constants, and thus avoid this > problem ever happening again. > > Jeff > How's this (not tested)? --- drivers/net/cxgb3/t3_hw.c |6 -- drivers/net/cxgb3/version.h |2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a

CLOCK_MONOTONIC datagram timestamps by the kernel

2007-02-25 Thread John
Hello, It is possible to ask Linux to timestamp incoming datagrams when they are received, then to retrieve this timestamp with an ioctl command or a recvmsg call (which would save one round trip to kernel space). SIOCGSTAMP Return a struct timeval with the receive timestamp of the last pack

Re: [PATCH] module: use krealloc

2007-02-25 Thread Rusty Russell
On Fri, 2007-02-23 at 09:41 +0200, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > This converts an open-coded krealloc() to use the shiny new API. OK, why not. Thanks! Rusty. From: Pekka Enberg <[EMAIL PROTECTED]> This converts an open-coded krealloc() to use the shiny new

[PATCH] Kbuild: Remove "unifdef" entries for files that generate nothing.

2007-02-25 Thread Robert P. J. Day
Remove, from their corresponding Kbuild files, entries for header files that generate content-free sanitized header files. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- include/linux/Kbuild|3 --- include/linux/netfilter_ipv4/Kbuild |1 - 2 files changed, 4

threadlets as 'naive pool of threads', epoll, some measurements

2007-02-25 Thread Ingo Molnar
* Davide Libenzi wrote: > > i dont understand - this confuses the client because there's no > > Content-Length field. Did you insert a Content-Length field > > manually? What i'm trying to figure out, are you relying on a > > keepalive client or not? I.e. is there a -k option to 'ab' as well,

Re: [PATCH] Print error code in page faults

2007-02-25 Thread Andi Kleen
On Saturday 24 February 2007 06:31, Glauber de Oliveira Costa wrote: > When a page faults comes from a kernel space, the printed summary > leaves us clueless about what kind of access was being tried (which > is encoded in the error_code variable). > > Having it promply available may ease debuggin

Re: [PATCH 12/14] x86_64 irq: Add constants for the reserved IRQ vectors.

2007-02-25 Thread Pavel Machek
Hi! > Pavel Machek <[EMAIL PROTECTED]> writes: > > > BUILD_BUG_ON(x > 15) ? ;-). > > That might work. Can you use that in a constant expression? > Still it is a complexity for a handful of lines. > > I would prefer to go with something simple at this point. I was thinking something like #de

Re: bug in kernel 2.6.21-rc1-git1: conventional floppy drive cannot be mounted without hanging up the whole system

2007-02-25 Thread Alexey Dobriyan
On Sun, Feb 25, 2007 at 07:29:39PM +0100, Uwe Bugla wrote: > "The bug was introduced somewhere at the transition of 2.6.20 towards > 2.6.20-git14." > I fortunately had some git9 patch at home and found out that it is sane. > "I'm afraid that the most proactical > way of fixing this is to ask you t

Re: [PATCH 12/14] x86_64 irq: Add constants for the reserved IRQ vectors.

2007-02-25 Thread Eric W. Biederman
Pavel Machek <[EMAIL PROTECTED]> writes: > BUILD_BUG_ON(x > 15) ? ;-). That might work. Can you use that in a constant expression? Still it is a complexity for a handful of lines. I would prefer to go with something simple at this point. Eric - To unsubscribe from this list: send the line "un

Re: 2.6.21-rc1: known regressions (part 3)

2007-02-25 Thread Greg KH
On Sun, Feb 25, 2007 at 07:02:51PM +0100, Adrian Bunk wrote: > > > Subject: request_module: runaway loop modprobe net-pf-1 > References : http://lkml.org/lkml/2007/2/21/206 > Submitter : YOSHIFUJI Hideaki / <[EMAIL PROTECTED]> > Caused-By : Kay Sievers <[EMAIL PROTECTED]> >

Re: [PATCH] libata: Use new id_to_dma_mode function to tidy reporting in more drivers (minimally tested)

2007-02-25 Thread Jeff Garzik
Alan wrote: Signed-off-by: Alan Cox <[EMAIL PROTECTED]> applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/

Re: [PATCH]: Add id_to_dma_mode function for printing DMA modes

2007-02-25 Thread Jeff Garzik
Alan wrote: Also export dev_disable as this is needed by drivers doing slave decode filtering, which will follow shortly Signed-off-by: Alan Cox <[EMAIL PROTECTED]> applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED

Re: [PATCH 2.6.21-rc1] sata_promise: fix 20619 new EH merge error

2007-02-25 Thread Jeff Garzik
Mikael Pettersson wrote: When I merged my 20619 new EH conversion with #libata-upstream I had to manually resolve a conflict, and inadvertently lost pdc_pata_ops' ->post_internal_cmd binding. Corrected by this patch. Signed-off-by: Mikael Pettersson <[EMAIL PROTECTED]> --- drivers/ata/sata_pr

[PATCH] x86_64: fix section mismatch warnings

2007-02-25 Thread Sam Ravnborg
Fix the following section mismatch warnings on x86_64: (build using defconfig) WARNING: arch/x86_64/kernel/built-in.o - Section mismatch: reference to .init.text:mtrr_bp_init from .text between 'identify_cpu' (at offset 0x65eb) and 'IRQ0x20_interrupt' WARNING: arch/x86_64/kernel/built-in.o - Sec

Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

2007-02-25 Thread Ingo Molnar
* Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > Interesting discussion, that will be very fun if kevent will lose > badly :) with your keepalive test no way can it lose against 80,000 sync threadlets - it's pretty much the worst-case thing for threadlets while it's the best-case for kevents.

Re: [RFC][PATCH 4/7] Freezer: Fix vfork problem

2007-02-25 Thread Rafael J. Wysocki
On Sunday, 25 February 2007 21:31, Oleg Nesterov wrote: > On 02/25, Rafael J. Wysocki wrote: > > > > On Sunday, 25 February 2007 16:40, Aneesh Kumar wrote: > > > On 2/25/07, Aneesh Kumar <[EMAIL PROTECTED]> wrote: > > > > On 2/25/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > > > On Sunday,

Re: [RFC][PATCH 4/7] Freezer: Fix vfork problem

2007-02-25 Thread Oleg Nesterov
On 02/25, Rafael J. Wysocki wrote: > > On Sunday, 25 February 2007 16:40, Aneesh Kumar wrote: > > On 2/25/07, Aneesh Kumar <[EMAIL PROTECTED]> wrote: > > > On 2/25/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > > On Sunday, 25 February 2007 15:33, Aneesh Kumar wrote: > > > > > On 2/25/07, R

Re: [PATCH] QRCU with lockless fastpath

2007-02-25 Thread Oleg Nesterov
On 02/24, Paul E. McKenney wrote: > > This is an updated version of Oleg Nesterov's QRCU that avoids the > earlier lock acquisition on the synchronize_qrcu() fastpath. This passes > rcutorture on x86 and the weakly ordered POWER. A promela model of the > code passes as noted before for 2 readers

[PATCH] Remove redundant #ifdef __KERNEL__ checks.

2007-02-25 Thread Robert P. J. Day
Remove the redundant intermediate checks for __KERNEL__ since, as soon as one ends, the next one starts. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/include/linux/stat.h b/include/linux/stat.h index 4f8539c..a3d6342 100644 --- a/include/linux/stat.h +++ b/include/linu

Re: GPL vs non-GPL device drivers

2007-02-25 Thread D. Hazelton
On Sunday 25 February 2007 06:54, Michael K. Edwards wrote: > On 2/25/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > But a 20KLoC 3-D graphics driver that happens to #include > is not thereby a "derivative work" of the kernel, > no matter how many entrypoints are labeled EXPORT_SYMBOL_GPL or > pro

  1   2   3   >