Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Pavel Emelyanov
Andrew Morton wrote: > On Fri, 02 Nov 2007 10:55:02 +0300 Pavel Emelyanov <[EMAIL PROTECTED]> wrote: > >> Ulrich Drepper wrote: >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>> Pavel Emelyanov wrote: The "fix" I mention is just returning -EINVAL in case user orders CLONE_NE

[PATCH] make getdelays cgroupstats aware

2007-11-02 Thread Balbir Singh
This patch was dropped from the -mm tree and not merged back. Updated with the name change of containerstats to cgroupstats Signed-off-by: Balbir Singh <[EMAIL PROTECTED]> --- Documentation/accounting/getdelays.c | 43 ++- 1 file changed, 42 insertions(+), 1 d

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Andrew Morton
On Fri, 02 Nov 2007 10:55:02 +0300 Pavel Emelyanov <[EMAIL PROTECTED]> wrote: > Ulrich Drepper wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Pavel Emelyanov wrote: > >> The "fix" I mention is just returning -EINVAL in case user orders > >> CLONE_NEWPIDS > > > > That is th

crash 2.6.24-rc1-git10

2007-11-02 Thread werner
Kernel Crash -- Details see below globc 2.7 glib2 2.14.2 W.Landgraf www.copaya.yi.org = 2.6.24-rc1-git10 EIP 0600: EFLAGS 00010212 CPU 0 EIUP is at xor_sse_2+0x34/0x200 EAX: 10 EBX fffedb22

[git pull] lockdep for v2.6.24-rc1

2007-11-02 Thread Peter Zijlstra
The following changes since commit 2a397e82c7db18019e408f953dd58dc1963a328c: Linus Torvalds (1): Merge git://git.kernel.org/.../bart/ide-2.6 are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-lockdep.git v2.6.24-rc1-lockdep Gautham

Re: [2.6.24-rc1][BUG] Oops on battery removal

2007-11-02 Thread Rolf Eike Beer
Alexey Starikovskiy wrote: > Rolf Eike Beer wrote: > > Rolf Eike Beer wrote: > >> Hi, > >> > >> this happened while I removed my battery on bootup. Complete dmesg is > >> attached. Kernel is 2.6.24-rc1-git of yesterday (last commit was > >> d919fd433b5823d1cf9d0688eb2eec183de9b74c). > > > > Ok, I f

Re: [linux-pm] [RFC][PATCH 1/3] Suspend: Testing facility

