Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Alan Stern
On Mon, 12 Mar 2007, Dmitry Torokhov wrote: Do you think Linus would listen if all three of us (plus maybe Greg) tried to convince him? If we'd accompany the argument with the patch that changes scsi to use wq to perform deletion so we don't have deadlock regression in the kernel he

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Mike Galbraith
On Tue, 2007-03-13 at 07:38 +1100, Con Kolivas wrote: On Tuesday 13 March 2007 07:11, Mike Galbraith wrote: Killing the known corner case starvation scenarios is wonderful, but let's not just pretend that interactive tasks don't have any special requirements. Now you're really making a

Slab corruption - file_free_rcu ?

2007-03-12 Thread Ian McDonald
Folks, I'm getting this sort of message in my logs on occasion and my system dies on me some time later. Mar 13 08:52:02 localhost kernel: [ 343.931624] Slab corruption: start=d2756f04, len=208 Mar 13 08:52:02 localhost kernel: [ 343.932366] Redzone: 0x5a2cf071/0x5a2cf071. Mar 13 08:52:02

Re: [PATCH] x86_64, i386: Add command line length to boot protocol

2007-03-12 Thread Dave Jones
On Mon, Mar 12, 2007 at 10:43:52AM +, Pavel Machek wrote: On Tue 2007-03-06 13:21:34, Dave Jones wrote: On Tue, Mar 06, 2007 at 07:14:30PM +0100, Bernhard Walle wrote: +cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the command line, Why a long? It's

Re: [PATCH] Software Suspend: Fix suspend when console is in VT_AUTO+KD_GRAPHICS mode

2007-03-12 Thread Pavel Machek
Hi! When the console is in VT_AUTO+KD_GRAPHICS mode, switching to the SUSPEND_CONSOLE fails, resulting in vt_waitactive() waiting indefinitely or until the task is interrupted. This patch tests if a console switch can occur in set_console() and returns early if a console switch is not

Re: [PATCH] MPT FUSION: Delete unused header files.

2007-03-12 Thread David Miller
From: Moore, Eric [EMAIL PROTECTED] Date: Mon, 12 Mar 2007 10:19:18 -0600 Valdis.Kletnieks silly little rant: Certainly appropriate content for something on your website, and vendors who provide programs like dmidecode and parsemce are always welcome. I could probably be convinced

Re: [PATCH 1/2] mm: move common segment checks to separate helper function (v6)

2007-03-12 Thread Dmitriy Monakhov
Nick Piggin [EMAIL PROTECTED] writes: On Mon, Mar 12, 2007 at 10:57:53AM +0300, Dmitriy Monakhov wrote: I realy don't want to be annoying by sending this patcheset over and over again. If anyone think this patch is realy cappy, please comment what exectly is bad. Thank you. Doesn't seem

[PATCH 2/2] incorrect direct io error handling (v7)

2007-03-12 Thread Dmitriy Monakhov
Changes against v6: - Handle direct_io failure inside generic_file_direct_write() as it was recommend by Andrew (during discussion v1), and by Nick (during discussion v6). - change comments, make it more clear. - one more time check what __generic_file_aio_write_nolock() always called

[PATCH 1/2] mm: move common segment checks to separate helper function (v7)

