Re: [rfc 08/45] cpu alloc: x86 support

2007-11-20 Thread Andi Kleen
On Wednesday 21 November 2007 02:16:11 Christoph Lameter wrote: But one can subtract too... The linker cannot subtract (unless you add a new relocation types) Hmmm... So the cpu area 0 could be put at the beginning of the 2GB kernel area and then grow downwards from 0x8000.

Re: [PATCH][v2] net/ipv4/arp.c: Fix arp reply when sender ip 0

2007-11-20 Thread David Miller
From: Jonas Danielsson [EMAIL PROTECTED] Date: Tue, 20 Nov 2007 17:28:22 +0100 Fix arp reply when received arp probe with sender ip 0. Send arp reply with target ip address 0.0.0.0 and target hardware address set to hardware address of requester. Previously sent reply with target ip address

Re: mm snapshot broken-out-2007-11-20-01-45.tar.gz uploaded

2007-11-20 Thread David Howells
Andrew Morton [EMAIL PROTECTED] wrote: The patch aout-suppress-aout-library-support-if-config_arch_supports_aout.patch, creates a struct exec in linux/a.out.h and asm/a.out.h already has it, for the struct related warnings. Nothing should be including {asm,linux}/a.out.h unless it

Re: 2.6.24-rc3: find complains about /proc/net

2007-11-20 Thread Eric W. Biederman
Robert Hancock [EMAIL PROTECTED] writes: Eric W. Biederman wrote: Could you elaborate a bit on how the semantics of returning the wrong information are more useful? In particular if a thread does the logical equivalent of: grep Pid: /proc/self/status. It always get the tgid despite having

Re: [rfc 08/45] cpu alloc: x86 support