2007-11-02 Thread Rafael J. Wysocki
On Friday, 2 November 2007 11:33, Johannes Berg wrote: > > > 5 - test the freezing of processes > > > +/* Suspend test levels */ > > +enum { > > + TEST_NONE, > > Without reading the code, I assume that this enum controls those levels. > I think a comment that it is user-space visible API and s

[PATCH] Fix delay accounting regression

2007-11-02 Thread Balbir Singh
Fix the delay accounting regression introduced by commit 75d4ef16a6aa84f708188bada182315f80aab6fa. rq no longer has sched_info data associated with it. task_struct sched_info structure is used by delay accounting to provide back statistics to user space. Signed-off-by: Balbir Singh <[EMAIL PROTE

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Peter Zijlstra
One more question, I currently prefix the names with "bdi-", is that needed? That is, if I give the bdi object a parent, how will it look? Would a bdi device with name "sda" with a block device called "sda" as parent look like: /sys/block/sda/sda? Or would if be called /sys/block/sda/bdi:sda or j

Re: [RFC][PATCH] Fix hang in posix_locks_deadlock()

2007-11-02 Thread George G. Davis
On Fri, Oct 26, 2007 at 01:07:50PM -0400, J. Bruce Fields wrote: > > It may take multiple steps to identify a deadlock. With the above > you'll miss deadlocks like > > process 1 is requesting a lock held by process 2 > process 2 is blocking on a lock held by process 3 > process

Re: [Linux-am33-list] [PATCH 0/2] MN10300: Add the MN10300 architecture to Linux kernel [try #2]

2007-11-02 Thread Suzuki Takashi
Sorry for the late. On 10/31/07, David Howells <[EMAIL PROTECTED]> wrote: > > But is there any utility that depends on that uname says mn10300? > > autoconf:-) I forgot again the one as an host environment. :-) AFAIK, mn10300 series are for embedded systems and I've never heard as development hos

[2.6 patch] usbnet.c: check for the right MII variable

2007-11-02 Thread Adrian Bunk
On Thu, Nov 01, 2007 at 04:52:39PM -0700, David Brownell wrote: > On Thursday 01 November 2007, Adrian Bunk wrote: > > All this USB_USBNET_MII trickery is simply not worth it considering how > > few code it saves. > > Depends on what systems you're talking about. Forcing unused > code into the k

[2.6 patch] kernel/power/: move function prototypes to header

2007-11-02 Thread Adrian Bunk
This patch moves the prototypes of count_highmem_pages() and restore_highmem() to kernel/power/power.h Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- kernel/power/power.h|8 kernel/power/snapshot.c |1 - kernel/power/swsusp.c |8 3 files changed, 8 inser

[2.6 patch] kernel/notifier.c should #include

2007-11-02 Thread Adrian Bunk
Every file should include the headers containing the prototypes for its global functions (in this case {,un}register_reboot_notifier()). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- f204a842031e86e45e97c26e955565b5994f7c7c diff --git a/kernel/notifier.c b/kernel/notifier.c index 4253f47..6

[2.6 patch] proper prototype for signals_init()

2007-11-02 Thread Adrian Bunk
This patch adds a proper prototype for signals_init() in include/linux/signal.h Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/signal.h |2 ++ init/main.c|2 +- 2 files changed, 3 insertions(+), 1 deletion(-) bf5554aad7a7880c3573f89e5fbed8231734b1a4 diff

i8k for Dell Vostro (patch)

2007-11-02 Thread Federico Heinz
This trivial patch adds support for i8k on the new Dell Vostro models. I tested it on my Vostro 1400, and it works. It does print a warning when loading the module: i8k: unable to get SMM BIOS version But I couldn't figure out how to fix that. The module seems to work fine, anyway...

[2.6 patch] kernel/ptrace.c should #include

2007-11-02 Thread Adrian Bunk
Every file should include the headers containing the prototypes for its global functions (in this case sys_ptrace()). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 516dd6c4f50faf46120024fa80ca8e831033e0a6 diff --git a/kernel/ptrace.c b/kernel/ptrace.c index 7c76f2f..a0f7963 100644 --- a/ker

[2.6 patch] proper prototype for kernel/sched.c:migration_init()

2007-11-02 Thread Adrian Bunk
This patch adds a proper prototype for migration_init() in include/linux/sched.h Since there's no point in always returning 0 to a caller that doesn't check the return value it also changes the function to return void. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/sched.h

[2.6 patch] drivers/net/chelsio/: #if 0 unused functions

2007-11-02 Thread Adrian Bunk
This patch #if 0's the following unused functions: - espi.c:t1_espi_set_misc_ctrl() - sge.c:t1_sched_set_max_avail_bytes() - sge.c:t1_sched_set_drain_bits_per_us() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/net/chelsio/espi.c |2 ++ drivers/net/chelsio/espi.h |1 - drive

[2.6 patch] lguest: make async_hcall() static

2007-11-02 Thread Adrian Bunk
async_hcall() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/x86/lguest/boot.c | 26 +- include/asm-x86/lguest_hcall.h |3 --- 2 files changed, 13 insertions(+), 16 deletions(-) 7b280cbbeeeb4c37a031b9cda257bc3bccf39173 diff --g

[PATCH 6/6] UML - get_wchan fixes

2007-11-02 Thread Jeff Dike
[ This can be merged with uml-implement-get_wchan.patch ] The previous get_wchan patch needed some more work. Joe Perches suggested the use of bool where I was using a counter. It also turned out not to work so well on x86_64, so I changed the algorithm a bit. Instead of skipping one frame and l

[PATCH 4/6] UML - Remove now unused code

2007-11-02 Thread Jeff Dike
From: Karol Swietlicki <[EMAIL PROTECTED]> This patch finishes what the previous one started. The code was not used after my first patch, and now can be removed with ease. [ jdike - also deleted the #if 0 lcall stuff ] Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike

[PATCH 0/6] UML - Assorted cleanups and fixes for 2.6.25

2007-11-02 Thread Jeff Dike
These patches are for 2.6.25. There are a couple of documentation fixes, three patches cleaning up the code around host cmov detection, and a fix to the earlier get_wchan patch. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list

Re: Is gcc thread-unsafe?

2007-11-02 Thread Andrew Haley
Bart Van Assche writes: > On 10/30/07, Andrew Haley <[EMAIL PROTECTED]> wrote: > > David Schwartz writes: > > > > > > Can we get some kind of consensus that 'optimizations' that add > > > writes to any object that the programmer might have taken the > > > address of are invalid on any platfor

Re: [PATCH resend] Make the dev_*() family of macros in device.hcomplete

2007-11-02 Thread Greg KH
On Thu, Nov 01, 2007 at 04:57:00PM -0700, Andrew Morton wrote: > On Tue, 30 Oct 2007 08:40:08 -0700 > Greg KH <[EMAIL PROTECTED]> wrote: > > > On Tue, Oct 30, 2007 at 05:11:24AM -0700, Medve Emilian-EMMEDVE1 wrote: > > > Hi Greg K-H, > > > > > > > > > > > +#define dev_info(dev, format, arg...)

Re: [PATCH resend] Make the dev_*() family of macros in device.hcomplete

2007-11-02 Thread Greg KH
On Fri, Nov 02, 2007 at 04:59:48AM -0700, Medve Emilian-EMMEDVE1 wrote: > Hello Andrew, > > > Thanks for the detailed background. > > By now I also submitted a patch with extra spaces. Which one would be a > better candidate for applying in a maintainer's tree (which tree?)? > Could you please p

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-02 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > Anyway, if this can make its way to the x86 tree, I think it will get > pulled into -mm (?) and get some exposure... ok, we can certainly try it there. Your code is really nifty. Ingo - To unsubscribe from this list: send the line "unsubscribe

Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

2007-11-02 Thread Christoph Lameter
On Fri, 2 Nov 2007, Peter Zijlstra wrote: > On Fri, 2007-11-02 at 07:35 -0700, Christoph Lameter wrote: > > > Well I wonder if I should introduce it not as a replacement but as an > > alternative to allocpercpu? We can then gradually switch over. The > > existing API does not allow the specific

Re: Is gcc thread-unsafe?

2007-11-02 Thread Bart Van Assche
On 10/30/07, Andrew Haley <[EMAIL PROTECTED]> wrote: > David Schwartz writes: > > > > Can we get some kind of consensus that 'optimizations' that add > > writes to any object that the programmer might have taken the > > address of are invalid on any platform that supports memory > > protection? > >

Re: [build bug, 2.6.24-rc1] CONFIG_VIDEO_DEV=m & CONFIG_VIDEO_SAA7146_VV=y

2007-11-02 Thread Ingo Molnar
* Trent Piepho <[EMAIL PROTECTED]> wrote: > On Thu, 1 Nov 2007, Ingo Molnar wrote: > > > For some time now I've thought the whole ttpci config/makefile setup > > > sucked. I've finally gone though and redone it and fixed this problem > > > too. > > > > > > Here is the patch: http://linuxtv.org/h

Re: oops in enqueue_entity with 2.6.24-rc1-g54866f03

2007-11-02 Thread Eric Sesterhenn
* Rafael J. Wysocki ([EMAIL PROTECTED]) wrote: > On Friday, 2 November 2007 13:36, Eric Sesterhenn wrote: > > hi, > > > > I get the following crash with 2.6.24-rc1-g54866f03, the last version I > > tested which booted fine was 2.6.24-rc1-gb1d08ac0 > > Does 2.6.23 work correctly for you? 2.6.23.1

Re: delayacct regression in 2.6.24 git

2007-11-02 Thread Ingo Molnar
* Balbir Singh <[EMAIL PROTECTED]> wrote: > Hi, Ingo, > > I missed commit 75d4ef16a6aa84f708188bada182315f80aab6fa > "sched: fix delay accounting performance regression" > > Without these changes, I find that delay accounting does > not work as expected, I see zeros in the field for virtual,del

Re: [PATCH] mm: sysfs: expose the BDI object in sysfs

2007-11-02 Thread Kay Sievers
On Fri, 2007-11-02 at 15:59 +0100, Peter Zijlstra wrote: > On Fri, 2007-11-02 at 15:32 +0100, Kay Sievers wrote: > > On Fri, 2007-11-02 at 15:17 +0100, Peter Zijlstra wrote: > Here is the 'pretty' patch :-) > > Since it relies on the removal of the device name length limit, this > should not yet

[PATCH] mm: sysfs: expose the BDI object in sysfs

2007-11-02 Thread Peter Zijlstra
On Fri, 2007-11-02 at 15:32 +0100, Kay Sievers wrote: > On Fri, 2007-11-02 at 15:17 +0100, Peter Zijlstra wrote: > > One more question, > > > > I currently prefix the names with "bdi-", is that needed? > > Not really. Thanks. Here is the 'pretty' patch :-) Since it relies on the removal of the

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Pavel Emelyanov
Ulrich Drepper wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Pavel Emelyanov wrote: >>> Isn't it this? >>> >>> http://lkml.org/lkml/2007/11/1/141 >> That was the initial problem, and I already answered to Ingo about >> it > > No, look at my old mail which Ingo referenced in that po