2007-03-12 Thread Dmitriy Monakhov
Changes against v6 - remove duplicated code from xfs,ntfs - export generic_segment_checks, because it used by xfs,nfs now. - change arguments initialization pocily according to Nick's comments. Tested with: ltp readv/writev tests Signed-off-by: Monakhov Dmitriy [EMAIL PROTECTED] ---

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-12 Thread Serge E. Hallyn
Quoting Srivatsa Vaddagiri ([EMAIL PROTECTED]): On Fri, Mar 09, 2007 at 02:09:35PM -0800, Paul Menage wrote: 3. This next leads me to think that 'tasks' file in each directory doesnt make sense for containers. In fact it can lend itself to error situations (by

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-12 Thread Srivatsa Vaddagiri
On Mon, Mar 12, 2007 at 10:56:43AM -0500, Serge E. Hallyn wrote: What's wrong with that? I had been asking around on what is the fundamental unit of res mgmt for vservers and the answer I got (from Herbert) was all tasks that are in the same pid namespace. From what you are saying above, it

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-12 Thread Serge E. Hallyn
Quoting Srivatsa Vaddagiri ([EMAIL PROTECTED]): On Mon, Mar 12, 2007 at 10:56:43AM -0500, Serge E. Hallyn wrote: What's wrong with that? I had been asking around on what is the fundamental unit of res mgmt for vservers and the answer I got (from Herbert) was all tasks that are in the same

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-12 Thread Paul Jackson
vatsa wrote: This assumes that you can see the global vfs namespace right? What if you are inside a container/vserver which restricts your vfs namespace? i.e /dev/cpusets seen from one container is not same as what is seen from another container . Well, yes. But that restriction on the

Re: [ckrm-tech] [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-03-12 Thread Srivatsa Vaddagiri
On Sun, Mar 11, 2007 at 12:38:43PM -0700, Paul Jackson wrote: The primary reason for the cpuset double locking, as I recall, was because cpusets needs to access cpusets inside the memory allocator. needs to access cpusets - can you be more specific? Being able to safely walk cpuset-parent

Re: Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1]

2007-03-12 Thread Jiri Kosina
(trimmed CC list a bit) On Mon, 12 Mar 2007, Jiri Slaby wrote: UHCI: Eliminate asynchronous skeleton Queue Headers Post it along with the usbmon log, and I'll try to figure out what happened. Here it comes: USBMON: f7525b40 1832950485 C Ii:004:01 0 8 = 5300 f7525b40

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Serge Belyshev
Mike Galbraith [EMAIL PROTECTED] writes: [snip] And let's not lose sight of things with this one testcase. RSDL fixes - every starvation case - all fairness isssues - is better 95% of the time on the desktop I don't know where you got that 95% number from. For the most part, the

[PATCH] mtd: PMC MSP71xx flash/rootfs mappings

2007-03-12 Thread Marc St-Jean
[PATCH] mtd: PMC MSP71xx flash/rootfs mappings Patch to add flash and rootfs mappings for the PMC-Sierra MSP71xx devices. This patch references some platform support files previously submitted to the [EMAIL PROTECTED] list. Thanks, Marc Signed-off-by: Marc St-Jean [EMAIL PROTECTED] --- This

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Herbert Poetzl
On Mon, Mar 12, 2007 at 12:02:01PM +0300, Pavel Emelianov wrote: Maybe you have some ideas how we can decide on this? We need to work out what the requirements are before we can settle on an implementation. Linux-VServer (and probably OpenVZ): - shared mappings of 'shared' files

[PATCH 0/3] swsusp: Stop using page flags

2007-03-12 Thread Rafael J. Wysocki
Hi, The following three patches make swsusp use its own data structures for memory management instead of special page flags, so that these page flags can be used for other purposes. Greetings, Rafael -- If you don't have the time to read, you don't have the time or the tools to write.

[PATCH 1/3] swsusp: Use inline functions for changing page flags

2007-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Replace direct invocations of SetPageNosave(), SetPageNosaveFree() etc. with calls to inline functions that can be changed in subsequent patches without modifying the code calling them. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] Acked-by: Pavel

[PATCH 3/3] mm: Remove unused page flags

2007-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Remove the two page flags that were previously used by swsusp and are no longer needed. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] Acked-by: Pavel Machek [EMAIL PROTECTED] --- include/linux/page-flags.h | 12 1 file changed, 12

[PATCH 2/3] swsusp: Do not use page flags

2007-03-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Make swsusp use memory bitmaps instead of page flags for marking 'nosave' and free pages. This allows us to 'recycle' two page flags that can be used for other purposes. Also, the memory needed to store the bitmaps is allocated when necessary (ie.

RE: [PATCH] MPT FUSION: Delete unused header files.

2007-03-12 Thread Moore, Eric
If you're going to include it just for the sake of including it, not because the code in question actually uses types or function declarations defined in there, don't bother, you're just using an anti-social mechanism to keep this header file in the tree. Please, let's kill this header

Re: [PATCH] MPT FUSION: Delete unused header files.

2007-03-12 Thread David Miller
From: Moore, Eric [EMAIL PROTECTED] Date: Mon, 12 Mar 2007 15:29:45 -0600 Beside including the header I plan to use every define in that header defined someplace in the source code. Now can I keep the header? For sure :-) - To unsubscribe from this list: send the line unsubscribe

Re: [ck] Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread jos poortvliet
Op Monday 12 March 2007, schreef Con Kolivas: If we fix 95% of the desktop and worsen 5% is that bad given how much else we've gained in the process? Killing the known corner case starvation scenarios is wonderful, but let's not just pretend that interactive tasks don't have any

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-12 Thread Richard Purdie
On Mon, 2007-03-12 at 16:31 -0400, Dmitry Torokhov wrote: On 3/12/07, Alan Stern [EMAIL PROTECTED] wrote: On Mon, 12 Mar 2007, Oliver Neukum wrote: I don't like reverting my own code. But I predict he'll tell you that a driver's bond with a device should be represented in a

Re: [ck] Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread michael chang
On 3/12/07, Con Kolivas [EMAIL PROTECTED] wrote: On Tuesday 13 March 2007 07:11, Mike Galbraith wrote: On Tue, 2007-03-13 at 05:49 +1100, Con Kolivas wrote: On Tuesday 13 March 2007 01:34, Mike Galbraith wrote: On Mon, 2007-03-12 at 22:23 +1100, Con Kolivas wrote: Mike the cpu is being

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Mike Galbraith
On Tue, 2007-03-13 at 00:05 +0300, Serge Belyshev wrote: Mike Galbraith [EMAIL PROTECTED] writes: [snip] And let's not lose sight of things with this one testcase. RSDL fixes - every starvation case - all fairness isssues - is better 95% of the time on the desktop I don't know

