Re: HDIO_DRIVE_CMD and hdparm

2007-05-10 Thread Alan Cox
> - SCSI doesn't handle HDIO_DRIVE_CMD(null), and returns EINVAL > => fine for hdparm > - If a block device doesn't support the ioctl, blkdev_driver_ioctl() returns > ENOTTY > => hdparm error message Those are both correct -ENOTTY I don't know this ioctl

Re: [BUG] Current -git kernel kills X

2007-05-10 Thread Andi Kleen
Jeff Garzik <[EMAIL PROTECTED]> writes: > Hardware: x86-64 dual core, Intel ICH7 platform (see lspci), ATI R580 > Software: Fedora Core 6/x86-64, VESA driver, GNOME desktop, with > latest updates Can you try with the latest git again please? There was a fix that fixed a similar problem for some p

Re: [PATCH] net: trivial MLX4_DEBUG dependency fix.

2007-05-10 Thread Paul Mundt
On Thu, May 10, 2007 at 04:42:37AM -0700, Roland Dreier wrote: > > CONFIG_MLX4_DEBUG works out to a def_bool y for those that > > have CONFIG_EMBEDDED set. Make it depend on MLX4_CORE.. > > Thanks, applied... (by the way, this bug just results in an > extraneous CONFIG variable being defined, r

Re: [patch 07/10] Linux Kernel Markers - Documentation

2007-05-10 Thread Pekka Enberg
On 5/10/07, Alan Cox <[EMAIL PROTECTED]> wrote: "blobs of crap" - in whose opinion. Yours. So you don't want the kernel to mention things you personally don't approve of. Thats straight forward censorship and has no place in free software. Out of kernel code comes and goes, so why mention it in

[BUG] Re: mm snapshot broken-out-2007-05-10-03-06.tar.gz uploaded

2007-05-10 Thread Michal Piotrowski
Hi Jeremy, [EMAIL PROTECTED] napisał(a): > The mm snapshot broken-out-2007-05-10-03-06.tar.gz has been uploaded to > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-05-10-03-06.tar.gz > Bug reported here http://lkml.org/lkml/2007/4/25/400 is back. [0.00] --

Re: [PATCH 002 of 2] md: Improve the is_mddev_idle test

2007-05-10 Thread Jan Engelhardt
On May 10 2007 20:04, Neil Brown wrote: >> >- if ((curr_events - rdev->last_events + 4096) > 8192) { >> >+ if ((long)curr_events - (long)rdev->last_events > 4096) { >> >rdev->last_events = curr_events; >> >idle = 0; >> >} >>

Re: ixp4xx compile error (was Re: 2.6.21-mm2)

2007-05-10 Thread Dmitry Torokhov
On 5/10/07, Frederik Deweerdt <[EMAIL PROTECTED]> wrote: static int ixp4xx_spkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) { - unsigned int pin = (unsigned int) input_get_drvdata(input_dev); + unsigned int pin = (unsigned int) input_get_drvdata(d

Re: [PATCH 1/4] ext2: remove inode constructor

2007-05-10 Thread Pekka Enberg
On 5/9/07, Andrew Morton <[EMAIL PROTECTED]> wrote: ext2 has no truncate_mutex. I think it does: - mutex_init(&ei->truncate_mutex); - inode_init_once(&ei->vfs_inode); - } -} And fs/ext2/super.c:init_once() from 2.6.21-mm2 says: mutex_init(&ei-

[PATCH] Fix bug in mm/thrash.c function grab_swap_token()

2007-05-10 Thread Mika Kukkonen
Following bug was uncovered by compiling with '-W' flag: CC mm/thrash.o mm/thrash.c: In function ‘grab_swap_token’: mm/thrash.c:52: warning: comparison of unsigned expression < 0 is always false Field token_priority is unsigned, so decrementing first and the checking is not a good plan. At

Re: [PATCH] Add driver for Dallas DS1682 elapsed time recorder

2007-05-10 Thread Alessandro Zummo
On Thu, 10 May 2007 13:48:50 +0200 Jean Delvare <[EMAIL PROTECTED]> wrote: > I know this isn't exactly a RTC chip, but this is still related with > timekeeping, so wouldn't it be better placed under drivers/rtc? > Alessandro, what do you think? Hi, I don't know if the rtc subsystem can offer

Re: [PATCH 7/12] i386 sg: add support for chaining scatterlists

2007-05-10 Thread Satyam Sharma
Hi Jens, On 5/10/07, Jens Axboe <[EMAIL PROTECTED]> wrote: 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. Sign

Re: [patch 07/10] Linux Kernel Markers - Documentation

2007-05-10 Thread Alan Cox
On Thu, 10 May 2007 15:52:26 +0300 "Pekka Enberg" <[EMAIL PROTECTED]> wrote: > On 5/10/07, Alan Cox <[EMAIL PROTECTED]> wrote: > > "blobs of crap" - in whose opinion. Yours. So you don't want the kernel > > to mention things you personally don't approve of. Thats straight forward > > censorship an

Re: Andi, you broke my laptop :-)

2007-05-10 Thread Andi Kleen
On Wed, May 09, 2007 at 12:56:16PM -0700, Pete Zaitcev wrote: > Hi, Andi: > > The attached patch (actually, git show output) makes my Dell 1501 to hang > on boot. Sorry, I have no clue why... The culprit is found with git bisect. > But yes, it's an AMD MK-36. I use an x86_64 kernel. It is 100% rep

Re: [patch 02/10] Linux Kernel Markers, architecture independent code.

2007-05-10 Thread Mathieu Desnoyers
Hi Alexey, * Alexey Dobriyan ([EMAIL PROTECTED]) wrote: > On Wed, May 09, 2007 at 09:55:57PM -0400, Mathieu Desnoyers wrote: > > --- /dev/null > > +++ linux-2.6-lttng/include/linux/marker.h > > @@ -0,0 +1,124 @@ > > > +#ifdef __KERNEL__ > > Just don't add this file to include/linux/Kbuild and re

Regression in 2.6.21-mm1 (git-input) on Dell D610 laptop

2007-05-10 Thread Remi Colinet
Hello, My D610 ALPS Glide Point is unresponsive with 2.6.21-mm1 patch. No problem noticed with 2.6.21. The culprit seems to be git-input. I have applied 2.6.21-mm1 on top of 2.6.21 and then removed git-input patch. It is ok since then. >From what i can see, no interrupt is raised from the GlideP

Re: [PATCH] Allow compat_ioctl.c to compile without CONFIG_NET

2007-05-10 Thread Andi Kleen
On Thu, May 10, 2007 at 06:41:20PM +0900, Simon Horman wrote: > A small regression appears to have been introduced in the recent patch > "cleanup compat ioctl handling", which was included in Linus' tree after > 2.6.20. > > siocdevprivate_ioctl() is no longer defined if CONFIG_NET is undefined, >

Re: libata reset-seq merge broke sata_sil on sh

2007-05-10 Thread Tejun Heo
Paul Mundt wrote: > Yes, it's spun down at boot. I'll get the logs with the timestamps and > the results of the mdelay() incrementing in the morning when I've got the > board handy again. I see. That's where the expected initial prereset failure comes from. > On Thu, May 10, 2007 at 01:53:48PM +

Re: [patch 06/10] Linux Kernel Markers - Non optimized architectures

2007-05-10 Thread Mathieu Desnoyers
Linux Kernel Markers - Non Optimized Architectures fix 2 Fix comments in headers - Remove Copyright notice in one-liner header - Transfer generic header note "using asm to fix a gcc bug" to where it belongs now : in linux/marker.h. - Fix optimisation -> optimization typo in powerpc and i386 head

Re: [patch 02/10] Linux Kernel Markers, architecture independent code.

2007-05-10 Thread Mathieu Desnoyers
Linux Kernel Markers - Architecture Independant Code fix 2 Fix trivial SMP bug in list_modules. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> --- kernel/module.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) Index: linux-2.6-lttng/kernel/module.c ===