Re: [patch 0/7] [RFC] SLUB: Improve allocpercpu to reduce per cpu access overhead

2007-11-02 Thread Christoph Lameter
On Fri, 2 Nov 2007, Peter Zijlstra wrote: > On Thu, 2007-11-01 at 15:58 -0700, David Miller wrote: > > > Since you're the one who wants to change the semantics and guarentees > > of this interface, perhaps it might help if you did some greps around > > the tree to see how alloc_percpu() is actual

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Kay Sievers
On Fri, 2007-11-02 at 15:17 +0100, Peter Zijlstra wrote: > One more question, > > I currently prefix the names with "bdi-", is that needed? Not really. > That is, if I give the bdi object a parent, how will it look? > Would a bdi device with name "sda" with a block device called "sda" as > paren

Re: LTP ustat01 test fails on NFSROOT

2007-11-02 Thread Kumar Gala
On Thu, 25 Oct 2007, Trond Myklebust wrote: > Could you please try the following patch? > > Cheers > Trond Its a new month so I'll ping again about sending this fix upstream to linus for 2.6.24 :) ? - k > - CUT HERE - > From: Trond M

Re: [2.6.24-rc1][BUG] Oops on battery removal

2007-11-02 Thread Rolf Eike Beer
Alexey Starikovskiy wrote: > Rolf Eike Beer wrote: > > Alexey Starikovskiy wrote: > >> Rolf Eike Beer wrote: > >>> Alexey Starikovskiy wrote: > Rolf Eike Beer wrote: > > Rolf Eike Beer wrote: > >> Hi, > >> > >> this happened while I removed my battery on bootup. Complete dmesg

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-02 Thread Gregory Haskins
Linus Torvalds wrote: > > On Thu, 1 Nov 2007, Gregory Haskins wrote: >> I had observed this phenomenon on some 8-ways here as well, but I didn't >> have the bandwidth to code something up. Thumbs up! > > Can you test under interesting loads? Sure thing. Ill try this next week. > > We're inte

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Ulrich Drepper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pavel Emelyanov wrote: >> Isn't it this? >> >> http://lkml.org/lkml/2007/11/1/141 > > That was the initial problem, and I already answered to Ingo about > it No, look at my old mail which Ingo referenced in that posting. - -- ➧ Ulrich Drepper ➧ Red

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-02 Thread Rik van Riel
On Fri, 2 Nov 2007 07:42:20 +0100 Nick Piggin <[EMAIL PROTECTED]> wrote: > On Thu, Nov 01, 2007 at 06:19:41PM -0700, Linus Torvalds wrote: > > > > > > On Thu, 1 Nov 2007, Rik van Riel wrote: > > > > > > Larry Woodman managed to wedge the VM into a state where, on his > > > 4x dual core system,