Re: Move to unshared VMAs in NOMMU mode?

2007-03-12 Thread Robin Getz
On Fri 9 Mar 2007 09:12, David Howells pondered: I've been considering how to deal with the SYSV SHM problem, and I think we may have to move to unshared VMAs in NOMMU mode to deal with this. Thanks for putting some good thoughts down. Currently, what we have is each mm_struct has in its

Re: _proxy_pda still makes linking modules fail

2007-03-12 Thread Rusty Russell
On Mon, 2007-03-12 at 10:48 +0100, Andi Kleen wrote: Rusty's pda-per_cpu patch will deal with this once and for all; have Not on x86-64. Indeed. Perhaps it's time I join the modern world and compile a 64-bit kernel... Will prepare patches, Rusty. - To unsubscribe from this list: send the

Re: SMP performance degradation with sysbench

2007-03-12 Thread Anton Blanchard
Hi Nick, Anyway, I'll keep experimenting. If anyone from MySQL wants to help look at this, send me a mail (eg. especially with the sched_setscheduler issue, you might be able to do something better). I took a look at this today and figured Id document it:

Re: [RFC PATCH 1/3] Add ability to keep track of callers of symbol_(get|put)

2007-03-12 Thread Rusty Russell
Hi Trent, Patch looks good, just one comment: On Mon, 2007-03-12 at 07:07 -0700, Trent Piepho wrote: + use = already_uses(a, b); + if (!use) { + printk(KERN_ERR module %s trying to un-use a module, %s, which + it is not using, a-name, b-name);

Re: [PATCH] BUILD_BUG_ON_ZERO - BUILD_BUG_OR_ZERO

2007-03-12 Thread Rusty Russell
On Mon, 2007-03-12 at 15:14 +0100, Stefan Richter wrote: Robert P. J. Day wrote: On Mon, 12 Mar 2007, Stefan Richter wrote: Rusty Russell wrote: OTOH, BUILD_BUG_OR_ZERO says what happens: either it's a build bug, or it's zero. What about ZERO_UNLESS_BUILD_BUG_ON(e)? It's long

Re: Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1]

2007-03-12 Thread Jiri Slaby
Jiri Kosina napsal(a): (trimmed CC list a bit) On Mon, 12 Mar 2007, Jiri Slaby wrote: UHCI: Eliminate asynchronous skeleton Queue Headers Post it along with the usbmon log, and I'll try to figure out what happened. Here it comes: USBMON: f7525b40 1832950485 C Ii:004:01 0 8 = 5300

Djprobes questions

2007-03-12 Thread Mathieu Desnoyers
Hi Masami, I recently had to add support for inline code patching on i386 to my marker infrastructure. Clearly, it looks like what is done in djprobes, with the main difference that I only patch the immediate value of a 2 bytes load immediate instruction. I think I found a solution to one of the

Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread)

2007-03-12 Thread Pavel Machek
Hi! Looks good to me! The other kthread_should_stop() calls in rcutorture.c should also become kthread_should_top_check_freeze(). Why is it useful? Because we want to avoid repeating while (!kthread_should_stop()) { try_to_freeze(); ... } in many places? Do

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Herbert Poetzl
On Mon, Mar 12, 2007 at 11:42:59AM -0700, Dave Hansen wrote: How about we drill down on these a bit more. On Mon, 2007-03-12 at 02:00 +0100, Herbert Poetzl wrote: - shared mappings of 'shared' files (binaries and libraries) to allow for reduced memory footprint when N identical

Re: [PATCH 2/2] pci: Repair pci_save/restore_state so we can restore one save many times.

2007-03-12 Thread Kok, Auke
Eric W. Biederman wrote: Because we do not reserve space for the pci-x and pci-e state in struct pci dev we need to dynamically allocate it. However because we need to support restore being called multiple times after a single save it is never safe to free the buffers we have allocated to hold

Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread)

2007-03-12 Thread Anton Blanchard
Do not do it, then. Confusion it causes is not worth saving one line of code. You do less typing, but the resulting code is _less_ readable, not more. Then please document it _clearly_ with the kthread code somewhere. The reason I brought this up is I had no idea we had to put the freezer

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Con Kolivas
On 13/03/07, Mike Galbraith [EMAIL PROTECTED] wrote: On Tue, 2007-03-13 at 07:38 +1100, Con Kolivas wrote: On Tuesday 13 March 2007 07:11, Mike Galbraith wrote: Killing the known corner case starvation scenarios is wonderful, but let's not just pretend that interactive tasks don't have

[PATCH 1/1] mm: Inconsistent use of node IDs

