Re: [PATCH] slob: reduce list scanning

2007-07-16 Thread Nick Piggin
Matt Mackall wrote: The version of SLOB in -mm always scans its free list from the beginning, which results in small allocations and free segments clustering at the beginning of the list over time. This causes the average search to scan over a large stretch at the beginning on each allocation.

Drop patch update-isdn-tree-to-use-pci_get_device.patch from -mm tree

2007-07-16 Thread Surya Prabhakar N
Hi Andrew, I would request you to drop the patch update-isdn-tree-to-use-pci_get_device.patch from the -mm tree since a new bug is been identified in that by jeff. thanks. surya. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: Hibernation Redesign

2007-07-16 Thread Nick Piggin
Rafael J. Wysocki wrote: The only direct relationship between the freezer and drivers is that some of them use kernel threads that call try_to_freeze() (and other freezer-related functions). If removing thoset was the only benefit of getting rid of the freezer with kexec, it would almost be

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread James Bruce
Thomas Gleixner wrote: Roman Zippel noticed inconsistency of the wmult table. wmult[16] has a missing digit. [snip] While we're at it, isn't the comment above the wmult table incorrect? The multiplier is 1.25, meaning a 25% change per nice level, not 10%. - Jim - To unsubscribe from this

Re: [patch 1/5] avoid tlb gather restarts.

2007-07-16 Thread Andrew Morton
On Tue, 03 Jul 2007 13:18:23 +0200 Martin Schwidefsky [EMAIL PROTECTED] wrote: From: Martin Schwidefsky [EMAIL PROTECTED] If need_resched() is false in the inner loop of unmap_vmas it is unnecessary to do a full blown tlb_finish_mmu / tlb_gather_mmu for each ZAP_BLOCK_SIZE ptes. Do a

Re: [PATCH] splice: fix wrong __splice_from_pipe() usage

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, OGAWA Hirofumi wrote: Hi, I've noticed the nfsd read corruption by recent change. And this patch fixes the problem for me, is this right fix? -- OGAWA Hirofumi [EMAIL PROTECTED] __splice_from_pipe() is updating the sd-pos for the actor, but those functions are

Re: [2.6 patch] the scheduled ACPI_PROCFS removal

2007-07-16 Thread Stefan Seyfried
On Thu, Jul 12, 2007 at 10:18:17AM +0100, Richard Hughes wrote: On Thu, 2007-07-12 at 09:32 +0400, Alexey Starikovskiy wrote: [*] Does someone have an alternative for /proc/acpi/battery/BAT1/{state,info}? I'm working on it. Should have proto by the end of week. If you are using the

Re: [patch] CFS scheduler, -v19

2007-07-16 Thread Mike Galbraith
On Sun, 2007-07-15 at 23:11 +0200, Markus wrote: [1] http://lkml.org/lkml/2007/07/14/60 Hm. Tasks disappearing isn't you're typical process scheduler problem by any means, nor is an idle box exhibiting mouse lurchiness. Is there anything unusual in your logs? I know that its not

[PATCH 1/1] Driver for the Atmel on-chip SSC on AT32AP and AT91.

2007-07-16 Thread Hans-Christian Egtvedt
The Synchronous Serial Controller (SSC) on Atmel microprocessors are capable of tranceiving many frame based protocols, like I2S. Tested on the AT32AP7000/ATSTK1000. This driver is used in the ALSA sound driver for the AT73C213 external DAC on the ATSTK1000 development board for AVR32. This sound

Re: irq 9: nobody cared (try booting with the irqpoll option)

2007-07-16 Thread Stefan Richter
(Full quote for LKML) Akkana Peck wrote: I've been participating in a thread on the linux-usb list about an IRQ conflict problem several of us have seen with 2.6.21 and 2.6.22 (which didn't happen with earlier kernels). The full thread starts at http://www.mail-archive.com/[EMAIL

Re: Hibernation considerations

2007-07-16 Thread david
On Mon, 16 Jul 2007, Al Boldi wrote: [EMAIL PROTECTED] wrote: suspend-to-RAM should not involve kexec, the only reason for doing the kexec to to get a seperate userspace to use for suspend-to-disk operations instead of trying to partially freeze the sustem and keep useing it. Or you could

Re: Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22