Re: oops in enqueue_entity with 2.6.24-rc1-g54866f03

2007-11-02 Thread Rafael J. Wysocki
On Friday, 2 November 2007 13:36, Eric Sesterhenn wrote: > hi, > > I get the following crash with 2.6.24-rc1-g54866f03, the last version I > tested which booted fine was 2.6.24-rc1-gb1d08ac0 Does 2.6.23 work correctly for you? Rafael - To unsubscribe from this list: send the line "unsubscribe li

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Peter Zijlstra
On Fri, 2007-11-02 at 14:50 +0100, Kay Sievers wrote: > On Nov 2, 2007 2:15 PM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > Thanks for the help so far, however we're still not quite there. > > > > The below patch still has the funny 20 character name limit. Is there a > > good reason its a char a

Re: [2.6.23] IBM X41 looses time after Suspend2Disk

2007-11-02 Thread Rafael J. Wysocki
On Friday, 2 November 2007 14:33, Philipp Matthias Hahn wrote: > Hello! > > On Tue, Oct 30, 2007 at 10:08:01PM +0100, Pavel Machek wrote: > > > > On Monday, 29 October 2007 21:19, Philipp Matthias Hahn wrote: > > > > > I have an IBM X41 tablet pc running 2.6.23 with the following problem: > > > >

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Kay Sievers
On Nov 2, 2007 2:15 PM, Peter Zijlstra <[EMAIL PROTECTED]> wrote: > Thanks for the help so far, however we're still not quite there. > > The below patch still has the funny 20 character name limit. Is there a > good reason its a char array like this, and not just a char * to a kstr? > The code does

[PATCH 2/2] IB/ehca: Fix static rate calculation