2007-03-12 Thread Ethan Solomita
This patch corrects inconsistent use of node numbers (variously nid or node) in the presence of fake NUMA. Both AMD and Intel x86_64 discovery code will determine a CPU's physical node and use that node when calling numa_add_cpu() to associate that CPU with the node, but numa_add_cpu() treats

[PATCH] Fix vmi time header bug

2007-03-12 Thread Zachary Amsden
Some gcc put this function in .init.text because the header didn't match. For 2.6.21-rc. Zach Index: linux-2.6.21/include/asm-i386/vmi_time.h === --- linux-2.6.21.orig/include/asm-i386/vmi_time.h 2007-03-06

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-12 Thread Giuliano Pochini
On Mon, 12 Mar 2007, Heiko Carstens wrote: On Sun, Mar 11, 2007 at 10:26:52PM +0100, Giuliano Pochini wrote: Since 2.6.20 /sys/devices/system/cpu/cpuX/online isn't there anymore. The directories exist, though. I also tested linux-2.6.21rc3. I had a look at the archives and I found nothing

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-12 Thread Blaisorblade
On Wednesday 07 March 2007 11:02, Nick Piggin wrote: On Wed, Mar 07, 2007 at 10:49:47AM +0100, Nick Piggin wrote: On Wed, Mar 07, 2007 at 01:44:20AM -0800, Bill Irwin wrote: On Wed, Mar 07, 2007 at 10:28:21AM +0100, Nick Piggin wrote: Depending on whether anyone wants it, and what

Re: Make sure we populate the initroot filesystem late enough

