Re: [PATCH] x86_64: move out tick_nohz_stop_sched_tick() call from the loop

2008-01-10 Thread Ingo Molnar
* Hiroshi Shimamoto [EMAIL PROTECTED] wrote: @@ -170,14 +170,13 @@ void cpu_idle(void) current_thread_info()-status |= TS_POLLING; /* endless idle loop with no priority at all */ while (1) { + tick_nohz_stop_sched_tick(); while (!need_resched())

Re: [PATCH -mm 1/2] kexec/i386: kexec page table code clean up - add arch_kimage

2008-01-10 Thread Simon Horman
[ CCing Magnus Damm and Ian Campbell ] On Wed, Jan 09, 2008 at 08:14:23PM -0500, Vivek Goyal wrote: On Wed, Jan 09, 2008 at 10:57:47AM +0800, Huang, Ying wrote: This patch add an architecture specific struct arch_kimage into struct kimage. Three pointers to page table pages used by kexec are

Re: [-mm] new warning in ipc/msg.c

2008-01-10 Thread Pierre Peiffer
Andrew Morton wrote: Doing this in a piecemeal through-a-pinhole fashion won't work very well and is a bit risky. Yes, agree, that's also my feeling. -- Pierre Peiffer -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Wed, Jan 09 2008, Alasdair G Kergon wrote: Here's the latest version of dm-loop, for comparison. To try it out, ln -s dmsetup dmlosetup and supply similar basic parameters to losetup. (using dmsetup version 1.02.11 or higher) Why oh why does dm always insist to reinvent everything?

Re: [JANITOR PROPOSAL] Switch ioctl functions to -unlocked_ioctl

2008-01-10 Thread Christoph Hellwig
On Wed, Jan 09, 2008 at 10:45:13PM +, Alasdair G Kergon wrote: On Wed, Jan 09, 2008 at 11:46:03PM +0100, Andi Kleen wrote: struct inode *inode = file-f_dentry-d_inode; And oops if that's not defined? For file_operations which we talk about here it always is defined. Block_device is a

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Thu, Jan 10 2008, Nick Piggin wrote: On Wednesday 09 January 2008 19:52, Jens Axboe wrote: So how does it work? Instead of punting IO to a thread and passing it through the page cache, we instead attempt to send the IO directly to the filesystem block that it maps to. You told

[PATCH] x86: trivial whitespace in kprobes.c

2008-01-10 Thread Harvey Harrison
Signed-off-by: Harvey Harrison [EMAIL PROTECTED] --- Ingo, you could/should probably fold this into Masami's kprobe unification patch. commit 17735e04f7f18bea4dcbe4daa31c34acac55b332 Author: Masami Hiramatsu [EMAIL PROTECTED] Date: Wed Jan 9 13:30:50 2008 +0100 kprobes code for x86

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Christoph Hellwig
On Thu, Jan 10, 2008 at 12:42:25PM +1100, Nick Piggin wrote: So how does it work? Instead of punting IO to a thread and passing it through the page cache, we instead attempt to send the IO directly to the filesystem block that it maps to. You told Christoph that just using direct-IO from

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-10 Thread Joerg Platte
Am Donnerstag, 10. Januar 2008 schrieb Fengguang Wu: On Thu, Jan 10, 2008 at 03:30:46PM +0800, Fengguang Wu wrote: Joerg, Can you try the attached patches? Thank you. I cannot reliably reproduce the bug yet. Please ignore the first patch and only apply the two debugging patches. They

Re: [patch] Add a simple backtrace test module

2008-01-10 Thread Christoph Hellwig
On Wed, Jan 09, 2008 at 10:42:08PM -0800, Arjan van de Ven wrote: Subject: Add a simple backtrace test module From: Arjan van de Ven [EMAIL PROTECTED] During the work on the x86 32 and 64 bit backtrace code I found it useful to have a simple test module to test a process and irq context

Re: [PATCH]: ufs: fix symlink creation on ufs2

2008-01-10 Thread Christoph Hellwig
On Wed, Jan 09, 2008 at 11:51:48PM -0800, Andrew Morton wrote: +++ b/fs/ufs/super.c @@ -131,6 +131,8 @@ static void ufs_print_super_stuff(struct super_block *sb, printk(KERN_INFO cs_nffree(Num of free frags): %llu\n, (unsigned long long)

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Thu, Jan 10 2008, Jens Axboe wrote: On Wed, Jan 09 2008, Alasdair G Kergon wrote: Here's the latest version of dm-loop, for comparison. To try it out, ln -s dmsetup dmlosetup and supply similar basic parameters to losetup. (using dmsetup version 1.02.11 or higher) Why oh why

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Wed, Jan 09 2008, Andi Kleen wrote: Jens Axboe [EMAIL PROTECTED] writes: So how does it work? Instead of punting IO to a thread and passing it through the page cache, we instead attempt to send the IO directly to the Great -- something like this was needed for a long time. - The

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-10 Thread Fengguang Wu
On Thu, Jan 10, 2008 at 09:37:53AM +0100, Joerg Platte wrote: Am Donnerstag, 10. Januar 2008 schrieb Fengguang Wu: On Thu, Jan 10, 2008 at 03:30:46PM +0800, Fengguang Wu wrote: Joerg, Can you try the attached patches? Thank you. I cannot reliably reproduce the bug yet. Please

Re: [PATCH]: ufs: fix symlink creation on ufs2

2008-01-10 Thread Al Viro
On Thu, Jan 10, 2008 at 08:40:41AM +, Christoph Hellwig wrote: On Wed, Jan 09, 2008 at 11:51:48PM -0800, Andrew Morton wrote: +++ b/fs/ufs/super.c @@ -131,6 +131,8 @@ static void ufs_print_super_stuff(struct super_block *sb, printk(KERN_INFO cs_nffree(Num of free

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Thu, Jan 10 2008, Christoph Hellwig wrote: loop maintains a prio tree of known extents in the file (populated lazily on demand, as needed). Just a quick question (I haven't looked closely at the code): how come you are using a prio tree for extents? I don't think they could be

Re: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()

2008-01-10 Thread Jakob Oestergaard
On Thu, Jan 10, 2008 at 03:03:03AM +0300, Anton Salikhmetov wrote: ... I guess a third possible time (if we want to minimize the number of updates) would be when natural syncing of the file data to disk, by other things in the VM, would be about to clear the I_DIRTY_PAGES flag on the

Driver 'sd' needs updating

2008-01-10 Thread Nick Warne
Hi everybody - Happy New Year to you all! OK, updated to git rc7 yesterday - I now see this in syslog: Driver 'sd' needs updating - please use bus_type methods The warning never appeared in RC6, and all google reveals are other peoples logs that are posted about other issues. Do I need to

Re: [PATCH] ACPI: Add sysfs interface for acpi device wakeup

2008-01-10 Thread Yi Yang
On Thu, 2008-01-10 at 09:43 +0200, Maxim Levitsky wrote: On Thursday, 10 January 2008 00:21:46 Yi Yang wrote: Subject: ACPI: convert procfs to sysfs for /proc/acpi/wakeup From: Yi Yang [EMAIL PROTECTED] /proc/acpi/wakeup is deprecated but it has to exist because we haven't a sysfs

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-10 Thread Pierre Ossman
On Thu, 10 Jan 2008 00:45:27 +0800 Bryan Wu [EMAIL PROTECTED] wrote: Actually, Blackfin BF54x on-chip SDIO host controller is supposed to support 1-bit and 4-bit MMC or SD. But in the real platform, when MMC works at 4-bit mode there will be a FIFO underrun error

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Christoph Hellwig
On Thu, Jan 10, 2008 at 09:44:57AM +0100, Jens Axboe wrote: IMHO this shouldn't be done in the loop driver anyway. Filesystems have their own effricient extent lookup trees (well, at least xfs and btrfs do), and we should leverage that instead of reinventing it. Completely agree, it's

[PATCH] fix typo 'the same the\'

2008-01-10 Thread Uwe Kleine-König
Signed-off-by: Uwe Kleine-König [EMAIL PROTECTED] Cc: Marc Singer [EMAIL PROTECTED] Cc: Russell King [EMAIL PROTECTED] --- Documentation/arm/Sharp-LH/IOBarrier |2 +- drivers/mtd/devices/doc2000.c |2 +- include/asm-arm/arch-realview/irqs.h |2 +-

Re: [JANITOR PROPOSAL] Switch ioctl functions to -unlocked_ioctl

2008-01-10 Thread Rolf Eike Beer
Andi Kleen wrote: Here's a proposal for some useful code transformations the kernel janitors could do as opposed to running checkpatch.pl. Most ioctl handlers still running implicitely under the big kernel lock (BKL). But long term Linux is trying to get away from that. There is a new

Re: [PATCH] [MEMSTICK] Initial commit for Sony MemoryStick support

2008-01-10 Thread Andrew Morton
On Wed, 2 Jan 2008 17:42:24 +1100 [EMAIL PROTECTED] wrote: From: Alex Dubov [EMAIL PROTECTED] Sony MemoryStick cards are used in many products manufactured by Sony. They are available both as storage and as IO expansion cards. Currently, only MemoryStick Pro storage cards are supported via

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Thu, Jan 10 2008, Christoph Hellwig wrote: On Thu, Jan 10, 2008 at 09:44:57AM +0100, Jens Axboe wrote: IMHO this shouldn't be done in the loop driver anyway. Filesystems have their own effricient extent lookup trees (well, at least xfs and btrfs do), and we should leverage that

Re: [patch] Add a simple backtrace test module

2008-01-10 Thread Ingo Molnar
* Christoph Hellwig [EMAIL PROTECTED] wrote: On Wed, Jan 09, 2008 at 10:42:08PM -0800, Arjan van de Ven wrote: Subject: Add a simple backtrace test module From: Arjan van de Ven [EMAIL PROTECTED] During the work on the x86 32 and 64 bit backtrace code I found it useful to have a

Re: Fwd: Fwd: laptop / computer hardlocks during execution of 32bit applications(binaries) on 64bit system (Gentoo)

2008-01-10 Thread Matthew
I have been unable to reproduce your problem here, and I notice you have the proprietary, highly invasive and closed-source Nvidia driver installed in your kernel. Can you try using the nv or vesa (unaccelerated) Xorg drivers and reproduce the problem that way? If you *do* reproduce the

Re: uml and -regparm=3

2008-01-10 Thread Miklos Szeredi
* Miklos Szeredi [EMAIL PROTECTED] wrote: FASTCALL is defined empty in -mm, but UML is not compiled with -mregparm=3 and so this breaks things (I noticed problems with rwsem_down_write_failed). Tried recompiling UML with -mregparm=3, but that resulted in a strange failure

Re: [patch] Add a simple backtrace test module

2008-01-10 Thread Christoph Hellwig
On Thu, Jan 10, 2008 at 10:04:29AM +0100, Ingo Molnar wrote: yeah, agreed, we'll clean this all up, and move the other testcode there too, ok? There's rcutorture, lock-selftests, rt-tester, kprobes-smoke-test and now backtracetest. Arjan might as well want to use the opportunity and break

Re: [patch] Add a simple backtrace test module

2008-01-10 Thread Ingo Molnar
* Arjan van de Ven [EMAIL PROTECTED] wrote: During the work on the x86 32 and 64 bit backtrace code I found it useful to have a simple test module to test a process and irq context backtrace. Since the existing backtrace code was buggy, I figure it might be useful to have such a test

Re: [JANITOR PROPOSAL] Switch ioctl functions to -unlocked_ioctl

2008-01-10 Thread Andi Kleen
Can you explain the rationale behind that running on the BKL? What type of It used to always run with the BKL because everything used to and originally nobody wanted to review all ioctl handlers in tree to see if they can run with more fine grained locking. A lot probably can though. things

Re: Linux 2.6.24-rc7

2008-01-10 Thread J.A. Magallón
On Wed, 09 Jan 2008 10:56:02 +0900, Tejun Heo [EMAIL PROTECTED] wrote: J.A. Magallón wrote: HI all... On Sun, 6 Jan 2008 14:19:16 -0800 (PST), Linus Torvalds [EMAIL PROTECTED] wrote: It's been two weeks since rc6, but let's face it, with xmas and new years (and birthdays) in

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
Andi, finally managed to get the time to review your CPA patchset, and i fundamentally agree with most of the detail changes done in it. But here are a few structural high-level observations: - firstly, there's no rationale given. So we'll change ioremap()/etc. from doing a cflush-range

Re: uml and -regparm=3

2008-01-10 Thread Ingo Molnar
* Miklos Szeredi [EMAIL PROTECTED] wrote: Thanks. Patch works, but needed to add asmregparm to the definitions as well, plus added default define into linux/linkage.h (updated patch below). thanks, applied. Ingo -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Peter Zijlstra
On Thu, 2008-01-10 at 08:37 +, Christoph Hellwig wrote: Peter, any chance you could chime in here? I have this patch to add swap_out/_in methods. I expect we can loosen the requirement for swapcache pages and change the name a little. previously posted here:

Re: Fwd: Fwd: laptop / computer hardlocks during execution of 32bit applications(binaries) on 64bit system (Gentoo)

2008-01-10 Thread Ingo Molnar
* Matthew [EMAIL PROTECTED] wrote: I have been unable to reproduce your problem here, and I notice you have the proprietary, highly invasive and closed-source Nvidia driver installed in your kernel. Can you try using the nv or vesa (unaccelerated) Xorg drivers and reproduce the

Re: CPA patchset

2008-01-10 Thread Dave Airlie
finally managed to get the time to review your CPA patchset, and i fundamentally agree with most of the detail changes done in it. But here are a few structural high-level observations: - firstly, there's no rationale given. So we'll change ioremap()/etc. from doing a cflush-range

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-10 Thread Dave Young
On Wed, Jan 09, 2008 at 02:39:23PM +0800, Dave Young wrote: On Jan 9, 2008 2:37 PM, Dave Young [EMAIL PROTECTED] wrote: On Jan 9, 2008 2:13 PM, Dave Young [EMAIL PROTECTED] wrote: On Wed, Jan 09, 2008 at 09:32:48AM +0800, Dave Young wrote: On Jan 9, 2008 6:48 AM, Greg KH [EMAIL

Re: [JANITOR PROPOSAL] Switch ioctl functions to -unlocked_ioctl

2008-01-10 Thread Daniel Phillips
Hi Alasdair, On Wednesday 09 January 2008 14:40, Alasdair G Kergon wrote: Device-mapper for example in dm_blk_ioctl(), has no need for BKL so drops it immediately, but it does need the inode parameter, so it is unable to switch as things stand. So what stops you from changing to

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Thu, Jan 10 2008, Peter Zijlstra wrote: On Thu, 2008-01-10 at 08:37 +, Christoph Hellwig wrote: Peter, any chance you could chime in here? I have this patch to add swap_out/_in methods. I expect we can loosen the requirement for swapcache pages and change the name a little.

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Peter Zijlstra
On Thu, 2008-01-10 at 10:49 +0100, Jens Axboe wrote: On Thu, Jan 10 2008, Peter Zijlstra wrote: On Thu, 2008-01-10 at 08:37 +, Christoph Hellwig wrote: Peter, any chance you could chime in here? I have this patch to add swap_out/_in methods. I expect we can loosen the

Re: CPA patchset

2008-01-10 Thread Andi Kleen
On Thu, Jan 10, 2008 at 10:31:26AM +0100, Ingo Molnar wrote: Andi, finally managed to get the time to review your CPA patchset, and i fundamentally agree with most of the detail changes done in it. But here are a few structural high-level observations: I have a few changes and will post

Re: CPA patchset

2008-01-10 Thread Andi Kleen
On Thu, Jan 10, 2008 at 07:44:03PM +1000, Dave Airlie wrote: finally managed to get the time to review your CPA patchset, and i fundamentally agree with most of the detail changes done in it. But here are a few structural high-level observations: - firstly, there's no rationale given.

Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM without HOTPLUG_CPU

2008-01-10 Thread Andi Kleen
It seems the correct solution would be not to hijack __cpuinit (as your patch does), but to create a new annotation. The rationale is that after suspend the CPU has to be reinitialized. That is because it is essentially like a reboot. All the previous CPU state is gone. It doesn't need to

Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM without HOTPLUG_CPU

2008-01-10 Thread Adrian Bunk
On Thu, Jan 03, 2008 at 07:43:43PM +0100, Andi Kleen wrote: On Thursday 03 January 2008 19:14:38 Adrian Bunk wrote: On Thu, Jan 03, 2008 at 04:42:29PM +0100, Andi Kleen wrote: This avoids the requirement to mark a lot of initialization functions not __cpuinit just for resume from

Re: [JANITOR PROPOSAL] Switch ioctl functions to -unlocked_ioctl

2008-01-10 Thread Rolf Eike Beer
Andi Kleen wrote: Can you explain the rationale behind that running on the BKL? What type of It used to always run with the BKL because everything used to and originally nobody wanted to review all ioctl handlers in tree to see if they can run with more fine grained locking. A lot probably

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Thu, Jan 10 2008, Peter Zijlstra wrote: On Thu, 2008-01-10 at 10:49 +0100, Jens Axboe wrote: On Thu, Jan 10 2008, Peter Zijlstra wrote: On Thu, 2008-01-10 at 08:37 +, Christoph Hellwig wrote: Peter, any chance you could chime in here? I have this patch to add

Re: [RFC PATCH] greatly reduce SLOB external fragmentation

2008-01-10 Thread Pekka J Enberg
Hi Matt, On Wed, 9 Jan 2008, Matt Mackall wrote: Huh, that's a fairly negligible change on your system. Is that with or without the earlier patch? That doesn't appear to change much here. Guess I'll have to clean up my stats patch and send it to you. Ok, if I apply both of the patches, I get

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-10 Thread Joerg Platte
Am Donnerstag, 10. Januar 2008 schrieb Fengguang Wu: problem, because the iowait problem disappeared today after the regular Debian update. I'll try to install the old package versions to make it show up again. Maybe that helps to debug it. Thank you. I'm running sid, ext2 as rootfs now

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
* Dave Airlie [EMAIL PROTECTED] wrote: - firstly, there's no rationale given. So we'll change ioremap()/etc. from doing a cflush-range instruction instead of a WBINVD. But why? WBINVD isnt particular fast (takes a few msecs), but why is that a problem? Drivers dont do

Re: [RFC PATCH] greatly reduce SLOB external fragmentation

2008-01-10 Thread Pekka J Enberg
On Wed, 9 Jan 2008, Matt Mackall wrote: slob: split free list by size [snip] Reviewed-by: Pekka Enberg [EMAIL PROTECTED] -- 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: [PATCH] procfs: provide slub's /proc/slabinfo

2008-01-10 Thread Pekka J Enberg
On Mon, 7 Jan 2008, Matt Mackall wrote: slob: fix free block merging at head of subpage We weren't merging freed blocks at the beginning of the free list. Fixing this showed a 2.5% efficiency improvement in a userspace test harness. [snip] Reviewed-by: Pekka Enberg [EMAIL PROTECTED] -- To

Re: [JANITOR PROPOSAL] Switch ioctl functions to -unlocked_ioctl

2008-01-10 Thread Andi Kleen
So if I write my own driver and have never heard of ioctls running on BKL before I can rather be sure that I just can change the interface of the ioctl function, put it in unlocked_ioctl and are fine? Cool. If you know the BKL is not needed in your code you should use unlocked_ioctl correct.

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: WBINVD isnt particular fast (takes a few msecs), but why is that a problem? Drivers dont do high-frequency ioremap-ing. It's typically only done at driver/device startup and that's it. Actually graphics drivers can do higher frequency

Re: CPA patchset

2008-01-10 Thread Andi Kleen
On Thu, Jan 10, 2008 at 11:04:43AM +0100, Ingo Molnar wrote: * Andi Kleen [EMAIL PROTECTED] wrote: WBINVD isnt particular fast (takes a few msecs), but why is that a problem? Drivers dont do high-frequency ioremap-ing. It's typically only done at driver/device startup and

RE: [PATCH v2] Add DMA engine driver for Freescale MPC85xxprocessors.

2008-01-10 Thread Zhang Wei
Hi, Dan, Thanks so much for your help! Since the fixups were straightforward I went ahead and pulled this patch out of -mm and rebased it on my async-tx patch queue for 2.6.25. Could you double check the result, I have only compile tested it? git pull

Re: [Bluez-devel] Oops involving RFCOMM and sysfs

2008-01-10 Thread Gabor Gombas
Hi, On Wed, Jan 09, 2008 at 06:16:02PM +0900, Tejun Heo wrote: Please confirm the attached patch fixes the oops. I'll separate it into two patches and forward them to Greg. But bluetooth code also needs to be updated such that it moves the refcommX device before killing the connection

Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM without HOTPLUG_CPU

2008-01-10 Thread Adrian Bunk
On Thu, Jan 10, 2008 at 10:58:57AM +0100, Andi Kleen wrote: It seems the correct solution would be not to hijack __cpuinit (as your patch does), but to create a new annotation. The rationale is that after suspend the CPU has to be reinitialized. That is because it is essentially like a

Re: CPA patchset

2008-01-10 Thread Dave Airlie
On Jan 10, 2008 7:55 PM, Andi Kleen [EMAIL PROTECTED] wrote: On Thu, Jan 10, 2008 at 07:44:03PM +1000, Dave Airlie wrote: finally managed to get the time to review your CPA patchset, and i fundamentally agree with most of the detail changes done in it. But here are a few structural

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Peter Zijlstra
On Thu, 2008-01-10 at 11:02 +0100, Jens Axboe wrote: On Thu, Jan 10 2008, Peter Zijlstra wrote: On Thu, 2008-01-10 at 10:49 +0100, Jens Axboe wrote: On Thu, Jan 10 2008, Peter Zijlstra wrote: On Thu, 2008-01-10 at 08:37 +, Christoph Hellwig wrote: Peter, any chance

Re: [PATCH] ACPI: Add sysfs interface for acpi device wakeup

2008-01-10 Thread Matthew Garrett
On Thu, Jan 10, 2008 at 07:59:36AM +0800, Yi Yang wrote: Maybe this is a good idea, but i don't know the relationships between acpi devices, devices, pci devices and pnp devices. If we can merge all these things together, that will be a great job. Let's not merge this yet, then, otherwise

Re: [PATCH 2/3] ptrace_stop: remove the wrong -group_stop_count bookkeeping

2008-01-10 Thread Petr Tesarik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oleg Nesterov wrote: On 12/08, Eric W. Biederman wrote: Oleg Nesterov [EMAIL PROTECTED] writes: ptrace_stop() decrements -group_stop_count to participate in group stop. This looks very wrong to me, the task can in fact decrement this counter

Re: LRW/XTS + Via Padlock Bug in 2.6.24-rc7?

2008-01-10 Thread Torben Viets
Thanks for the reply, the patch doesn't work witch the patch utility, so I did it manually, hope this was rigth: static void aes_crypt_copy(const u8 *in, u8 *out, u32 *key, struct cword *cword) { u8 tmp[AES_BLOCK_SIZE * 2] __attribute__

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: There's also unfortunately still one outstanding bug (triggeredb y some recent changes) on 32bit that makes the self test suite not pass currently. ok. I'd expect there to be a whole lot of bugs triggered in this area. We have to shape it in a way

Re: [PATCH] x86: trivial whitespace in kprobes.c

2008-01-10 Thread Masami Hiramatsu
Harvey Harrison wrote: Signed-off-by: Harvey Harrison [EMAIL PROTECTED] Acked-by: Masami Hiramatsu [EMAIL PROTECTED] --- Ingo, you could/should probably fold this into Masami's kprobe unification patch. The original code had these whitespace, because (I think) kretprobe_trampoline_holder()

Re: CPA patchset

2008-01-10 Thread Andi Kleen
On Thu, Jan 10, 2008 at 08:20:26PM +1000, Dave Airlie wrote: This is only possible as long as we know all the parts involved, for example on AMD we have problems with that over-eager prefetching so for drivers on AMD chipsets we have to do something else more than likely using

Re: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()

2008-01-10 Thread Anton Salikhmetov
2008/1/10, Jakob Oestergaard [EMAIL PROTECTED]: On Thu, Jan 10, 2008 at 03:03:03AM +0300, Anton Salikhmetov wrote: ... I guess a third possible time (if we want to minimize the number of updates) would be when natural syncing of the file data to disk, by other things in the VM, would be

Re: [RFC PATCH] greatly reduce SLOB external fragmentation

2008-01-10 Thread Pekka J Enberg
Hi Matt, On Thu, 10 Jan 2008, Pekka J Enberg wrote: I'll double check the results for SLUB next but it seems obvious that your patches are a net gain for SLOB and should be applied. One problem though with SLOB seems to be that its memory efficiency is not so stable. Any ideas why that is?

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: WBINVD isnt particular fast (takes a few msecs), but why is that a problem? Drivers dont do high-frequency ioremap-ing. It's typically only done at driver/device startup and that's it. Actually graphics drivers can do higher

Re: Fix x86 32 bit FRAME_POINTER chasing code

2008-01-10 Thread Adrian Bunk
On Thu, Jan 10, 2008 at 07:54:38AM +0100, Ingo Molnar wrote: ... it's a 2.6.24.1 candidate i believe. We trigger plenty of various crashes during x86.git maintenance and others hit various crashes in -mm, so by the time .1 is released we'll have it in .25 and can backport it. Most

Re: CPA patchset

2008-01-10 Thread Andi Kleen
On Thu, Jan 10, 2008 at 11:43:51AM +0100, Ingo Molnar wrote: - firstly, there's no rationale given. So we'll change ioremap()/etc. from doing a cflush-range instruction instead of a WBINVD. But why? - WBINVD is a very nasty operation. I was talking to some CPU people and they

Re: [PATCH] x86: trivial whitespace in kprobes.c

2008-01-10 Thread Masami Hiramatsu
Masami Hiramatsu wrote: Harvey Harrison wrote: Signed-off-by: Harvey Harrison [EMAIL PROTECTED] Acked-by: Masami Hiramatsu [EMAIL PROTECTED] --- Ingo, you could/should probably fold this into Masami's kprobe unification patch. The original code had these whitespace, because (I think)

Re: [PATCH 08/28] SECURITY: Allow kernel services to override LSM settings for task actions [try #2]

2008-01-10 Thread David Howells
Stephen Smalley [EMAIL PROTECTED] wrote: If you have a SELinux: policy loaded with handle_unknown=allow message in your /var/log/messages, then new classes/perms that are not yet known to the policy will be allowed by default, so the operation will be permitted by the kernel. I don't. How

Re: CPA patchset

2008-01-10 Thread Andi Kleen
On Thu, Jan 10, 2008 at 11:57:26AM +0100, Ingo Molnar wrote: WBINVD isnt particular fast (takes a few msecs), but why is that a problem? Drivers dont do high-frequency ioremap-ing. It's typically only done at driver/device startup and that's it. Actually

Is it possible to change IRQ for certain device?

2008-01-10 Thread Jan Marek
Hello lkml, I have problem with my computer: I have motherboard with AMD690G chipset and nVidia VGA card. But I cannot set BIOS, to assign for VGA unique IRQ. VGA card is sharing IRQ with two ohci_hcd (USB 1.1 controllers). But when I want use for X proprietary nvidia driver, X didn't work with

Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM without HOTPLUG_CPU

2008-01-10 Thread Andi Kleen
But your patch does: +config PM_CPUINIT + bool + depends on PM That is because arch/x86/power/cpu.c where this happens is currently obj-$(CONFIG_PM)+= cpu.o If it was changed to CONFIG_something else then yes that dependency should be changed too. -Andi -- To

Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM without HOTPLUG_CPU

2008-01-10 Thread Adrian Bunk
On Thu, Jan 10, 2008 at 12:15:15PM +0100, Andi Kleen wrote: But your patch does: +config PM_CPUINIT + bool + depends on PM That is because arch/x86/power/cpu.c where this happens is currently obj-$(CONFIG_PM)+= cpu.o If it was changed to

Re: Is it possible to change IRQ for certain device?

2008-01-10 Thread Andi Kleen
Jan Marek [EMAIL PROTECTED] writes: Is there a way to change IRQ for VGA (or for ohci_hcd instead of VGA) directly in Linux? Linux normally cannot change the interrupts assigned by the BIOS because it often requires chipset specific knowledge. -Andi -- To unsubscribe from this list: send the

Re: Driver 'sd' needs updating

2008-01-10 Thread FUJITA Tomonori
CC'ed linux-scsi and James, On Thu, 10 Jan 2008 08:51:50 + Nick Warne [EMAIL PROTECTED] wrote: Hi everybody - Happy New Year to you all! OK, updated to git rc7 yesterday - I now see this in syslog: Driver 'sd' needs updating - please use bus_type methods The warning never

Re: The ext3 way of journalling

2008-01-10 Thread Helge Hafting
Matthias Schniedermeyer wrote: Don't use udev then. Good old static dev works fine if you have a fixed set of devices. It doesn't, with the unpredictable SCSI mapping insanity. That what LABEL und UUID-Support in mount is for. You label the filesystems (e2label for ext2 and ext3)

[PATCH 0/7] Create and populate toplevel tests/ directory

2008-01-10 Thread Ananth N Mavinakayanahalli
The following series of patches create and populate the toplevel tests/ directory. This will henceforth be the place where all in-kernel tests live. All patches against 2.6.24-rc6-mm1 Ananth -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [JANITOR PROPOSAL] Switch ioctl functions to -unlocked_ioctl

2008-01-10 Thread Alasdair G Kergon
On Thu, Jan 10, 2008 at 01:49:15AM -0800, Daniel Phillips wrote: So what stops you from changing to unlocked_ioctl for the main device mapper ctl_ioctl? Nothing - patches to do this are queued for 2.6.25:

Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM without HOTPLUG_CPU

2008-01-10 Thread Andi Kleen
On Thursday 10 January 2008 12:26:07 Adrian Bunk wrote: On Thu, Jan 10, 2008 at 12:15:15PM +0100, Andi Kleen wrote: But your patch does: +config PM_CPUINIT + bool + depends on PM That is because arch/x86/power/cpu.c where this happens is currently

[PATCH 1/6] Core driver for WM97xx touchscreens

2008-01-10 Thread Mark Brown
This patch series adds support for the touchscreen controllers provided by Wolfson Microelectronics WM97xx series chips in both polled and streaming modes. These drivers have been maintained out of tree since 2003. During that time the driver the primary maintainer was Liam Girdwood and a number

[PATCH 4/6] Add chip driver for WM9713 touchscreen

2008-01-10 Thread Mark Brown
Signed-off-by: Liam Girdwood [EMAIL PROTECTED] Signed-off-by: Graeme Gregory [EMAIL PROTECTED] Signed-off-by: Mike Arthur [EMAIL PROTECTED] Signed-off-by: Mark Brown [EMAIL PROTECTED] Cc: Stanley Cai [EMAIL PROTECTED] Cc: Rodolfo Giometti [EMAIL PROTECTED] Cc: Russell King [EMAIL PROTECTED] Cc:

[PATCH 3/6] Add chip driver for WM9712 touchscreen

2008-01-10 Thread Mark Brown
Signed-off-by: Liam Girdwood [EMAIL PROTECTED] Signed-off-by: Graeme Gregory [EMAIL PROTECTED] Signed-off-by: Mike Arthur [EMAIL PROTECTED] Signed-off-by: Mark Brown [EMAIL PROTECTED] Cc: Stanley Cai [EMAIL PROTECTED] Cc: Rodolfo Giometti [EMAIL PROTECTED] Cc: Russell King [EMAIL PROTECTED] Cc:

[PATCH 6/6] Build system and MAINTAINERS entry for WM97xx touchscreen drivers

2008-01-10 Thread Mark Brown
Signed-off-by: Mark Brown [EMAIL PROTECTED] Signed-off-by: Liam Girdwood [EMAIL PROTECTED] --- MAINTAINERS|9 ++ drivers/input/touchscreen/Kconfig | 52 drivers/input/touchscreen/Makefile | 17 +++ 3 files changed,

[PATCH 6/7] Move lkdtm under tests/

2008-01-10 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move the lkdtm infrastructure to tests/ Signed-off-by: Ananth N Mavinakayanahalli [EMAIL PROTECTED] --- drivers/misc/lkdtm.c | 345 -- drivers/misc/Makefile |1 lib/Kconfig.debug | 15

[PATCH 7/7] Add kprobes smoke tests under tests/

2008-01-10 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Here is a quick and naive smoke test for kprobes. This is intended to just verify if some unrelated change broke the *probes subsystem. It is self contained, architecture agnostic and isn't of any great use by itself. This needs to be built in

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: What is very real though are the hard limitations of MTRRs. So i'd rather first like to see a clean PAT approach (which all other modern OSs have already migrated to in the past 10 years) That's mostly orthogonal. Don't know why you bring it up

[PATCH 5/7] Move synchro-test under tests/

2008-01-10 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move the synchro-test infrastructure to tests/ Signed-off-by: Ananth N Mavinakayanahalli [EMAIL PROTECTED] --- kernel/synchro-test.c | 526 -- kernel/Makefile |1 lib/Kconfig.debug

[PATCH 4/7] Move rtmutex tests under tests/

2008-01-10 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move the rtmutex-tester infrastructure to tests/ Signed-off-by: Ananth N Mavinakayanahalli [EMAIL PROTECTED] --- kernel/rtmutex-tester.c | 442 kernel/Makefile |1 lib/Kconfig.debug

[PATCH 1/7] Add tests/ directory

2008-01-10 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Create a toplevel tests/ directory to house in-kernel subsystem specific tests. PS: I am not sure if I've gotten the Makefile change right. Signed-off-by: Ananth N Mavinakayanahalli [EMAIL PROTECTED] --- Makefile |3 +++

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-10 Thread Pierre Ossman
On Thu, 10 Jan 2008 17:22:55 +0800 Bryan Wu [EMAIL PROTECTED] wrote: At page 4-3 of ADSP-BF54x Blackfin(R) Processor Peripheral Hardware Reference, there is a table which guide us the SDH controller does not support 4-bit mode MMC card. Please found the table picture in the attachment or

Re: [PATCH 6/6] NLM: Add reference counting to lockd

2008-01-10 Thread Jeff Layton
On Thu, 10 Jan 2008 14:29:22 +1100 Neil Brown [EMAIL PROTECTED] wrote: On Tuesday January 8, [EMAIL PROTECTED] wrote: ...and only have lockd exit when the last reference is dropped. The problem is this: When a lock that a client is blocking on comes free, lockd does this in

[PATCH 2/6] Add chip driver for WM9705 touchscreen

2008-01-10 Thread Mark Brown
Signed-off-by: Liam Girdwood [EMAIL PROTECTED] Signed-off-by: Graeme Gregory [EMAIL PROTECTED] Signed-off-by: Mike Arthur [EMAIL PROTECTED] Signed-off-by: Mark Brown [EMAIL PROTECTED] Cc: Stanley Cai [EMAIL PROTECTED] Cc: Rodolfo Giometti [EMAIL PROTECTED] Cc: Russell King [EMAIL PROTECTED] Cc:

[PATCH 5/6] Driver for WM97xx touchscreens in streaming mode on PXA2xx systems

2008-01-10 Thread Mark Brown
Signed-off-by: Liam Girdwood [EMAIL PROTECTED] Signed-off-by: Graeme Gregory [EMAIL PROTECTED] Signed-off-by: Mike Arthur [EMAIL PROTECTED] Signed-off-by: Mark Brown [EMAIL PROTECTED] Cc: Stanley Cai [EMAIL PROTECTED] Cc: Rodolfo Giometti [EMAIL PROTECTED] Cc: Russell King [EMAIL PROTECTED] Cc:

Re: [PATCH] x86: Remove ifdef from step.c

2008-01-10 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: @@ -148,11 +148,7 @@ static void write_debugctlmsr(struct task_struct *child, unsigned long val) if (child != current) return; -#ifdef CONFIG_X86_64 - wrmsrl(MSR_IA32_DEBUGCTLMSR, val); -#else

Re: [PATCH] x86: Move get_segment_eip() to step.c

2008-01-10 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: get_segment_eip has similarities to convert_rip_to_linear(), and is used in a similar context. Move get_segment_eip to step.c to allow easier consolidation. thanks, applied. Ingo, you may want to fold this into my previous patch: x86: begin

Re: [PATCH] x86: trivial whitespace in kprobes.c

2008-01-10 Thread Ingo Molnar
* Harvey Harrison [EMAIL PROTECTED] wrote: Signed-off-by: Harvey Harrison [EMAIL PROTECTED] --- Ingo, you could/should probably fold this into Masami's kprobe unification patch. i applied this as a separate patch - better for whitespace changes to not be mixed into unification patches.

  1   2   3   4   5   6   7   8   9   10   >