Re: HDIO_DRIVE_CMD and hdparm

2007-05-10 Thread Mark Lord
Alan Cox wrote: - SCSI doesn't handle HDIO_DRIVE_CMD(null), and returns EINVAL => fine for hdparm - If a block device doesn't support the ioctl, blkdev_driver_ioctl() returns ENOTTY => hdparm error message Those are both correct -ENOTTY I don't know this

Re: [patch 07/10] Linux Kernel Markers - Documentation

2007-05-10 Thread Pekka J Enberg
On Thu, 10 May 2007, Alan Cox wrote: > Because people want to know what it is really for ? It's quite amazing > really at the same time as people are posting crypto keys everywhere in > defiance of USSA law, we've got free software people trying to remove > references to a piece of out of tree soft

[PATCH] Performance Stats: Kernel patch

2007-05-10 Thread Maxim Uvarov
I'm sending here the latest version of this patch. Seems it was not on lkml mail list. Patch makes available to the user the following task and process performance statistics: * Involuntary Context Switches (task_struct->nivcsw) * Voluntary Context Switches (task_struct->nvcsw)

Re: HDIO_DRIVE_CMD and hdparm

2007-05-10 Thread Mark Lord
Geert Uytterhoeven wrote: Hi, `hdparm -t' uses HDIO_DRIVE_CMD(null) to flush the disk's buffer. More correctly, that command is supposed to act like an I/O queue "barrier" operation, not returning from the syscall until everything queued in front of it has been issued/completed. I bel

Re: Hi, I have one question about rt_mutex.

2007-05-10 Thread Steven Rostedt
Li Yu wrote: >> Now since mutexes can be defined by user-land applications, we don't > want a DOS >> type of application that nests large amounts of mutexes to create a large >> PI chain, and have the code holding spin locks while looking at a large >> amount of data. So to prevent this, the implem

Re: [PATCH] Bug in fs/afs/write.c function afs_write_back_from_locked_page()

2007-05-10 Thread David Howells
David Howells <[EMAIL PROTECTED]> wrote: > How about the attached instead? Blech. How about this instead? I forgot to remove the extra put_page() you added. David --- AFS: Fix interminable loop in afs_write_back_from_locked_page() From: Mika Kukkonen <[EMAIL PROTECTED]> Following bug was unc

Re: [PATCH 7/12] i386 sg: add support for chaining scatterlists

2007-05-10 Thread Satyam Sharma
On 5/10/07, Jens Axboe <[EMAIL PROTECTED]> wrote: [...] +static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, + struct scatterlist *sgl) +{ +#ifndef ARCH_HAS_SG_CHAIN + BUG(); +#endif Hmmm ... so we better also make sure all users call thi

Re: [PATCH] libata: add human-readable error value decoding

2007-05-10 Thread Mark Lord
Tejun Heo wrote: Robert Hancock wrote: This adds human-readable decoding of the ATA status and error registers (similar to what drivers/ide does) as well as the SATA Serror register to libata ... I'm not really convinced whether this is necessary. The human readable form is also a bit cryptic

Re: [PATCH 2.6.21] m32r: Fix switch_to macro to push/pop frame pointer if needed

2007-05-10 Thread Hirokazu Takata
From: Andrew Morton <[EMAIL PROTECTED]> > On Thu, 10 May 2007 13:58:36 +0900 Hirokazu Takata <[EMAIL PROTECTED]> wrote: > > > +#if defined(CONFIG_FRAME_POINTER) > > +|| !defined(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER) > > hm, I didn't know that the preprocessor permitted that. > > I'll stick

Re: Andi, you broke my laptop :-)

2007-05-10 Thread Joerg Roedel
On Thu, May 10, 2007 at 03:01:44PM +0200, Andi Kleen wrote: > On Wed, May 09, 2007 at 12:56:16PM -0700, Pete Zaitcev wrote: > > Hi, Andi: > > > > The attached patch (actually, git show output) makes my Dell 1501 to hang > > on boot. Sorry, I have no clue why... The culprit is found with git bisect

Re: [patch 06/10] Linux Kernel Markers - Non optimized architectures

2007-05-10 Thread Alan Cox
> - Fix optimisation -> optimization typo in powerpc and i386 headers. That isn't a typo, it's correct as is. Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.

RE: [PATCH] NLM program ID for user space NLM server

2007-05-10 Thread Trond Myklebust
On Thu, 2007-05-10 at 13:59 +0300, Menny Hamburger wrote: > Hi, > > We have a our own userland NFSD and NLM service running that implement > all the NLM/NFS functionality. > We do not want to modify the way the client does his mounts. > > M. The client needs to have lockd running (as service 100

Re: [bisect] NFS regression breaks X

2007-05-10 Thread Chuck Lever
Trond Myklebust wrote: On Wed, 2007-05-09 at 15:52 -0700, Andrew Morton wrote: It's a bit rough that Jeff spent a large amount of time hunting down an already-known bug. That's normally my job :( The bug was reported by Florin Iucha (on lkml!) on Saturday. It has only just been debugged, and

Re: [patch 07/10] Linux Kernel Markers - Documentation

2007-05-10 Thread Alan Cox
O> Oh, I am not advocating censorship. I was merely pointing out that it > seems silly to mention out-of-tree users because they come and go. Who > knows whether LTTng or SystemTAP will be relevant five years from now? And in the intervening five years (or more likely 7 or more for systemtap) t

Re: [PATCH] MMC: Flush mmc workqueue late in the boot sequence

2007-05-10 Thread Pierre Ossman
Haavard Skinnemoen wrote: > > What exactly makes this unreliable? This is done almost exactly the > same way for SCSI. See drivers/scsi/scsi_wait_scan.c. > I am not against the function of waiting for an initial scan, what I oppose is using side effects to achieve that function. I do not want to

Re: [PATCH 8/12] x86-64: update iommu/dma mapping functions to sg helpers

2007-05-10 Thread Benny Halevy
Jens Axboe wrote: > @@ -323,13 +324,17 @@ static int __dma_map_cont(struct scatterlist *sg, int > start, int stopat, > { > unsigned long iommu_start = alloc_iommu(pages); > unsigned long iommu_page = iommu_start; > - int i; > + struct scatterlist *s; > + int i, nelems; >

Re: [git patch] move USB net drivers to drivers/net

2007-05-10 Thread Duncan Sands
On Thursday 10 May 2007 14:12:47 Indan Zupancic wrote: > Hello, > > On Thu, May 10, 2007 03:38, Jeff Garzik wrote: > > > > This was ACK'd by Greg, as you see in the sign-offs. See the commit > > below for rationale. > > > > USB is now treated like other buses, for network drivers: > > * USB netwo

[PATCH] update sysfs kset initialisation in PPC64 DLPAR IO driver

2007-05-10 Thread Andy Whitcroft
Move the rpadlpar device from "struct subsystem" to "struct kset" following the changes in sysfs. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- Ok, this patch seems to sort out the compile problem here and indeed boots and runs kernbench. Perhaps you could confir

Re: [PATCH 1/12] crypto: don't pollute the global namespace with sg_next()

2007-05-10 Thread Benny Halevy
Jens Axboe wrote: > It's a subsystem function, prefix it as such. Jens, Boaz and I talked about this over lunch. I wonder whether the crypto code must use your implementation instead of its own as it needs to over the sglist, e.g. for calculating iscsi (data) digest. The crypto implementation of

[patch 00/15] s390 patches for 2.6.22

2007-05-10 Thread Martin Schwidefsky
A few fixes, some compiler warnings and the Kconfig cleanup. s390 now uses the common drivers/Kconfig file instead of the home-brewn drivers/s390/Kconfig. There are some more config options for s390 now, not all of them make sense but as long as the code compiles no harm is done. -- blue skies,

[patch 01/15] fix subsystem removal fallout

2007-05-10 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> This patch fixes compilation on s390 after the removal of struct subsystem. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/hypfs/inode.c |2 +- arch/s390/kernel/ipl.c | 26 ++

[patch 03/15] cio: Make some structures and a function static.

2007-05-10 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/css.c|3 +-- drivers/s390/cio/css.h|2 -- drivers/s390/cio/device.c |4 ++-- 3 files changed, 3 insertions(+), 6

[patch 02/15] cio: Get rid of _ccw_device_get_device_number().

2007-05-10 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> The function shouldn't have existed in the first place (not MSS-aware). Introduce a new function ccw_device_get_id() that extracts the ccw_dev_id structure of a ccw device and convert all users of _ccw_device_get_device_number to ccw_device_get_id. Signed-o

[patch 05/15] dasd: Fix modular build.

2007-05-10 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> Add missing export of dasd_generic_read_dev_chars(). Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/block/dasd.c |1 + 1 file changed, 1 insertion(+) Index: quilt-2.6/drivers/s3

[patch 04/15] monreader inlining cleanup.

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/char/monreader.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) Index: quilt-2.6/drivers/s390/char/monreader.c

[patch 06/15] Avoid sparse warnings.

2007-05-10 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Monthly sparse warning avoidance patch. Sigh. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> --- drivers/s390/block/dasd.c |7 --- drivers/s390/block/dasd_eckd.c |6 +++--- drivers/s390/char/sclp.h |3 +++ drivers/s390/char/

[patch 08/15] Avoid compile warning.

2007-05-10 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> arch/s390/mm/fault.c: In function `signal_return': arch/s390/mm/fault.c:256: warning: unused variable `compat' Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> --- arch/s390/mm/fault.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) Inde