2007-03-12 Thread Paul TBBle Hampson
On Thu, Mar 01, 2007 at 09:30:56AM +0900, Michael Ellerman wrote: On Wed, 2007-02-28 at 10:13 +, David Woodhouse wrote: On Wed, 2007-02-28 at 07:43 +0100, Benjamin Herrenschmidt wrote: I wouldn't be that sure ... I've had problems in the past with PMU based cpufreq... looks like flushing

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Dave Hansen
On Mon, 2007-03-12 at 23:41 +0100, Herbert Poetzl wrote: On Mon, Mar 12, 2007 at 11:42:59AM -0700, Dave Hansen wrote: How about we drill down on these a bit more. On Mon, 2007-03-12 at 02:00 +0100, Herbert Poetzl wrote: - shared mappings of 'shared' files (binaries and

Re: [PATCH] x86_64, i386: Add command line length to boot protocol

2007-03-12 Thread Pavel Machek
Hi! +cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the command line, Why a long? It's unlikely that someone is going to have a command line bigger than 0x. Well, I could imagine overflowing that. Describing your numa setup, excluding few bad bits of

CONFIG_REORDER Kconfig help strange sentence.

2007-03-12 Thread Rusty Russell
OK, this confused me: Function reordering (REORDER) [N/y/?] (NEW) ? This option enables the toolchain to reorder functions for a more optimal TLB usage. If you have pretty much any version of binutils, this can increase your kernel build time by roughly

Re: [PATCH 1/1] mm: Inconsistent use of node IDs

2007-03-12 Thread Andi Kleen
On Monday 12 March 2007 23:51, Ethan Solomita wrote: This patch corrects inconsistent use of node numbers (variously nid or node) in the presence of fake NUMA. I think it's very consistent -- your patch would make it inconsistent though. Both AMD and Intel x86_64 discovery code will determine

Re: [PATCH] x86_64, i386: Add command line length to boot protocol

2007-03-12 Thread Dave Jones
On Tue, Mar 13, 2007 at 12:12:20AM +0100, Pavel Machek wrote: 65535 characters? Are you for real? Stop and think about just how big that is. If you have to create a boot command line that long, you have serious, serious issues. Well, it is about the same size as my .config... So?

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Herbert Poetzl
On Mon, Mar 12, 2007 at 03:25:07PM +0530, Balbir Singh wrote: doesn't look so good for me, mainly becaus of the additional per page data and per page processing on 4GB memory, with 100 guests, 50% shared for each guest, this basically means ~1mio pages, 500k shared and 1500k x

Re: RSDL v0.30 cpu scheduler for mainline kernels

2007-03-12 Thread David Miller
From: Con Kolivas [EMAIL PROTECTED] Date: Mon, 12 Mar 2007 10:58:11 +1100 http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc3-sched-rsdl-0.30.patch FWIW, this boots and seems to work well on sparc64. Tested on UP SunBlade1500 and 24cpu Niagara T1000. - To unsubscribe from this list:

Re: irda rmmod lockdep trace.

2007-03-12 Thread David Miller
From: Samuel Ortiz [EMAIL PROTECTED] Date: Mon, 12 Mar 2007 02:38:43 +0200 On Sat, Mar 10, 2007 at 07:43:26PM +0200, Samuel Ortiz wrote: Hi Dave, On Thu, Mar 08, 2007 at 05:54:36PM -0500, Dave Jones wrote: modprobe irda ; rmmod irda in 2.6.21rc3 gets me the spew below.. Well it seems

Re: [RFC][PATCH 4/7] RSS accounting hooks over the code

2007-03-12 Thread Herbert Poetzl
On Mon, Mar 12, 2007 at 09:50:08AM -0700, Dave Hansen wrote: On Mon, 2007-03-12 at 19:23 +0300, Kirill Korotaev wrote: For these you essentially need per-container page-_mapcount counter, otherwise you can't detect whether rss group still has the page in question being mapped in its

Re: [PATCH 1/1] mm: Inconsistent use of node IDs

2007-03-12 Thread Ethan Solomita
Andi Kleen wrote: On Monday 12 March 2007 23:51, Ethan Solomita wrote: This patch corrects inconsistent use of node numbers (variously nid or node) in the presence of fake NUMA. I think it's very consistent -- your patch would make it inconsistent though. It's consistent to call

Re: CONFIG_REORDER Kconfig help strange sentence.

2007-03-12 Thread Andi Kleen
On Tue, Mar 13, 2007 at 10:18:03AM +1100, Rusty Russell wrote: OK, this confused me: Function reordering (REORDER) [N/y/?] (NEW) ? This option enables the toolchain to reorder functions for a more optimal TLB usage. If you have pretty much any version of

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread David Lang
On Mon, 12 Mar 2007, Mike Galbraith wrote: On Tue, 2007-03-13 at 07:38 +1100, Con Kolivas wrote: On Tuesday 13 March 2007 07:11, Mike Galbraith wrote: Killing the known corner case starvation scenarios is wonderful, but let's not just pretend that interactive tasks don't have any special

Re: [PATCH] Delete superfluous source file net/wanrouter/af_wanpipe.c.

2007-03-12 Thread David Miller
From: Robert P. J. Day [EMAIL PROTECTED] Date: Sat, 10 Mar 2007 03:49:52 -0500 (EST) Delete the apparently superfluous source file net/wanrouter/af_wanpipe.c. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Applied, thanks Robert. This thing isn't even built in 2.4.x :-) Although

Re: [PATCH 2/2] xfs: stop using kmalloc in xfs_buf_get_noaddr

2007-03-12 Thread Timothy Shimmin
Hi, --On 9 March 2007 12:55:11 PM +0100 Christoph Hellwig [EMAIL PROTECTED] wrote: Ed Cashin found a bug in the error handling code for the case where a page allocation fails. Here's the updated version: Index: linux-2.6/fs/xfs/linux-2.6/xfs_buf.c

Re: [ck] Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Thibaut VARENE
On 3/12/07, michael chang [EMAIL PROTECTED] wrote: Considering the concepts put out by projects such as BOINC and [EMAIL PROTECTED], I wouldn't be thoroughly surprised by this ideology, although I do question the particular way this test case is being run. If Con actually implements

Re: /sys/devices/system/cpu/cpuX/online are missing

2007-03-12 Thread Andreas Schwab
Giuliano Pochini [EMAIL PROTECTED] writes: I had a look at arch/powerpc/kernel/smp.c but I'm not familiar at all with those parts of the kernel. See arch/powerpc/kernel/sysfs.c:topology_init. I don't think there is anything to do here. You probably don't have CONFIG_HOTPLUG_CPU enabled.

Re: sys_write() racy for multi-threaded append?

2007-03-12 Thread Michael K. Edwards
On 3/12/07, Bodo Eggert [EMAIL PROTECTED] wrote: On Mon, 12 Mar 2007, Michael K. Edwards wrote: That's fine when you're doing integration test, and should probably be the default during development. But if the race is first exposed in the field, or if the developer is trying to concentrate

[PATCH] i386: Simplify smp_call_function*() by using common implementation

2007-03-12 Thread Jeremy Fitzhardinge
Subject: Simplify smp_call_function*() by using common implementation smp_call_function and smp_call_function_single are almost complete duplicates of the same logic. This patch combines them by implementing them in terms of the more general smp_call_function_mask(). Signed-off-by: Jeremy

Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)

2007-03-12 Thread Nick Piggin
On Tue, Mar 13, 2007 at 12:01:13AM +0100, Blaisorblade wrote: On Wednesday 07 March 2007 11:02, Nick Piggin wrote: Yeah, tmpfs/shm segs are what I was thinking about. If UML can live with that as well, then I think it might be a good option. Oh, hmm if you can truncate these

Re: sys_write() racy for multi-threaded append?

2007-03-12 Thread Alan Cox
Writing to a file from multiple processes is not usually the problem. Writing to a common struct file from multiple threads is. Not normally because POSIX sensibly invented pread/pwrite. Forgot preadv/pwritev but they did the basics and end of problem So what? My products are shipping _now_.

Stracing Amanda (was: RSDL for 2.6.21-rc3- 0.29)

