[PATCH] Reduce stack usage in sys.c

2005-03-30 Thread Yum Rayan
Attempt to reduce stack usage in sys.c (linux-2.6.12-rc1-mm3). Stack usage was noted using checkstack.pl. Specifically Before patch sys_reboot - 256 After patch --- sys_reboot - none (register usage only) Along the way, wrap code to 80 column width and cleanup lock usage.

Re: linux-libc-headers scsi headers vs libc scsi headers

2005-03-30 Thread DervishD
Hi Mariusz :) * Mariusz Mazur <[EMAIL PROTECTED]> dixit: > On ?roda 30 marzec 2005 20:10, DervishD wrote: > > Yes, I know, this is in the llh FAQ, but the answer starts with > > 'Not too sure on this one', that's the reason I'm asking here... > Use whatever works. And ignore anybody

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Paul Jackson
Yup - kills my x86_64 too. I can't stay up for half a minute. I got a couple of Oops Unable to handle kernel paging request at 2730 RIP: Unable to handle kernel paging request at 81773ffc6918 RIP: The first try ended with a sudden reboot. The second time, I ctrl-C'd out

[PATCH] Reduce stack usage in itimer.c

2005-03-30 Thread Yum Rayan
Attempt to reduce stack usage in itimer.c (linux-2.6.12-rc1-mm3). Stack usage was noted using checkstack.pl. Specifically Before patch do_setitimer - 160 After patch --- do_setitimer - none do_setitimer_real 52 do_setitimer_virtual 52 do_setitimer_prof 52 A singularly heavy

[PATCH] Reduce stack usage in acct.c