[patch 11/15] Kconfig: unwanted menus for s390.

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Disable some more menus in the configuration files that are of no interest to a s390 machine. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/dma/Kconfig |1 + drivers/input/Kconfig |1 + drivers/isdn/Kconfig|1

[patch 13/15] Kconfig: use common Kconfig files for s390.

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Disband drivers/s390/Kconfig, use the common Kconfig files. The s390 specific config options from drivers/s390/Kconfig are moved to the respective common Kconfig files. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/Kconfig

[patch 14/15] Kconfig: no wireless on s390.

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Hide the config menues for wireless on s390. Cc: John W. Linville <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/net/wireless/Kconfig |1 + net/Kconfig |1 + 2 files changed, 2 insertion

[patch 15/15] update default configuration.

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/defconfig | 234 1 file changed, 128 insertions(+), 106 deletions(-) Index: quilt-2.6/arch/s390/defconfig ==

[patch 12/15] Kconfig: common config options for s390.

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Disable some configuration options in the common Kconfig files that are of no interest to a s390 machine. Enable hangcheck timer. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/char/Kconfig |7 --- 1 file changed, 4 inserti

[patch 10/15] Kconfig: menus with depends on HAS_IOMEM.

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Add "depends on HAS_IOMEM" to a number of menus to make them disappear for s390 which does not have I/O memory. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/ata/Kconfig|1 + drivers/char/ipmi/Kconfig |2 ++ drive