2007-03-12 Thread Douglas McNaught
Patrick Mau [EMAIL PROTECTED] writes: Why not temporarly replace /bin/tar with a shell script that does: #!/bin/sh exec strace -f -o output /bin/real.tar $@ You beat me to it. :) I've done that before; it's a great suggestion. Except that if you expect 'tar' to be invoked multiple times in

Fwd: PROBLEM: 2.6.20-1 not working on ibook g4 (BUG/Oops)

2007-03-12 Thread young dave
-- Forwarded message -- Hi, I have tested on my mac mini g4. The 2.6.21-rc2 will cause oops like the above post. And for the new 2.6.21-rc3-git7 , the kernel load ok, penguin pixmap appears, but then it stopped, there's no error messages also. Regards dave 2007/3/7, Benjamin

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Balbir Singh
hmm, it is very unlikely that this would happen, for several reasons ... and indeed, checking the thread in my mailbox shows that akpm dropped you ... But, I got Andrew's email. Subject: [RFC][PATCH 2/7] RSS controller core

rmmod uhci_hcd - BUG: atomic counter underflow

2007-03-12 Thread Jiri Slaby
Hi. After rmmoding of uhci_hcd on fresh booted 2.6.21-rc3-mm2 I got this: BUG: atomic counter underflow at: [c0104f0b] show_trace_log_lvl+0x1a/0x30 [c01055f3] show_trace+0x12/0x14 [c010567a] dump_stack+0x16/0x18 [c01dc41b] kref_put+0x4d/0xb2 [c01db754] kobject_put+0x14/0x16 [c01db8a3]

Re: rmmod uhci_hcd - BUG: atomic counter underflow

2007-03-12 Thread Alan Stern
On Mon, 12 Mar 2007, Jiri Slaby wrote: Hi. After rmmoding of uhci_hcd on fresh booted 2.6.21-rc3-mm2 I got this: BUG: atomic counter underflow at: [c0104f0b] show_trace_log_lvl+0x1a/0x30 [c01055f3] show_trace+0x12/0x14 [c010567a] dump_stack+0x16/0x18 [c01dc41b]

Re: rmmod uhci_hcd - BUG: atomic counter underflow

2007-03-12 Thread Jiri Slaby
Alan Stern napsal(a): On Mon, 12 Mar 2007, Jiri Slaby wrote: After rmmoding of uhci_hcd on fresh booted 2.6.21-rc3-mm2 I got this: BUG: atomic counter underflow at: [...] [c01db754] kobject_put+0x14/0x16 [c01db8a3] kobject_unregister+0x22/0x25 [c024c987] bus_remove_driver+0x75/0x82

Re: rmmod uhci_hcd - BUG: atomic counter underflow

2007-03-12 Thread Jiri Slaby
Jiri Slaby napsal(a): Alan Stern napsal(a): On Mon, 12 Mar 2007, Jiri Slaby wrote: After rmmoding of uhci_hcd on fresh booted 2.6.21-rc3-mm2 I got this: BUG: atomic counter underflow at: [...] [c01db754] kobject_put+0x14/0x16 [c01db8a3] kobject_unregister+0x22/0x25 [c024c987]

Re: [PATCH] usb-serial regression (Oops) in 2.6.21-rc*

2007-03-12 Thread Greg KH
On Mon, Mar 12, 2007 at 04:22:22PM -0400, Mark Lord wrote: Oliver Neukum wrote: Mark Lord wrote: Okay, from that part (above), the problem is obvious: in that the MCT U232 converter now disconnected appears, and then we continue to try and call the driver's method.. Oops! .. IMHO shutdown()

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-12 Thread Mariusz Kozlowski
Hello, Any thoughts? Another mistake on my part. The correct command is echo -n '2-2:1.0' /sys/bus/usb/drivers/usbhid/unbind Without the -n, the system thinks that the newline character at the end of the line written by echo is part of the filename. Nice tip. Thanks. I've

Re: [linux-usb-devel] 2.6.21-rc3-mm1

2007-03-12 Thread Jiri Kosina
On Mon, 12 Mar 2007, Mariusz Kozlowski wrote: echo -n '2-2:1.0' /sys/bus/usb/drivers/usbhid/unbind Without the -n, the system thinks that the newline character at the end of the line written by echo is part of the filename. Nice tip. Thanks. I've run some tests and as expected - no

Re: [patch 3/8] per backing_dev dirty and writeback page accounting

2007-03-12 Thread David Chinner
On Mon, Mar 12, 2007 at 12:40:47PM +0100, Miklos Szeredi wrote: I have no idea how serious the scalability problems with this are. If they are serious, different solutions can probably be found for the above, but this is certainly the simplest. Atomic operations to a single

Re: [patch 3/8] per backing_dev dirty and writeback page accounting

