Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-10 Thread Mike Frysinger
On Jan 11, 2008 1:17 AM, Bryan Wu [EMAIL PROTECTED] wrote: On Jan 10, 2008 7:57 PM, Pierre Ossman [EMAIL PROTECTED] wrote: 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

[PATCH] constify the name passed to platform_device_register_simple

2008-01-10 Thread Stephen Rothwell
This name is just passed to platform_device_alloc which has its parameter declared const. Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] --- drivers/base/platform.c |2 +- include/linux/platform_device.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [patch 05/19] split LRU lists into anon file sets

2008-01-10 Thread KOSAKI Motohiro
Hi Rik +static inline int is_file_lru(enum lru_list l) +{ + BUILD_BUG_ON(LRU_INACTIVE_FILE != 2 || LRU_ACTIVE_FILE != 3); + return (l/2 == 1); +} below patch is a bit cleanup proposal. i think LRU_FILE is more clarify than /2. What do you think it? Index:

Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Andi Kleen
Roland McGrath [EMAIL PROTECTED] writes: It's not too pretty, but I found this made the PANIC: early exception messages become much more reliably useful: 1. print the vector number, 2. print the %cs value, 3. handle error-code-pushing vs non-pushing vectors. For what do you need cs? It should

Re: [PATCH 001/001] ipv4: enable use of 240/4 address space

2008-01-10 Thread David Miller
From: Vince Fuller [EMAIL PROTECTED] Date: Mon, 7 Jan 2008 17:10:57 -0800 from Vince Fuller [EMAIL PROTECTED] This set of diffs modify the 2.6.20 kernel to enable use of the 240/4 (aka class-E) address space as consistent with the Internet Draft draft-fuller-240space-00.txt.

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

2008-01-10 Thread Joerg Platte
Am Freitag, 11. Januar 2008 schrieb Joerg Platte: konqueror 987jplatte mem REG8,6 2590525 1336104 /var/tmp/kdecache-jplatte/ksycoca konqueror 987jplatte 12r REG8,6 2590525 1336104 /var/tmp/kdecache-jplatte/ksycoca konqueror 987jplatte 13u

Re: 2.6.24-rc7, intel audio: alsa doesn't say a beep

2008-01-10 Thread Takashi Iwai
At Thu, 10 Jan 2008 23:02:53 +0100, Harald Dunkel wrote: Takashi Iwai wrote: Hm... Just to be sure, try the patch below. It's a clean up patch that I'd like to apply later. Sorry, no sound. OK, but I'd like to know whether this makes no regression to rc6. Could you check? Also,

Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Roland McGrath
Probably true that it's not worth the space. I couldn't figure a way to do it that doesn't use at least 8 bytes per vector. Of course, the vectors = 32 are never interesting, so 256 bytes of dispatch table could cover it. Anyway, I think it's fine just to have the patch on hand to enable for a

[GIT PULL] XFS update for 2.6.24-rc8

2008-01-10 Thread Lachlan McIlroy
Please pull from the for-linus branch: git pull git://oss.sgi.com:8090/xfs/xfs-2.6.git for-linus This will update the following files: fs/xfs/linux-2.6/xfs_file.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) through these commits: commit

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: but that's not too smart: why dont they use WB plus cflush instead? Because they need to access it WC for performance. I think you have it fundamentally backwards: the best for performance is WB + cflush. What would WC offer for

[x86/mm] vsyscall_fn fault in early startup

2008-01-10 Thread Roland McGrath
I bisected my startup problem down to: 197e4989b0404996dfe3ab091c1398e4c2813d44 is first bad commit commit 197e4989b0404996dfe3ab091c1398e4c2813d44 Author: Ingo Molnar [EMAIL PROTECTED] Date: Wed Jan 9 13:31:06 2008 +0100 x86: mark native_read_tsc()

Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Ingo Molnar
* Roland McGrath [EMAIL PROTECTED] wrote: It's not too pretty, but I found this made the PANIC: early exception messages become much more reliably useful: 1. print the vector number, 2. print the %cs value, 3. handle error-code-pushing vs non-pushing vectors. thanks, applied. since

Re: [x86/mm] vsyscall_fn fault in early startup

2008-01-10 Thread Ingo Molnar
* Roland McGrath [EMAIL PROTECTED] wrote: I bisected my startup problem down to: i fixed this in my tree yesterday but was held up by another problem from uploading it. The patch below should apply to the tree you have. Ingo -- Subject: x86: fix sched_clock() From: Ingo

[PATCH] x86-64: disable the GART early v2

2008-01-10 Thread Yinghai Lu
please check the one that can be applied to x86.git -mm YH [PATCH] x86-64: disable the GART early v2 For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when try to use kexec second kernel, and the first doesn't include gart_shutdown. the second kernel

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

2008-01-10 Thread Jens Axboe
On Fri, Jan 11 2008, Mikulas Patocka wrote: So I looked at the code - it seems you build a full extent of the blocks in the file, filling holes as you go along. I initally did that as well, but that is to slow to be usable in real life. You also don't support sparse files, falling back

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

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

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]

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

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

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

[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

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 >

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

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)

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.

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

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

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

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

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

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

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,

[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

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

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 > >

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*

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 >

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

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

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. >

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 > >>

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 (updated > patch below). thanks, applied. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

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 > >

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,

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

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

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

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

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

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

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

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

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

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]>

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

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: 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

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

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

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: > > > > >

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

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

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)

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

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

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

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 > >

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,

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

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 > > > > >

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

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

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

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

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

[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

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