[patch 09/15] Kconfig: refine depends statements.

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Refine some depends statements to limit their visibility to the environments that are actually supported. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/auxdisplay/Kconfig |1 + drivers/char/Kconfig |2 ++ dri

Re: [GIT PULL] MMC updates

2007-05-10 Thread Pierre Ossman
Hi Nicolas, You seem to be the source of this workaround, and also the maintainer of PXA. So I guess this falls into your lap either way. Highlights from my discussion with Russell: Pierre Ossman wrote: > Russell King wrote: > >> > Dug out from the ARM kautobuild... >> > >> > drivers/mmc/host/

[patch 07/15] qdio: re-add lost perf_stats.tl_runs change in qdio_handle_pci

2007-05-10 Thread Martin Schwidefsky
From: Ursula Braun <[EMAIL PROTECTED]> Statement has been inadvertently lost with commit 00c0c6466c66bdf05f2a3dcf59e6895179ea8b76. Signed-off-by: Ursula Braun <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/qdio.c |1 + 1 file changed, 1 insert

[PATCH] UDF: check for allocated memory for inode data

2007-05-10 Thread Cyrill Gorcunov
This patch adds cheking for granted memory while filling up inode data to prevent possible NULL pointer usage. If there is not enough memory to fill inode data we just mark it as "bad". Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- Please check the patch, maybe just marking inode as "ba