2007-03-12 Thread Miklos Szeredi
I'll try to explain the reason for the deadlock first. IIUC, your problem is that there's another bdi that holds all the dirty pages, and this throttle loop never flushes pages from that other bdi and we sleep instead. It seems to me that the fundamental problem is that to clean the pages we

Re: [patch 3/8] per backing_dev dirty and writeback page accounting

2007-03-12 Thread David Chinner
On Mon, Mar 12, 2007 at 11:36:16PM +0100, Miklos Szeredi wrote: I'll try to explain the reason for the deadlock first. Ah, thanks for that. IIUC, your problem is that there's another bdi that holds all the dirty pages, and this throttle loop never flushes pages from that other bdi and we

Re: [RFC] [Patch 1/1] IBAC Patch

2007-03-12 Thread Mimi Zohar
On Thu, 2007-03-08 at 22:19 -0500, [EMAIL PROTECTED] wrote: On Thu, 08 Mar 2007 17:58:16 EST, Mimi Zohar said: This is a request for comments for a new Integrity Based Access Control(IBAC) LSM module which bases access control decisions on the new integrity framework services.

Re: Odd suspend regression in 2.6.21-rc[123]

2007-03-12 Thread Len Brown
On Saturday 10 March 2007 01:18, Ray Lee wrote: Ray Lee wrote: In 2.6.21-rc1,2,3, my laptop will fully suspend to ram, but then *immediately* resumes back from suspension. (It resumes just fine, as well.) [...] HP/Compaq NX6125 system, AMD64, dmesg attached. hg bisect found the below

ACPI: resolve GPE immediate wakeup regression

2007-03-12 Thread Ray Lee
Len Brown wrote: On Saturday 10 March 2007 01:18, Ray Lee wrote: Ray Lee wrote: In 2.6.21-rc1,2,3, my laptop will fully suspend to ram, but then *immediately* resumes back from suspension. (It resumes just fine, as well.) [...] HP/Compaq NX6125 system, AMD64, dmesg attached. I'd rather

Re: ACPI: resolve GPE immediate wakeup regression

2007-03-12 Thread Len Brown
On Monday 12 March 2007 12:59, Ray Lee wrote: Len Brown wrote: On Saturday 10 March 2007 01:18, Ray Lee wrote: Ray Lee wrote: In 2.6.21-rc1,2,3, my laptop will fully suspend to ram, but then *immediately* resumes back from suspension. (It resumes just fine, as well.) [...]

Re: [PATCH] ACPI disabled due to DMI failure or blacklisted year should be noted, as is done with other ACPI blacklisting

2007-03-12 Thread Anthony Godshall, Ampro Computers, Inc.
On Wednesday 07 March 2007 17:00, [EMAIL PROTECTED] wrote: The patch titled ACPI disabled due to DMI failure or blacklisted year should be noted, as is done with other ACPI blacklisting has been added to the -mm tree. Its filename is

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Srivatsa Vaddagiri
On Tue, Mar 13, 2007 at 07:27:06AM +0530, Balbir Singh wrote: I am not sure what went wrong. Could you please check your mail client, cause it seemed to even change email address to smtp.osdl.org which bounced back when I wrote to you earlier. I have a problem doing a group-reply in mutt to

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Lee Revell
On 3/12/07, David Lang [EMAIL PROTECTED] wrote: the problem comes when this isn't enough. if you have several CPU hogs on a system, and they are all around the same priority level, how can the scheduler know which one needs the CPU the most for good interactivity? in some cases you may be able

Re: Stracing Amanda (was: RSDL for 2.6.21-rc3- 0.29)

2007-03-12 Thread Gene Heskett
On Monday 12 March 2007, Douglas McNaught wrote: Patrick Mau [EMAIL PROTECTED] writes: Why not temporarly replace /bin/tar with a shell script that does: #!/bin/sh exec strace -f -o output /bin/real.tar $@ You beat me to it. :) I've done that before; it's a great suggestion. Except that if

Re: Stracing Amanda (was: RSDL for 2.6.21-rc3- 0.29)

2007-03-12 Thread Nish Aravamudan
On 3/12/07, Gene Heskett [EMAIL PROTECTED] wrote: On Monday 12 March 2007, Douglas McNaught wrote: Patrick Mau [EMAIL PROTECTED] writes: Why not temporarly replace /bin/tar with a shell script that does: #!/bin/sh exec strace -f -o output /bin/real.tar $@ You beat me to it. :) I've done

Re: Make sure we populate the initroot filesystem late enough

2007-03-12 Thread Kumar Gala
On Mar 12, 2007, at 6:01 PM, Paul TBBle Hampson wrote: On Thu, Mar 01, 2007 at 09:30:56AM +0900, Michael Ellerman wrote: On Wed, 2007-02-28 at 10:13 +, David Woodhouse wrote: On Wed, 2007-02-28 at 07:43 +0100, Benjamin Herrenschmidt wrote: I wouldn't be that sure ... I've had problems in

