Re: [patch] uninline remove/add_parent() APIs

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 01:00:17 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: Should we copy Andrew or is someone else going to collect up all of these patches? Andrew is cowering in terror, because utrace goes tromping through this code. It would be rather good to get utrace moving along

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 14:17:04 +0800 Zhao Forrest [EMAIL PROTECTED] wrote: We're using RHEL5 with kernel version 2.6.18-8.el5. When doing a stress test on raw device for about 3-4 hours, we found the soft lockup message in dmesg. I know we're not reporting the bug on the latest kernel, but does

Re: mm snapshot broken-out-2007-04-11-02-24.tar.gz uploaded

2007-04-11 Thread Andrew Morton
On Thu, 12 Apr 2007 00:14:59 +0200 Michal Piotrowski [EMAIL PROTECTED] wrote: Andrew Morton napisa__(a): On Wed, 11 Apr 2007 20:03:17 +0200 Michal Piotrowski [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] napisa__(a): The mm snapshot broken-out-2007-04-11-02-24.tar.gz has been uploaded

Re: 2.6.21-rc6-mm1 USB related boot hang

2007-04-11 Thread Andrew Morton
On Thu, 12 Apr 2007 01:07:00 +0200 Helge Hafting [EMAIL PROTECTED] wrote: On Wed, Apr 11, 2007 at 01:43:46PM -0700, Andrew Morton wrote: OK. If you add initcall_debug to the kernel boot command line, what's the last thing we call? The last messages (handwritten, somewhat shortened

Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 14:33:57 -0700 Andrew Morton [EMAIL PROTECTED] wrote: Here is the call ordering , ktime_get() ktime_get_ts() - read_seqretry(xtime_lock, seq) getnstimeofday() __get_realtime_clock_ts() - read_seqretry(xtime_lock, seq) I wonder if there is a weird

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 09:39:25 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 15:30 -0700, Andrew Morton wrote: There used to be a cond_resched() in invalidate_mapping_pages() which would have prevented this, but I rudely removed it to support /proc/sys/vm/drop_caches

Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 11:36:02 +0200 Andi Kleen [EMAIL PROTECTED] wrote: OK, so I resurrected x86_64-mm-sched-clock-share.patch and x86_64-mm-sched-clock64.patch. The x86_64 box hangs on boot when using netconsole and printk timestamps too. Removing time from the kernel boot command

Re: 2.6.21-rc6-mm1 USB related boot hang

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 13:42:57 +0200 Helge Hafting [EMAIL PROTECTED] wrote: Jiri Kosina wrote: On Thu, 12 Apr 2007, Jiri Kosina wrote: Could you please - try booting without any HID devices plugged in (i.e. usb mice, usb keyboards) if the problem persists? - recompile

Re: [PATCH 2/2] mm: optimize kill_bdev()

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 17:21:22 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: Remove duplicate work in kill_bdev(). It currently invalidates and then truncates the bdev's mapping. invalidate_mapping_pages() will opportunistically remove pages from the mapping. And truncate_inode_pages() will

Re: 2.6.21-rc6-mm1 USB related boot hang

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 17:31:52 +0200 (CEST) Jiri Kosina [EMAIL PROTECTED] wrote: On Thu, 12 Apr 2007, Jiri Kosina wrote: - try booting without any HID devices plugged in (i.e. usb mice, usb keyboards) if the problem persists? - recompile 2.6.21-rc6-mm1 with git-hid.patch reverted to

Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 18:45:39 +0200 Andi Kleen [EMAIL PROTECTED] wrote: I was proposing that i386 and x86_64 be given a new, lockless, high-resolution printk_clock(). Presently x86 uses the default printk_clock(), which uses sched_clock(). Presumably copying the

Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 10:43:03 -0700 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Andrew Morton wrote: hm. People (ab)use sched_clock() for all sorts of things nowadays. I wouldn't do anything to degrade it just on behalf of printk-timestamping. printk was the only non-scheduler

Re: [PATCH] Add keyboard blink driver

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 17:27:27 +0200 Andi Kleen [EMAIL PROTECTED] wrote: Add a blink driver for debugging Simple driver that blinks the keyboard LEDs when loaded. Useful for checking that the kernel is still alive or for crashdumping. The kdump kernel currently typically doesn't give any

Re: 2.6.20 OOM with 8Gb RAM

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 11:38:30 -0600 Cameron Schaus [EMAIL PROTECTED] wrote: I am running the latest FC5-i686-smp kernel, 2.6.20, on a machine with 8Gb of RAM, and 2 Xeon processors. The system has a 750Mb ramdisk, and one process allocating and deallocating memory that is also writing lots of

Re: [PATCH 3/17] afs: convert afs_dir_get_page to read_kmap_page

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 19:57:23 +0100 David Howells [EMAIL PROTECTED] wrote: Hmmm you're right. Is your security work going into the next -mm? I don't know. Andrew hasn't said anything. Andrew? Are you waiting for it to go through DaveM's networking tree? AF_RXRPC is a davem thing and