Re: [patch 07/10] Linux Kernel Markers - Documentation

2007-05-10 Thread Pekka J Enberg
On Thu, 10 May 2007, Alan Cox wrote: > > Besides, are we sure the document includes all potential users now? We > > wouldn't want to show favorism to any particular projects, now would we? > > Absolutely not - and isn't it more useful to let users know about all of > the tools that this enables ?

Re: [PATCH 1/2] leds:arch/sh/boards/landisk LEDs supports

2007-05-10 Thread Paul Mundt
kogiidena-san, On Thu, May 10, 2007 at 08:52:13PM +0900, kogiidena wrote: > diff -urpN OLD/drivers/leds/leds-landisk.c NEW/drivers/leds/leds-landisk.c > --- OLD/drivers/leds/leds-landisk.c 1970-01-01 09:00:00.0 +0900 > +++ NEW/drivers/leds/leds-landisk.c 2007-05-10 20:07:11.0 +

Re: [PATCH] Intel IXP4xx network drivers v.3 - QMGR

2007-05-10 Thread Krzysztof Halasa
Lennert Buytenhek <[EMAIL PROTECTED]> writes: > The way I see it, that means that you do want to scale back your > other SRAM allocations if you know that you're going to need a lot > of SRAM (say, for ethernet RX/TX queues.) Yep, I will then add "queue_size" parameter to the platform data. Or so

Re: x86 setup rewrite tree ready for flamage^W review

2007-05-10 Thread Alexander van Heukelum
On Tue, 08 May 2007 22:15:21 -0700, "H. Peter Anvin" <[EMAIL PROTECTED]> said: > I believe the x86 setup tree is now finished. I will turn it into a > "clean patchset" later this week, but I wanted to get flamed^W feedback > on it first. Hi! Only tiny sparks^Wremarks, I'm afraid. ;) I've briefl

Re: [PATCH] update sysfs kset initialisation in PPC64 DLPAR IO driver

2007-05-10 Thread Greg KH
On Thu, May 10, 2007 at 03:00:50PM +0100, Andy Whitcroft wrote: > > Move the rpadlpar device from "struct subsystem" to "struct kset" > following the changes in sysfs. > > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> > --- > > Ok, this patch seems to sort out the compile problem >

Re: [patch 07/10] Linux Kernel Markers - Documentation

2007-05-10 Thread Mathieu Desnoyers
* Christoph Hellwig ([EMAIL PROTECTED]) wrote: > On Wed, May 09, 2007 at 09:56:02PM -0400, Mathieu Desnoyers wrote: > > Here is some documentation explaining what is/how to use the Linux > > Kernel Markers. > > Please remove all references to out of tree code from the kernel > documentation. >

Kernel BUG: NULL pointer dereference , reference to sys_recvmsg

2007-05-10 Thread Croulder Croulder
Greetings, The next report is a Kernel NULL pointer dereference in tcp/ip (IPv4). I see that message all time in syslog.conf and console. Kernel compiled with gcc 4.1.1-> (Debian 4.1.1-21) Kernel Version: 2.6.21.1 (official source code) Processor: 2 x Xeon 2.8 Ram: 1G Swap: 1G Raid: Using

RE: [PATCH 00/16] raid acceleration and asynchronous offload api for 2.6.22

2007-05-10 Thread Tomasz Chmielewski
Ronen Shitrit wrote: The resync numbers you sent, looks very promising :) Do you have any performance numbers that you can share for these set of patches, which shows the Rd/Wr IO bandwidth. I have some simple tests made with hdparm, with the results I don't understand. We see hdparm result

Re: [patch 07/10] Linux Kernel Markers - Documentation

2007-05-10 Thread Mathieu Desnoyers
* Christoph Hellwig ([EMAIL PROTECTED]) wrote: > On Wed, May 09, 2007 at 09:56:02PM -0400, Mathieu Desnoyers wrote: > > Here is some documentation explaining what is/how to use the Linux > > Kernel Markers. > > Please remove all references to out of tree code from the kernel > documentation. >

Re: Andi, you broke my laptop :-)