Re: RSDL v0.30 cpu scheduler for mainline kernels

2007-03-12 Thread Con Kolivas
On Tuesday 13 March 2007 10:46, David Miller wrote: From: Con Kolivas [EMAIL PROTECTED] Date: Mon, 12 Mar 2007 10:58:11 +1100 http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc3-sched-rsdl-0. 30.patch FWIW, this boots and seems to work well on sparc64. Tested on UP SunBlade1500

RE: Question: removal of syscall macros?

2007-03-12 Thread albcamus
2006/12/14, Teunis Peters [EMAIL PROTECTED]: Now that syscall macros have been pulled from the -mm tree, what method is recommended to use syscalls? (I've wasted a day grubbing through sources before giving up and copying the old syscall macros into one key driver) _syscall macros are used

Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread)

2007-03-12 Thread Srivatsa Vaddagiri
On Mon, Mar 12, 2007 at 05:45:24PM -0500, Anton Blanchard wrote: Then please document it _clearly_ with the kthread code somewhere. Document as well in the kernel_thread() API, as I notice people still use kernel_thread() some places (ex: rtasd.c in powerpc arch)? The reason I brought this up

Attachment Received Autoreply

2007-03-12 Thread Virus Research
Thank you for your file-sample. We will review your email and either send you a response or forward to the appropriate contact. If you have sent us a file which is not in a password protected zip file (password - infected) then your sample will not be reviewed. __ Virus Research accepts

Re: Stracing Amanda (was: RSDL for 2.6.21-rc3- 0.29)

2007-03-12 Thread Gene Heskett
On Monday 12 March 2007, Nish Aravamudan wrote: On 3/12/07, Gene Heskett [EMAIL PROTECTED] wrote: On Monday 12 March 2007, Douglas McNaught wrote: Patrick Mau [EMAIL PROTECTED] writes: Why not temporarly replace /bin/tar with a shell script that does: #!/bin/sh exec strace -f -o output

3280277 - ynlg

2007-03-12 Thread Virus Research
AVERT Labs - Beaverton Current Scan Engine Version:5100.0194 Current DAT Version:4982. Thank you for your submission. Analysis ID: 3280277 File NameFindings Detection Type Extra

2.6.21rc suspend to ram regression on Lenovo X60

2007-03-12 Thread Dave Jones
I spent considerable time over the last day or so bisecting to find out why an X60 stopped resuming somewhen between 2.6.20 and current -git. (Total lockup, black screen of death). The bisect log looked like this. git-bisect start # bad: [c8f71b01a50597e298dc3214a2f2be7b8d31170c] Linux

Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

2007-03-12 Thread Kyle Moffett
On Mar 12, 2007, at 11:26:25, Linus Torvalds wrote: So good fairness really should involve some notion of work done for others. It's just not very easy to do.. Maybe extend UNIX sockets to add another passable object type vis-a- vis SCM_RIGHTS, except in this case SCM_CPUTIME. You call

Re: RSDL v0.30 cpu scheduler for mainline kernels

2007-03-12 Thread Willy Tarreau
On Tue, Mar 13, 2007 at 02:05:23PM +1100, Con Kolivas wrote: On Tuesday 13 March 2007 10:46, David Miller wrote: From: Con Kolivas [EMAIL PROTECTED] Date: Mon, 12 Mar 2007 10:58:11 +1100 http://ck.kolivas.org/patches/staircase-deadline/2.6.21-rc3-sched-rsdl-0. 30.patch FWIW, this

[PATCH 1/5] statically initialize struct pid for swapper

2007-03-12 Thread sukadev
From: Sukadev Bhattiprolu [EMAIL PROTECTED] Subject: [PATCH 1/5] statically initialize struct pid for swapper Statically initialize a struct pid for the swapper process (pid_t == 0) and attach it to init_task. This is needed so task_pid(), task_pgrp() and task_session() interfaces work on the

[PATCH 3/5] Use struct pid parameter in copy_process()

2007-03-12 Thread sukadev
From: Sukadev Bhattiprolu [EMAIL PROTECTED] Subject: [PATCH 3/5] Use struct pid parameter in copy_process() Modify copy_process() to take a struct pid * parameter instead of a pid_t. This simplifies the code a bit and also avoids having to call find_pid() to convert the pid_t to a struct pid.

[PATCH 2/5] Explicitly set pgid and sid of init process

2007-03-12 Thread sukadev
From: Sukadev Bhattiprolu [EMAIL PROTECTED] Subject: [PATCH 2/5] Explicitly set pgid and sid of init process Explicitly set pgid and sid of init process to 1. Signed-off-by: Sukadev Bhattiprolu [EMAIL PROTECTED] Cc: Cedric Le Goater [EMAIL PROTECTED] Cc: Dave Hansen [EMAIL PROTECTED] Cc: Serge

<    4   5   6   7   8   9   10   >