2007-11-20 Thread Christoph Lameter
On Wed, 21 Nov 2007, Andi Kleen wrote: On Wednesday 21 November 2007 02:16:11 Christoph Lameter wrote: But one can subtract too... The linker cannot subtract (unless you add a new relocation types) The compiler knows and emits assembly to compensate. All you need is a 2MB area (16MB is

Re: [PATCH] ext4: dir inode reservation V3

2007-11-20 Thread Andreas Dilger
On Nov 20, 2007 12:22 -0800, Mingming Cao wrote: On Tue, 2007-11-20 at 12:14 +0800, Coly Li wrote: Mingming Cao wrote: On Tue, 2007-11-13 at 22:12 +0800, Coly Li wrote: The hole is (s_dir_ireserve_nr - 1), not N * s_dir_ireserve_nr. Because directory inode will also use a inode slot

Re: [PATCH v4 19/20] Optimize out cpu_clears

2007-11-20 Thread Steven Rostedt
On Tue, Nov 20, 2007 at 08:01:13PM -0500, Steven Rostedt wrote: static DEFINE_PER_CPU(cpumask_t, local_cpu_mask); -static DEFINE_PER_CPU(cpumask_t, valid_cpu_mask); static int find_lowest_cpus(struct task_struct *task, cpumask_t *lowest_mask) { - int cpu; - cpumask_t

Re: [BUG] 2.6.24-rc2-mm1 Warning at arch/x86/kernel/smp_32.c:561

2007-11-20 Thread Dave Young
On Nov 20, 2007 5:59 PM, Dave Young [EMAIL PROTECTED] wrote: On Nov 20, 2007 5:56 PM, Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 20 Nov 2007 17:47:28 +0800 Dave Young [EMAIL PROTECTED] wrote: Hi, I encountered kernel warningsr. I just executed xawtv without video dev being

Re: [patch] 0/4 Support for Toshiba TMIO multifunction devices

2007-11-20 Thread eric miao
Roughly went through the patch, looks good, here comes the remind, though :-) 1. is it possible to use some name other than soc_core, maybe tmio_core so that other multifunction chips sharing a core base will live easier. 2. those C++ style comments // are not so pleasant... - eric On Nov 21,

Re: [git patches] libata fixes

2007-11-20 Thread Jeff Garzik
Tejun Heo wrote: These are upstream patches I collected while Jeff is away. Thanks. * workaround for ATAPI tape drives * detection/suspend workarounds for several laptops * ICH8/9 port_enable fix ata_piix controller ID reorganization is included to ease the fixes. Please pull from

Re: CONFIG_IRQBALANCE for 64-bit x86 ?

2007-11-20 Thread Walt H
On Tue, 20 Nov 2007 15:17:15 +1100 Nick Piggin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Tuesday 20 November 2007 15:12, Mark Lord wrote: On 32-bit x86, we have CONFIG_IRQBALANCE available, but not on 64-bit x86. Why not? because the in-kernel one is actually quite bad. My

Re: [PATCH 4/6] Use two zonelist that are filtered by GFP mask

2007-11-20 Thread 小崎資広
Hi +static inline enum zone_type gfp_zonelist(gfp_t flags) +{ + if (NUMA_BUILD unlikely(flags __GFP_THISNODE)) + return 1; + + return 0; +} + static inline int gfp_zonelist(gfp_t flags) ? if not, why no use ZONE_XXX macro. kosaki - To unsubscribe from this

Re: mm snapshot broken-out-2007-11-20-01-45.tar.gz uploaded

2007-11-20 Thread Andrew Morton
On Wed, 21 Nov 2007 01:32:48 + David Howells [EMAIL PROTECTED] wrote: Andrew Morton [EMAIL PROTECTED] wrote: The patch aout-suppress-aout-library-support-if-config_arch_supports_aout.patch, creates a struct exec in linux/a.out.h and asm/a.out.h already has it, for the struct

Re: CONFIG_IRQBALANCE for 64-bit x86 ?

2007-11-20 Thread Jeff Garzik
Ingo Molnar wrote: single-bzImage initrd was and is possible, Correct (though s/initrd/initramfs/). Take a look at usr/Makefile for how initramfs is automatically included in the image, right now. The intention at the time was to quickly follow up this stub (generated by gen_init_cpio)

Re: [PATCH 4/5] Fix the configuration dependencies

2007-11-20 Thread Ken'ichi Ohmichi
Hi Simon, Thank you for reviewing and your Acked-by signs. Simon Horman wrote: On Fri, Nov 16, 2007 at 11:33:20AM +0900, Ken'ichi Ohmichi wrote: This patch fixes the configuration dependencies in the vmcoreinfo data. i386's node_data is defined in arch/x86/mm/discontig_32.c, and x86_64's

[PATCH] remove unused tsk_thread from asm-offsets_64.c

2007-11-20 Thread Steven Rostedt
I was looking for where tsk_thread is used in the x86_64 code, and couln't find it anywhere. I took it out and compiled the kernel, and it compiled fine. So this patch simply removes the thread from asm-offsets.c since I can't find an owner for it. Signed-off-by: Steven Rostedt [EMAIL PROTECTED]

Re: CONFIG_IRQBALANCE for 64-bit x86 ?

2007-11-20 Thread H. Peter Anvin
Jeff Garzik wrote: Take a look at usr/Makefile for how initramfs is automatically included in the image, right now. The intention at the time was to quickly follow up this stub (generated by gen_init_cpio) with a full inclusion of klibc + some basics like nfsroot. It should be a very

Inotify fails to send IN_ATTRIB events

2007-11-20 Thread Morten Welinder
I am seeing missing inotify IN_ATTRIB events in the following situation: 1. touch foo 2. Make inotify watch foo 3. ln foo bar -- Link count changed so I should have gotten an IN_ATTRIB. 4. rm foo -- Link count changed so I should have gotten an IN_ATTRIB. (Or IN_DELETE_SELF; I don't

Re: gitweb: kernel versions in the history (feature request, probably)

2007-11-20 Thread J. Bruce Fields
On Wed, Nov 21, 2007 at 12:30:23AM +0100, Jarek Poplawski wrote: I don't know git, but it seems, at least if done for web only, this shouldn't be so 'heavy'. It could be a 'simple' translation of commit date by querying a small database with kernel versions dates. If I create a commit in my

__rcu_process_callbacks() in Linux 2.6

2007-11-20 Thread James Huang
In the latest Linux 2.6 RCU implementation, __rcu_process_callbacks() is coded as follows: 422 static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp, 423struct rcu_data *rdp) 424 { 425if (rdp-curlist !rcu_batch_before(rcp-completed,

[PATCH] Fix optimized search

2007-11-20 Thread Gregory Haskins
I spied a few more issues from http://lkml.org/lkml/2007/11/20/590. Patch is below.. Regards, -Greg - Include cpu 0 in the search, and eliminate the redundant cpu_set since the bit should already be set in the mask. Signed-off-by: Gregory Haskins [EMAIL PROTECTED] ---

[PATCH] CPUFREQ: powernow-k8 print pstate instead of fid/did for family 10h

2007-11-20 Thread Yinghai Lu
[PATCH] CPUFREQ: powernow-k8 print pstate instead of fid/did for family 10h powernow-k8: Found 1 Quad-Core AMD Opteron(tm) Processor 8354 processors (4 cpu cores) (version 2.20.00) powernow-k8:0 : fid 0x0 did 0x0 (2200 MHz) powernow-k8:1 : fid 0x0 did 0x0 (2000 MHz) powernow-k8:2 :

Re: __rcu_process_callbacks() in Linux 2.6

2007-11-20 Thread James Huang
Please disregard the previous email. In the latest Linux 2.6 RCU implementation, __rcu_process_callbacks() is coded as follows: 422 static void __rcu_process_callbacks(struct rcu_ctrlblk *rcp, 423struct rcu_data *rdp) 424 { 425if (rdp-curlist

null pointer dereference during restart autofs (was: Linux 2.6.22.12)

2007-11-20 Thread Tomasz Kłoczko
BUG: unable to handle kernel NULL pointer dereference at virtual address 0014 printing eip: c047102c *pdpt = 24e2c001 *pde = Oops: 0002 [#1] SMP Modules linked in: nfsd exportfs iptable_mangle iptable_nat nf_nat nf_conntrack_ipv4 ipt_LOG ipt_connlimit nf_conntrack

Re: [patch] 0/4 Support for Toshiba TMIO multifunction devices

2007-11-20 Thread ian
On Wed, 2007-11-21 at 10:23 +0800, eric miao wrote: Roughly went through the patch, looks good, here comes the remind, though :-) 1. is it possible to use some name other than soc_core, maybe tmio_core so that other multifunction chips sharing a core base will live easier. It's (soc-core)

Re: [patch] 0/4 Support for Toshiba TMIO multifunction devices

2007-11-20 Thread eric miao
On Nov 21, 2007 11:54 AM, ian [EMAIL PROTECTED] wrote: On Wed, 2007-11-21 at 10:23 +0800, eric miao wrote: Roughly went through the patch, looks good, here comes the remind, though :-) 1. is it possible to use some name other than soc_core, maybe tmio_core so that other multifunction

Re: [PATCH 3/4] proc: simplify remove_proc_entry() wrt locking

2007-11-20 Thread Andrew Morton
On Fri, 16 Nov 2007 18:10:15 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: We can take proc_subdir_lock for duration of list searching and removing from lists only. It can't hurt -- we can gather any amount of looked up PDEs right after proc_subdir_lock droppage in proc_lookup() anyway.

Re: USB deadlock after resume

2007-11-20 Thread Mark Lord
Markus Rechberger wrote: Hi, I'm looking at the linux uvc driver, and noticed after resuming my .. Pardon me.. what is the uvc driver? Which module/source file is that? Thanks notebook it deadlocks at usb_set_interface. The linux kernel version on that notebook is 2.6.21.4, I searched

Re: [PATCH] Fix optimized search

2007-11-20 Thread Steven Rostedt
On Tue, Nov 20, 2007 at 11:15:48PM -0500, Steven Rostedt wrote: Gregory Haskins wrote: I spied a few more issues from http://lkml.org/lkml/2007/11/20/590. Patch is below.. Thanks, but I have one update... Here's the updated patch. Oh, and Gregory, please email me at my [EMAIL PROTECTED]

Re: [PATCH] Fix optimized search

2007-11-20 Thread Steven Rostedt
Gregory Haskins wrote: I spied a few more issues from http://lkml.org/lkml/2007/11/20/590. Patch is below.. Thanks, but I have one update... Regards, -Greg - Include cpu 0 in the search, and eliminate the redundant cpu_set since the bit should already be set in the mask.

2.6.24-rc3-mm1

2007-11-20 Thread Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc3/2.6.24-rc3-mm1/ - Added new git tree git-lblnet.patch: net labelling work (Paul Moore [EMAIL PROTECTED]) - Re-added Smack - Dropped git-kbuild.patch - it broke the scsi build - I'm offline until Sunday (as are certain

Re: [rfc 18/45] cpu alloc: XFS counters

2007-11-20 Thread David Chinner
On Tue, Nov 20, 2007 at 12:38:29PM -0800, Christoph Lameter wrote: On Tue, 20 Nov 2007, Christoph Hellwig wrote: On Mon, Nov 19, 2007 at 05:11:50PM -0800, [EMAIL PROTECTED] wrote: Also remove the useless zeroing after allocation. Allocpercpu already zeroed the objects. You still

Re: [rfc 18/45] cpu alloc: XFS counters

2007-11-20 Thread Christoph Lameter
On Wed, 21 Nov 2007, David Chinner wrote: Seeing as I didn't notice this patchest changed XFS (where's the cc?) until I saw hch's question I'd appreciate a pointer to that discussion as it's long been deleted from my mailbox. http://marc.info/?t=11943826359r=2w=2 - To unsubscribe from

[PATCH 0/4] more RT balancing enhancements

2007-11-20 Thread Gregory Haskins
These are patches that apply to the end of the v5 series annouced here: http://lkml.org/lkml/2007/11/20/558 Steven, These are patches that I could not finish in time to get in with the v4 release. Ingo, If you accept the prior work submitted by Steven and myself, please also

[PATCH 1/4] Fix optimized search

2007-11-20 Thread Gregory Haskins
Include cpu 0 in the search, and eliminate the redundant cpu_set since the bit should already be set in the mask. Signed-off-by: Gregory Haskins [EMAIL PROTECTED] --- kernel/sched_rt.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/sched_rt.c

[PATCH 2/4] RT: Add sched-domain roots

2007-11-20 Thread Gregory Haskins
We add the notion of a root-domain which will be used later to rescope global variables to per-domain variables. Each exclusive cpuset essentially defines an island domain by fully partitioning the member cpus from any other cpuset. However, we currently still maintain some policy/state as

[PATCH 3/4] RT: Only balance our RT tasks within our root-domain

2007-11-20 Thread Gregory Haskins
We move the rt-overload data as the first global to per-domain reclassification. This limits the scope of overload related cache-line bouncing to stay with a specified partition instead of affecting all cpus in the system. Finally, we limit the scope of find_lowest_cpu searches to the domain

[PATCH 4/4] RT: Use a 2-d bitmap for searching lowest-pri CPU

2007-11-20 Thread Gregory Haskins
The current code use a linear algorithm which causes scaling issues on larger SMP machines. This patch replaces that algorithm with a 2-dimensional bitmap to reduce latencies in the wake-up path. In this past, this patch has maintained the priorties as a global property. It now has a

Re: [PATCH] Fix optimized search

2007-11-20 Thread Gregory Haskins
On Tue, Nov 20, 2007 at 11:26 PM, in message [EMAIL PROTECTED], Steven Rostedt [EMAIL PROTECTED] wrote: On Tue, Nov 20, 2007 at 11:15:48PM -0500, Steven Rostedt wrote: Gregory Haskins wrote: I spied a few more issues from http://lkml.org/lkml/2007/11/20/590. Patch is below.. Thanks, but I

Re: USB deadlock after resume

2007-11-20 Thread Markus Rechberger
On 11/21/07, Mark Lord [EMAIL PROTECTED] wrote: Markus Rechberger wrote: Hi, I'm looking at the linux uvc driver, and noticed after resuming my .. Pardon me.. what is the uvc driver? Which module/source file is that? http://linux-uvc.berlios.de/ it's not yet included in the kernel

Re: [HIFN 00/03]: RNG support v2

2007-11-20 Thread Herbert Xu
On Sun, Nov 18, 2007 at 10:32:52PM +0100, Patrick McHardy wrote: These patches add support for using the HIFN rng. All applied. Thanks a lot Patrick! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmVHI~} [EMAIL PROTECTED] Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: 2.6.24-rc3-mm1

2007-11-20 Thread Dave Young
Hi, andrew modpost failed for me: MODPOST 360 modules ERROR: empty_zero_page [drivers/kvm/kvm.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Regards dave - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: 2.6.24-rc3-mm1

2007-11-20 Thread KAMEZAWA Hiroyuki
I met. CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh stdin:1389:2: warning: #warning syscall revokeat not implemented stdin:1393:2: warning: #warning syscall frevoke not implemented CHK include/linux/compile.h make[1]: *** No rule

Re: [PATCH][RFC] kprobes: Add user entry-handler in kretprobes

2007-11-20 Thread Jim Keniston
On Mon, 2007-11-19 at 17:56 +0530, Abhishek Sagar wrote: On Nov 17, 2007 6:24 AM, Jim Keniston [EMAIL PROTECTED] wrote: True, some kind of data pointer/pouch is essential. Yes. If the pouch idea is too weird, then the data pointer is a good compromise. With the above reservations,

Modules: Handle symbols that have a zero value

2007-11-20 Thread Christoph Lameter
Another issue that I encountered with the cpu_alloc stuff. The module subsystem cannot handle symbols that are zero. If symbols are present that have a zero value then the module resolver prints out a message that these symbols are unresolved. Use ERR_PTR to return an error code instead of 0.

Re: 2.6.24-rc3-mm1 - Build Failure on S390x

2007-11-20 Thread Kamalesh Babulal
Hi Andrew, The kernel build fails on S390x, with arch/s390/kernel/ipl.c: In function `ipl_register_fcp_files': arch/s390/kernel/ipl.c:415: error: `ipl_subsys' undeclared (first use in this function) arch/s390/kernel/ipl.c:415: error: (Each undeclared identifier is reported only once

Re: [PATCH 07/18] x86 vDSO: vdso32 build

2007-11-20 Thread Sam Ravnborg
Hi Roland. Some minor things below. In general I like the simplification of this area and having it moved out of kernel/Makefile is the-right-thing. Sam On Mon, Nov 19, 2007 at 02:05:32PM -0800, Roland McGrath wrote: This builds the 32-bit vDSO images in the arch/x86/vdso

Re: 2.6.24-rc3-mm1

2007-11-20 Thread Andrew Morton
On Wed, 21 Nov 2007 13:51:47 +0800 Dave Young [EMAIL PROTECTED] wrote: Hi, andrew modpost failed for me: MODPOST 360 modules ERROR: empty_zero_page [drivers/kvm/kvm.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 You're a victim of the hasty unexporting

Re: 2.6.24-rc3-mm1

2007-11-20 Thread Dave Young
On Nov 21, 2007 2:00 PM, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 21 Nov 2007 13:51:47 +0800 Dave Young [EMAIL PROTECTED] wrote: Hi, andrew modpost failed for me: MODPOST 360 modules ERROR: empty_zero_page [drivers/kvm/kvm.ko] undefined! make[1]: *** [__modpost] Error 1

Re: 2.6.24-rc3-mm1 - Build Failure on S390x

2007-11-20 Thread Andrew Morton
On Wed, 21 Nov 2007 11:26:51 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: The kernel build fails on S390x, with Yes, sorry, I forgot to mention that. I got a large patch reject between Greg's driver tree and the s390 tree and I couldn't be bothered fixing it. s390 is busted in

Re: 2.6.24-rc3-mm1

2007-11-20 Thread Andrew Morton
On Wed, 21 Nov 2007 14:58:38 +0900 KAMEZAWA Hiroyuki [EMAIL PROTECTED] wrote: I met. CHK include/linux/version.h CHK include/linux/utsrelease.h CALLscripts/checksyscalls.sh stdin:1389:2: warning: #warning syscall revokeat not implemented stdin:1393:2: warning: #warning

Re: Futexes and network filesystems.

2007-11-20 Thread Kyle Moffett
On Nov 20, 2007, at 17:53:52, Er ic W. Biederman wrote: I had a chance to think about this a bit more, and realized that the problem is that futexes don't appear to work on network filesystems, even if the network filesystems provide coherent shared memory. It seems to me that we need to

Re: 2.6.24-rc3-mm1 - Kernel Panic on IO-APIC

2007-11-20 Thread Andrew Morton
On Wed, 21 Nov 2007 11:41:23 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi Andrew, Kernel panic's across different architectures like powerpc, x86_64, powerpc complains about IO-APICs?? Dentry cache hash table entries: 8388608 (order: 14, 67108864 bytes) Inode-cache hash table

Re: 2.6.24-rc3-mm1

2007-11-20 Thread Dave Young
On Nov 21, 2007 2:15 PM, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 21 Nov 2007 14:03:34 +0800 Dave Young [EMAIL PROTECTED] wrote: On Nov 21, 2007 2:00 PM, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 21 Nov 2007 13:51:47 +0800 Dave Young [EMAIL PROTECTED] wrote: Hi, andrew

Re: 2.6.24-rc3-mm1

2007-11-20 Thread Andrew Morton
On Wed, 21 Nov 2007 14:03:34 +0800 Dave Young [EMAIL PROTECTED] wrote: On Nov 21, 2007 2:00 PM, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 21 Nov 2007 13:51:47 +0800 Dave Young [EMAIL PROTECTED] wrote: Hi, andrew modpost failed for me: MODPOST 360 modules ERROR:

Re: 2.6.24-rc3-mm1 - Kernel Panic on IO-APIC

2007-11-20 Thread Kamalesh Babulal
Hi Andrew, Kernel panic's across different architectures like powerpc, x86_64, Dentry cache hash table entries: 8388608 (order: 14, 67108864 bytes) Inode-cache hash table entries: 4194304 (order: 13, 33554432 bytes) Mount-cache hash table entries: 256 SMP alternatives: switching to UP code

Re: Futexes and network filesystems.

2007-11-20 Thread Eric W. Biederman
Kyle Moffett [EMAIL PROTECTED] writes: On Nov 20, 2007, at 17:53:52, Er ic W. Biederman wrote: I had a chance to think about this a bit more, and realized that the problem is that futexes don't appear to work on network filesystems, even if the network filesystems provide coherent shared

Re: 2.6.24-rc3: find complains about /proc/net

2007-11-20 Thread Eric W. Biederman
Below is a preliminary patch. It solves the directory issue but it doesn't play well with proc_mnt and proc_flush_task. It works by simply caching the network namespace when we mount proc so we don't have to be fancy and dynamic. Something for the discussion anyway. I will start sorting out

Re: [PATCH 07/18] x86 vDSO: vdso32 build

2007-11-20 Thread Roland McGrath
+# This makes sure the $(obj) subdirectory exists even though vdso32/ +# is not a kbuild sub-make subdirectory. +override obj-dirs = $(dir $(obj)) $(obj)/vdso32/ Should we teach kbuild to create dirs specified in targets? Or we could 'fix' it so you do not need the override. Something

[PREEMPT_RT] LOCK_STAT and kexec: general protection fault

2007-11-20 Thread Sripathi Kodi
Hi, On RT kernel, When CONFIG_LOCK_STAT is enabled, trying to load the kdump kernel (kexec -p) causes a kernel panic. I have seen slightly varying backtraces, but I see general protection fault every time. Hardware: x86_64, 4CPUs, LS20 blade. Kernel: 2.6.23.1-rt11. I don't see this problem on

Re: [kvm-devel] [PATCH 3/3] virtio PCI device

2007-11-20 Thread Avi Kivity
Anthony Liguori wrote: Avi Kivity wrote: Anthony Liguori wrote: Avi Kivity wrote: Anthony Liguori wrote: This is a PCI device that implements a transport for virtio. It allows virtio devices to be used by QEMU based VMMs like KVM or Xen. + +/* the notify

[PATCHv5 5/5] FD_CLOEXEC support for eventfd, signalfd, timerfd

2007-11-20 Thread Ulrich Drepper
This patch adds support to set the FD_CLOEXEC flag for the file descriptors returned by eventfd, signalfd, timerfd. fs/anon_inodes.c | 15 +++ fs/eventfd.c |5 +++-- fs/signalfd.c |6 -- fs/timerfd.c |6

[PATCHv5 4/5] Allow setting O_NONBLOCK flag for new sockets

2007-11-20 Thread Ulrich Drepper
This patch adds support for setting the O_NONBLOCK flag of the file descriptors returned by socket, socketpair, and accept. socket.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) --- linux/net/socket.c +++ linux/net/socket.c @@ -362,7 +362,7 @@ static int

[PATCHv5 3/5] Allow setting FD_CLOEXEC flag for new sockets

2007-11-20 Thread Ulrich Drepper
This is a first user of sys_indirect. Several of the socket-related system calls which produce a file handle now can be passed an additional parameter to set the FD_CLOEXEC flag. include/asm-x86/ia32_unistd.h |1 + include/linux/indirect.h | 27 +++

Re: Prospects of DRM TTM making it into 2.6.24?

2007-11-20 Thread Dave Airlie
I also have a few AGP changes I need to line up to support the chipset flushing work I've done to support TTM properly.. Did anything happen with that null-pointer deref I was hitting? I've rebased the patches in my tree along with a chunk I missed which should make your patch

Re: [PATCH 07/18] x86 vDSO: vdso32 build

2007-11-20 Thread Sam Ravnborg
On Tue, Nov 20, 2007 at 11:10:15PM -0800, Roland McGrath wrote: +# This makes sure the $(obj) subdirectory exists even though vdso32/ +# is not a kbuild sub-make subdirectory. +override obj-dirs = $(dir $(obj)) $(obj)/vdso32/ Should we teach kbuild to create dirs specified in

[PATCHv5 1/5] actual sys_indirect code

2007-11-20 Thread Ulrich Drepper
This is the actual architecture-independent part of the system call implementation. include/linux/indirect.h | 17 + include/linux/sched.h|4 include/linux/syscalls.h |4 kernel/Makefile |3 +++ kernel/indirect.c| 40

[PATCHv5 0/5] sys_indirect system call

2007-11-20 Thread Ulrich Drepper
The following patches provide an alternative implementation of the sys_indirect system call which has been discussed a few times. This is a system call that allows us to extend existing system call interfaces by adding more system call parameters. Davide's previous implementation is IMO far more

[PATCHv5 2/5] x86x86-64 support for sys_indirect

2007-11-20 Thread Ulrich Drepper
This part adds support for sys_indirect on x86 and x86-64. arch/x86/Kconfig |3 ++ arch/x86/ia32/Makefile |1 arch/x86/ia32/ia32entry.S |2 + arch/x86/ia32/sys_ia32.c | 38 +

Re: gitweb: kernel versions in the history (feature request, probably)

2007-11-20 Thread Jarek Poplawski
On Tue, Nov 20, 2007 at 10:20:09PM -0500, J. Bruce Fields wrote: On Wed, Nov 21, 2007 at 12:30:23AM +0100, Jarek Poplawski wrote: I don't know git, but it seems, at least if done for web only, this shouldn't be so 'heavy'. It could be a 'simple' translation of commit date by querying a

Re: [patch 02/13] dio: ARRAY_SIZE() cleanup

2007-11-20 Thread Geert Uytterhoeven
On Tue, 20 Nov 2007, Richard Knutsson wrote: Geert Uytterhoeven wrote: -#define NUMNAMES (sizeof(names) / sizeof(struct dioname)) +#define NUMNAMES ARRAY_SIZE(names) Why not replace NUMNAMES? Good idea! Updated patch below. --- Subject: dio: ARRAY_SIZE() cleanup From: Alejandro

Re: [PATCH 07/18] x86 vDSO: vdso32 build

2007-11-20 Thread Roland McGrath
I assume that if an error happened in a pipe set -e; would catch it. But I did not check that - I normally just adds set -e; without much thought. No, you need set -o pipefail for that (which is a bashism). Thanks, Roland - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: Prospects of DRM TTM making it into 2.6.24?

2007-11-20 Thread Andrew Morton
On Wed, 21 Nov 2007 17:36:33 +1000 Dave Airlie [EMAIL PROTECTED] wrote: I also have a few AGP changes I need to line up to support the chipset flushing work I've done to support TTM properly.. Did anything happen with that null-pointer deref I was hitting? I've rebased the

Re: [PATCH 06/59] arch/sparc: Add missing "space"

2007-11-20 Thread David Miller
From: Joe Perches <[EMAIL PROTECTED]> Date: Mon, 19 Nov 2007 23:48:36 -0800 > On Mon, 2007-11-19 at 23:45 -0800, David Miller wrote: > > From: Joe Perches <[EMAIL PROTECTED]> > > Date: Mon, 19 Nov 2007 17:47:58 -0800 > > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > > Please check your

Re: [PATCH] x86_64: fix a deadlock in set_rtc_mmss()

2007-11-20 Thread Thomas Gleixner
On Thu, 15 Nov 2007, Dan Aloni wrote: > Patch is valid only for 2.6.23.x, guessing from the recent arch/ changes > in 2.6.24-rc. There is a backported patch already queued in the stable branch. Thanks, tglx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets

2007-11-20 Thread David Miller
From: Ulrich Drepper <[EMAIL PROTECTED]> Date: Tue, 20 Nov 2007 01:53:14 -0500 FWIW, I think this indirect syscall stuff is the most ugly interface I've ever seen proposed for the kernel. And I agree with all of the objections raised by both H. Pater Anvin and Eric Dumazet. > This patch adds

[patch][v2] x86, ptrace: support for branch trace store(BTS)

2007-11-20 Thread Metzger, Markus T
Changes to previous version: - moved task arrives/departs notifications to __switch_to_xtra() - added _TIF_BTS_TRACE and _TIF_BTS_TRACE_TS to _TIF_WORK_CTXSW_* - split _TIF_WORK_CTXSW into ~_PREV and ~_NEXT for x86_64 - ptrace_bts_init_intel() function called from init_intel() - removed

Re: 2.6.23.8, ondemand scaling governor: "BUG: soft lockup detected on CPU#0!"

2007-11-20 Thread Harald Dunkel
Pallipadi, Venkatesh wrote: Can you try switching to powersave governor (which should always run CPU at 400MHz) and see whether you see similar error? Yes, if I move from performance to powersave, then I see a similar error: Nov 20 09:06:48 bugs kernel: BUG: soft lockup detected on CPU#0!

Re: [PATCH] wait_task_stopped: pass correct exit_code to wait_noreap_copyout

2007-11-20 Thread Andrew Morton
On Tue, 20 Nov 2007 07:55:22 + Scott James Remnant <[EMAIL PROTECTED]> wrote: > On Mon, 2007-11-19 at 22:43 -0800, Andrew Morton wrote: > > On Sun, 18 Nov 2007 09:13:24 + Scott James Remnant <[EMAIL PROTECTED]> > > wrote: > > > > > In wait_task_stopped() exit_code already contains the

Re: [WATCHDOG] v2.6.24 Watchdog Device Drivers patches - part 4

2007-11-20 Thread Andrew Morton
On Tue, 20 Nov 2007 13:44:13 +1030 Mike Lampard <[EMAIL PROTECTED]> wrote: > Hi > On Tue, 20 Nov 2007 08:02:20 am Wim Van Sebroeck wrote: > > Hi Linus, > > > > Please pull from 'master' branch of > > git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git > > or if

Re: [rfc 18/45] cpu alloc: XFS counters

2007-11-20 Thread Christoph Hellwig
On Mon, Nov 19, 2007 at 05:11:50PM -0800, [EMAIL PROTECTED] wrote: > Also remove the useless zeroing after allocation. Allocpercpu already > zeroed the objects. You still haven't answered my comment to the last iteration. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: nohz and strange sleep latencies

2007-11-20 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > hpet-disable helps.. a bit. 200msec latencies are gone. (What is > > used for wakeups in this case?) > > > > [EMAIL PROTECTED]:~$ while true; do time sleep 0.01; done > > 0.00user 0.00system 0.01 (0m0.013s) elapsed 22.96%CPU > > 0.00user 0.00system

Re: 2.6.24-rc2-git6: Reported regressions from 2.6.23

2007-11-20 Thread Will Trives
I will update the bug report now. I tried with Tejun's libata-dev tree I am able to mount and trasfer files from discs I was able to burn a disc using growisofs. Wodim or k3b lock the drive up still. On Sat, 2007-11-17 at 21:58 +1100, Will Trives wrote: > Sorry, I said 2.6.24-rc4 there, I

Re: [PATCH 2/3] cciss: add support for blktrace

2007-11-20 Thread Jens Axboe
On Mon, Nov 19 2007, Mike Miller wrote: > Patch 2 of 3 > This patch adds support for the blktrace utility. Please consider this for > inclusion. Seems there was already a call to blk_add_trace. This patch adds > ifdef's and includes the header file. > > Signed-off-by: Mike Miller <[EMAIL

Re: [PATCH 39/59] drivers/s390: Add missing "space"

2007-11-20 Thread Heiko Carstens
On Mon, Nov 19, 2007 at 05:48:31PM -0800, Joe Perches wrote: > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > --- > drivers/s390/char/monwriter.c |2 +- > drivers/s390/char/vmlogrdr.c |2 +- > drivers/s390/cio/chsc.c |2 +- > drivers/s390/net/claw.c |2 +- >

Re: [PATCH 05/59] arch/s390: Add missing "space"

2007-11-20 Thread Heiko Carstens
On Mon, Nov 19, 2007 at 05:47:57PM -0800, Joe Perches wrote: > > Signed-off-by: Joe Perches <[EMAIL PROTECTED]> > --- > arch/s390/crypto/aes_s390.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/s390/crypto/aes_s390.c b/arch/s390/crypto/aes_s390.c > index

[patch] softlockup: do the wakeup from a hrtimer

2007-11-20 Thread Ingo Molnar
Subject: softlockup: do the wakeup from a hrtimer From: Ingo Molnar <[EMAIL PROTECTED]> David Miller reported soft lockup false-positives that trigger on NOHZ due to CPUs idling for more than 10 seconds. The solution is to drive the wakeup of the watchdog threads not from the timer tick (which

Re: [BUG] 2.6.24-rc2-mm1 - smbd write fails

2007-11-20 Thread Andrew Morton
On Tue, 20 Nov 2007 13:57:39 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > Following calltrace is seen server, while running filesystem stress on smb > mounted partition on the client machine. > > Nov 19 18:45:52 p55lp6 smbd[3304]: [2007/11/19 18:45:52, 0] >

Re: [PATCHv4 2/6] x86 support for sys_indirect

2007-11-20 Thread Heiko Carstens
> +#define INDIRECT_SYSCALL(regs) (regs)->rax > +#define INDIRECT_SYSCALL32(regs) (regs)->eax > + > +#define CALL_INDIRECT(regs) \ > + ({ extern long (*sys_call_table[]) (__u64, __u64, __u64, __u64, __u64, > __u64); \ > + sys_call_table[INDIRECT_SYSCALL(regs)] ((regs)->rdi, (regs)->rsi, \ >

Re: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, v2.6.23.8,v2.6.22.13, v2.6.21.7

2007-11-20 Thread David
El Martes, 20 de Noviembre de 2007, Ingo Molnar escribió: > * David <[EMAIL PROTECTED]> wrote: > > El Lunes, 19 de Noviembre de 2007, Ingo Molnar escribió: > > > * David <[EMAIL PROTECTED]> wrote: > > > > I have removed all other patches, and applied only cfs v24 above > > > > 2.6.23.8, and the

Re: [BUG] 2.6.24-rc2-mm1 - smbd write fails

2007-11-20 Thread Kamalesh Babulal
Andrew Morton wrote: > On Tue, 20 Nov 2007 13:57:39 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > >> Hi Andrew, >> >> Following calltrace is seen server, while running filesystem stress on smb >> mounted partition on the client machine. >> >> Nov 19 18:45:52 p55lp6 smbd[3304]: [2007/11/19

Re: [PATCH 4/4] proc: fix PDE refcounting

2007-11-20 Thread Andrew Morton
On Fri, 16 Nov 2007 18:12:41 +0300 Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > Creating PDEs with refcount 0 and ->deleted flag has problems (see below). > Switch to usual scheme: > * PDE is created with refcount 1 > * every de_get does +1 > * every de_put() and remove_proc_entry() do -1 > *

Re: [BUG?] OOM with large cache....(x86_64, 2.6.24-rc3-git1, nohz)

2007-11-20 Thread Ian Kumlien
On tis, 2007-11-20 at 15:13 +1100, Nick Piggin wrote: > On Tuesday 20 November 2007 11:59, Ian Kumlien wrote: > > Hi, > > > > I have had this before and sent a mail about it. > > > > It seems like the diskcache is still in use and is never shrunk. This > > happened with a odd load though,

Re: [PATCH] checkpatch: Print filenames of patches

2007-11-20 Thread Andy Whitcroft
On Sun, Nov 18, 2007 at 11:03:47AM +0100, Geert Uytterhoeven wrote: > checkpatch: Print filenames of patches instead of the very uninformative > `Your patch'. Well this isn't quite enough as we often use this thing checking its stdin. Which leads to an even less useful '- has no obvious ...'. I

is it useful testing __LINK_STATE_RX_SCHED in dev_close()?

2007-11-20 Thread wyb
cpu0 calling netif_rx_schedule_prep(), cpu1 calling dev_close(): cpu0: testing __LINK_STATE_START, already set cpu1: clear__LINK_STATE_START cpu1: testing __LINK_STATE_RX_SCHED, not set cpu0: set __LINK_STATE_RX_SCHED cpu0: enter net poll, ... when cpu1 return from

Re: laptop reboots right after hibernation

2007-11-20 Thread Kjartan Maraas
sø., 18.11.2007 kl. 21.16 +0100, skrev Tomas Carnecky: > Since this is becoming more an IDE/ATA issue, I added > [EMAIL PROTECTED] to CC. I hope that's the right mailinglist. > > Tomas Carnecky wrote: > > (3) Once the notebook was in the docking station (whether I boot it > > while in the dock

Re: [PATCH 3/3] PNP cleanups - Pass struct pnp_dev to pnp_clean_resource_table for cleanup reasons

2007-11-20 Thread Rene Herman
On 20-11-07 10:51, Thomas Renninger wrote: Pass struct pnp_dev to pnp_clean_resource_table for cleanup reasons Signed-off-by: Thomas Renninger <[EMAIL PROTECTED]> Acked-by: Rene Herman <[EMAIL PROTECTED]> Rene. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 2/3] PNP cleanups - Unify the pnp macros to access resources in the pnp resource table

2007-11-20 Thread Rene Herman
On 20-11-07 10:51, Thomas Renninger wrote: Unify the pnp macros to access resources in the pnp resource table port, mem, dma and irq resource macros are now all used in the same way. This is the basis (or makes it at least easier) for changing how the resources are allocated for memory

[patch 0/2] 2.6.24-rc s390 patch queue

2007-11-20 Thread Martin Schwidefsky
Two more patches for the 2.6.24-rc patch queue. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [BUG] 2.6.24-rc2-mm1 - smbd write fails

2007-11-20 Thread Kamalesh Babulal
Andrew Morton wrote: > On Tue, 20 Nov 2007 14:22:43 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > >> Andrew Morton wrote: >>> On Tue, 20 Nov 2007 13:57:39 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> >>> wrote: >>> Hi Andrew, Following calltrace is seen server, while running

<    1   2   3   4   5   6   7   8   9   10   >