2007-05-10 Thread Andi Kleen
On Thu, May 10, 2007 at 03:35:56PM +0200, Joerg Roedel wrote: > On Thu, May 10, 2007 at 03:01:44PM +0200, Andi Kleen wrote: > > On Wed, May 09, 2007 at 12:56:16PM -0700, Pete Zaitcev wrote: > > > Hi, Andi: > > > > > > The attached patch (actually, git show output) makes my Dell 1501 to hang > > >

Re: [2.6.22 PATCH 22/26] dm: bio list helpers

2007-05-10 Thread Jan Engelhardt
On May 8 2007 17:41, Andrew Morton wrote: >On Tue, 8 May 2007 20:48:45 +0100 >Alasdair G Kergon <[EMAIL PROTECTED]> wrote: > >> +#define BIO_LIST_INIT { .head = NULL, .tail = NULL } >> + >> +#define BIO_LIST(bl) \ >> +struct bio_list bl = BIO_LIST_INIT > >BIO_LIST is a strange name for somethi

Re: [2.6.22 PATCH 22/26] dm: bio list helpers

2007-05-10 Thread Jan Engelhardt
On May 9 2007 08:49, Jens Axboe wrote: >On Tue, May 08 2007, Andrew Morton wrote: >> > +#define bio_list_for_each(bio, bl) \ >> > + for (bio = (bl)->head; bio && ({ prefetch(bio->bi_next); 1; }); \ >> > + bio = bio->bi_next) >> > + > >Besides, manual prefetching is very rarely a win. I dabb

why are we reduce spin-lock and replace it with lock-free?

2007-05-10 Thread liang yuanen
Three are many many spin-lock in the kernel code, and in multi-core conditions, it push down the kernel performance.why are we reduce spin-lock and replace it with lock-free? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mor

Re: Please revert 5adc55da4a7758021bcc374904b0f8b076508a11 (PCI_MULTITHREAD_PROBE)

2007-05-10 Thread Phillip Susi
Stefan Richter wrote: The SCSI stack already has infrastructure for multi-threaded discovery and probing. So? It would still benefit from using a generic framework that other buses can use as well. Not to mention that the current scsi specific framework tends to cause unstable names doesn't

Re: Announcing free software drivers for the new Intel® 965GM Express Chipset

2007-05-10 Thread Jan Engelhardt
On May 10 2007 00:28, Jeff Garzik wrote: > > Great news. > > Here's hoping that Intel produces a standalone video card eventually, to > further take away market share from closed source competitors. > > Jeff, not biased at all... http://www.pledgebank.com/open3d Heh - I just wonder if Intel

Re: [patch 06/10] Linux Kernel Markers - Non optimized architectures

2007-05-10 Thread Mathieu Desnoyers
* Alan Cox ([EMAIL PROTECTED]) wrote: > > - Fix optimisation -> optimization typo in powerpc and i386 headers. > > That isn't a typo, it's correct as is. > > Alan Well, it's correct or not depending on which side of the ocean you are. but as I used "optimization" everywhere else in my code, I si

Re: Andi, you broke my laptop :-)

2007-05-10 Thread Benny Halevy
Joerg's patch works for me too. Thanks, Benny Andi Kleen wrote: > On Thu, May 10, 2007 at 03:35:56PM +0200, Joerg Roedel wrote: >> On Thu, May 10, 2007 at 03:01:44PM +0200, Andi Kleen wrote: >>> On Wed, May 09, 2007 at 12:56:16PM -0700, Pete Zaitcev wrote: Hi, Andi: The attached p

[PATCH 2.6.21-mm2] driver-core: make devt_attr and uevent_attr static

2007-05-10 Thread Tejun Heo
devt_attr and uevent_attr are either allocated dynamically with or embedded in device and class_device as they needed their owner field set to the module implementing the driver. Now that sysfs implements immediate disconnect and owner field removed from struct attribute, there is no reason to do

Re: [2.6.22 PATCH 22/26] dm: bio list helpers

2007-05-10 Thread Alan Cox
On Thu, 10 May 2007 16:17:57 +0200 (MEST) Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On May 9 2007 08:49, Jens Axboe wrote: > >On Tue, May 08 2007, Andrew Morton wrote: > >> > +#define bio_list_for_each(bio, bl) \ > >> > +for (bio = (bl)->head; bio && ({ prefetch(bio->bi_next); 1; });

Re: why are we reduce spin-lock and replace it with lock-free?

2007-05-10 Thread Alan Cox
On Thu, 10 May 2007 22:23:32 +0800 "liang yuanen" <[EMAIL PROTECTED]> wrote: > Three are many many spin-lock in the kernel code, and in multi-core > conditions, it push down the kernel performance.why are we reduce > spin-lock and replace it with lock-free? If you can find algorithms which are lo

Re: [PATCH] Add LZO1X compression support to the kernel

2007-05-10 Thread Jan Engelhardt
On May 9 2007 23:21, Andrew Morton wrote: >On Wed, 02 May 2007 09:56:23 +0100 Richard Purdie <[EMAIL PROTECTED]> wrote: > >> Add LZO1X compression/decompression support to the kernel. >> >> This is based on the standard userspace lzo library, particularly >> minilzo with the headers much trimmed

