Re: [RFC][PATCH] New message-logging API (kprint)

2007-10-05 Thread Miguel Ojeda
On 10/5/07, Rob Landley <[EMAIL PROTECTED]> wrote: > On Thursday 04 October 2007 3:17:03 pm Randy Dunlap wrote: > > On Thu, 04 Oct 2007 22:04:07 +0200 Vegard Nossum wrote: > > > Description: This patch largely implements the kprint API as previously > > > posted to the LKML and described in Documen

Re: regression: fireware causes oops during system

2007-10-05 Thread Pavel Machek
Hi! > > This commit is certainly OK, as it should merely preserve status quo. > > Also note that Pavel wrote in his initial post that the problem became > > apparent way after -rc1. Full quote: > > > > | I noticed empty suspend stopped working around 2.6.23-rc4, and it is > > | still present in

Re: [OOPS] AXIS 700 Lite (VIA C7 CPU) BUG with 2.6.23-rc9-git (i2c)

2007-10-05 Thread Jean Delvare
Hi Guennadi, On Fri, 5 Oct 2007 00:46:59 +0200 (CEST), Guennadi Liakhovetski wrote: > Got an AXIS 700 Lite thin client with a C7 CPU and CN700 chipset in it, > compiled today's git snapshot, and it Oopses in i2c_viapro: > > BUG: unable to handle kernel paging request at virtual address 016c0555

Re: video resume stuff

2007-10-05 Thread Pavel Machek
Hi! > >I'm thinking about how to clean up video resume/how to get it to work > >for non-VESA video modes (jikos' case). > > > >I guess the cleanest solution would be to just call set_mode from > >wakeup.S but that is not as easy as I imagined, because bootup > >code seems to be compiled separa

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Peter Zijlstra
On Thu, 2007-10-04 at 16:09 -0700, Andrew Morton wrote: > On Fri, 05 Oct 2007 00:39:16 +0200 > Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > > throttle_vm_writeout() should be a per-zone thing, I guess. Perhaps > > > fixing > > > that would fix your deadlock. That's doubtful, but I don't know

Re: [PATCH 5/5] writeback: introduce writeback_control.more_io to indicate more io

2007-10-05 Thread David Chinner
On Fri, Oct 05, 2007 at 11:36:52AM +0800, Fengguang Wu wrote: > On Thu, Oct 04, 2007 at 03:03:44PM +1000, David Chinner wrote: > > On Thu, Oct 04, 2007 at 10:21:33AM +0800, Fengguang Wu wrote: > > > OK, I guess it is the focus of all your questions: Why should we sleep > > > in congestion_wait() an

Re: [OOPS] AXIS 700 Lite (VIA C7 CPU) BUG with 2.6.23-rc9-git (i2c)

2007-10-05 Thread Greg KH
On Fri, Oct 05, 2007 at 09:28:44AM +0200, Jean Delvare wrote: > Hi Guennadi, > > On Fri, 5 Oct 2007 00:46:59 +0200 (CEST), Guennadi Liakhovetski wrote: > > Got an AXIS 700 Lite thin client with a C7 CPU and CN700 chipset in it, > > compiled today's git snapshot, and it Oopses in i2c_viapro: > >

Re: [BUG] Linux 2.6.23-rc9 and MAX_ARG_PAGES

2007-10-05 Thread Peter Zijlstra
On Fri, 2007-10-05 at 05:22 +0200, Mathieu Chouquet-Stringer wrote: > On Thu, Oct 04, 2007 at 05:12:11PM -0700, Linus Torvalds wrote: > > I also tested that "ulimit -s" seems to do the right thing for me. > > > > I'm also assuming Mathieu is running x86 (or x86-64): HP-PA has a stack > > that gro

Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

2007-10-05 Thread Tejun Heo
Hello, Greg. I think this definitely needs more discussion, so here we go... Greg KH wrote: >> 1. What is a kobject? [--snip--] >> The functionality served by kobject can be broken down into the >> following two. >> >> F-a. To serve as an entity both subsystems can share lifespan >> management.

Re: race with page_referenced_one->ptep_test_and_clear_young and pagetable setup/pulldown

2007-10-05 Thread Andi Kleen
> Fortuitously, Jan Beulich has a patch to fix this. It's not going to be > directly applicable to 2.6.23-rc series, but should be easily ported: > . Do I misread that patch or does it really walk the complete address space

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Peter Zijlstra
On Thu, 2007-10-04 at 17:48 -0700, Andrew Morton wrote: > On Fri, 05 Oct 2007 02:12:30 +0200 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > > > > > I don't think I understand that. Sure, it _shouldn't_ be a problem. But > > > it > > > _is_. That's what we're trying to fix, isn't it? > > > >

Re: [patch 00/34] s390 patches for 2.6.24

2007-10-05 Thread Martin Schwidefsky
On Thu, 2007-10-04 at 21:10 +0200, Sam Ravnborg wrote: > Hi Martin. > On Thu, Oct 04, 2007 at 01:27:06PM +0200, Martin Schwidefsky wrote: > > The current set of s390 patches ready to be pushed once 2.6.23 > > has hit the streets. > > I noticed that I had not yet beautified the vmlinux.lds file of