2005-03-30 Thread Yum Rayan
Attempt to reduce stack usage in acct.c (linux-2.6.12-rc1-mm3). Stack usage was noted using checkstack.pl. Specifically: Before patch check_free_space - 128 do_acct_process - 105 After patch --- check_free_space - 36 do_acct_process - 44 Signed-off-by: Yum Rayan <[EMAIL

Re: NFS client latencies

2005-03-30 Thread Ingo Molnar
* Lee Revell <[EMAIL PROTECTED]> wrote: > > Yes. Together with the radix tree-based sorting of dirty requests, > > that's pretty much what I've spent most of today doing. Lee, could you > > see how the attached combined patch changes your latency numbers? > > Different code path, and the

Re: NFS client latencies

2005-03-30 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > Well. The radix-tree approach's best-case is probably quite a lot > worse than the list-based approach's best-case. It hits a lot more > cachelines and involves a lot more code. The list-based approach's best-case are large continuous append

Re: LSM hooks

2005-03-30 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Wright wrote: > * John Richard Moser ([EMAIL PROTECTED]) wrote: > >>-BEGIN PGP SIGNED MESSAGE- >>Hash: SHA1 >> >>Well the LSM mailing list seems to be dead, even the archives stop at >>Jan 15 2005. My own mails don't come back to me

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Denis Vlasenko
On Thursday 31 March 2005 07:38, Robert Hancock wrote: > Philip Lawatsch wrote: > > Hi, > > > > > > I do have a very strange problem: > > > > If I memset a ~1meg buffer some thousand times (in the userspace) it > > will hardlock my machine. > > I thought that this must be impossible, but I

Re: [linux-pm] Re: swsusp 'disk' fails in bk-current - intel_agp at fault?

2005-03-30 Thread Dmitry Torokhov
On Tuesday 29 March 2005 17:35, Pavel Machek wrote: > Hi! > > > > We currently freeze processes for suspend-to-ram, too. I guess that > > > disable_usermodehelper is probably better and that in_suspend() should > > > only be used for sanity checks... go with disable_usermodehelper and > > > sorry

Re: Disable cache disk

2005-03-30 Thread Yves Crespin
Christian Bornträger wrote: On Wednesday 30 March 2005 15:00, Yves Crespin wrote: 1/ is-it possible to *really* be synchronize. I prefer to have a blocked write() than use cache and get swap! Try to mount with the sync option. exactly async and noatime ? 2/ is-it possible to disable

[PATCH 2.6.12-rc1-mm3] m32r: build fix for CONFIG_DISCONTIGMEM

2005-03-30 Thread Hirokazu Takata
This patch fixes build error for CONFIG_DISCONTIGMEM. Please apply. * arch/m32r/mm/discontig.c: Fix build error for CONFIG_DISCONTIGMEM. * arch/m32r/kernel/setup.c: ditto. * arch/m32r/mm/discontig.c: - Add topology_init. - Cosmetics: change indentation of

Re: NFS client latencies

2005-03-30 Thread Andrew Morton
Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > * Trond Myklebust <[EMAIL PROTECTED]> wrote: > > > > The 7 ms are spent in this loop: > > > > Which is basically confirming what the guys from Bull already told me, > > namely that the radix tree tag stuff is much less efficient that what > >

Re: NFS client latencies

2005-03-30 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > i think all it needs now is a lock-breaker in the main radix-lookup > loop in nfs_scan_lock_dirty(), or a latency-oriented reduction in the > npages argument, to make the loop bounded. [...] can nfsi->req_lock be dropped within nfs_scan_dirty()? Or

Re: NFS client latencies

2005-03-30 Thread Ingo Molnar
* Lee Revell <[EMAIL PROTECTED]> wrote: > > Is a bunch of gobbledygook. Hows about you interpret it for us? > > Sorry. When I summarized them before, Ingo just asked for the full > verbose trace. please send non-verbose traces if possible. The verbose traces are useful when it's not clear

Re: 2.6.12-rc1 breaks dosemu

2005-03-30 Thread Bart Oldeman
On Sat, 26 Mar 2005, Arjan van de Ven wrote: > > > There is one more improbable thing I can think of: comcom. This is > > dosemu's built-in command.com and uses some very tricky code > > (coopthreads), which certainly does not work any more with address space > > randomization. It's deprecated

Avoid spurious page faults by avoiding pte_clear -> set pte

2005-03-30 Thread Christoph Lameter
The current way of updating ptes in the Linux vm includes first clearing a pte before setting it to another value. The clearing is performed while holding the page_table_lock to insure that the entry will not be modified by the CPU directly (clearing the pte clears the present bit which notifies

Re: NFS client latencies

2005-03-30 Thread Ingo Molnar
* Trond Myklebust <[EMAIL PROTECTED]> wrote: > > The 7 ms are spent in this loop: > > Which is basically confirming what the guys from Bull already told me, > namely that the radix tree tag stuff is much less efficient that what > we've got now. I never saw their patches, though, so I was

Re: forkbombing Linux distributions

2005-03-30 Thread Natanael Copa
On Thu, 2005-03-31 at 01:46 +0200, Felipe Alfaro Solana wrote: > On Mon, 28 Mar 2005 19:28:20 +0200, Matthieu Castet > <[EMAIL PROTECTED]> wrote: > > > The memory limits aren't good enough either: if you set them low > > > enough that memory-forkbombs are unperilous for > > >

Re: LSM hooks

2005-03-30 Thread Chris Wright
* John Richard Moser ([EMAIL PROTECTED]) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Well the LSM mailing list seems to be dead, even the archives stop at > Jan 15 2005. My own mails don't come back to me (I'm subscribed). They're coming through just fine, not sure why the

Re: [2.6.12-rc1-mm3] BUG: atomic counter underflow in smbfs

2005-03-30 Thread Jan Engelhardt
>tried it? (Last time I looked, cifs didn't work against win98 servers - >maybe that got fixed). Well, win98 by itself does not have CIFS support. Jan Engelhardt -- No TOFU for me, please. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Directory link count wrapping on Linux/XFS/i386?

2005-03-30 Thread Jan Engelhardt
>but it does let you can hide files from find/fts, as demonstrated >below. That's because `find` optimizes its searching by looking at the link count. IIRC, the -noleaf option should make it visible again. >turing 7% mkdir .hidden >turing 8% touch .hidden/secret >turing 9% find . -name secret

Re: [patch] oom lca -- fork bombing killer

2005-03-30 Thread Coywolf Qi Hunt
Andrew Morton wrote: Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote: Linux OOM LCA (Least Common Ancestor) Patch ... --- 2.6.12-rc1-mm3/include/linux/sched.h 2005-03-26 13:21:11.0 +0800 +++ 2.6.12-rc1-mm3-cy/include/linux/sched.h 2005-03-28 10:18:24.0 +0800 @@

Timers to threads

2005-03-30 Thread Banu R Reefath
Dear Sir/Mam We are using Linux in one of our embedded products.This is the first time we are working in this Platform.We have few doubts regarding implementing s/w timers & how to pass the timer interrupts to threads . In net we coudnt find exactly what we want .Could you please help us

Re: problem with suspending linux-2.6.12-rc1

2005-03-30 Thread Andy Isaacson
On Tue, Mar 29, 2005 at 12:20:49AM +0200, Pavel Machek wrote: > On Po 28-03-05 10:03:06, Ulrich Lauther wrote: > > > > since upgrading from 2.6.11 to 2.6.12-rc1 software suspend doesn't work > > > > anymore for me: > > > > The last I see when suspending (echo 4 > /proc/acpi/sleep) is a > > > >

Re: no need to check for NULL before calling kfree() -fs/ext2/

2005-03-30 Thread P Lavin
Hi Jesper, I'm sending this mail to mailing list coz in my company we have some restrictions on o/g mails, Sorry for that... Lemme ask u smthing, herez the code 199 sndpkt = (RSI_sndpkt_t *) RSI_MALLOC(sizeof(RSI_sndpkt_t)); 200 sndpkt->buf_list = (RSI_buf_t *)

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Greg KH
On Wed, Mar 30, 2005 at 11:17:42PM -0500, Jeff Garzik wrote: > > Should hopefully just be changing get-version.pl ... Nah, this simple patch to snapshot fixes it. I've also generated the 2.6.12-rc1-bk3 snapshot and fixed up the directory on kernel.org so it should now work properly if you apply

Re: LSM hooks

2005-03-30 Thread Greg KH
On Wed, Mar 30, 2005 at 11:13:45PM -0500, John Richard Moser wrote: > So, Which version of Linux will first implement stacking in LSM as per > Serge Hallyn's patches? Why do you think the stacking patches will ever be in mainline? greg k-h - To unsubscribe from this list: send the line

Re: How's the nforce4 support in Linux?

2005-03-30 Thread Martin Schlemmer
On Wed, 2005-03-30 at 16:01 -0500, Lee Revell wrote: > On Wed, 2005-03-30 at 21:19 +0200, Martin Schlemmer wrote: > > On Wed, 2005-03-30 at 17:00 +0200, Tomasz Torcz wrote: > > > > > quake3 still segfaults when run through "aoss". And can't be fixed, > > > > > as > > > > > it's closed source

Re: [RFD] 'nice' attribute for executable files

2005-03-30 Thread Matt Mackall
On Tue, Mar 29, 2005 at 09:55:36PM +0200, Wiktor wrote: > Hi all, > > recently i had to run some program (xmms) with lowered nice value as > normal user. See the new nice rlimit in recent -mm. This allows you to give various users permission to raise priorities without root privileges. --

Re: klists and struct device semaphores

2005-03-30 Thread Patrick Mochel
On Wed, 30 Mar 2005, Dmitry Torokhov wrote: > Will the lock be exported (via helper functions)? I always felt dirty using > subsys.rwsem because it I think it was supposed to be implementation detail. Sure, why not? See the attached patch for helpers, exported GPL only of course. Thanks,

Re: [RFD] 'nice' attribute for executable files

2005-03-30 Thread Jan Engelhardt
>> You could wrap /lib/ld-linux.so, and get all dynamically linked >> programs done in one sweep. That does not handle static binaries :) Jan Engelhardt -- No TOFU for me, please. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

HELP: PC104 IO card driver Problem

2005-03-30 Thread nobin matthew
Dear Friends, Can anybody Help me in this Pc104 driver Problem; What is the basics steps in doing read and write on Pc104 cards. Deatails Given Below: I am writing a Linux device driver for Diamond systems IR104 digital IO card. This is a PC104 bus device(that means it ISA bus

Re: alsa es1371's joystick functionality broken in 2.6.11-mm4

2005-03-30 Thread Patrick McFarland
On Sunday 27 March 2005 06:23 am, Patrick McFarland wrote: > On Friday 25 March 2005 09:28 am, Patrick McFarland wrote: > > Nope, 2.6.10 is broken too. Now, off to 2.6.9... > > Hrm, 2.6.9 is also broke. 2.6.8 is next. (I should be coming along a > working kernel any time now...) That whacky real

Re: Hangcheck problem

2005-03-30 Thread Peter Chubb
> "Noah" == Noah Silverman <[EMAIL PROTECTED]> writes: Noah> Sorry 2.6.7 Noah> Burton Windle wrote: >> Kernel version? Are you running on an x86 machine without TSC, e.g., a 486? the Hangcheck timer then devolves into using jiffies, and a single jiffy error gives you the printout you

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Jeff Garzik
Dave Jones wrote: On Wed, Mar 30, 2005 at 11:17:42PM -0500, Jeff Garzik wrote: > >with the requirement (for me) that I not be required to use BK? > >I'll munge scripts or whatever... > >but I guess that I'll also need a kernel.org account to do that. > > Should hopefully just be changing

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Robert Hancock
Philip Lawatsch wrote: Hi, I do have a very strange problem: If I memset a ~1meg buffer some thousand times (in the userspace) it will hardlock my machine. I thought that this must be impossible, but I tried it on my machine which is very similar (Asus A8N-SLI, Athlon 64 3500+, 2GB RAM) and to my

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Robert Hancock
Matthias-Christian Ott wrote: You want to allocate a lot of memory (16 GB), you don't have that much space, so the Kernel hangs. No, this is not what it is doing. The program is simply wiping the same 1MB block of memory over and over. If it was doing what you say it would not (or should not)

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Dave Jones
On Wed, Mar 30, 2005 at 11:17:42PM -0500, Jeff Garzik wrote: > >with the requirement (for me) that I not be required to use BK? > >I'll munge scripts or whatever... > >but I guess that I'll also need a kernel.org account to do that. > > Should hopefully just be changing get-version.pl ...

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Jeff Garzik
Randy.Dunlap wrote: sean wrote: Randy.Dunlap wrote: Did you look in http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ ? Yes I did. Latest is 2.6.12-rc1-bk2, March 26. None since then? I can't explain it other than "the snapshots are broken." All I do is look around for them, and behold,

Re: 2.6.12-rc1-mm3: class_simple API

2005-03-30 Thread Nick Orlov
On Wed, Mar 30, 2005 at 10:19:42PM -0500, [EMAIL PROTECTED] wrote: > On Sun, 27 Mar 2005 13:04:31 EST, Nick Orlov said: > > > Problem is that the latest bk-driver-core patch included in the > > 2.6.12-rc1-mm3 > > removes class_simple API without providing EXPORT_SYMBOL'ed (as opposed to > >

init process freezed after run_init_process

2005-03-30 Thread rjy
Hi, My computer freezed after the kernel start. It started with normal console messages and stopped with these messages: -- ... (just as the normal ones.) NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 Bridge

Re: [PATCH] embarassing typo

2005-03-30 Thread Gene Heskett
On Wednesday 30 March 2005 18:38, John Pearson wrote: >On Wed, Mar 30, 2005 at 12:53:28AM -0500, Gene Heskett wrote > >> On Tuesday 29 March 2005 20:40, Dmitry Torokhov wrote: >> >On Tuesday 29 March 2005 16:58, Michael Tokarev wrote: >> >> Well, it's a matter of readability mostly. ?For now at

LSM hooks

2005-03-30 Thread John Richard Moser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well the LSM mailing list seems to be dead, even the archives stop at Jan 15 2005. My own mails don't come back to me (I'm subscribed). So, Which version of Linux will first implement stacking in LSM as per Serge Hallyn's patches? Where is the new

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Dave Jones
On Wed, Mar 30, 2005 at 07:47:24PM -0800, Randy.Dunlap wrote: > sean wrote: > >Randy.Dunlap wrote: > > > >> > >>Did you look in > >>http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ ? > >> > > > >Yes I did. > > > >Latest is 2.6.12-rc1-bk2, March 26. > > > >None since then? >

[patch] bug fix in usbdevfs

2005-03-30 Thread Christopher Li
Hi, I am sorry that the last patch about 32 bit compat ioctl on 64 bit kernel actually breaks the usbdevfs. That is on the current BK tree. I am retarded. Here is the patch to fix it. Tested with USB hard disk and webcam in both 32bit compatible mode and native 64bit mode. Again, sorry about

Re: [PATCH] API for true Random Number Generators to add entropy (2.6.11)

2005-03-30 Thread David McCullough
Jivin Jeff Garzik lays it down ... ... > >If kernelspace can assist and driver _knows_ in advance that data > >produced is cryptographically strong, why not allow it directly > >access pools? > > A kernel driver cannot know in advance that the data from a hardware RNG > is truly random, unless

Re: [PATCH] Pageset Localization V2

2005-03-30 Thread Christoph Lameter
Patch to fix the issues mentioned so far. The MAKE_LIST macro would also not be good to some things that I have planned so lets drop it. Index: linux-2.6.11/mm/page_alloc.c === --- linux-2.6.11.orig/mm/page_alloc.c 2005-03-30

Re: NFS client latencies

2005-03-30 Thread Trond Myklebust
on den 30.03.2005 Klokka 21:47 (-0500) skreiv Lee Revell: > On Wed, 2005-03-30 at 18:39 -0800, Andrew Morton wrote: > > Lee Revell <[EMAIL PROTECTED]> wrote: > > > > > > > Yes. Together with the radix tree-based sorting of dirty requests, > > > > that's pretty much what I've spent most of today

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread Randy.Dunlap
sean wrote: Randy.Dunlap wrote: Did you look in http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ ? Yes I did. Latest is 2.6.12-rc1-bk2, March 26. None since then? I can't explain it other than "the snapshots are broken." All I do is look around for them, and behold, just look in

Re: BK snapshots removed from kernel.org?

2005-03-30 Thread sean
Randy.Dunlap wrote: Did you look in http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/old/ ? Yes I did. Latest is 2.6.12-rc1-bk2, March 26. None since then? sean - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [patch 0/8] CKRM: Core patch set

2005-03-30 Thread Gerrit Huizenga
On Wed, 30 Mar 2005 17:32:32 PST, Paul Jackson wrote: > A question for the CKRM developers: > > What middleware packages, outside the kernel, exist or are > in the works that will rely on CKRM? Primarily, CKRM classes can be instantiated today by simple echo's into the /rcfs

Re: drivers/acpi/video.c: null pointer dereference

2005-03-30 Thread Len Brown
On Thu, 2005-03-24 at 15:37, Adrian Bunk wrote: > The Coverity checker found the following null pointer dereference in > drivers/acpi/video.c: > > <-- snip --> > > ... > static int > acpi_video_switch_output( > ... > { > ... > struct acpi_video_device *dev=NULL; > ... >

Re: 2.6.12-rc1-mm3: class_simple API

2005-03-30 Thread Valdis . Kletnieks
On Sun, 27 Mar 2005 13:04:31 EST, Nick Orlov said: > Problem is that the latest bk-driver-core patch included in the 2.6.12-rc1-mm3 > removes class_simple API without providing EXPORT_SYMBOL'ed (as opposed to > EXPORT_SYMBOL_GPL) alternative. > > As the result I don't see a way how

Poor SATA / RAID performance (2.6.11 and promise SATAII150 TX4)

2005-03-30 Thread Tim Harvey
Greetings, I'm attempting to benchmark software RAID5 on a system with: - Promise SATAII150 TX4 card - 4 Segate ST3300831AS drives - custom built kernel 2.6.11 (to get driver for promise SATAIITX4) - FC3 install - EPIA M1 mainboard, 256MB memory The tools I'm familiar with for

Re: klists and struct device semaphores

2005-03-30 Thread Dmitry Torokhov
On Wednesday 30 March 2005 21:16, Patrick Mochel wrote: > > On Tue, 29 Mar 2005, Alan Stern wrote: > > > On Mon, 28 Mar 2005, Patrick Mochel wrote: > > > > > How is this related to (8) above? Do you need some sort of protected, > > > short path through the core to add the device, but not bind it

Slow SCSI perf in RH 7.3

2005-03-30 Thread Nachman Yaakov Ziskind
I have a server: 2.4.20-28.7 #1 Thu Dec 18 11:31:59 EST 2003 i686 with SCSI hard disks (not raid): SCSI subsystem driver Revision: 1.00 scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8 aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs scsi1 : Adaptec

Re: NFS client latencies

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 18:39 -0800, Andrew Morton wrote: > Lee Revell <[EMAIL PROTECTED]> wrote: > > > > > Yes. Together with the radix tree-based sorting of dirty requests, > > > that's pretty much what I've spent most of today doing. Lee, could you > > > see how the attached combined patch

Re: NFS client latencies

2005-03-30 Thread Andrew Morton
Lee Revell <[EMAIL PROTECTED]> wrote: > > > Yes. Together with the radix tree-based sorting of dirty requests, > > that's pretty much what I've spent most of today doing. Lee, could you > > see how the attached combined patch changes your latency numbers? > > > > Different code path, and the

Re: Directory link count wrapping on Linux/XFS/i386?

2005-03-30 Thread Nathan Scott
On Thu, Mar 31, 2005 at 10:42:58AM +1000, Nathan Scott wrote: > On Wed, Mar 30, 2005 at 01:06:01PM -0700, Andreas Dilger wrote: > > The correct fix, used for reiserfs (and a patch for ext3 also) is to > > set i_nlink = 1 in case the filesystem count has wrapped. When nlink==1 > > the fts/find

Re: NFS client latencies

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 16:14 -0500, Trond Myklebust wrote: > on den 30.03.2005 Klokka 11:56 (-0800) skreiv Andrew Morton: > > > That's normal and cannot be avoided: when writing, we have to look for > > > the existence of old nfs_page requests. The reason is that if one does > > > exist, we must

Re: [RFC] CryptoAPI & Compression

2005-03-30 Thread Herbert Xu
Hi Artem: On Tue, Mar 29, 2005 at 12:55:11PM +0100, Artem B. Bityuckiy wrote: > > I'm not sure. David Woodhouse (the author) said that this is probably > enough in any case but a lot of time has gone since the code was written > and he doesn't remember for sure. I have also seen some magic

Re: RFC: 2.6.release.patchlevel: Patch against 2.6.release[.0] ?

2005-03-30 Thread L. A. Walsh
Chris Wright wrote: The patches on kernel.org in v2.6/ are already against the base (i.e. patch-2.6.11.6.bz2 is against 2.6.11). The patches in v2.6/incr/ are incremental between -stable releases (i.e. patch-2.6.11.5-6.bz2 is against 2.6.11.5). I see. I had looked at the "Changelog" page

Re: [NFS] [PATCH] SGI 926917: make knfsd interact cleanly with HSMs

2005-03-30 Thread Greg Banks
On Thu, 2005-03-31 at 11:58, Neil Brown wrote: > On Thursday March 31, [EMAIL PROTECTED] wrote: > > On Tue, 2005-03-15 at 18:49, Greg Banks wrote: > > > This patch seeks to remedy the interaction between knfsd and HSMs by > > > providing mechanisms to allow knfsd to tell an underlying filesystem >

Re: klists and struct device semaphores

2005-03-30 Thread Patrick Mochel
On Tue, 29 Mar 2005, Alan Stern wrote: > On Mon, 28 Mar 2005, Patrick Mochel wrote: > > > How is this related to (8) above? Do you need some sort of protected, > > short path through the core to add the device, but not bind it or add it > > to the PM core? > > Having thought it through, I

Re: klists and struct device semaphores

2005-03-30 Thread Patrick Mochel
On Mon, 28 Mar 2005, Alan Stern wrote: > > For now, I'm willing to punt on those and consider them subsystem-specific > > until more is known about those situations' characteristics. As it > > currently stands, the core will not lock more than 1 device at a time. > > That's absolutely not true.

Re: question about do_IRQ + 4k stacks

2005-03-30 Thread Brian Gerst
Terence Ripperda wrote: I'm investigating some 4k stack issues with our driver, and I noticed this ordering in do_IRQ: asmlinkage unsigned int do_IRQ(struct pt_regs regs) { ... #ifdef CONFIG_DEBUG_STACKOVERFLOW /* Debugging check for stack overflow: is there less than 1KB free? */

Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 5:09 pm, Jeff Garzik wrote: > David Brownell wrote: > > http://www.tux.org/hypermail/linux-vortex/2001-Nov/0021.html > > > > If there are other rules, they belong in Documentation/netif-msg.txt > > don't they? That way folk won't be forced to guess. Or risk > >

Re: Do not misuse Coverity please

2005-03-30 Thread Patrick McFarland
On Wednesday 30 March 2005 01:55 pm, Olivier Galibert wrote: > Actually it is. Dereferencing a null pointer is either undefined or > implementation-dependant in the standard (don't remember which), and > as such the compiler can do whatever it wants, be it starting nethack Can this be configured

[BK PATCHES] 2.6.x net driver fixes

2005-03-30 Thread Jeff Garzik
Please do a bk pull bk://gkernel.bkbits.net/net-drivers-2.6 This will update the following files: drivers/net/b44.c | 36 +++--- drivers/net/b44.h |3 drivers/net/e1000/e1000.h |1 drivers/net/e1000/e1000_main.c | 21 +++

Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)

2005-03-30 Thread H. J. Lu
On Thu, Mar 31, 2005 at 02:57:57AM +0200, Pau Aliagas wrote: > On Wed, 30 Mar 2005, H. J. Lu wrote: > > >>>That is what the assembler generates, and should have generated, for > >>>"movw %ds,(%eax)" since Nov. 4, 2004. > >> > >>Could this be the reason for the reported slowdown in the last six

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 17:40 -0800, David Brownell wrote: > This all seems off-topic for latency though. :) > Disagree, in the bug reports I saw from JACK users the symptoms are exactly the same as a kernel latency problem. The only clear hint that it's something else is that the RT kernel and

Re: 2.6.11, USB: High latency?

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 5:32 pm, Lee Revell wrote: > On Wed, 2005-03-30 at 17:28 -0800, David Brownell wrote: > > On Wednesday 30 March 2005 4:51 pm, Lee Revell wrote: > > > > > > This is the exact configuration of one of the users who reported the > > > problem on LAU. Got a pointer to the

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 17:28 -0800, David Brownell wrote: > This is what Greg just posted (and Linus merged into BK, so it'll be > in BK snapshots starting tomorrow): > > http://marc.theaimsgroup.com/?l=linux-usb-devel=111221966815043=2 Wow, just checked my mail and there were at least 5

Re: [PATCH 0/5] ppc RT: Realtime preempt support for PPC

2005-03-30 Thread Frank Rowand
Frank Rowand wrote: Ingo Molnar wrote: hi Frank - sorry about the late reply, was busy with other things. Your My turn to be late, but now I'm back from vacation :-). ppc patches look mostly mergeable, with some small details still open: * Frank Rowand <[EMAIL PROTECTED]> wrote: The patches

Re: 2.6.11, USB: High latency?

2005-03-30 Thread David Brownell
> > Please don't assume everyone subscribes to LKML, or that > > everything crafted to be threaded more-or-less-correctly > > was really crafted with any kind of "reply" command. :) > > Um, that's exactly why reply-to-all should be used, There you go, assuming that there was a message to

Re: [patch 0/8] CKRM: Core patch set

2005-03-30 Thread Paul Jackson
Diego wrote: > I bet I'm not the only one here > who can't understand it either. You're not alone. See an email thread entitled: Classes: 1) what are they, 2) what is their name? http://sourceforge.net/mailarchive/forum.php?thread_id=5328162_id=35191 on the

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 17:28 -0800, David Brownell wrote: > On Wednesday 30 March 2005 4:51 pm, Lee Revell wrote: > > [cc list restored] > > Thanks, I never had one to start with ... :) > > Thank you. Sorry for the tone of my reply... > > On Wed, 2005-03-30 at 14:57 -0800, David Brownell

Re: Not a GCC bug (was Re: Big GCC bug!!! [Was: Re: Do not misuse Coverity please])

2005-03-30 Thread Kyle Moffett
On Mar 30, 2005, at 20:12, Nick Piggin wrote: Why should this be in the kernel makefiles? If my_struct is NULL, then the kernel will never reach the if statement. Well, I think there is probably some arch code that uses 16-bit that might use a null pointer, or at least a struct that starts at the

Re: 2.6.11, USB: High latency?

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 4:51 pm, Lee Revell wrote: > [cc list restored] Thanks, I never had one to start with ... :) > On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > > Quoth [EMAIL PROTECTED]: > > > I think this is connected to a problem people have been reporting on the > > >

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 17:13 -0800, David Brownell wrote: > On Wednesday 30 March 2005 4:43 pm, Lee Revell wrote: > > On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > > > Quoth [EMAIL PROTECTED]: > > > > I think this is connected to a problem people have been reporting on the > > > >

Re: Not a GCC bug (was Re: Big GCC bug!!! [Was: Re: Do not misuse Coverity please])

2005-03-30 Thread Nick Piggin
Kyle Moffett wrote: On Mar 30, 2005, at 18:38, Jakub Jelinek wrote: This testcase violates ISO C99 6.3.2.3: If a null pointer constant is converted to a pointer type, the resulting pointer, called a null pointer, is guaranteed to compare unequal to a pointer to any object or function. Except that

Re: 2.6.11, USB: High latency?

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 4:43 pm, Lee Revell wrote: > On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > > Quoth [EMAIL PROTECTED]: > > > I think this is connected to a problem people have been reporting on the > > > Linux audio lists. With some USB chipsets, USB audio interfaces just >

Re: [PATCH] USB: pegasus uses netif_msg_*() filters

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 4:39 pm, Jeff Garzik wrote: > > @@ -85,6 +85,11 @@ > > MODULE_PARM_DESC(loopback, "Enable MAC loopback mode (bit 0)"); > > MODULE_PARM_DESC(mii_mode, "Enable HomePNA mode (bit 0),default=MII mode = > > 0"); > > > > +/* use ethtool to change the level for any given

Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering

2005-03-30 Thread Jeff Garzik
David Brownell wrote: On Wednesday 30 March 2005 4:30 pm, Jeff Garzik wrote: Linux Kernel Mailing List wrote: ChangeSet 1.2181.4.72, 2005/03/24 15:31:29-08:00, [EMAIL PROTECTED] [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering This converts most of the usbnet code

Re: Not a GCC bug (was Re: Big GCC bug!!! [Was: Re: Do not misuse Coverity please])

2005-03-30 Thread Kyle Moffett
On Mar 30, 2005, at 18:38, Jakub Jelinek wrote: This testcase violates ISO C99 6.3.2.3: If a null pointer constant is converted to a pointer type, the resulting pointer, called a null pointer, is guaranteed to compare unequal to a pointer to any object or function. Except that the result of

Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)

2005-03-30 Thread Pau Aliagas
On Wed, 30 Mar 2005, H. J. Lu wrote: That is what the assembler generates, and should have generated, for "movw %ds,(%eax)" since Nov. 4, 2004. Could this be the reason for the reported slowdown in the last six months? Can you elaborate? There's an unexplained slowdown of kernel 2.6 detailed in

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
[cc list restored] On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > Quoth [EMAIL PROTECTED]: > > I think this is connected to a problem people have been reporting on the > > Linux audio lists. With some USB chipsets, USB audio interfaces just > > don't work. There are dropouts even at

Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering

2005-03-30 Thread David Brownell
On Wednesday 30 March 2005 4:30 pm, Jeff Garzik wrote: > Linux Kernel Mailing List wrote: > > ChangeSet 1.2181.4.72, 2005/03/24 15:31:29-08:00, [EMAIL PROTECTED] > > > > [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering > > > > This converts most of the usbnet code to actually

Re: Directory link count wrapping on Linux/XFS/i386?

2005-03-30 Thread Nathan Scott
On Wed, Mar 30, 2005 at 01:06:01PM -0700, Andreas Dilger wrote: > On Mar 30, 2005 20:43 +0100, David Malone wrote: > > It seems that internally xfs uses a 32 bit field for the link count, > > and the stat64 syscalls use a 32 bit field. These fields are copied > > via the vattr structure in

Re: [1/5] Orinoco merge updates, part the fourth: wireless stats updates

2005-03-30 Thread Jeff Garzik
applied 1-5 - 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/lkml/

Re: 2.6.11, USB: High latency?

2005-03-30 Thread Lee Revell
On Wed, 2005-03-30 at 14:57 -0800, David Brownell wrote: > Quoth [EMAIL PROTECTED]: > > I think this is connected to a problem people have been reporting on the > > Linux audio lists. With some USB chipsets, USB audio interfaces just > > don't work. There are dropouts even at very high

Re: i386/x86_64 segment register issuses (Re: PATCH: Fix x86 segment register access)

2005-03-30 Thread H. J. Lu
On Thu, Mar 31, 2005 at 12:18:55AM +0200, Pau Aliagas wrote: > On Wed, 30 Mar 2005, H. J. Lu wrote: > > >On Wed, Mar 30, 2005 at 07:57:28AM -0800, Linus Torvalds wrote: > > >>>There is no such an instruction of "movl %ds,(%eax)". The old assembler > >>>accepts it and turns it into "movw

Re: [PATCH] USB: pegasus uses netif_msg_*() filters

2005-03-30 Thread Jeff Garzik
Linux Kernel Mailing List wrote: ChangeSet 1.2181.4.70, 2005/03/24 15:30:57-08:00, [EMAIL PROTECTED] [PATCH] USB: pegasus uses netif_msg_*() filters This updates the messaging for the pegasus driver: - Use driver model diagnostics or printk using the

Re: [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering

2005-03-30 Thread Jeff Garzik
Linux Kernel Mailing List wrote: ChangeSet 1.2181.4.72, 2005/03/24 15:31:29-08:00, [EMAIL PROTECTED] [PATCH] USB: usbnet uses netif_msg_*() ethtool filtering This converts most of the usbnet code to actually use the ethtool message flags. The ASIX code is left

Re: Fw: Hangcheck problem

2005-03-30 Thread Noah Silverman
Joel, I'm not specifically loading hangcheck anywhere. I just installed slackware and mysql on the box. Nothing special. -N Joel Becker wrote: >>Date: Wed, 30 Mar 2005 12:45:43 -0800 >>From: Noah Silverman <[EMAIL PROTECTED]> >>To: linux-kernel@vger.kernel.org >>Subject: Hangcheck problem

Re: [ckrm-tech] Re: [patch 0/8] CKRM: Core patch set

2005-03-30 Thread Chandra Seetharaman
On Wed, Mar 30, 2005 at 10:55:05PM +0200, Diego Calleja wrote: > El Tue, 29 Mar 2005 22:05:30 -0800, > Paul Jackson <[EMAIL PROTECTED]> escribió: > > > > worth having. I for one am a CKRM skeptic, so won't be much help to you > > in that quest. Good luck. > > > > I don't see any performance

2.6.12-rc1-RT-V0.7.41-15: it_real_fn oops on boot in run_timer_softirq

2005-03-30 Thread Lee Revell
Since 2.6.12-rc1-RT something I get this Oops on boot about 50% of the time. It's clearly some kind of race because if I just reboot again it works. Seems to happen shortly after ksoftirqd startup (maybe the first time we hit the timer softirq?). This is (lazily) hand copied and incomplete, but

Reading root bridge resources

2005-03-30 Thread Rajesh Shah
Greg, A while back I had volunteered to write a patch that stores the resource ranges being decoded by root bridges for ACPI based i386 and x86_64 systems. The thread at: http://sourceforge.net/mailarchive/message.php?msg_id=10604487 has some context regarding this. The basic intent was to allow

Re: AMD64 Machine hardlocks when using memset

2005-03-30 Thread Matthias-Christian Ott
Philip Lawatsch schrieb: Hi, I do have a very strange problem: If I memset a ~1meg buffer some thousand times (in the userspace) it will hardlock my machine. I've been using 2.6.12-rc1 and also a lot of other kernels (2.6.9, 2.6.11). I've tried it both using a 32 bit kernel and a 64 bit kernel.

  1   2   3   4   5   6   7   >