2007-07-16 Thread Adrian Bunk
On Sun, Jul 15, 2007 at 10:03:02PM -0700, Li, Tong N wrote: There are various metrics a scheduler may want to optimize for, such as throughput, response time, power consumption, fairness, and so on. Each of these may also be defined differently in different environments. Take fairness as an

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread Ingo Molnar
* James Bruce [EMAIL PROTECTED] wrote: While we're at it, isn't the comment above the wmult table incorrect? The multiplier is 1.25, meaning a 25% change per nice level, not 10%. yes, the weight multiplier 1.25, but the actual difference in CPU utilization, when running two CPU intense

Re: [i2c] OMAP: Add TI TWL92330/Menelaus Power Management chip driver

2007-07-16 Thread Trilok Soni
Hi Guennadi, On 7/15/07, Guennadi Liakhovetski [EMAIL PROTECTED] wrote: On Tue, 10 Jul 2007, Trilok Soni wrote: Hi Jean/Andrew, Attached patch adds Texas Instruments TWL92330/Menelaus Power Management chip driver. Also includes RTC code in the same driver instead of the separate module.

Re: [EXT4 set 9][PATCH 4/5]Morecleanups:ext4_extent_compilation_fixes

2007-07-16 Thread Mingming Cao
On Tue, 2007-07-10 at 23:18 -0700, Andrew Morton wrote: On Sun, 01 Jul 2007 03:38:51 -0400 Mingming Cao [EMAIL PROTECTED] wrote: Subject: [EXT4 set 9][PATCH 4/5]Morecleanups:ext4_extent_compilation_fixes Date: Sun, 01 Jul 2007 03:38:51 -0400 Sender: [EMAIL PROTECTED] Organization:

Re: [PATCH] slob: reduce list scanning

2007-07-16 Thread Pekka Enberg
On 7/16/07, Nick Piggin [EMAIL PROTECTED] wrote: Actually SLOB potentially has some fundamental CPU cache hotness advantages over the other allocators, for the same reasons as its space advantages. Because consecutive allocations hit the same cache-hot page regardless of requested size where

Re: [PATCH][BUTTON] remove procfs-interface

2007-07-16 Thread Stefan Seyfried
On Fri, Jul 13, 2007 at 12:37:07AM +0530, Satyam Sharma wrote: On 7/12/07, Zhang, Rui [EMAIL PROTECTED] wrote: Well, the ACPI sysfs conversion is not finished yet [...] I'm not sure if the button sysfs I/F is already finished. We'd better make a double check. :) Ok, this sounds reasonable.

Re: [PATCH] ACPI: update ACPI_PROCFS removal schedule

2007-07-16 Thread Stefan Seyfried
On Thu, Jul 12, 2007 at 06:20:34PM +0800, rzhang1 wrote: From: Zhang Rui [EMAIL PROTECTED] ACPI sysfs conversion is not finished yet and some user space tools still depend on the ACPI procfs I/F. The ACPI_PROCFS removal schedule is changed to Jan 08. I think that's too early. The

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: * James Bruce [EMAIL PROTECTED] wrote: While we're at it, isn't the comment above the wmult table incorrect? The multiplier is 1.25, meaning a 25% change per nice level, not 10%. yes, the weight multiplier 1.25, but the actual difference in CPU

Re: [PATCH][BUTTON] remove procfs-interface