Re: [PATCH] Add keyboard blink driver

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 21:28:08 +0200 Andi Kleen [EMAIL PROTECTED] wrote: I wonder if this facility would be more effective if it were to use schedule_delayed_work(). That way, we're using more of the kernel and it will more reliably detect kernel deadness. Hmm, maybe ?? +static void

Re: [PATCH 0/30] Use menuconfig objects

2007-04-12 Thread Andrew Morton
On Tue, 10 Apr 2007 21:17:40 +0200 (MEST) Jan Engelhardt [EMAIL PROTECTED] wrote: the following patch series turns some menus into menuconfigs, so they can be disabled whilst walking thorugh the parent menu So I merged the 23 of these which survived review and which do not intersect with

Re: intermittant petabyte usage reported with broadcom nic

2007-04-12 Thread Andrew Morton
On Fri, 13 Apr 2007 08:52:49 +1000 CaT [EMAIL PROTECTED] wrote: On Mon, Apr 02, 2007 at 12:13:00AM -0700, Andrew Morton wrote: On Mon, 2 Apr 2007 11:43:19 +1000 CaT [EMAIL PROTECTED] wrote: I take minute by minute snapshots of network traffic by sampling /proc/net/dev and most

Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

2007-04-12 Thread Andrew Morton
On Thu, 12 Apr 2007 16:10:50 -0700 William Lee Irwin III [EMAIL PROTECTED] wrote: On Tue, Apr 03, 2007 at 09:43:30PM -0500, Matt Mackall wrote: This patch series introduces /proc/pid/pagemap and /proc/kpagemap, which allow detailed run-time examination of process memory usage at a page

Re: [PATCH 0/30] Use menuconfig objects

2007-04-12 Thread Andrew Morton
On Fri, 13 Apr 2007 01:16:35 +0200 (MEST) Jan Engelhardt [EMAIL PROTECTED] wrote: On Apr 12 2007 15:50, Andrew Morton wrote: On Tue, 10 Apr 2007 21:17:40 +0200 (MEST) Jan Engelhardt [EMAIL PROTECTED] wrote: the following patch series turns some menus into menuconfigs, so they can

Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

2007-04-12 Thread Andrew Morton
On Fri, 13 Apr 2007 10:15:24 +1000 Nick Piggin [EMAIL PROTECTED] wrote: + ((char *)page)[1] = PAGE_SHIFT; OK. Shouldn't we just expose page size and endianness by other means? (another file or syscall). I don't think so - this file exposes fairly deep kernel

Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