Re: [PATCH] MMC: Flush mmc workqueue late in the boot sequence

2007-05-10 Thread Haavard Skinnemoen
On Thu, 10 May 2007 15:45:54 +0200 Pierre Ossman <[EMAIL PROTECTED]> wrote: > Haavard Skinnemoen wrote: > > > > What exactly makes this unreliable? This is done almost exactly the > > same way for SCSI. See drivers/scsi/scsi_wait_scan.c. > > > > I am not against the function of waiting for an i

[PATCH] driver-core: don't free devt_attr till the device is released

2007-05-10 Thread Tejun Heo
Currently, devt_attr for the "dev" file is freed immediately on device removal, but if the "dev" sysfs file is open when a device is removed, sysfs will access its attribute structure for further access including close resulting in jumping to garbled address. Fix it by postponing freeing devt_attr

Re: [PATCH] PCI legacy I/O port free driver - Making Intel e1000 driver legacy I/O port free

2007-05-10 Thread Kok, Auke
Tomohiro Kusumi wrote: Hi As you can see in the "10. pci_enable_device_bars() and Legacy I/O Port space" of the Documentation/pci.txt, the latest kernel has interfaces for PCI device drivers to tell the kernel which resource the driver want to use, ex. I/O port or MMIO. I've made a patch which

Re: Long file names in VFAT broken with iocharset=utf8

2007-05-10 Thread Bodo Eggert
Albert Cahalan <[EMAIL PROTECTED]> wrote: > On 5/9/07, Andrey Borzenkov <[EMAIL PROTECTED]> wrote: >> 3. this still does not answer how can I *create* long name from within Linux. > > WTF? These names are too annoying to use, even if there > weren't this limit. Anything over about 29 characters i

Re: [GIT PULL] MMC updates

2007-05-10 Thread Nicolas Pitre
On Thu, 10 May 2007, Pierre Ossman wrote: > You seem to be the source of this workaround, and also the maintainer of > PXA. Well... I used to. But the only MMC capable PXA hardware in working conditions I have access to at the moment is PXA255 based which doesn't suffer from this erratum. > P

Re: Please revert 5adc55da4a7758021bcc374904b0f8b076508a11 (PCI_MULTITHREAD_PROBE)

2007-05-10 Thread Stefan Richter
Phillip Susi wrote: > Stefan Richter wrote: >> The SCSI stack already has infrastructure for multi-threaded discovery >> and probing. > > So? It would still benefit from using a generic framework that other > buses can use as well. Perhaps, perhaps not. Many details of the If and How of asynch

Re: Please revert 5b479c91da90eef605f851508744bfe8269591a0 (md partition rescan)

2007-05-10 Thread Jan Engelhardt
On May 9 2007 18:51, Linus Torvalds wrote: > >(But Andrew never saw your email, I suspect: "[EMAIL PROTECTED]" is probably >some strange mixup of Andrew Morton and Andi Kleen in your mind ;) What do the letters kp stand for? Jan -- - To unsubscribe from this list: send the line "unsub

Re: [BUG] Re: mm snapshot broken-out-2007-05-10-03-06.tar.gz uploaded

2007-05-10 Thread Jeremy Fitzhardinge
Michal Piotrowski wrote: > Hi Jeremy, > > [EMAIL PROTECTED] napisał(a): > >> The mm snapshot broken-out-2007-05-10-03-06.tar.gz has been uploaded to >> >> >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-05-10-03-06.tar.gz >> >> > > Bug reported here http://lkml.o

Re: Please revert 5b479c91da90eef605f851508744bfe8269591a0 (md partition rescan)

2007-05-10 Thread Xavier Bestel
On Thu, 2007-05-10 at 16:51 +0200, Jan Engelhardt wrote: > >(But Andrew never saw your email, I suspect: "[EMAIL PROTECTED]" is > probably > >some strange mixup of Andrew Morton and Andi Kleen in your mind ;) > > What do the letters kp stand for? "Keep Patching" ? - To unsubscribe from this l

[PATCH] Kconfig: SCSI_ESP_CORE depends on HAS_DMA

2007-05-10 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/scsi/Kconfig |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -urpN linux-2.6/drivers/scsi/Kconfig linux-2.6-patched/drivers/scsi/Kconfig --- linux-2.6/drivers/scsi/Kconf

Re: Long file names in VFAT broken with iocharset=utf8

2007-05-10 Thread Jan Engelhardt
On May 10 2007 16:49, Bodo Eggert wrote: > >Just because you limit yourself to 80 chars minus "ls -l"-clutter, this is >no reason why I shouldn't use long filenames. If I need to handle these >filenames, I can enlarge the terminal window or read the next line. > >E.g.: I have a music file named "a

Re: [PATCH] driver-core: don't free devt_attr till the device is released