2007-07-16 Thread Satyam Sharma
On 7/16/07, Stefan Seyfried [EMAIL PROTECTED] wrote: Holy sh*t. There is not even a functional replacement ready, but still everybody wants to remove /proc/acpi. (Maybe the replacement started to work recently, i have not looked into this area for the last months. This does not change my pint,

Re: Ask for help, about the trivial patches.

2007-07-16 Thread Stefan Richter
jimmy bahuleyan wrote: TripleX Chung wrote: But I still have problems. Trivial means of little worth or importance. But some of the examples in the rules are important, like runtime fixes. Spell fixes must be unimportant, but most of the runtime fixes like memory leaks or NULL pointers must

[PATCH] HiSax telespci: convert to PCI hotplug API

2007-07-16 Thread Jeff Garzik
commit 6a95b63013e6bdd316dca39053174cb1add4b555 Author: Jeff Garzik [EMAIL PROTECTED] Date: Mon Jul 16 03:49:25 2007 -0400 [ISDN] HiSax: convert telespci to PCI hotplug API Also, some exports needed now that arocfi and hscx are being picked up via libhisax. [like other

[git pull request] scheduler updates

2007-07-16 Thread Ingo Molnar
Linus, please pull the latest scheduler git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched.git this includes low-risk changes that improve comments, remove dead code and fix whitespace/style problems. Thanks! Ingo --- Ingo Molnar (5):

Re: *at syscalls for xattrs?

2007-07-16 Thread Jan Engelhardt
On Jul 15 2007 23:23, Al Viro wrote: On Sun, Jul 15, 2007 at 02:13:21PM -0700, Nicholas Miell wrote: I suspect he was asking for int getxattrat(int fd, const char *path, const char *name, void *value, size_t size, int flags) int setxattrat(int fd, const char *path, const

Re: [patch] CFS scheduler, -v19

2007-07-16 Thread Ingo Molnar
* Mike Galbraith [EMAIL PROTECTED] wrote: Sending a few seconds of logged /proc/sched_debug will also help get a picture of what's happening, and lovely would be a method to reproduce the problem locally. also, by running this script:

Re: *at syscalls for xattrs?

2007-07-16 Thread Al Viro
On Mon, Jul 16, 2007 at 09:56:10AM +0200, Jan Engelhardt wrote: Just one question: what the bleeding hell for? Not that the rest of ..at() family made any damn sense as an interface... fd1 = open(dir1, O_DIRECTORY): fd2 = open(dir2, O_DIRECTORY); system(mount -t tmpfs none dir1);

[PATCH 1/1] ext4: JBD-JBD2 naming cleanups

2007-07-16 Thread Mingming Cao
On Tue, 2007-07-10 at 16:30 -0700, Andrew Morton wrote: Index: linux-2.6.22-rc4/include/linux/jbd2.h === --- linux-2.6.22-rc4.orig/include/linux/jbd2.h 2007-06-11 16:16:18.0 -0700 +++

Re: [ANNOUNCE][RFC] PlugSched-6.5.1 for 2.6.22

2007-07-16 Thread Ingo Molnar
* Peter Williams [EMAIL PROTECTED] wrote: Probably the last one now that CFS is in the main line :-(. hm, why is CFS in mainline a problem? The CFS merge should make the life of development/test patches like plugsched conceptually easier. (it will certainly cause a lot of churn, but that's

Re: [EXT4 set 2][PATCH 2/5] cleanups: Add extent sanity checks

2007-07-16 Thread Mingming Cao
On Tue, 2007-07-10 at 16:30 -0700, Andrew Morton wrote: On Sun, 01 Jul 2007 03:36:22 -0400 Mingming Cao [EMAIL PROTECTED] wrote: with the patch all headers are checked. the code should become more resistant to on-disk corruptions. needless BUG_ON() have been removed. please, review for

Re: [EXT4 set 6][PATCH 1/1]Export jbd stats through procfs

2007-07-16 Thread Mingming Cao
On Tue, 2007-07-10 at 19:31 -0700, Andrew Morton wrote: On Sun, 01 Jul 2007 03:38:10 -0400 Mingming Cao [EMAIL PROTECTED] wrote: [PATCH] jbd2 stats through procfs The patch below updates the jbd stats patch to 2.6.20/jbd2. The initial patch was posted by Alex Tomas in December 2005

Re: [EXT4 set 6][PATCH 1/1]Export jbd stats through procfs

2007-07-16 Thread Mingming Cao
On Tue, 2007-07-10 at 21:42 -0700, Andrew Morton wrote: On Tue, 10 Jul 2007 23:21:49 -0400 Cédric Augonnet [EMAIL PROTECTED] wrote: 2007/7/10, Andrew Morton [EMAIL PROTECTED]: Hi all, + size = sizeof(struct transaction_stats_s); + s-stats = kmalloc(size, GFP_KERNEL);

performance -cfs19 vs. -ck1 for 2.6.22

2007-07-16 Thread [EMAIL PROTECTED]
Hi, I haven't made special tests to compare 2.6.22-cfs19 and 2.6.22-ck1, but I see performance superiority of 2.6.22-ck1 using my own eyes. Especially in mozilla-firefox ... Using 2.6.22 or 2.6.22-cfs19 my firefox hangs for some time(~4-5 seconds) when I'm trying to open any url, but with

Re: performance -cfs19 vs. -ck1 for 2.6.22

2007-07-16 Thread Ingo Molnar
* [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Using 2.6.22 or 2.6.22-cfs19 my firefox hangs for some time(~4-5 seconds) when I'm trying to open any url, but with 2.6.22-ck1 firefox doesn't hang at all or at least for a second when I have lots of open tabs. hm, is there no other workload

Re: *at syscalls for xattrs?

2007-07-16 Thread Jeremy Fitzhardinge
Jan Engelhardt wrote: fd1 = open(dir1, O_DIRECTORY): fd2 = open(dir2, O_DIRECTORY); system(mount -t tmpfs none dir1); system(mount -t tmpfs none dir2); openat(fd1, file1, O_RDWR | O_CREAT); openat(fd2, file2, O_RDWR | O_CREAT); If you have a better way to accomplish this, let me know. :)

Re: [PATCH] slob: reduce list scanning

2007-07-16 Thread Nick Piggin
Pekka Enberg wrote: On 7/16/07, Nick Piggin [EMAIL PROTECTED] wrote: Actually SLOB potentially has some fundamental CPU cache hotness advantages over the other allocators, for the same reasons as its space advantages. Because consecutive allocations hit the same cache-hot page regardless of

Re: performance -cfs19 vs. -ck1 for 2.6.22

2007-07-16 Thread [EMAIL PROTECTED]
Hi, Ingo! Could you run the following script: http://people.redhat.com/mingo/cfs-scheduler/tools/cfs-debug-info.sh I'll do that! But a little bit later - I have tested that on my home computer. hm, is there no other workload on the system? Workload: firefox, transmission(torrent client),

[GIT PULL] Backlight updates

2007-07-16 Thread Richard Purdie
Hi Linus, Could you please pull from: git://git.o-hand.com/linux-rpurdie-backlight for-linus This converts the backlight/lcd class away from struct class_device and includes a Kconfig bugfix. Thanks, Richard drivers/acpi/video.c |4 - drivers/usb/misc/appledisplay.c

[GIT PULL] LED updates

2007-07-16 Thread Richard Purdie
Hi Linus, Could you please pull from: git://git.o-hand.com/linux-rpurdie-leds for-linus This adds a couple of new LED drivers and converts the LED class away from struct class_device as well as some bug fixes. Most of this has been in -mm for a while. Thanks, Richard

Re: panics with 16port Promise Supertrack EX Controller

2007-07-16 Thread Flavio Curti
Hello On Sun, Jul 15, 2007 at 05:35:15PM -0700, Randy Dunlap wrote: On Mon, 16 Jul 2007 00:51:55 +0200 Flavio Curti wrote: Ok, I now switched to cfg, and the machine panicd again. Panic attached. Any help is appreciated. Make sure that you switched to cfq and not cfg. Oh, it is. Typo when

Re: performance -cfs19 vs. -ck1 for 2.6.22

2007-07-16 Thread Ingo Molnar
* [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Ingo! Could you run the following script: http://people.redhat.com/mingo/cfs-scheduler/tools/cfs-debug-info.sh I'll do that! But a little bit later - I have tested that on my home computer. hm, is there no other workload on the

Fwd: performance -cfs19 vs. -ck1 for 2.6.22

2007-07-16 Thread [EMAIL PROTECTED]
to help us figure out the nature of the delay, could you do another thing as well: strace -ttt -TTT -f -o firefox.trace.txt -p `pidof firefox-bin` I'll do that!! - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

RE : Re: RE : Re: x86 setup code rewrite in C - revised

2007-07-16 Thread Etienne Lorrain
--- H. Peter Anvin [EMAIL PROTECTED] wrote: - Does not save and restore %ds when printing a char on the screen (%ds is destroyed only when the content of the screen scroll - only for some video cards) %ds? Aren't you confusing it with the old bug which would destroy %bp? If you

Including STRTOK_R in a LSM

2007-07-16 Thread Z. Cliffe Schreuders
I am aware strtok was removed from the kernel in 2002. However strtok_r is more desirable than strsep as I do not want to know about 'blank fields' (2 consecutive delimiters). Is it acceptable to simply include the strtok_r code in my security module? or should I create a wrapper for strsep to

Re: *at syscalls for xattrs?

2007-07-16 Thread Miklos Szeredi
fd1 = open(dir1, O_DIRECTORY): fd2 = open(dir2, O_DIRECTORY); system(mount -t tmpfs none dir1); system(mount -t tmpfs none dir2); openat(fd1, file1, O_RDWR | O_CREAT); openat(fd2, file2, O_RDWR | O_CREAT); If you have a better way to accomplish this, let me know. :) This

Re: [rfc][patch 2/2] x86_64: FIFO ticket spinlocks

2007-07-16 Thread Alan Cox
however the difference is quite small on Core2 and Opteron when working out of cache, and becomes almost insignificant even on P4 when the lock misses cache. trylock is more significantly slower, but they are relatively rare. This has a 255 processor limit (worst case). That should probably be

[PATCH try#4] Blackfin ethernet driver: on chip ethernet MAC controller driver

2007-07-16 Thread Bryan Wu
This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip ethernet MAC controller. [try#2] - add timeout control - kill dma_config_reg bitfields - some trivial cleanup [try#3] - add endianess check - add DRV_NAME, DRV_VERSION... driver information string

[patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-16 Thread Ingo Molnar
current -git broke my main testbox. No TCP/IP networking to/from the box and e1000 would time out in xmit: NETDEV WATCHDOG: eth0: transmit timed out e1000: eth0: e1000_clean_tx_irq: Detected Tx Unit Hang Tx Queue 0 TDH 95 TDT 95

Re: *at syscalls for xattrs?

2007-07-16 Thread Andreas Schwab
Jeremy Fitzhardinge [EMAIL PROTECTED] writes: This should work: fchdir(fd1); open(file1, O_RDWR | O_CREAT); fchdir(fd2); open(file2, O_RDWR | O_CREAT); This is not thread-safe. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße

Re: RE : Re: RE : Re: x86 setup code rewrite in C - revised

2007-07-16 Thread H. Peter Anvin
Etienne Lorrain wrote: BUGS: some implementations (including the original IBM PC) have a bug which destroys BP the Trident TVGA8900CL (BIOS dated 1992/9/8) clears DS to h when scrolling in an SVGA mode (800x600 or higher) When scrolling in an SVGA mode, sounds to me

Re: [patch] CFS scheduler, -v19

2007-07-16 Thread Ingo Molnar
* Ed Tomlinson [EMAIL PROTECTED] wrote: I run a java application at nice 15. Its been a background application here for as long as SD and CFS have been around. If I have a compile running at nice 0, with v19 java gets so little cpu that the the wrapper that runs to monitor it is timing

Re: [patch] use __attribute__ in asm-powerpc

2007-07-16 Thread Geert Uytterhoeven
On Sat, 14 Jul 2007, Mike Frysinger wrote: Pretty much everyone uses __attribute__ or attribute, no one uses __attribute. This patch tweaks the three places in asm-powerpc where this comes up. While only asm-powerpc/types.h is interesting (for userspace), I did asm-powerpc/processor.h as

Re: [patch] use __attribute__ in asm-powerpc

2007-07-16 Thread Robert P. J. Day
On Mon, 16 Jul 2007, Geert Uytterhoeven wrote: On Sat, 14 Jul 2007, Mike Frysinger wrote: Pretty much everyone uses __attribute__ or attribute, no one uses __attribute. This patch tweaks the three places in asm-powerpc where this comes up. While only asm-powerpc/types.h is interesting

Re: [rfc][patch 2/2] x86_64: FIFO ticket spinlocks

2007-07-16 Thread Nick Piggin
On Mon, Jul 16, 2007 at 10:16:54AM +0100, Alan Cox wrote: however the difference is quite small on Core2 and Opteron when working out of cache, and becomes almost insignificant even on P4 when the lock misses cache. trylock is more significantly slower, but they are relatively rare.

Re: [PATCH] Chinese Language Maintainer

2007-07-16 Thread Ganesan Rajagopal
Alan Cox [EMAIL PROTECTED] writes: That aside, please remember that Europe as a whole is a small place on the bigger world stage. The total volume of potential developers in the huge and rapidly modernising nations like India and China is vast, and there are large highly skilled technical

Re: [rfc][patch 2/2] x86_64: FIFO ticket spinlocks

2007-07-16 Thread Ingo Molnar
* Nick Piggin [EMAIL PROTECTED] wrote: [...] trylock is more significantly slower, but they are relatively rare. trylock is the main thing that the spinlock debugging code uses, and SPINLOCK_DEBUG is frequently enabled by distro kernels. OTOH, the cost looks like to be +5 instructions,

Re: [GIT PULL][RESEND] KVM Updates for 2.6.23-rc1

2007-07-16 Thread Avi Kivity
Linus Torvalds wrote: On Sat, 14 Jul 2007, Avi Kivity wrote: Linus, please do your usual thing from the repository and branch at It has code like + /* Can deadlock when called with interrupts disabled */ + WARN_ON(irqs_disabled()); +

Re: [patch] use __attribute__ in asm-powerpc

2007-07-16 Thread Andreas Schwab
Geert Uytterhoeven [EMAIL PROTECTED] writes: If the code is not exported to userspace (and thus not subject to different compilers), I think the preferred form is plain `attribute'. That does not exist without underscores. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux

Re: [PATCH] Chinese Language Maintainer

2007-07-16 Thread Dr. Keith G. Bowden
What I would like to see is the Americans learning English as a FIRST language. Keith (England) - Original Message - From: H. Peter Anvin [EMAIL PROTECTED] To: Li Yang [EMAIL PROTECTED] Cc: Rob Landley [EMAIL PROTECTED]; Gerrit Huizenga [EMAIL PROTECTED]; Kunai, Takashi [EMAIL

Re: *at syscalls for xattrs?

2007-07-16 Thread H. Peter Anvin
Miklos Szeredi wrote: The *at() thing basically gives you the advantages of a CWD without the disadvantages. For example it could be useful to implement the functionality of find(1) as a library interface. What the *at() interfaces really do is fix/paper over a longstanding wart in

Re: [patch] CFS scheduler, -v19

2007-07-16 Thread Ingo Molnar
* Markus [EMAIL PROTECTED] wrote: [...] The mouse is smooth, just when one app is being quit (dont know why...) the mouse will be jerking for a few seconds... is the mouse jerky on any app quitting? Or is your observation the following: _sometimes_ apps quit unexpectedly (their window just

Re: [rfc][patch 2/2] x86_64: FIFO ticket spinlocks

2007-07-16 Thread Nick Piggin
On Mon, Jul 16, 2007 at 11:26:46AM +0200, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: [...] trylock is more significantly slower, but they are relatively rare. trylock is the main thing that the spinlock debugging code uses, and SPINLOCK_DEBUG is frequently enabled by

[PATCH 01/33] crypto: don't pollute the global namespace with sg_next()

2007-07-16 Thread Jens Axboe
It's a subsystem function, prefix it as such. Cc: James Morris [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- crypto/digest.c |2 +- crypto/scatterwalk.c |2 +- crypto/scatterwalk.h |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 02/33] Add sg helpers for iterating over a scatterlist table

2007-07-16 Thread Jens Axboe
First step to being able to change the scatterlist setup without having to modify drivers (a lot :-) Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- include/linux/scatterlist.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/linux/scatterlist.h

[PATCH 03/33] block: convert to using sg helpers

2007-07-16 Thread Jens Axboe
Convert the main rq mapper (blk_rq_map_sg()) to the sg helper setup. Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- block/ll_rw_blk.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c index ef42bb2..ab71087 100644

[PATCH 04/33] scsi: convert to using sg helpers

2007-07-16 Thread Jens Axboe
This converts the SCSI mid layer to using the sg helpers for looking up sg elements, instead of doing it manually. Cc: FUJITA Tomonori [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/scsi_lib.c | 21 -

[PATCH 08/33] swiotlb: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- lib/swiotlb.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 10c13ad..1f658e4 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -673,16 +673,17 @@

[PATCH 25/33] gdth: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/gdth.c | 45 +++-- 1 files changed, 23 insertions(+), 22 deletions(-) diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index d0b95ce..7225c95 100644 ---

[PATCH 31/33] Fusion: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/message/fusion/mptscsih.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index d356173..f087249 100644 ---

[PATCH 28/33] ia64 simscsi: convert to use data buffer accessors

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- arch/ia64/hp/sim/simscsi.c | 22 +- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/arch/ia64/hp/sim/simscsi.c b/arch/ia64/hp/sim/simscsi.c index bb87682..aedce13 100644 ---

[PATCH 22/33] aic94xx: sg chaining support

2007-07-16 Thread Jens Axboe
Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/aic94xx/aic94xx_task.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/aic94xx/aic94xx_task.c b/drivers/scsi/aic94xx/aic94xx_task.c index e2ad5be..1327281 100644 ---

Re: *at syscalls for xattrs?

2007-07-16 Thread Jeff Garzik
H. Peter Anvin wrote: Miklos Szeredi wrote: The *at() thing basically gives you the advantages of a CWD without the disadvantages. For example it could be useful to implement the functionality of find(1) as a library interface. What the *at() interfaces really do is fix/paper over a

[PATCH 29/33] infiniband: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/infiniband/hw/ipath/ipath_dma.c |9 ++-- drivers/infiniband/ulp/iser/iser_memory.c | 75 +++- 2 files changed, 45 insertions(+), 39 deletions(-) diff --git

[PATCH 33/33] IDE: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/ide/cris/ide-cris.c |3 ++- drivers/ide/ide-dma.c |2 +- drivers/ide/ide-io.c |3 ++- drivers/ide/ide-probe.c |2 +- drivers/ide/ide-taskfile.c| 17 +

[PATCH 27/33] advansys: convert to use the data buffer accessors

2007-07-16 Thread Jens Axboe
Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/advansys.c | 21 ++--- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index 2b66897..f61a0ee 100644 --- a/drivers/scsi/advansys.c +++

[PATCH 30/33] USB storage: sg chaining support

2007-07-16 Thread Jens Axboe
[PATCH] USB storage: sg chaining support Modify usb_stor_access_xfer_buf() to take a pointer to an sg entry pointer, so we can keep track of that instead of passing around an integer index (which we can't use when dealing with multiple scatterlist arrays). Cc: [EMAIL PROTECTED] Signed-off-by:

[PATCH 32/33] i2o: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- include/linux/i2o.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/i2o.h b/include/linux/i2o.h index 52f53e2..0ae1dcf 100644 --- a/include/linux/i2o.h +++ b/include/linux/i2o.h @@ -836,7

[PATCH 26/33] aha1542: convert to use the data buffer accessors

2007-07-16 Thread Jens Axboe
Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/aha1542.c | 32 +++- 1 files changed, 15 insertions(+), 17 deletions(-) diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c index cbbfbc9..961a188 100644 --- a/drivers/scsi/aha1542.c +++

[PATCH 23/33] qlogicpti: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/qlogicpti.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index c4195ea..e36e6cd 100644 --- a/drivers/scsi/qlogicpti.c

[PATCH 24/33] ide-scsi: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/ide-scsi.c | 31 +++ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index bb90df8..61bcc31 100644 ---

[PATCH 21/33] qla1280: sg chaining support

2007-07-16 Thread Jens Axboe
Interesting hardware setup... Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/qla1280.c | 66 +++- 1 files changed, 37 insertions(+), 29 deletions(-) diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c

[PATCH 18/33] libata: convert to using sg helpers

2007-07-16 Thread Jens Axboe
This converts libata to using the sg helpers for looking up sg elements, instead of doing it manually. Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/ata/libata-core.c | 30 -- include/linux/libata.h| 16

[PATCH 15/33] scsi: simplify scsi_free_sgtable()

2007-07-16 Thread Jens Axboe
Just pass in the command, no point in passing in the scatterlist and scatterlist pool index seperately. Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/scsi_lib.c |9 + drivers/scsi/scsi_tgt_lib.c |4 ++--

[PATCH 14/33] SPARC64: sg chaining support

2007-07-16 Thread Jens Axboe
This updates the sparc64 iommu/pci dma mappers to sg chaining. Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- arch/sparc64/kernel/pci_iommu.c | 39 +--- arch/sparc64/kernel/pci_sun4v.c | 32 ---

[PATCH 10/33] x86-64: enable sg chaining

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- include/asm-x86_64/dma-mapping.h |3 +-- include/asm-x86_64/scatterlist.h |2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/asm-x86_64/dma-mapping.h b/include/asm-x86_64/dma-mapping.h index

[PATCH 19/33] scsi_debug: support sg chaining

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/scsi_debug.c | 30 -- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 4cd9c58..46a3e07 100644 ---

[PATCH 11/33] IA64: sg chaining support

2007-07-16 Thread Jens Axboe
This updates the ia64 iommu/pci dma mappers to sg chaining. Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- arch/ia64/hp/common/sba_iommu.c | 14 +++--- arch/ia64/sn/pci/pci_dma.c | 11 ++- include/asm-ia64/dma-mapping.h |1 +

[PATCH 16/33] SCSI: support for allocating large scatterlists

2007-07-16 Thread Jens Axboe
This is what enables large commands. If we need to allocate an sgtable that doesn't fit in a single page, allocate several SCSI_MAX_SG_SEGMENTS sized tables and chain them together. SCSI defaults to large chained sg tables, if the arch supports it. Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

[PATCH 17/33] ll_rw_blk: temporarily enable max_segments tweaking

2007-07-16 Thread Jens Axboe
Expose this setting for now, so that users can play with enabling large commands without defaulting it to on globally. This is a debug patch, it will be dropped for the final versions. Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- block/ll_rw_blk.c | 23 +++ 1 files

[PATCH 09/33] x86-64: update iommu/dma mapping functions to sg helpers

2007-07-16 Thread Jens Axboe
This prepares x86-64 for sg chaining support. Additional improvements/fixups for pci-gart from Benny Halevy [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- arch/x86_64/kernel/pci-calgary.c | 25 -- arch/x86_64/kernel/pci-gart.c| 63

Re: [rfc][patch 2/2] x86_64: FIFO ticket spinlocks

2007-07-16 Thread Ingo Molnar
* Nick Piggin [EMAIL PROTECTED] wrote: On Mon, Jul 16, 2007 at 11:26:46AM +0200, Ingo Molnar wrote: * Nick Piggin [EMAIL PROTECTED] wrote: [...] trylock is more significantly slower, but they are relatively rare. trylock is the main thing that the spinlock debugging code

[PATCH 13/33] SPARC: sg chaining support

2007-07-16 Thread Jens Axboe
This updates the sparc iommu/pci dma mappers to sg chaining. Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- arch/sparc/kernel/ioport.c | 25 + arch/sparc/mm/io-unit.c | 12 +++- arch/sparc/mm/iommu.c | 10

[PATCH 00/33] SG table chaining support

2007-07-16 Thread Jens Axboe
Hi, A repost of this patchset, which adds support forchaining of sg tables. This enables much larger IO commands, since we don't have to allocate large consecutive pieces of memory to represent the sgtable of a huge command. Right now Linux is limited to somewhere between 128 and 256 segments,

[PATCH 12/33] PPC: sg chaining support

2007-07-16 Thread Jens Axboe
This updates the ppc iommu/pci dma mappers to sg chaining. Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- arch/powerpc/kernel/dma_64.c|5 +++-- arch/powerpc/kernel/ibmebus.c | 11 ++- arch/powerpc/kernel/iommu.c | 18

[PATCH 20/33] scsi generic: sg chaining support

2007-07-16 Thread Jens Axboe
Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- drivers/scsi/sg.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 85d3894..2fc24e7 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@

[PATCH 07/33] i386: enable sg chaining

2007-07-16 Thread Jens Axboe
We don't need to do more on x86, there's no iommu to be worried about. Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- include/asm-i386/scatterlist.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/asm-i386/scatterlist.h

[PATCH 06/33] i386 dma_map_sg: convert to using sg helpers

2007-07-16 Thread Jens Axboe
The dma mapping helpers need to be converted to using sg helpers as well, so they will work with a chained sglist setup. Cc: [EMAIL PROTECTED] Signed-off-by: Jens Axboe [EMAIL PROTECTED] --- include/asm-i386/dma-mapping.h | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-)

[PATCH 05/33] Add chained sg support to linux/scatterlist.h

2007-07-16 Thread Jens Axboe
The core of the patch - allow the last sg element in a scatterlist table to point to the start of a new table. We overload the LSB of the page pointer to indicate whether this is a valid sg entry, or merely a link to the next list. Signed-off-by: Jens Axboe [EMAIL PROTECTED] ---

Re: [PATCH 2/3] Blackfin on-chip watchdog driver

2007-07-16 Thread Bryan Wu
Hi Wim: Could you please give some comments on this patch? Thanks - Bryan Wu On Sun, 2007-07-15 at 02:50 +0800, Bryan Wu wrote: This patch implements the driver necessary use the Analog Devices Blackfin processor's on-chip watchdog controller, supports BF53[123]/BF53[467]/BF54[2489]/BF561.

Re: [PATCH 3/3] Blackfin On-Chip RTC driver update for supporting BF54x

2007-07-16 Thread Bryan Wu
This is a trivial patch, I will merge to my blackfin-git tree. Thanks - Bryan Wu On Sun, 2007-07-15 at 02:50 +0800, Bryan Wu wrote: Signed-off-by: Mike Frysinger [EMAIL PROTECTED] Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- drivers/rtc/rtc-bfin.c |2 +- 1 files changed, 1

Re: Kernel 2.6.22 + ALSA + Intel HDA = hda_codec: Unknown model

2007-07-16 Thread Takashi Iwai
At Sat, 14 Jul 2007 17:36:15 +0300, Dan Aloni wrote: On Sat, Jul 14, 2007 at 06:18:40AM -0400, Justin Piszcz wrote: Hi all, I use an A-BIT AW9D-MAX motherboard and while the audio works fine using the Intel HDA driver; however, I see this in dmesg: [ 29.188561] Advanced Linux

  1   2   3   4   5   6   7   8   9   10   >