2007-04-12 Thread Andrew Morton
On Fri, 13 Apr 2007 11:14:20 +1000 Nick Piggin [EMAIL PROTECTED] wrote: Andrew Morton wrote: On Fri, 13 Apr 2007 10:15:24 +1000 Nick Piggin [EMAIL PROTECTED] wrote: + for (; i 2 * chunk / KPMSIZE; i += 2, pfn++) { + ppage = pfn_to_page(pfn

Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

2007-04-12 Thread Andrew Morton
On Fri, 13 Apr 2007 11:42:29 +1000 Nick Piggin [EMAIL PROTECTED] wrote: Andrew Morton wrote: On Fri, 13 Apr 2007 11:14:20 +1000 Nick Piggin [EMAIL PROTECTED] wrote: Andrew Morton wrote: It *will* be viable. If the application wants to know if a page is dirty, it looks up PG_dirty

Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

2007-04-12 Thread Andrew Morton
On Fri, 13 Apr 2007 12:18:56 +1000 Nick Piggin [EMAIL PROTECTED] wrote: I guess one could generate an answer to the static question with systemtap, by accumulating running counts across the application lifetime and then snapshotting them. Sounds hard though. Can't you just traverse

Re: Cheap lock for user mode processes release when process exits

2007-04-12 Thread Andrew Morton
On Fri, 13 Apr 2007 01:54:28 + (GMT) [EMAIL PROTECTED] wrote: Hi all, Maybe someone here knows better. I have several user-mode processes using shared mmap. There can be several reader processes and only one writer. Readers access the shared region frequently, writer seldom.

Re: [PATCH] cache_k8_northbridges() overflows beyond allocation (Was: 2.6.21-rc5-mm4 (SLUB))

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 17:45:37 +0200 Andi Kleen [EMAIL PROTECTED] wrote: cache_k8_northbridges() is storing config values to incorrect locations (in flush_words) and also its overflowing beyond the allocation, causing slab verification failures. Oops. Thanks for tracking that down,

Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 11:24:36 -0500 Matt Mackall [EMAIL PROTECTED] wrote: It *will* be viable. If the application wants to know if a page is dirty, it looks up PG_dirty in /proc/pg_foo-to-bitnumber and uses PG_dirty's numerical offset when inspecting fields in /proc/kpagemap. If correctly

Re: [PATCH 0/13] maps: pagemap, kpagemap, and related cleanups

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 12:24:51 -0500 Matt Mackall [EMAIL PROTECTED] wrote: From /proc/kpagemap + /proc/*/pagemap, you can basically synthesize any statistic you want, including all the existing ones. For some data, /proc/pid/smaps (or /proc/meminfo) will be considerably more efficient.

Re: [PATCH] make iunique use a do/while loop rather than its obscure goto loop

2007-04-13 Thread Andrew Morton
On Wed, 11 Apr 2007 17:58:56 -0400 Jeffrey Layton [EMAIL PROTECTED] wrote: A while back, Christoph mentioned that he thought that iunique ought to be cleaned up to use a more conventional loop construct. This patch does that, turning the strange goto loop into a do/while. Signed-off-by:

Re: [PATCH] ALPHA: build fixes - force architecture (take 2)

2007-04-13 Thread Andrew Morton
On Thu, 12 Apr 2007 14:16:39 -0700 Richard Henderson [EMAIL PROTECTED] wrote: On Thu, Apr 12, 2007 at 12:01:10PM +0400, Ivan Kokshaysky wrote: [CIX stuff reworked, .got change dropped as Richard suggested] Override compiler .arch directive for generic kernel build. Signed-off-by:

Re: [PATCH] make iunique use a do/while loop rather than its obscure goto loop

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 15:08:38 -0400 Jeff Layton [EMAIL PROTECTED] wrote: ino_t iunique(struct super_block *sb, ino_t max_reserved) { static ino_t counter; struct inode *inode; struct hlist_head * head; ino_t res; spin_lock(inode_lock); do {

Re: [PATCH] change kernel threads to ignore signals instead of blocking them

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 08:13:32 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: Oleg Nesterov [EMAIL PROTECTED] writes: On top of Eric's kthread-dont-depend-on-work-queues-take-2.patch Currently kernel threads use sigprocmask(SIG_BLOCK) to protect against signals. This

Re: [PATCH 2/3] make kthread_create() more scalable

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 17:02:01 +0400 Oleg Nesterov [EMAIL PROTECTED] wrote: If kernel_thread(kthread) succeeds, kthread() can not fail on its path to complete(create-started) + schedule(). After that it can't be woken because nobody can see the new task yet. This means: - we don't need

Re: [PATCH 1/1] cciss: include scsi/scsi.h unconditionally

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 09:23:12 -0500 Stephen Cameron [EMAIL PROTECTED] wrote: Make cciss unconditionally include scsi/scsi.h For what reason? From: Stephen M. Cameron [EMAIL PROTECTED] Signed-off-by: Stephen M. Cameron [EMAIL PROTECTED] --- drivers/block/cciss.c |1 +

Re: [PATCH 2/3] make kthread_create() more scalable

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 15:51:29 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: Andrew Morton [EMAIL PROTECTED] writes: On Fri, 13 Apr 2007 17:02:01 +0400 Oleg Nesterov [EMAIL PROTECTED] wrote: If kernel_thread(kthread) succeeds, kthread() can not fail on its path to complete(create

Re: 2.6.20 OOM with 8Gb RAM

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 18:39:36 -0400 Jason Lunz [EMAIL PROTECTED] wrote: On Thu, Apr 12, 2007 at 12:15:53PM -0700, Andrew Morton wrote: All of ZONE_NORMAL got used by ramdisk, and networking wants to allocate a page from ZONE_NORMAL. An oom-killing is the correct response, although probably

Re: 2.6.20 OOM with 8Gb RAM

2007-04-13 Thread Andrew Morton
On Fri, 13 Apr 2007 15:54:33 -0700 William Lee Irwin III [EMAIL PROTECTED] wrote: On Fri, Apr 13, 2007 at 03:46:53PM -0700, Andrew Morton wrote: It's just weird - it exploits internal knowledge of VFS behaviour, diddles with pagecache within a fake disk strategy handler, etc. Furthermore

Re: 2.6.20-mm2

2007-02-19 Thread Andrew Morton
On Tue, 20 Feb 2007 02:20:21 +0100 Rafael J. Wysocki [EMAIL PROTECTED] wrote: On Sunday, 18 February 2007 20:43, Andrew Morton wrote: On Sun, 18 Feb 2007 13:44:54 +0100 Rafael J. Wysocki [EMAIL PROTECTED] wrote: On Sunday, 18 February 2007 06:51, Andrew Morton wrote

Re: Linux 2.6.21-rc1

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 11:24:33 -0800 (PST) Linus Torvalds [EMAIL PROTECTED] wrote: On Wed, 21 Feb 2007, Kok, Auke wrote: I think we need to drop this now. The report that says that this *fixes* something might have been on regular interrupts only. I currently suspect that it breaks

Re: [patch 00/21] 2.6.19-stable review

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 14:31:41 -0500 Chuck Ebbert [EMAIL PROTECTED] wrote: Greg KH wrote: This is the start of the stable review cycle for the 2.6.19.5 release. This will probably be the last release of the 2.6.19-stable series, so if there are patches that you feel should be applied to

Re: [patch 1/2] sched: fix idle load balancing in softirqd context

2007-02-21 Thread Andrew Morton
On Fri, 16 Feb 2007 18:03:35 -0800 Siddha, Suresh B [EMAIL PROTECTED] wrote: + int cpu = smp_processor_id(), idle_at_tick = idle_cpu(cpu); argh. Please, do int cpu = smp_processor_id(); int idle_at_tick = idle_cpu(cpu); - To unsubscribe from this list: send the line

Re: [patch 2/2] sched: dynticks idle load balancing - v2

2007-02-21 Thread Andrew Morton
On Fri, 16 Feb 2007 18:08:42 -0800 Siddha, Suresh B [EMAIL PROTECTED] wrote: Changes since v1: - Move the idle load balancer selection from schedule() to the first busy scheduler_tick() after restarting the tick. This will avoid the unnecessay ownership changes when

Re: dirty balancing deadlock

2007-02-21 Thread Andrew Morton
On Mon, 19 Feb 2007 18:11:55 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: How about this? I still don't understand this bug. Solves the FUSE deadlock, but not the throttle_vm_writeout() one. I'll try to tackle that one as well. If the per-bdi dirty counter goes below 16,

Re: [-mm patch] UNION_FS must depend on SLAB

2007-02-21 Thread Andrew Morton
On Tue, 20 Feb 2007 10:13:56 -0500 Josef Sipek [EMAIL PROTECTED] wrote: On Tue, Feb 20, 2007 at 08:37:34AM +0200, Pekka Enberg wrote: On 2/20/07, Adrian Bunk [EMAIL PROTECTED] wrote: CC fs/unionfs/copyup.o /home/bunk/linux/kernel-2.6/linux-2.6.20-mm2/fs/unionfs/copyup.c: In

Re: [PATCH] free pages in remove_arg_zero()

2007-02-21 Thread Andrew Morton
On Tue, 20 Feb 2007 14:29:04 +0100 Petr Tesak [EMAIL PROTECTED] wrote: I've found a bug when executing scripts: You've found more than that. When a script is loaded, load_script() replaces argv[0] with the name of the interpreter and the filename passed to the exec syscall. However,

Re: [GIT PULL] audit patches

2007-02-21 Thread Andrew Morton
On Sun, 18 Feb 2007 04:01:27 + Al Viro [EMAIL PROTECTED] wrote: Misc audit patches (resend again...); the most intrusive one is AUDIT_FD_PAIR, allowing to log descriptor numbers from syscalls that do not return them in usual way (i.e. pipe() and socketpair()). It took some massage of the

Re: [-mm patch] UNION_FS must depend on SLAB

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 21:00:39 -0500 Josef Sipek [EMAIL PROTECTED] wrote: I can't say more until I've managed to understand your description, which might take a while. It is intended for reallocation of a buffer. The code in lookup.c allocates some memory, and it may have to reallocate the

Re: [PATCH 006 of 6] md: Add support for reshape of a raid6

2007-02-21 Thread Andrew Morton
On Tue, 20 Feb 2007 17:35:16 +1100 NeilBrown [EMAIL PROTECTED] wrote: + for (i = conf-raid_disks ; i-- ; ) { That statement should be dragged out, shot, stomped on then ceremonially incinerated. What's wrong with doing for (i = 0; i conf-raid_disks; i++) { in a manner

Re: [PATCH 006 of 6] md: Add support for reshape of a raid6

2007-02-21 Thread Andrew Morton
On Thu, 22 Feb 2007 00:36:22 +0100 Oleg Verych [EMAIL PROTECTED] wrote: From: Andrew Morton Newsgroups: gmane.linux.raid,gmane.linux.kernel Subject: Re: [PATCH 006 of 6] md: Add support for reshape of a raid6 Date: Wed, 21 Feb 2007 14:48:06 -0800 Hallo. On Tue, 20 Feb 2007 17:35:16

Re: [PATCH] update ctime and mtime for mmaped write

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 18:51:52 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: This patch makes writing to shared memory mappings update st_ctime and st_mtime as defined by SUSv3: The st_ctime and st_mtime fields of a file that is mapped with MAP_SHARED and PROT_WRITE shall be marked for

Re: [patch 18/24] Xen-paravirt_ops: Some generic early printk boot console fixups

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 12:53:12 -0800 Jeremy Fitzhardinge [EMAIL PROTECTED] wrote: Some generic early printk boot console fixups (already sent to lkml). hm, this patch series seems to have gone out of its way to cause problems. This particular (pathetically changelogged) patch is already in my

Re: dirty balancing deadlock

2007-02-21 Thread Andrew Morton
On Thu, 22 Feb 2007 08:42:26 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: Index: linux/mm/page-writeback.c === --- linux.orig/mm/page-writeback.c2007-02-19 17:32:41.0 +0100 +++

Re: [Patch 1/2] cciss: fix for 2TB support

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 15:10:39 -0600 Mike Miller (OS Dev) [EMAIL PROTECTED] wrote: Patch 1/2 This patch changes the way we determine if a logical volume is larger than 2TB. The original test looked for a total_size of 0. Originally we added 1 to the total_size. That would make our

Re: [Patch 2/2] cciss: add reboot notifier support to driver

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 15:12:51 -0600 Mike Miller (OS Dev) [EMAIL PROTECTED] wrote: @@ -3293,6 +3327,12 @@ #endif ((hba[i]-nr_cmds + BITS_PER_LONG - 1) / BITS_PER_LONG) * sizeof(unsigned long)); + if (notify_count == 0) { +

Re: [PATCH 006 of 6] md: Add support for reshape of a raid6

2007-02-21 Thread Andrew Morton
On Thu, 22 Feb 2007 13:39:56 +1100 Neil Brown [EMAIL PROTECTED] wrote: I must right code that Andrew can read. That's write. But more importantly, things that people can immediately see and understand help reduce the possibility of mistakes. Now and in the future. If we did all loops like

Re: 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-21 Thread Andrew Morton
On Thu, 22 Feb 2007 05:18:45 +0900 OGAWA Hirofumi [EMAIL PROTECTED] wrote: Kumar Gala [EMAIL PROTECTED] writes: I usually run the following twice to get the hang state: time ./trunc_test bar 1 time ./trunc_test baz 1 I was wondering if anyone had any suggestions

Re: [linux-usb-devel] 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 16:22:17 -0500 (EST) Alan Stern [EMAIL PROTECTED] wrote: On Wed, 21 Feb 2007, Andrew Morton wrote: It seems like usb-storage and aio are completely off in the weeds. Ideas? It seems usb-storage should remove some kmalloc and use mempool() for urb

Re: [linux-usb-devel] 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 16:50:23 -0500 (EST) Alan Stern [EMAIL PROTECTED] wrote: + if ((gfp_mask (__GFP_FS|__GFP_IO)) != (__GFP_FS|__GFP_IO)) { Is that really the correct test? I don't know enough about the memory management subsystem to say one way or the other. What's special about

Re: [GIT PULL] audit patches

2007-02-22 Thread Andrew Morton
On Thu, 22 Feb 2007 08:22:47 -0500 Stephen Smalley [EMAIL PROTECTED] wrote: On Wed, 2007-02-21 at 16:03 -0800, Andrew Morton wrote: Looking at the changes to audit_receive_msg(): if (sid) { if (selinux_sid_to_string

Re: [RFC][PATCH -mm] mmc build fix

2007-02-22 Thread Andrew Morton
On Thu, 22 Feb 2007 22:04:08 +0100 Pierre Ossman [EMAIL PROTECTED] wrote: Michal Piotrowski wrote: Hi, [EMAIL PROTECTED] napisaƂ(a): The mm snapshot broken-out-2007-02-21-22-18.tar.gz has been uploaded to

Re: [PATCH 4/4] NOMMU: Make it possible for RomFS to use MTD devices directly

2007-02-21 Thread Andrew Morton
On Tue, 20 Feb 2007 19:51:06 + David Howells [EMAIL PROTECTED] wrote: + brelse(bh); A little fyi: brelse() is rather old-fashioned, and has a usually unneeded test for non-null bh in it. In situations where we know that the pointer is valid, let's please use put_bh(). Anyway,

Re: [linux-usb-devel] 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-22 Thread Andrew Morton
On Thu, 22 Feb 2007 12:20:06 -0600 Kumar Gala [EMAIL PROTECTED] wrote: + if ((gfp_mask (__GFP_FS|__GFP_IO)) != (__GFP_FS|__GFP_IO)) { The second seems to make more sense. I tested with the first last night which didn't help. With the proper patch in place things look good. Is

Re: [Patch 1/2] cciss: fix for 2TB support

2007-02-22 Thread Andrew Morton
On Thu, 22 Feb 2007 10:51:23 -0600 Mike Miller (OS Dev) [EMAIL PROTECTED] wrote: On Wed, Feb 21, 2007 at 07:14:27PM -0800, Andrew Morton wrote: On Wed, 21 Feb 2007 15:10:39 -0600 Mike Miller (OS Dev) [EMAIL PROTECTED] wrote: Patch 1/2 + if (total_size == 0x

Re: circular locking: /proc/sys/vm/drop_caches

2007-02-23 Thread Andrew Morton
On Fri, 23 Feb 2007 07:35:38 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: i just got the lockdep warning below when doing: echo 3 /proc/sys/vm/drop_caches is this a known quirk in the drop_caches code? It is - we're taking inode_lock at just the wrong level there and I don't know how to

Re: Linux 2.6.21-rc1

2007-02-23 Thread Andrew Morton
On Wed, 21 Feb 2007 18:41:11 +0100 Thomas Gleixner [EMAIL PROTECTED] wrote: On Wed, 2007-02-21 at 09:19 -0800, Daniel Walker wrote: At this point the PIT / HPET _is_ active and incrementing jiffies. The switch to local apic timers happens afterwards. Could be the switch over then

Re: Areca driver 2.6.19 on x86_64

2007-02-23 Thread Andrew Morton
On Thu, 22 Feb 2007 20:04:07 -0800 (PST) pgf111000 [EMAIL PROTECTED] wrote: These solutions are laughable Areca Support wrote: Dear Sir, This is Kevin Wang from Areca Technology, Tech-Support Team. regarding your problem, please trying to disable ACPI in kernel loader.

Re: 2.6.21-rc1: T60 resume from suspend to RAM issues

2007-02-23 Thread Andrew Morton
On Fri, 23 Feb 2007 01:38:03 +0200 Michael S. Tsirkin [EMAIL PROTECTED] wrote: I tested this: commit 9654640d0af8f2de40ff3807d3695109d3463f54 and see 2 issues: 1. After suspend to RAM, system wakes up but no screen. I can log in through ssh though. dmesg output at this point below.

Re: [Patch 1/2] cciss: fix for 2TB support

2007-02-23 Thread Andrew Morton
On Fri, 23 Feb 2007 14:52:29 -0600 Mike Miller (OS Dev) [EMAIL PROTECTED] wrote: On Thu, Feb 22, 2007 at 04:06:41PM -0600, James Bottomley wrote: On Thu, 2007-02-22 at 16:02 -0600, Mike Miller (OS Dev) wrote: Will this patch for my patch work for now? Yes, I think that should be fine

Re: I2O block driver broken in kernel 2.6.19?

2007-02-24 Thread Andrew Morton
(cc's restored. Please, always do reply-to-all) On Fri, 23 Feb 2007 22:57:27 + (UTC) Mark Gray [EMAIL PROTECTED] wrote: i2o/hda:3Buffer I/O error on device i2o/hda, logical block 0 Buffer I/O error on device i2o/hda, logical block 0 Same error here. Both 2.6.19 and 2.6.20 kernels,

Re: isapnp: broken API

2007-02-24 Thread Andrew Morton
On Fri, 23 Feb 2007 16:25:05 +0100 Sacher Khoudari [EMAIL PROTECTED] wrote: --- linux-2.6.20.1/drivers/pnp/isapnp/core.c.old 2007-02-23 16:20:46.0 +0100 +++ linux-2.6.20.1/drivers/pnp/isapnp/core.c 2007-02-23 16:21:25.0 +0100 @@ -943,9 +943,7 @@

Re: 2.6.21-rc1: framebuffer/console boot failure

2007-02-24 Thread Andrew Morton
On Fri, 23 Feb 2007 13:35:50 - (GMT) Andrew [EMAIL PROTECTED] wrote: Hi, 2.6.21-rc1 fails to boot on my machine. As soon as I switch from grub the screen turns and remains black with no sign of Tux or any output. I've run a git-bisect between 2.6.20 (which works fine) and 2.6.21-rc1

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

2007-02-24 Thread Andrew Morton
On Sat, 24 Feb 2007 18:54:24 +0100 Uwe Bugla [EMAIL PROTECTED] wrote: Hi folks, Second attempt now: I already reported to Linus Torvalds and Andrew Morton that it is impossible to mount a conventional floppy drive without hanging up the whole system. Andrew's reaction was quite ambiguous

Re: [patch 01/18] bcm43xx: Fix for oops on resume

2007-02-25 Thread Andrew Morton
On Sat, 24 Feb 2007 20:30:41 -0600 Larry Finger [EMAIL PROTECTED] wrote: Pavel Machek wrote: Hi! -stable review patch. If anyone has any objections, please let us know. -- From: Larry Finger [EMAIL PROTECTED] There is a kernel oops on bcm43xx when resuming due

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

2007-02-25 Thread Andrew Morton
What an unpleasing patchset. I really really hope we really have a bug in there, and that all this crap isn't pointless uglification. We _do_ need a flush_dcaceh_page() in all cases which you're concerned about. Perhaps we should stick the appropriate barriers in there. On Thu, 15 Feb 2007

Re: [PATCH] pcmcia/pccard deadlock fix

2007-02-25 Thread Andrew Morton
On Tue, 20 Feb 2007 16:08:11 +0100 Markus Rechberger [EMAIL PROTECTED] wrote: following patch prevents a mutex/semaphore deadlock within the pcmcia framework when ejecting devices multiple times using pccardctl eject. For some more details see: http://lkml.org/lkml/2007/2/19/58 ---

Re: [PATCH 0/6] KVM userspace interface updates for 2.6.21

2007-02-25 Thread Andrew Morton
On Sun, 25 Feb 2007 11:58:23 +0200 Avi Kivity [EMAIL PROTECTED] wrote: Avi Kivity wrote: The patchset, along with the previous fixset, is available as a git tree from git://kvm.qumranet.com/home/avi/kvm/linux-2.6. You may wish to plant it in your little git forest. This is now

Re: sparc64 / bbc_i2c.c

2007-02-25 Thread Andrew Morton
On Tue, 20 Feb 2007 13:27:12 + J.J. Green [EMAIL PROTECTED] wrote: Hi all I got bitten by this problem on sparc64 (a blade 1000) http://ubuntuforums.org/showthread.php?t=297474 summary : modprobe bbc runs kenvctrld which uses 100% of a CPU for 5 seconds, then 0% for 5

Re: [patch 0/6] fault vs truncate/invalidate race fix

2007-02-26 Thread Andrew Morton
On Tue, 27 Feb 2007 15:36:03 +1100 Dave Airlie [EMAIL PROTECTED] wrote: I've also got rid of the horrible populate API, and integrated nonlinear pages properly with the page fault path. Downside is that this adds one more vector through which the buffered write deadlock can occur.

Re: [PATCH] udivdi3: 64 bit divide

2007-02-27 Thread Andrew Morton
On Mon, 26 Feb 2007 17:35:17 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: The kernel already has several implmentations and usages of 64 by 64 bit divide. Although it is significantly slower, there are places that need it so provide one generic version using scaling, and allow

Re: [PATCH,RFC] fix section mismatch warning in lib/swiotlb.c

2007-02-27 Thread Andrew Morton
On Mon, 26 Feb 2007 19:38:00 +0100 Sam Ravnborg [EMAIL PROTECTED] wrote: kbuild spits outs following warning on a defconfig x86_64 build: WARNING: swiotlb.o - Section mismatch: reference to .init.text:swiotlb_init from __ksymtab between '__ksymtab_swiotlb_init' (at offset 0xa0) and

Re: [patch 0/2] semaphores: add down_interruptible_timeout() and asm-generic/semaphore.h

2007-02-27 Thread Andrew Morton
On Mon, 26 Feb 2007 16:54:17 -0800 Inaky Perez-Gonzalez [EMAIL PROTECTED] wrote: On Monday 26 February 2007 16:33, Christoph Hellwig wrote: On Mon, Feb 26, 2007 at 04:13:38PM -0800, [EMAIL PROTECTED] wrote: Introduce down_interruptible_timeout() using timers to make the waiter stop

Re: [PATCH] display class

2007-02-27 Thread Andrew Morton
On Sun, 25 Feb 2007 18:39:57 + (GMT) James Simmons [EMAIL PROTECTED] wrote: Here is the second round to the new display class. This is meant to unite the various solutions to display units ie acpi output device, auxdisplay and the defunct lcd class in the backlight directory. Please

Re: [PATCH] x86_64: fix section mismatch warnings

2007-02-27 Thread Andrew Morton
On Sun, 25 Feb 2007 21:53:02 +0100 Sam Ravnborg [EMAIL PROTECTED] wrote: Any easy way to get cross-compile tools on ubuntu other than using Dan Kegel's toolset or Linux Foundation precompield versions? Not that I know of - it's all rather non-trivial. I have uploaded a bunch of precompiled

Re: 2.6.20-mm2

2007-02-27 Thread Andrew Morton
On Sun, 25 Feb 2007 14:15:30 +0100 Jean Delvare [EMAIL PROTECTED] wrote: Hi Andrew, all, I appear to need the following fix to be able to build 2.6.20-mm2 on x86_64. Without the fix, my build attempt dies on: In file included from drivers/pci/quirks.c:532: include/asm/io_apic.h:61:

Re: [PATCH] init_new_context: Use the passed task argument

2007-02-27 Thread Andrew Morton
On Fri, 23 Feb 2007 21:10:36 +0530 Aneesh Kumar K.V [EMAIL PROTECTED] wrote: From: Aneesh Kumar K.V [EMAIL PROTECTED] Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED] --- arch/i386/kernel/ldt.c |2 +- arch/x86_64/kernel/ldt.c |2 +- kernel/fork.c|2 +- 3

Re: [PATCH] cxacru: Export detailed device info through sysfs. (updated, card_info array one element too large)

2007-02-27 Thread Andrew Morton
On Sat, 24 Feb 2007 02:00:31 + Simon Arlott [EMAIL PROTECTED] wrote: When the device is polled for status there is a lot of useful status information available that is ignored. This patch stores the device info array when the status is polled and adds sysfs files to the usb device to

Re: [PATCH 14/14] genirq: Mask irqs when migrating them.

2007-02-27 Thread Andrew Morton
On Fri, 23 Feb 2007 18:06:55 -0800 Siddha, Suresh B [EMAIL PROTECTED] wrote: move_native_irqs tries to do the right thing when migrating irqs by disabling them. However disabling them is a software logical thing, not a hardware thing. This has always been a little flaky and after

Re: [patch 1/1] MM: detach_vmas_to_be_unmapped fix

2007-02-27 Thread Andrew Morton
On Fri, 23 Feb 2007 08:27:00 -0800 akuster [EMAIL PROTECTED] wrote: Wolfgang Wander submitted a fix to address a mmap fragmentation issue. The git patch ( 1363c3cd8603a913a27e2995dccbd70d5312d8e6 ) is somewhat different and yields different results when running Wolfgang's test case

Re: [PATCH] drivers: PMC MSP71xx GPIO char driver

2007-02-27 Thread Andrew Morton
On Fri, 23 Feb 2007 17:28:19 -0600 Marc St-Jean [EMAIL PROTECTED] wrote: [PATCH] drivers: PMC MSP71xx GPIO char driver Patch to add a GPIO char driver for the PMC-Sierra MSP71xx devices. This patch references some platform support files previously submitted to the [EMAIL PROTECTED] list.

Re: [PATCH] adapt page_lock_anon_vma() to PREEMPT_RCU

2007-02-27 Thread Andrew Morton
On Sun, 25 Feb 2007 23:06:21 +0300 Oleg Nesterov [EMAIL PROTECTED] wrote: page_lock_anon_vma() uses spin_lock() to block RCU. This doesn't work with PREEMPT_RCU, we have to do rcu_read_lock() explicitely. Otherwise, it is theoretically possible that slab returns anon_vma's memory to the system

Re: [PATCH] udivdi3: 64 bit divide

2007-02-27 Thread Andrew Morton
On Tue, 27 Feb 2007 13:18:40 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: On Tue, 27 Feb 2007 12:24:37 -0800 Andrew Morton [EMAIL PROTECTED] wrote: On Mon, 26 Feb 2007 17:35:17 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: The kernel already has several implmentations

Re: [Patch 2/2] cciss: supercedes add shutdown support (replaces reboot notifier)

2007-02-27 Thread Andrew Morton
On Fri, 23 Feb 2007 14:42:39 -0600 Mike Miller (OS Dev) [EMAIL PROTECTED] wrote: This patch supercedes yesterdays cciss-shutdown patch. The primary difference is removing __devexit from cciss_remove_one. Instead of create another function I'd rather use the code that was intended to

Re: debug registers and fork

2007-02-27 Thread Andrew Morton
On Mon, 26 Feb 2007 15:51:54 -0800 Stephane Eranian [EMAIL PROTECTED] wrote: Hello, I have come across an issue with a monitoring using the hardware debug registers on ia64/i386/x86-64. It seems that the way debug registers are inherited across fork differs between ia-64 and i386/x86-64.

Re: fully honor vdso_enabled [i386, sh; x86_64?]

2007-02-28 Thread Andrew Morton
On Wed, 28 Feb 2007 18:11:11 +0900 Paul Mundt [EMAIL PROTECTED] wrote: On Thu, Feb 22, 2007 at 12:31:20PM -0800, John Reiser wrote: This patch changes arch_setup_additonal_pages() to honor vdso_enabled. For i386 it also allows the option of a fixed addresss to avoid fragmenting the address

Re: [Bugme-new] [Bug 8100] New: dynticks makes ksoftirqd1 use unreasonable amount of cpu time

2007-02-28 Thread Andrew Morton
On Wed, 28 Feb 2007 09:34:10 -0800 [EMAIL PROTECTED] wrote: http://bugzilla.kernel.org/show_bug.cgi?id=8100 Summary: dynticks makes ksoftirqd1 use unreasonable amount of cpu time Kernel Version: 2.6.21-rc2 Status: NEW Severity: low

Re: [PATCH] linux/sysdev.h needs to include linux/module.h

2007-02-28 Thread Andrew Morton
On Sat, 24 Feb 2007 12:22:11 + Ralf Baechle [EMAIL PROTECTED] wrote: sysdev.h uses THIS_MODULE so should include linux/module.h. Signed-off-by: Ralf Baechle [EMAIL PROTECTED] diff --git a/include/linux/sysdev.h b/include/linux/sysdev.h index 389ccf8..e699ab2 100644 ---

Re: 2.6.20-rc1: CIFS cheers, NFS4 jeers

2007-02-28 Thread Andrew Morton
On Mon, 26 Feb 2007 00:45:00 -0600 [EMAIL PROTECTED] (Florin Iucha) wrote: Hello, it's me and my 70 GB of photos again. I have tested both CIFS and NFSv4 clients in kernel 2.6.20-rc1 . CIFS passed with flying colors and NFSv4 stalled after 7 GB. Configuration: Server: PIII/1GHz, 512

Re: Thread flags modified without set_thread_flag() (non atomically)

2007-02-28 Thread Andrew Morton
On Mon, 26 Feb 2007 12:10:37 -0800 Mathieu Desnoyers [EMAIL PROTECTED] wrote: Hi, How come I'm the only person around here with a Reply button? Looking into the thread flags, I found out that some architecture specific kernel functions (in 2.6.20) sets the thread flags with non atomic

Re: [PATCH]: Use stop_machine_run in the Intel RNG driver

2007-02-28 Thread Andrew Morton
On Tue, 27 Feb 2007 07:22:00 -0500 Prarit Bhargava [EMAIL PROTECTED] wrote: Replace call_smp_function with stop_machine_run in the Intel RNG driver. CPU A has done read_lock(lock) CPU B has done write_lock_irq(lock) and is waiting for A to release the lock. A third CPU calls

Re: [patch 03/22] fix deadlock in balance_dirty_pages

2007-02-28 Thread Andrew Morton
On Tue, 27 Feb 2007 23:38:12 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: From: Miklos Szeredi [EMAIL PROTECTED] This deadlock happens, when dirty pages from one filesystem are written back through another filesystem. It easiest to demonstrate with fuse although it could affect looback

<    6   7   8   9   10   11   12   13   14   15   >