2007-05-10 Thread Greg KH
On Thu, May 10, 2007 at 04:45:17PM +0200, Tejun Heo wrote: > Currently, devt_attr for the "dev" file is freed immediately on device > removal, but if the "dev" sysfs file is open when a device is removed, > sysfs will access its attribute structure for further access including > close resulting in

Re: [PATCH] driver-core: don't free devt_attr till the device is released

2007-05-10 Thread Tejun Heo
Greg KH wrote: >> Applies well to 2.6.20 and 21. As sysfs-immediate-disconnect doesn't >> seem to be included in 2.6.22, this should be included in linus#master >> too (applies well there as well). > > As I don't think we should be adding your sysfs rework to 2.6.22 just > yet, any objections to

[PATCH] Couple fixes to fs/ecryptfs/inode.c

2007-05-10 Thread Mika Kukkonen
Following was uncovered by compiling the kernel with '-W' flag: CC [M] fs/ecryptfs/inode.o fs/ecryptfs/inode.c: In function ‘ecryptfs_lookup’: fs/ecryptfs/inode.c:304: warning: comparison of unsigned expression < 0 is always false fs/ecryptfs/inode.c: In function ‘ecryptfs_symlink’: fs/ecryptf

Re: [patch 1/7] libata: check for AN support

2007-05-10 Thread Randy Dunlap
On Wed, 9 May 2007 22:09:52 -0700 Andrew Morton wrote: > On Wed, 9 May 2007 16:38:09 -0700 Kristen Carlson Accardi <[EMAIL PROTECTED]> > wrote: > > > /** > > + * ata_dev_set_AN - Issue SET FEATURES - SATA FEATURES > > + * with sector count set to indicate > > + *

Current git fails to compile on AMD64 for three days in a row

2007-05-10 Thread Florin Iucha
I just pulled the current git (de5603748af8bf7deac403e6ba92887f8d18e812) and tried to compile it on my AMD64 box, to test Chuck's RPC fix. It fails: arch/x86_64/kernel/head64.c: In function ‘x86_64_start_kernel’: arch/x86_64/kernel/head64.c:70: error: size of array ‘type name’ is negative

Re: [patch 1/4] KMON - kmon device/instrumentation ...

2007-05-10 Thread Davide Libenzi
On Thu, 10 May 2007, Andi Kleen wrote: > Davide Libenzi <[EMAIL PROTECTED]> writes: > > > This patch serie introduces a way to log high frequency/volume data > > out of the kernel. Logging scheduler operations for example, with > > loads that generate tenths of thousands of context switches per s

[PATCH 1/2] AFS: Fix interminable loop in afs_write_back_from_locked_page()

2007-05-10 Thread David Howells
Following bug was uncovered by compiling with '-W' flag: CC [M] fs/afs/write.o fs/afs/write.c: In function ‘afs_write_back_from_locked_page’: fs/afs/write.c:398: warning: comparison of unsigned expression >= 0 is always true Loop variable 'n' is unsigned, so wraps around happily as far as I c

Re: [PATCH] Fix bug in mm/thrash.c function grab_swap_token()

2007-05-10 Thread Satyam Sharma
On 5/10/07, Mika Kukkonen <[EMAIL PROTECTED]> wrote: Following bug was uncovered by compiling with '-W' flag: CC mm/thrash.o mm/thrash.c: In function 'grab_swap_token': mm/thrash.c:52: warning: comparison of unsigned expression < 0 is always false Field token_priority is unsigned, so dec

[PATCH 2/2] AFS: Fix a couple of problems with unlinking AFS files

2007-05-10 Thread David Howells
Fix a couple of problems with unlinking AFS files. (1) The parent directory wasn't being updated properly between unlink() and the following lookup(). It seems that, for some reason, invalidate_remote_inode() wasn't discarding the directory contents correctly, so this patch calls

RE: [PATCH] NLM program ID for user space NLM server

2007-05-10 Thread Menny Hamburger
The idea in the change was to be able to override NLM_PROGRAM with another definition (from our slightly customized build system), so that the kernel never tries to register port 100021. We understand that if all mounts are with 'nolock' this wouldn't happen, and indeed, we configured our mounts t

Re: [RFC] memory hotremove patch take 2 [02/10] (make page unused)

2007-05-10 Thread Mel Gorman
On Wed, 9 May 2007, Yasunori Goto wrote: This patch is for supporting making page unused. Without reading the patch, this could also be interesting when trying to free a block of pages for a contiguous allocation without racing against other allocators. Isolate pages by capturing freed p

Re: [PATCH] driver-core: don't free devt_attr till the device is released

2007-05-10 Thread Kay Sievers
On 5/10/07, Tejun Heo <[EMAIL PROTECTED]> wrote: Currently, devt_attr for the "dev" file is freed immediately on device removal, but if the "dev" sysfs file is open when a device is removed, sysfs will access its attribute structure for further access including close resulting in jumping to garbl

  1   2   3   4   5   6   7   >