Re: Bug in drm modules of kernel 2.6.23-rc9-git2

2007-10-05 Thread Adrian Bunk
On Fri, Oct 05, 2007 at 03:27:55AM -0300, werner wrote: > attn: linux-kernel@vger.kernel.org > > > There is a bug in the drm modules, w.r.t. radeon and savage grafic cards (at > least) > This bug is present on kernel 2.6.23-rc9-git2 , it was NOT present on > 2.6.23-rc8-git4 > nor in the prev

Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..

2007-10-05 Thread Thomas Gleixner
On Fri, 5 Oct 2007, Sam Ravnborg wrote: > > > cp: cannot stat `arch/x86_64/boot/bzImage': No such file or directory > > > > > > Obviously, this file has moved to arch/x86/boot, but it seems like > > > possibly unnecessary breakage. I've been copying bzImage for years > > > from arch/x86_64/boot,

Re: race with page_referenced_one->ptep_test_and_clear_young and pagetable setup/pulldown

2007-10-05 Thread Keir Fraser
On 5/10/07 10:05, "Jeremy Fitzhardinge" <[EMAIL PROTECTED]> wrote: > Andi says: >> Do I misread that patch or does it really walk the complete address >> space and try to take all possible locks? Isn't that very slow? >> > > That's pretty much what it has to do. Pinning/unpinning walks the wh

Re: SLUB performance regression vs SLAB

2007-10-05 Thread Pekka Enberg
Hi, On 10/5/07, Jens Axboe <[EMAIL PROTECTED]> wrote: > I'd like to second Davids emails here, this is a serious problem. Having > a reproducible test case lowers the barrier for getting the problem > fixed by orders of magnitude. It's the difference between the problem > getting fixed in a day or

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Miklos Szeredi
> So how do we end up with more writeback pages than that? should we teach > pdflush about these limits as well? Ugh. I think we should rather fix vmscan to not spin when all pages of a zone are already under writeout. Which is the _real_ problem, according to Andrew. Miklos - To unsubscribe fr

Re: race with page_referenced_one->ptep_test_and_clear_young and pagetable setup/pulldown

2007-10-05 Thread Jeremy Fitzhardinge
Keir Fraser wrote: > > Hang on! How is the access unlocked? By my reading > page_referenced_one()->page_check_address()->spin_lock(pte_lockptr()). > Ah, OK. I'd overlooked that. > The problem here is most likely insufficient locking in the pin/unpin > table-walking code, in light of the fact tha

BUG on unloading the fuse module

2007-10-05 Thread Fengguang Wu
Hello, In 2.6.23-rc8-mm2, the fuse module always bugs on unloading. 218 static inline int put_page_testzero(struct page *page) 219 { 220 VM_BUG_ON(atomic_read(&page->_count) == 0); 221 return atomic_dec_and_test(&page->_count); 222 } [ 5697.270634] kernel BUG at include/l

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Peter Zijlstra
On Fri, 2007-10-05 at 11:22 +0200, Miklos Szeredi wrote: > > So how do we end up with more writeback pages than that? should we teach > > pdflush about these limits as well? > > Ugh. > > I think we should rather fix vmscan to not spin when all pages of a > zone are already under writeout. Which

[PATCH] lockdep: fix mismatched lockdep_depth/curr_chain_hash

2007-10-05 Thread Peter Zijlstra
Ouch! Thanks Gregory for finding this! I'll send your initial patch to the stable team for .22. --- Subject: lockdep: fix mismatched lockdep_depth/curr_chain_hash From: Gregory Haskins <[EMAIL PROTECTED]> It is possible for the current->curr_chain_key to become inconsistent with the current ind

[PATCH] I2C: add support for the PCF8575 chip

2007-10-05 Thread Bart Van Assche
From: Bart Van Assche Add support for the PCF8575 I2C chip. Signed-off-by: Bart Van Assche ([EMAIL PROTECTED]) --- diff -uprN -X orig/linux-2.6.22.9/Documentation/dontdiff orig/linux-2.6.22.9/drivers/i2c/chips/Kconfig linux-2.6.22.9/drivers/i2c/chips/Kconfig --- orig/linux-2.6.22.9/drivers/i2c/ch

Re: SLUB performance regression vs SLAB

2007-10-05 Thread Jens Axboe
On Fri, Oct 05 2007, Pekka Enberg wrote: > Hi, > > On 10/5/07, Jens Axboe <[EMAIL PROTECTED]> wrote: > > I'd like to second Davids emails here, this is a serious problem. Having > > a reproducible test case lowers the barrier for getting the problem > > fixed by orders of magnitude. It's the diffe

[DEBUG PATCH] demonstration of hang in sched domain partitioning code

2007-10-05 Thread Paul Jackson
Nick, I'm running into a problem trying to use your suggested partition_sched_domains(cpumask_t *partition) routine the way I thought I was supposed to be able to use it. If I ask to set up the same partition twice in a row having just one CPU in it (a singleton) the kernel hangs. I don't know e

Re: BUG on unloading the fuse module

2007-10-05 Thread Miklos Szeredi
> In 2.6.23-rc8-mm2, the fuse module always bugs on unloading. It's fixed in Greg's patch queue. This patch against -mm will also fix it. Thanks, Miklos --- Index: linux/lib/kobject.c === --- linux.orig/lib/kobject.c2007-10-02

[PATCH] lockdep: fix mismatched lockdep_depth/curr_chain_hash

2007-10-05 Thread Peter Zijlstra
Stable team, please consider this patch for the next 22-stable. --- Subject: lockdep: fix mismatched lockdep_depth/curr_chain_hash From: Gregory Haskins <[EMAIL PROTECTED]> It is possible for the current->curr_chain_key to become inconsistent with the current index if the chain fails to validat

Re: unresoved symbol _gp_disp

2007-10-05 Thread Ralf Baechle
On Thu, Oct 04, 2007 at 08:29:59PM +0200, Andi Kleen wrote: > From: Andi Kleen <[EMAIL PROTECTED]> > Date: 04 Oct 2007 20:29:59 +0200 > To: "Steven J. Hill" <[EMAIL PROTECTED]> > Cc: veerasena reddy <[EMAIL PROTECTED]>, > linux-mips <[EMAIL PROTECTED]>, > "linux-kernel.org" > Subject:

Re: BUG on unloading the fuse module

2007-10-05 Thread Fengguang Wu
On Fri, Oct 05, 2007 at 11:37:58AM +0200, Miklos Szeredi wrote: > > In 2.6.23-rc8-mm2, the fuse module always bugs on unloading. > > It's fixed in Greg's patch queue. > > This patch against -mm will also fix it. Oh no, it panics: [2.602060] general protection fault: [1] SMP [2.6033

[RFC] [PATCH] Add more info to /proc/$pid/smaps

2007-10-05 Thread Maxim Levitsky
I was trying to write a small application similar to pmap, but more powerful. During the writing I noticed that there are two things I can't get by parsing /proc/$pid/smaps: 1) amount of anonymous memory in a mapping: It is easy to get it for shared and anonymous mappings (0 for the former, and

Re: [PATCH] Fix blktrace setup 32-bit ioctl on 64-bit kernels

2007-10-05 Thread Jens Axboe
On Thu, Oct 04 2007, Arnd Bergmann wrote: > On Thursday 04 October 2007, you wrote: > > This looks a lot better! I don't mind seperating the block bits, when we > > get the whole bunch in there. Just seemed overly silly and complicated > > to do it for just one ioctl command. When you are happy wit

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Miklos Szeredi
> diff --git a/include/linux/writeback.h b/include/linux/writeback.h > index 4ef4d22..eff2438 100644 > --- a/include/linux/writeback.h > +++ b/include/linux/writeback.h > @@ -88,7 +88,7 @@ static inline void wait_on_inode(struct inode *inode) > int wakeup_pdflush(long nr_pages); > void laptop_io_

Re: [OOPS] AXIS 700 Lite (VIA C7 CPU) BUG with 2.6.23-rc9-git (i2c)

2007-10-05 Thread Guennadi Liakhovetski
On Fri, 5 Oct 2007, Jean Delvare wrote: > Hi Guennadi, > > On Fri, 5 Oct 2007 00:46:59 +0200 (CEST), Guennadi Liakhovetski wrote: > > Got an AXIS 700 Lite thin client with a C7 CPU and CN700 chipset in it, > > compiled today's git snapshot, and it Oopses in i2c_viapro: > > > > BUG: unable to ha

Re: BUG on unloading the fuse module

2007-10-05 Thread Fengguang Wu
On Fri, Oct 05, 2007 at 01:33:10PM +0200, Miklos Szeredi wrote: > > > > > > In 2.6.23-rc8-mm2, the fuse module always bugs on unloading. > > > > > > > > > > It's fixed in Greg's patch queue. > > > > > > > > > > This patch against -mm will also fix it. > > > > > > > > Oh no, it panics: > > > > >

Re: [PATCH for testing] Re: Decreasing stime running confuses top

2007-10-05 Thread Luca
On 10/5/07, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > On 10/04/2007 05:10 PM, Christian Borntraeger wrote: > > > > > Alternative patch: > > procfs: Don't read runtime twice when computing task's stime > > Current code reads p->se.sum_exec_runtime twice and goes through > multiple type conversions

Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU

2007-10-05 Thread Gautham R Shenoy
On Mon, Sep 10, 2007 at 11:39:01AM -0700, Paul E. McKenney wrote: [snip] > + > +/* > + * Return the list from which to boost target tasks. > + * May only be invoked by the booster task, so guaranteed to > + * already be initialized. Use rcu_boost_dat element least recently > + * the destination

[code] Unlimited partitions, a try

2007-10-05 Thread Jan Engelhardt
15 partitions (at least for sd_mod devices) are too few. So I tried the following: after scanning the disk (sda), when we know the number of partitions P on a disk, create a new block device /dev/gd0 that is a copy of sda (in terms of disk->queue, etc.). This is done using alloc_disk(P). However

Re: [2.6.23-rc9 regression] commit 4f01a757 broke HAL input support

2007-10-05 Thread Anssi Hannula
Ben Gamari wrote: On Thu, 2007-10-04 at 22:40 -0400, Dmitry Torokhov wrote: 4f01a757e75f2a3cab2bab89c4176498963946b9. The change that Dmitry proposed would still require CONFIG_SYSFS_DEPRECATED, right? What proposed change? The changeset you quote is already applied. Andrey Borzenkov wrote:

Re: BUG on unloading the fuse module

2007-10-05 Thread Miklos Szeredi
> > > > > In 2.6.23-rc8-mm2, the fuse module always bugs on unloading. > > > > > > > > It's fixed in Greg's patch queue. > > > > > > > > This patch against -mm will also fix it. > > > > > > Oh no, it panics: > > > > How about this one? > > Yes, it did the trick. Thanks. It seems, some kobjec

Re: [PATCH 5/5] writeback: introduce writeback_control.more_io to indicate more io

2007-10-05 Thread Fengguang Wu
On Fri, Oct 05, 2007 at 05:41:03PM +1000, David Chinner wrote: > On Fri, Oct 05, 2007 at 11:36:52AM +0800, Fengguang Wu wrote: > > On Thu, Oct 04, 2007 at 03:03:44PM +1000, David Chinner wrote: > > > On Thu, Oct 04, 2007 at 10:21:33AM +0800, Fengguang Wu wrote: > > if (wbc.nr_to_write > 0 || wbc.p

[PATCH] vc bell config

2007-10-05 Thread Jan Engelhardt
It is already possible to deactivate the vc bell on a per-tty basis, by using echo -en "\e[11;0]", but this is reset on reset(1). This adds a sysfs parameter to globally control the vc bell, as well as sysfs parameters for default pitch and duration. Signed-off-by: Jan Engelhardt <[EMAIL PROTECT

Re: [RFC] [PATCH] Add more info to /proc/$pid/smaps

2007-10-05 Thread Maxim Levitsky
>From 145247b8e776b32c9930018ab65bb6c5401e28ef Mon Sep 17 00:00:00 2001 From: Maxim Levitsky <[EMAIL PROTECTED]> Date: Fri, 5 Oct 2007 08:04:03 +0200 Subject: [PATCH] Add more statistics to /proc/$pid/smaps Add amount of swapped memory and amount of anonymous memory to /proc/$pid/smaps Signed-off

Re: cx88 pci_abort messages

2007-10-05 Thread Scott
On Oct 4, 2007, at 11:52 AM, Scott wrote: I'm having what I think is a PCI bus problem. I have a ASUS P5B Intel 965 motherboard and a DVICO Fusion HDTV5 RT adapter on the PCI bus. When this adapter is recording (anything) I see pci_abort messages repeating in the /var/log/messages file. As a

Re: [PATCH 13/32] IGET: Stop EXT2 from using iget() and read_inode() [try #2]

2007-10-05 Thread Theodore Tso
On Thu, Oct 04, 2007 at 04:57:08PM +0100, David Howells wrote: > Stop the EXT2 filesystem from using iget() and read_inode(). Replace > ext2_read_inode() with ext2_iget(), and call that instead of iget(). > ext2_iget() then uses iget_locked() directly and returns a proper error code > instead of a

Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

2007-10-05 Thread Eric W. Biederman
Greg KH <[EMAIL PROTECTED]> writes: > >> Also fun is that the dev file implementation needs to be able to >> report different major:minor numbers based on which mount of >> sysfs we are dealing with. > > Um, no, that's not going to happen. /dev/sda will _always_ have the > same major:minor n

Re: [PATCH] RCU torture update for preemption

2007-10-05 Thread Steven Rostedt
-- On Thu, 4 Oct 2007, Paul E. McKenney wrote: > On Wed, Oct 03, 2007 at 04:59:51PM -0400, Steven Rostedt wrote: > > > > PS. I got rid of your rcu_preeempt_task for rcu_preempt_tasks ;-) > > > > (No the above is _not_ a typo) > > :-/ I thought it was some mind bender thing ;-) > > > Signed-off

Re: x86-64 sporadic hang in 2.6.23rc7 and 2.6.22

2007-10-05 Thread Helge Hafting
Andi Kleen wrote: Helge Hafting <[EMAIL PROTECTED]> writes: shrink_dcache_memory That usually means random memory corruption from somewhere -- dcache tends to use a lot of memory and when it is corrupted anywhere these functions tend to crash while walking the lists. Unfortunately

Re: SLUB performance regression vs SLAB

2007-10-05 Thread Matthew Wilcox
On Fri, Oct 05, 2007 at 08:48:53AM +0200, Jens Axboe wrote: > I'd like to second Davids emails here, this is a serious problem. Having > a reproducible test case lowers the barrier for getting the problem > fixed by orders of magnitude. It's the difference between the problem > getting fixed in a d

Re: BUG on unloading the fuse module

2007-10-05 Thread Fengguang Wu
On Fri, Oct 05, 2007 at 12:54:09PM +0200, Miklos Szeredi wrote: > > > > In 2.6.23-rc8-mm2, the fuse module always bugs on unloading. > > > > > > It's fixed in Greg's patch queue. > > > > > > This patch against -mm will also fix it. > > > > Oh no, it panics: > > How about this one? Yes, it did

Re: [BUG] kernel BUG at arch/i386/mm/highmem.c:15! on 2.6.23-rc8/rc9

2007-10-05 Thread Hugh Dickins
On Fri, 5 Oct 2007, gurudas pai wrote: > gurudas pai wrote: > > Hugh Dickins wrote: > > > > > > [PATCH] fix sys_remap_file_pages BUG at highmem.c:15! > > > > Yes, indeed this patch worked for me , test completed successfully!! (on > > preempt kernel). Will continue testing with non-preempt kernel

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Fengguang Wu
On Thu, Oct 04, 2007 at 10:46:50AM -0700, Andrew Morton wrote: > On Thu, 04 Oct 2007 18:47:07 +0200 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > > > > But that said, there might be better ways to do that. > > > > > > > > > > Sure, if we do need to globally limit the number of under-writeback

[PATCH] block: move ioctl conversion to compat_blkdev_ioctl

2007-10-05 Thread Arnd Bergmann
fs/compat_ioctl.c is still a mess and I'd prefer to get rid of it over time, by moving everything to the respective drivers. A significant portion of our ioctl numbers are common to a number of block drivers, so should not handle them in each driver separately, but rather in the block layer. In t

Re: SLUB performance regression vs SLAB

2007-10-05 Thread Jens Axboe
On Fri, Oct 05 2007, Matthew Wilcox wrote: > On Fri, Oct 05, 2007 at 08:48:53AM +0200, Jens Axboe wrote: > > I'd like to second Davids emails here, this is a serious problem. Having > > a reproducible test case lowers the barrier for getting the problem > > fixed by orders of magnitude. It's the di

Re: BUG on unloading the fuse module

2007-10-05 Thread Miklos Szeredi
> > > In 2.6.23-rc8-mm2, the fuse module always bugs on unloading. > > > > It's fixed in Greg's patch queue. > > > > This patch against -mm will also fix it. > > Oh no, it panics: How about this one? Thanks, Miklos --- Index: linux/lib/kobject.c ===

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Peter Zijlstra
On Fri, 2007-10-05 at 12:27 +0200, Miklos Szeredi wrote: > > diff --git a/include/linux/writeback.h b/include/linux/writeback.h > > index 4ef4d22..eff2438 100644 > > --- a/include/linux/writeback.h > > +++ b/include/linux/writeback.h > > @@ -88,7 +88,7 @@ static inline void wait_on_inode(struct ino

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Miklos Szeredi
> I think that's an improvement in all respects. > > However it still does not generally address the deadlock scenario: if > there's a small DMA zone, and fuse manages to put all of those pages > under writeout, then there's trouble. And the only way to solve that AFAICS, is to make sure fuse nev

Re: [PATCH] isofs: add +w bit for non-RR discs

2007-10-05 Thread Jan Engelhardt
On Oct 4 2007 20:46, Matthew Wilcox wrote: >On Tue, Oct 02, 2007 at 08:00:26PM +0200, Jan Engelhardt wrote: >> Add %S_IWUGO bit for files on ISO-9660 filesystems without RockRidge > >Looks to me like you've added S_IWUSR, not S_IWUGO. Yes, S_IWUSR it should be, and is. When a user copies such a f

Re: SLUB performance regression vs SLAB

2007-10-05 Thread Andi Kleen
Jens Axboe <[EMAIL PROTECTED]> writes: > > Writing a small test module to exercise slub/slab in various ways > (allocating from all cpus freeing from one, as described) should not be > too hard. Perhaps that would be enough to find this performance > discrepancy between slab and slub? You could s

Re: [PATCH] block: move ioctl conversion to compat_blkdev_ioctl

2007-10-05 Thread Jens Axboe
On Fri, Oct 05 2007, Arnd Bergmann wrote: > fs/compat_ioctl.c is still a mess and I'd prefer to get rid of it > over time, by moving everything to the respective drivers. > > A significant portion of our ioctl numbers are common to a number > of block drivers, so should not handle them in each dri

Re: [PATCH] remove throttle_vm_writeout()

2007-10-05 Thread Miklos Szeredi
> Limiting FUSE to say 50% (suggestion from your other email) sounds like > a horrible hack to me. - Need more time to think on this. I don't really understand all that page balancing stuff, but I think this will probably never or very rarely happen, because the allocator will prefer the bigger zo

Re: race with page_referenced_one->ptep_test_and_clear_young and pagetable setup/pulldown

2007-10-05 Thread Hugh Dickins
I see the discussion has somehow moved on to pagetable locking - mysterious because the word "lock" never once appears in your otherwise very helpful elucidation below, for which many thanks. Maybe what I have to add is now of historical interest only, or none, but I was prevented from answering y

Re: [PATCH] firewire: adopt read cycle timer ABI from raw1394

2007-10-05 Thread Pieter Palmers
Kristian Høgsberg wrote: On 10/1/07, Pieter Palmers <[EMAIL PROTECTED]> wrote: Stefan Richter wrote: This duplicates the read cycle timer feature of raw1394 (added in Linux 2.6.21) in firewire-core's userspace ABI. Kristian and Pieter, does this simple duplication of the ioctl make sense on it

Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

2007-10-05 Thread Eric W. Biederman
Greg KH <[EMAIL PROTECTED]> writes: > I would be interested in seeing what your patches look like. Sure. > I don't > think that we should take any more sysfs changes for 2.6.24 as we do > have a lot of them right now, and I don't think that Tejun and I agree > on the future direction of the out

Re: SLUB performance regression vs SLAB

2007-10-05 Thread Jens Axboe
On Fri, Oct 05 2007, Andi Kleen wrote: > Jens Axboe <[EMAIL PROTECTED]> writes: > > > > Writing a small test module to exercise slub/slab in various ways > > (allocating from all cpus freeing from one, as described) should not be > > too hard. Perhaps that would be enough to find this performance

Re: [PATCH] block: move ioctl conversion to compat_blkdev_ioctl

2007-10-05 Thread Arnd Bergmann
On Friday 05 October 2007, Jens Axboe wrote: > As before, this looks pretty good. I'll toss it in the tester and see if > things still work. > Ok, thanks a lot. Arnd <>< - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED

e1000e oops

2007-10-05 Thread maximilian attems
Linux tau 2.6.23-rc8-mm2-686 #1 SMP Wed Oct 3 23:56:32 CEST 2007 i686 GNU/Linux eth0 renamed to eth1 sysfs: duplicate filename 'eth1' can not be created WARNING: at fs/sysfs/dir.c:433 sysfs_add_one() [] dump_trace+0x68/0x1d5 [] show_trace_log_lvl+0x18/0x2c [] show_trace+0xf/0x11 [] dump_stack+

Re: [RFC][PATCH] New message-logging API (kprint)

2007-10-05 Thread Vegard Nossum
On 10/5/07, Rob Landley <[EMAIL PROTECTED]> wrote: > On Thursday 04 October 2007 3:17:03 pm Randy Dunlap wrote: > > On Thu, 04 Oct 2007 22:04:07 +0200 Vegard Nossum wrote: > > > Description: This patch largely implements the kprint API as previously > > > posted to the LKML and described in Documen

[PATCH] Replace __attribute_pure__ with __pure

2007-10-05 Thread Ralf Baechle
To be consistent with the use of attributes in the rest of the kernel replace all use of __attribute_pure__ with __pure and delete the definition of __attribute_pure__. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- Patch against v2.6.23-rc8-mm2. And btw why does Analog list half their empl

Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup

2007-10-05 Thread Pavel Machek
Hi! > This patch merges the fb_powerup and fb_powerdown hooks in a single > operation fb_power with an additional "state" parameter ranging > from 0 (running) to 3 (poweroff). No, please don't. Having int with 0/3 being valid specifying what to do is evil. enum is less evil, but what's wrong abo

Re: race with page_referenced_one->ptep_test_and_clear_young and pagetable setup/pulldown

2007-10-05 Thread Rik van Riel
On Thu, 04 Oct 2007 21:15:18 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Rik van Riel wrote: > > Either of these two would work. Another alternative could be to > > let test_and_clear_pte_flags have an exception table entry, where > > we jump right to the next instruction if the instru

Re: [PATCH] update sb->s_frozen when freezing read-only mounted device, too

2007-10-05 Thread Akinobu Mita
2007/10/5, Christoph Hellwig <[EMAIL PROTECTED]>: > On Sat, Sep 29, 2007 at 07:09:12PM +0900, Akinobu Mita wrote: > > freeze_bdev() with the device which is mounted as read only > > does not change sb->s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. > > > > Because of this behavior, xfs_freeze can br

Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU

2007-10-05 Thread Gautham R Shenoy
On Fri, Oct 05, 2007 at 08:24:21AM -0400, Steven Rostedt wrote: > > > > On Fri, 5 Oct 2007, Gautham R Shenoy wrote: > > > On Mon, Sep 10, 2007 at 11:39:01AM -0700, Paul E. McKenney wrote: > > > > [snip] > > > > > + > > > +/* > > > + * Return the list from which to boost target tasks. > > > + *

Re: [PATCH 0/2] add new notifier function

2007-10-05 Thread Eric W. Biederman
Takenori Nagano <[EMAIL PROTECTED]> writes: > Hi, > > These patches add new notifier function and implement it to > panic_notifier_list. > We used the hardcoded notifier chain so far, but it was not flexible. New > notifier is very flexible, because user can change a list of order by debugfs. Ho

Re: [Devel] Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

2007-10-05 Thread Kirill Korotaev
Eric W. Biederman wrote: > Greg KH <[EMAIL PROTECTED]> writes: > >>> Also fun is that the dev file implementation needs to be able to >>> report different major:minor numbers based on which mount of >>> sysfs we are dealing with. >> >>Um, no, that's not going to happen. /dev/sda will _always_

Re: [PATCH] RCU torture update for preemption

2007-10-05 Thread Paul E. McKenney
On Fri, Oct 05, 2007 at 08:21:49AM -0400, Steven Rostedt wrote: > > On Thu, 4 Oct 2007, Paul E. McKenney wrote: > > > On Wed, Oct 03, 2007 at 04:59:51PM -0400, Steven Rostedt wrote: > > > > > > PS. I got rid of your rcu_preeempt_task for rcu_preempt_tasks ;-) > > > > > > (No the above is _not_ a

Re: [patch 4/6] Fix SMP poweroff hangs

2007-10-05 Thread Mark Lord
Reposting this.. somehow left LKML off the TO/CC list.. (thanks Andrew!) Eric W. Biederman wrote: Mark Lord <[EMAIL PROTECTED]> writes: Eric W. Biederman wrote: Mark Lord <[EMAIL PROTECTED]> writes: - It could be that we changed the initialization order. - It could be that we changed the set

Re: [patch 4/6] Fix SMP poweroff hangs

2007-10-05 Thread Mark Lord
Eric W. Biederman wrote: Mark Lord <[EMAIL PROTECTED]> writes: Comments? Eric? Sorry -EBUSY. The trylock on call_lock is a recent thing (.22), added to keep panic from hanging. It probably makes more sense to move bust_spinlocks(0) down a few lines in kernel/panic.c and to test oops_in_pro

Re: [patch 4/6] Fix SMP poweroff hangs

2007-10-05 Thread Mark Lord
(reposting this.. somehow left LKML off the TO/CC list) Mark Lord wrote: Eric W. Biederman wrote: Mark Lord <[EMAIL PROTECTED]> writes: .. The code path on i386 should be: machine_power_off native_machine_power_off machine_shutdown(); (which disables the other cpus) smp_call_functi

Re: [PATCH 1/2] add tunable_notifier function

2007-10-05 Thread Eric W. Biederman
Takenori Nagano <[EMAIL PROTECTED]> writes: > This patch adds new notifier function tunable_notifier_chain. Its base is > atomic_notifier_chain. > +/** > + * tunable_notifier_chain_register - Add notifier to an tunable notifier > chain > + * @nh: Pointer to head of the tunable notifier chain

[Patch]Documentation/vm/slabinfo.c: clean up this code

2007-10-05 Thread WANG Cong
This patch does the following cleanups for Documentation/vm/slabinfo.c: - Fix two memory leaks; - Constify some char pointers; - Use snprintf instead of sprintf in case of buffer overflow; - Fix some indentations; - Other little improvements. And it is aga

Re: [PATCH] Replace __attribute_pure__ with __pure

2007-10-05 Thread Mauro Carvalho Chehab
Em Sex, 2007-10-05 às 14:13 +0100, Ralf Baechle escreveu: > To be consistent with the use of attributes in the rest of the kernel > replace all use of __attribute_pure__ with __pure and delete the > definition of __attribute_pure__. > > Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> Acked-by: M

Re: [PATCH 2/3] Prepare pid_nr() etc functions to work with not-NULL pids

2007-10-05 Thread Pavel Emelyanov
Matt Mackall wrote: > On Thu, Oct 04, 2007 at 12:54:17PM +0400, Pavel Emelyanov wrote: >> Matt Mackall wrote: >>> On Wed, Oct 03, 2007 at 06:20:43PM +0400, Pavel Emelyanov wrote: Just make the __pid_nr() etc functions that expect the argument to always be not NULL. Signed-off-by

Re: [Devel] Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model

2007-10-05 Thread Eric W. Biederman
Kirill Korotaev <[EMAIL PROTECTED]> writes: > Imho environments to be migratable should have no direct access to the > devices. > You can use any of stacked virtual filesystems to hide real > device from container. > You will have problems much bigger than this one otherwise > (imagine access to

Re: 2.6.23-rc9: Oops in cache_alloc_refill() mm/slab.c

2007-10-05 Thread Valerie Clement
Badari Pulavarty wrote: On Thu, 2007-10-04 at 18:13 +0200, Valerie Clement wrote: While running ffsb tests on my ext4 filesystem, I got an Oops in cache_alloc_refill(). I turned on SLAB debugging and here is the message I got: slab: Internal list corruption detected in cache 'buffer_head'(30),

Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU

2007-10-05 Thread Steven Rostedt
On Fri, 5 Oct 2007, Gautham R Shenoy wrote: > On Mon, Sep 10, 2007 at 11:39:01AM -0700, Paul E. McKenney wrote: > > [snip] > > > + > > +/* > > + * Return the list from which to boost target tasks. > > + * May only be invoked by the booster task, so guaranteed to > > + * already be initialized.

Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU

2007-10-05 Thread Paul E. McKenney
On Fri, Oct 05, 2007 at 06:51:14PM +0530, Gautham R Shenoy wrote: > On Fri, Oct 05, 2007 at 08:24:21AM -0400, Steven Rostedt wrote: > > On Fri, 5 Oct 2007, Gautham R Shenoy wrote: > > > On Mon, Sep 10, 2007 at 11:39:01AM -0700, Paul E. McKenney wrote: > > > > > > [snip] > > > > > > > + > > > > +/*

[Q] APM depends on PM_SLEEP?

2007-10-05 Thread Guennadi Liakhovetski
Why does APM depend on PM_SLEEP? So without sleep support you cannot use "Make CPU Idle calls when idle ", "Use real mode APM BIOS call to power off" etc? Found in 23-rc9-git of yesterday. Thanks Guennadi --- Guennadi Liakhovetski - To unsubscribe from this list: send the line "unsubscribe linux

Re: [linux-usb-devel] [IRQ map] VIA C7 CN700 2.6.23-rc9-git USB IRQs disabled

2007-10-05 Thread Guennadi Liakhovetski
On Fri, 5 Oct 2007, Alan Stern wrote: > On Fri, 5 Oct 2007, Guennadi Liakhovetski wrote: > > > Booting git snapshot of about 6 hours ago, getting the following: > > > > USB Universal Host Controller Interface driver v3.0 > > ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21 > > ACPI: PCI Interru

Re: 2.6.23-rc9: Oops in cache_alloc_refill() mm/slab.c

2007-10-05 Thread Badari Pulavarty
On Fri, 2007-10-05 at 15:41 +0200, Valerie Clement wrote: > Badari Pulavarty wrote: > > On Thu, 2007-10-04 at 18:13 +0200, Valerie Clement wrote: > >> While running ffsb tests on my ext4 filesystem, I got an Oops in > >> cache_alloc_refill(). > >> I turned on SLAB debugging and here is the message

Re: [PATCH 00/32] Remove iget() and read_inode() [try #2]

2007-10-05 Thread David Howells
David Howells <[EMAIL PROTECTED]> wrote: > A tarball of the patches can be retrieved from: > > http://people.redhat.com/~dhowells/iget-remove.tar.bz2 I've updated that to actually reflect this set of patches and not the old set. David - To unsubscribe from this list: send the line "unsubs

tmpfs disabled in .config but in /proc/filesystems

2007-10-05 Thread Guennadi Liakhovetski
Am I running crazy here (some 2.6.23-rc6-ish)? $ zcat /proc/config.gz | grep TMPFS # CONFIG_TMPFS is not set $ grep tmpfs /proc/filesystems nodev tmpfs Thanks Guennadi --- Guennadi Liakhovetski - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] RT: Add a per-cpu rt_overload indication

2007-10-05 Thread Gregory Haskins
The -rt scheduler currently evaluates all online CPUs whenever one or more enters an rt_overload condition. This suffers from scalability limitations as the # of online CPUs increases since each rq->lock needs to be acquired by each cpu. So we introduce a cpumask to track exactly which CPUs need

Re: [linux-usb-devel] [IRQ map] VIA C7 CN700 2.6.23-rc9-git USB IRQs disabled

2007-10-05 Thread Alan Stern
On Fri, 5 Oct 2007, Guennadi Liakhovetski wrote: > Booting git snapshot of about 6 hours ago, getting the following: > > USB Universal Host Controller Interface driver v3.0 > ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21 > ACPI: PCI Interrupt :00:10.0[A] -> Link [ALKB] -> GSI 21 (level, l

can't change euid 0 to uid != running user

2007-10-05 Thread Luciano Rocha
Hello, I have the following problem: $ sudo -u ie -s # or sudo su ie unable to change to runas uid: Resource temporarily unavailable Works: $ sudo su, followed by su ie The first sudo also worked while I had a shell under user ie. When I exited, it stopped working, but it is now working every

Re: [PATCH 01/32] Add an ERR_CAST() macro to complement ERR_PTR and co. [try #2]

2007-10-05 Thread Christoph Hellwig
On Thu, Oct 04, 2007 at 04:56:07PM +0100, David Howells wrote: > Add an ERR_CAST() macro to complement ERR_PTR and co. for the purposes of > casting an error entyped as one pointer type to an error of another pointer > type whilst making it explicit as to what is going on. > > This provides a repl

[PATCH] IPC: cleanup some code and wrong comments about semundo list managment

2007-10-05 Thread Pierre Peiffer
From: Pierre Peiffer <[EMAIL PROTECTED]> Some comments about sem_undo_list seem wrong. About the comment above unlock_semundo: "... If task2 now exits before task1 releases the lock (by calling unlock_semundo()), then task1 will never call spin_unlock(). ..." This is just wrong, I see no reason f

Re: [PATCH 03/32] IGET: Introduce a function to register iget failure [try #2]

2007-10-05 Thread Christoph Hellwig
On Thu, Oct 04, 2007 at 04:56:17PM +0100, David Howells wrote: > Introduce a function to register failure in an inode construction path. This > includes marking the inode under construction as bad, unlocking it and > releasing it. I'm a bit unconfortable with the name, but except for that this fu

Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2]

2007-10-05 Thread Christoph Hellwig
Why do you move it out of line? - 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: video resume stuff

2007-10-05 Thread Jiri Kosina
On Fri, 5 Oct 2007, Pavel Machek wrote: > > I suggest we tackle this *after* the x86 merge. > Well, we still have the regression on jikos' strange system, and I would > like to understand what is going on there. Sorry for this taking too long. Finally I had the time to play with this again, so

Re: [PATCH for testing] Re: Decreasing stime running confuses top

2007-10-05 Thread Frans Pop
On Friday 05 October 2007, Chuck Ebbert wrote: > procfs: Don't read runtime twice when computing task's stime > > Current code reads p->se.sum_exec_runtime twice and goes through > multiple type conversions to calculate stime. Read it once and > skip some of the conversions. > > Signed-off-by: Chuc

Re: video resume stuff

2007-10-05 Thread H. Peter Anvin
Pavel Machek wrote: I guess major change is to rename conflicting symbols, so that it is possible to link it twice. That would mean boot_memset() instead of memset() etc... Is that acceptable? Messy, but I guess we can deal with it. One can always do it with #define lest it gets too ugly.

  1   2   3   >