2007-11-02 Thread Joachim Fenkes
The IPD formula was a little off and assumed a fixed physical link rate; fix the formula and query the actual physical link rate, now that we can get it. Also, refactor the calculation into a common function ehca_calc_ipd() and use that instead of duplicating code. Signed-off-by: Joachim Fenkes <[

delayacct regression in 2.6.24 git

2007-11-02 Thread Balbir Singh
Hi, Ingo, I missed commit 75d4ef16a6aa84f708188bada182315f80aab6fa "sched: fix delay accounting performance regression" Without these changes, I find that delay accounting does not work as expected, I see zeros in the field for virtual,delay and count(s). CPU count real total vi

Re: [2.6.24-rc1][BUG] Oops on battery removal

2007-11-02 Thread Alexey Starikovskiy
Rolf Eike Beer wrote: Alexey Starikovskiy wrote: Rolf Eike Beer wrote: Alexey Starikovskiy wrote: Rolf Eike Beer wrote: Rolf Eike Beer wrote: Hi, this happened while I removed my battery on bootup. Complete dmesg is attached. Kernel is 2.6.24-rc1-git of yesterday (last commit was d919fd433b

[PATCH 0/2] IB/ehca: Return physical link information, fix static rate calculation

2007-11-02 Thread Joachim Fenkes
This patchset will fix static rate calculation for the new link speeds supported by eHCA2. Also, it enables query_port() to return physical link information instead of constant values, which is needed for the static rate fix. [1/2] makes query_port() return actual physical link info where supporte

Re: pdflush stuck in D state with v2.6.24-rc1-192-gef49c32

2007-11-02 Thread Florin Iucha
On Fri, Nov 02, 2007 at 08:56:55PM +0800, Fengguang Wu wrote: > > > --- > > > fs/reiserfs/stree.c |3 --- > > > 1 file changed, 3 deletions(-) > > > > > > --- linux-2.6.24-git17.orig/fs/reiserfs/stree.c > > > +++ linux-2.6.24-git17/fs/reiserfs/stree.c > > > @@ -1458,9 +1458,6 @@ static void u

Re: [2.6.24-rc1][BUG] Oops on battery removal

2007-11-02 Thread Rolf Eike Beer
Alexey Starikovskiy wrote: > Rolf Eike Beer wrote: > > Alexey Starikovskiy wrote: > >> Rolf Eike Beer wrote: > >>> Rolf Eike Beer wrote: > Hi, > > this happened while I removed my battery on bootup. Complete dmesg is > attached. Kernel is 2.6.24-rc1-git of yesterday (last commit

Re: [IRDA] IRNET: Fix build when TCGETS2 is defined.

2007-11-02 Thread Alan Cox
> > Nothing anywhere in the kernel but the core ioctl code should be > > processing TCGET/TCSET calls. > > > > Just delete them. It will return -ENOIOCTLCMD and the core tty layer will > > process them. > > Ok. One set of patches in testing. For the irda non-tty device its almost impossible to

MemoryStick / Pro support

2007-11-02 Thread Alex Dubov
After a much longer, than expected, time I managed to implement a support for MemoryStick (read-only currently, as there's still a subtle data corruption bug with writes) and MemoryStick Pro cards. The implementation follows the MMC driver model (there exist MSIO cards, but none are supported at

[PATCH 1/6] UML - Fix URLs in Kconfig and help strings

2007-11-02 Thread Jeff Dike
From: Karol Swietlicki <[EMAIL PROTECTED]> This patch updates links which broke during the transition to the new UML website. Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/Kconfig |2 +- arch/um/Kconfig.char|

[2.6 patch] linux/init.h: simplify __mem{init,exit}* dependencies

2007-11-02 Thread Adrian Bunk
This patch simplifies the dependencies on __mem{init,exit}* (ACPI_HOTPLUG_MEMORY requires MEMORY_HOTPLUG). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 7f058c09288450736c541f6a5d043abd86d0c3bb diff --git a/include/linux/init.h b/include/linux/init.h index 5141381..7dc5085 100644 --- a/incl

[PATCH 2/6] UML - Document new ubd flag

2007-11-02 Thread Jeff Dike
The ubd help message didn't document the 'c' flag. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Index: linux-2.6/arch/um/drivers/ubd_kern.c

[PATCH 5/6] UML - Further bugs.c tidying

2007-11-02 Thread Jeff Dike
bugs.c, for both i386 and x86_64, can undergo further cleaning - The i386 arch_check_bugs only does one thing, so we might as well inline the cmov checking. The i386 includes can be trimmed down a bit. arch_init_thread wasn't used, so it is deleted. The panics in arc

Re: 2.6.23 regression: accessing invalid mmap'ed memory from gdb causes unkillable spinning

2007-11-02 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > > This means that even if some cpu is stuck in a spinlock loop with > > interrupts disabled, you'd see it with this thing. The way it works > > is that cross cpu vectored interrupts are disabled independently of > > the processor interrupt level on s

Re: kernel 2.6.23: what IS the VM doing?

2007-11-02 Thread Sami Farin
On Fri, Sep 14, 2007 at 20:17:46 +0300, Sami Farin wrote: > On Wed, Sep 05, 2007 at 18:48:51 -0400, Rik van Riel wrote: > > Sami Farin wrote: > >> On Wed, Sep 05, 2007 at 12:24:26 -0400, Rik van Riel wrote: > >> ... > *shrug* > >>> The attached patch should make sure kswapd does not free an >

Re: [PATCH] Fix delay accounting regression

2007-11-02 Thread Ingo Molnar
* Balbir Singh <[EMAIL PROTECTED]> wrote: > Fix the delay accounting regression introduced by commit > 75d4ef16a6aa84f708188bada182315f80aab6fa. rq no longer has sched_info > data associated with it. task_struct sched_info structure is used by > delay accounting to provide back statistics to u

IRDA irnet_ppp driver

2007-11-02 Thread Alan Cox
A long long time ago, in a land so far away that people walked upside down, there lived a wizard called Paul. Paul was a very powerful wizard and created the ppp daemon from the darkness. The pppd daemon was good and hard working, but not very clever. It thought that everything it conneected to was

[PATCH 3/3] tty - fix tty network driver interactions with TCGET/TCSET calls

2007-11-02 Thread Alan Cox
From: Dave Miller <[EMAIL PROTECTED]> And to go with it Dave's type checking x86 termios headers. I've updated these as the original sent by Dave had some wrong types in it. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla

Re: Linux 2.6.22.11

2007-11-02 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 9da26d2..8874c9b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 22 -EXTRAVERSION = .10 +EXTRAVERSION = .11 NAME = Holy Dancing Manatees, Batman! # *DOCUMENTATION* diff --git a/arch/powerpc/math-emu/math.c b/ar

[PATCH 1/2] IB/ehca: Return physical link information in query_port()

2007-11-02 Thread Joachim Fenkes
Newer firmware versions return physical port information to the partition, so hand that information to the consumer if it's present. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_hca.c | 20 ++-- drivers/infiniband/hw/ehca/hipz_hw.h |

Re: [PATCH] Fix delay accounting regression

2007-11-02 Thread Guillaume Chazarain
On 11/2/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: > What user-space tools are utilizing delay-accounting by the way? Thanks for the plugging opportunity ;-) http://guichaz.free.fr/misc/#iotop uses the I/O side of delay-accounting. -- Guillaume - To unsubscribe from this list: send the line "un

oops in enqueue_entity with 2.6.24-rc1-g54866f03

2007-11-02 Thread Eric Sesterhenn
hi, I get the following crash with 2.6.24-rc1-g54866f03, the last version I tested which booted fine was 2.6.24-rc1-gb1d08ac0 Netconsole was active, so i took a picture: http://www.cccmz.de/~snakebyte/pdrm2410.jpg Here is the message typed: BUG: unable to handle kernel paging request at virtual

Re: build failure, missing libvdeplug.h?

2007-11-02 Thread devzero
Hello! I tried 2.6.24-rc1-git11 with "allmodconfig ARCH=um" today. this gave at least two errors - i needed to set CONFIG_SMP=n and CONFIG_UML_NET_VDE=n to make it compile. not sure if options should be set to "n" automatically or being fixed differently, but if there is something broken or so

Re: NPTL support

2007-11-02 Thread Markus Gothe
You'll have to use the uClibc-nptl branch on their svn. In 0.9.28, no. //Markus On 2 Nov 2007, at 06:03, veerasena reddy wrote: Hi, I am trying to build the toolchain for MIPS processor using buildroot. I am using gcc version of 3.4.3, binutils-2.15, uclibc-0.9.28 and linux-2.6.18.8 kernel.

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-11-02 Thread Peter Zijlstra
Hi, Thanks for the help so far, however we're still not quite there. The below patch still has the funny 20 character name limit. Is there a good reason its a char array like this, and not just a char * to a kstr? The code does kstrdup all over the place, I can't imagine why suddenly limiting it

Re: [PATCH] add_partition silently ignored errors

2007-11-02 Thread Jens Axboe
On Tue, Oct 30 2007, Dirk Hohndel wrote: > On Tue, Oct 30, 2007 at 06:31:12PM +0100, Cornelia Huck wrote: > > On Tue, 30 Oct 2007 09:56:08 -0700, > > Dirk Hohndel <[EMAIL PROTECTED]> wrote: > > > > > > > IIRC, Al recently vetoed a similar patch. As far as I'm concerned, > > > > > with > > > > > t

Re: RFC: Reproducible oops with lockdep on count_matching_names()

2007-11-02 Thread Peter Zijlstra
On Thu, 2007-11-01 at 19:26 -0400, Michael Wu wrote: > On Thursday 01 November 2007 15:17:16 Luis R. Rodriguez wrote: > > [EMAIL PROTECTED]:~/devel/wireless-2.6$ git-describe > > v2.6.24-rc1-146-g2280253 > > > > So I hit segfault with lockdep on count_matching_names() on the > > strcmp() multiple t

[2.6 patch] kernel/futex.c: make 3 functions static

2007-11-02 Thread Adrian Bunk
The following functions can now become static again: - get_futex_key() - get_futex_key_refs() - drop_futex_key_refs() Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/futex.h |4 kernel/futex.c| 11 --- 2 files changed, 4 insertions(+), 11 deletions(-)

[PATCH 3/6] UML - Improve detection of host cmov

2007-11-02 Thread Jeff Dike
From: Karol Swietlicki <[EMAIL PROTECTED]> This patch introduces a new way of checking for the cmov instruction. I use signal handling instead of reading /proc/cpuinfo. [ jdike - Fiddled the asm to make it obvious that it didn't mess with any in-use registers and made test_for_host_cmov void ] S

[PATCH 1/3]: tty - fix network driver interactions with TCGET/SET calls

2007-11-02 Thread Alan Cox
Dave Miller noted various cases where line disciplines for things like ppp go poking around in termios themselves in ways that broke with the new termios code. Rather than have them all learning about termios internals provide proper methods for this - tty_mode_ioctl() This handles all th

Re: usbserial.ko/option.ko on 2.6.23: Unable to handle kernel paging request && inconsistent lock state

2007-11-02 Thread Greg KH
On Fri, Nov 02, 2007 at 09:39:38AM +0100, Marcin ?lusarz wrote: > 2007/11/1, Jiri Kosina <[EMAIL PROTECTED]>: > > On Thu, 1 Nov 2007, Marcin ?lusarz wrote: > > > > > > What kernel version are you using? I should have already fixed this one > > > > in > > > > current git -- commit acd2a847 > > > I'

Re: 2.6.24-rc1: OOPS at acpi_battery_update

2007-11-02 Thread Rafael J. Wysocki
On Friday, 2 November 2007 00:14, Andrew Morton wrote: > On Mon, 29 Oct 2007 11:11:04 +0100 > Romano Giannetti <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > sometime on resuming from s2ram my laptop spew the following oops. > > Config, dmesg etc are at: > > > > http://www.dea.icai.upcom

[PATCH 9/10] 9p: tcp listener implementation

2007-11-02 Thread Latchesar Ionkov
This patch adds a TCP listener for the trans_fd transport. The listener allows the in-kernel servers to listen on a TCP port for client connections. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- net/9p/mux.c | 269 +- 1 files cha

[PATCH -mm 0/3] convert IOMMUs to use iova

2007-11-02 Thread FUJITA Tomonori
This patchset convert the PPC64 IOMMU to use the iova code for free area management. The IOMMUs ignores low level drivers' restrictions, the maximum segment size and segment boundary. I fixed the former: http://thread.gmane.org/gmane.linux.scsi/35602 The latter makes the free area management co

[PATCH 2/3] move iova cache code to iova.c

2007-11-02 Thread FUJITA Tomonori
This detaches iova cache code from intel-iommu.c to iova.c in order to enable IOMMUs to use iova code. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- drivers/pci/intel-iommu.c | 14 ++ include/linux/iova.h |6 +++--- lib/iova.c| 34

[PATCH 7/10] 9p: sysfs support for in-kenel servers

2007-11-02 Thread Latchesar Ionkov
Sysfs support for 9P servers. Every server type is represented as a directory in /sys/fs/9p/srv. Initially there is a single file in the directory -- 'clone'. Reading from the clone file creates a new instance of the file server and returns its id. Each instance is represented as a directory in /sy

[PATCH 6/10] 9p: in-kernel server basic support

2007-11-02 Thread Latchesar Ionkov
This patch implements the basic functionality required for implementing in-kernel 9P file servers. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- include/net/9p/9p.h |2 + include/net/9p/srv.h | 169 +++ net/9p/Kconfig |5 + net/9p/Makefile |4 + net/9p/fcpr

Re: writeout stalls in current -git

2007-11-02 Thread Torsten Kaiser
On 11/2/07, Fengguang Wu <[EMAIL PROTECTED]> wrote: > I guess the new debug printks will provide more hints on it. The "throttle_vm_writeout" did not trigger for my new workload. Except one (the first) "balance_dirty_pages" came from line 445, the newly added. But I found an other workload that l

[patch 2/9] genirq: suppress resend of level interrupts

2007-11-02 Thread Greg KH
2.6.22-stable review patch. If anyone has any objections, please let us know. -- From: Thomas Gleixner <[EMAIL PROTECTED]> patch 2464286ace55b3abddfb9cc30ab95e2dac1de9a6 in mainline. Level type interrupts are resent by the interrupt hardware when they are still active at irq_ena

[2.6 patch] unexport access_process_vm

2007-11-02 Thread Adrian Bunk
This patch removes the no longer used EXPORT_SYMBOL_GPL(access_process_vm). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- d257d031aca70f5f7f8a72bc5331e503fde750f8 diff --git a/mm/memory.c b/mm/memory.c index eefd5b6..9791e47 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -2748,4 +2748,3 @@ i

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Ulrich Drepper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pavel Emelyanov wrote: > So is "everything else", you mentioned, covered with the problems > above? No, it's not. If you'd read the mail carefully you'd notice that the use of PIDs especially in robust futexes is part of the API and that it simply is

Re: [regression] v2.6.24-rc1-497-gb1d08ac: kde battery icon gone

2007-11-02 Thread Rafael J. Wysocki
On Friday, 2 November 2007 18:18, Thomas Meyer wrote: > i just wanted to report this: > > in v2.6.24-rc1-497-gb1d08ac the kde battery icon is no longer displayed. Appropriate CCs added. > with 2.6.23 shows the battery icon. > > current config: > > grep -i acpi .config > # Power management opti

Re: [patch] PID namespace design bug, workaround

2007-11-02 Thread Dave Hansen
On Fri, 2007-11-02 at 01:04 -0700, Andrew Morton wrote: > > > That is the "fix" you were referring to? I was hoping you have a sketch > > > for a real solution. If nobody can think of a way to fix this PID > > > > Looks like we misunderstood each other. Can you please elaborate on > > what exac

Re: 2.6.34-rc1 eat my photo SD card :-(

2007-11-02 Thread Pierre Ossman
On Thu, 01 Nov 2007 12:56:42 +0100 Romano Giannetti <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a very possible regression to signal. This morning 2.6.24-rc1 > eat and destroyed my SD card. I have a toshiba laptop with a card slot > and I have used it with 2.6.23-rcX and 2.6.23 without p

2.6.24-rc1-git11: Reported regressions from 2.6.23

2007-11-02 Thread Rafael J. Wysocki
This message contains a list of some regressions from 2.6.23 which have been reported since 2.6.24-rc1 was released and for which there are no fixes in the mainline that I know of.  If any of them have been fixed already, please let me know. If you know of any other unresolved regressions from 2.6

[PATCH] Remove unused code from mm/tiny-shmem.c

2007-11-02 Thread Balbir Singh
This code in mm/tiny-shmem.c is under #if 0, do we really need it? This patch removes it. Signed-off-by: Balbir Singh <[EMAIL PROTECTED]> --- mm/tiny-shmem.c | 12 1 file changed, 12 deletions(-) diff -puN mm/tiny-shmem.c~remove-unused-code mm/tiny-shmem.c --- linux-2.6-latest/

[regression] v2.6.24-rc1-497-gb1d08ac: kde battery icon gone

2007-11-02 Thread Thomas Meyer
i just wanted to report this: in v2.6.24-rc1-497-gb1d08ac the kde battery icon is no longer displayed. with 2.6.23 shows the battery icon. current config: grep -i acpi .config # Power management options (ACPI, APM) CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y # CONFIG_ACPI_PROCFS is not set CONFIG_ACPI_PR

RE: Is gcc thread-unsafe?

2007-11-02 Thread David Schwartz
> Another conclusion from the cited text is that in contrast with what > was stated before on the gcc mailing list, it is not required to > declare thread-shared variables volatile if that thread-shared data is > consistently protected by calls to locking functions. > > Bart Van Assche. It all de

2.6.23.1: Random hangs during boot with "tsc" clocksource

2007-11-02 Thread Jordan Russell
Hi, With 2.6.23.1 (stock and Fedora), roughly 50% of the time my system hangs indefinitely during the kernel boot process. The hangs occur in places where normally a brief delay is seen, such as when detecting serial ports, ATA devices, and USB hubs. SysRq+W, when it works, shows tasks stuck insid

[PATCH 1/10] 9p: new transport interface

2007-11-02 Thread Latchesar Ionkov
The current transport interface is tied too closely to the socket/file descriptor operations. It expects only a single message to be transmitted at any given time. It also depends on the vfs poll mechanism for notification when data can be sent/received. This patch modifies the transport interface

[PATCH] 9p: basic sysfs support

2007-11-02 Thread Latchesar Ionkov
This patch implements the basic sysfs support for 9p. If CONFIG_NET_9P_DEBUG is defined, allows reading and modifying the debug level via /sysfs/fs/9p/debuglevel. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- include/net/9p/9p.h |1 + net/9p/mod.c| 45

[PATCH 2/10] 9p: fcall deserialization changes

2007-11-02 Thread Latchesar Ionkov
Modify p9_deserialize_fcall to read from p9_fcall's internal buffer instead of specifying an external one. Add functions that copy raw data to and from a fcall. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- include/net/9p/9p.h |4 +++- net/9p/conv.c | 34 +++

Re: [PATCH -mm 0/3] convert IOMMUs to use iova

2007-11-02 Thread Muli Ben-Yehuda
On Sat, Nov 03, 2007 at 02:05:39AM +0900, FUJITA Tomonori wrote: > This patchset convert the PPC64 IOMMU to use the iova code for free > area management. > > The IOMMUs ignores low level drivers' restrictions, the maximum > segment size and segment boundary. > > I fixed the former: > > http://t

[PATCH 1/3] move iova from drivers/pci/ to lib/

2007-11-02 Thread FUJITA Tomonori
iova could be used by several IOMMUs. This patch just moves iova from drivers/pci/ to lib/ and fixes the appropriate Makefile and Kconfig files. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> --- arch/x86/Kconfig.x86_64 |1 + drivers/pci/Makefile |2 +- drivers/pci/intel-iommu.

Re: [patch 1/4] x86: FIFO ticket spinlocks

2007-11-02 Thread Chuck Ebbert
On 11/01/2007 10:03 AM, Nick Piggin wrote: > Introduce ticket lock spinlocks for x86 which are FIFO. The implementation > is described in the comments. The straight-line lock/unlock instruction > sequence is slightly slower than the dec based locks on modern x86 CPUs, > however the difference is qu

  1   2   3   4   >