Re: [PATCH] Send quota messages via netlink

2007-08-31 Thread Balbir Singh
Jan Kara wrote: + } + ret = nla_put_u32(skb, QUOTA_NL_A_QTYPE, dquot->dq_type); + if (ret) + goto attr_err_out; + ret = nla_put_u64(skb, QUOTA_NL_A_EXCESS_ID, dquot->dq_id); + if (ret) + goto attr_err_out; + ret = nla_put_u32(skb, QUOT

Re: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Christoph Lameter
On Fri, 31 Aug 2007, Jens Axboe wrote: > > So if we try to push a too large buffer down with submit_bh() we get a > > failure. > > Only partly, you may be violating a number of other restrictions (size > is many things, not just length of the data). Could you be more specific? - To unsubscribe

Re: [PATCH] ACPI: EC: Check if boot_ec was really found in DSDT

2007-08-31 Thread Jeff Garzik
Andrew Morton wrote: I use sylpheed. thunderbird can be used, but one needs to follow the steps in http://mbligh.org/linuxdocs/Email/Clients/Thunderbird to get it out of i-know-better mode. Can we get something like this into the kernel tree, please? Documentation/email-clients.txt would go

Re: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Jens Axboe
On Fri, Aug 31 2007, Christoph Lameter wrote: > On Fri, 31 Aug 2007, Jens Axboe wrote: > > > > So if we try to push a too large buffer down with submit_bh() we get a > > > failure. > > > > Only partly, you may be violating a number of other restrictions (size > > is many things, not just length

Re: [PATCH] Increase lockdep MAX_LOCK_DEPTH

2007-08-31 Thread Peter Zijlstra
On Thu, 2007-08-30 at 23:43 -0500, Eric Sandeen wrote: > The xfs filesystem can exceed the current lockdep > MAX_LOCK_DEPTH, because when deleting an entire cluster of inodes, > they all get locked in xfs_ifree_cluster(). The normal cluster > size is 8192 bytes, and with the default (and minimum)

Re: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Christoph Lameter
On Fri, 31 Aug 2007, Jens Axboe wrote: > > Could you be more specific? > > Size of a single segment, for instance. Or if the bio crosses a dma > boundary. If your block is 64kb and the maximum segment size is 32kb, > then you would need to clone the bio and split it into two. A DMA boundary cann

Re: [PATCH] Add all thread stats for TASKSTATS_CMD_ATTR_TGID

2007-08-31 Thread Balbir Singh
Jonathan Lim wrote: > On Sat Aug 25 21:58:44 2007, [EMAIL PROTECTED] wrote: >>> Also, I don't understand why the code to update btime: >>> >>> /* calculate task elapsed time in timespec */ >>> do_posix_clock_monotonic_gettime(&uptime); >>> ts = timespec_sub(uptime, tsk->star

Re: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Jens Axboe
On Fri, Aug 31 2007, Christoph Lameter wrote: > On Fri, 31 Aug 2007, Jens Axboe wrote: > > > > Could you be more specific? > > > > Size of a single segment, for instance. Or if the bio crosses a dma > > boundary. If your block is 64kb and the maximum segment size is 32kb, > > then you would need

Re: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Christoph Lameter
On Fri, 31 Aug 2007, Jens Axboe wrote: > > A DMA boundary cannot be crossed AFAIK. The compound pages are aligned to > > the power of two boundaries and the page allocator will not create pages > > that cross the zone boundaries. > > With a 64k page and a dma boundary of 0x7fff, that's two segm

Re: [PATCH] fix maxcpus=1 oops in show_stat()

2007-08-31 Thread Alexey Dobriyan
On Fri, Aug 31, 2007 at 04:26:50AM +0100, Hugh Dickins wrote: > --- 2.6.23-rc4/init/main.c > +++ linux/init/main.c > @@ -397,10 +397,6 @@ static void __init smp_init(void) > { > unsigned int cpu; > > -#ifndef CONFIG_HOTPLUG_CPU > - cpu_possible_map = cpu_present_map; > -#endif > - >

Re: recent nfs change causes autofs regression

2007-08-31 Thread Jakob Oestergaard
On Thu, Aug 30, 2007 at 10:16:37PM -0700, Linus Torvalds wrote: > ... > > Why aren't we doing that for any other filesystem than NFS? > > How hard is it to acknowledge the following little word: > > "regression" > > It's simple. You broke things. You may want to fix them, but you need to

Re: [PATCH] docs: ramdisk/initrd/initramfs corrections

2007-08-31 Thread Robert P. J. Day
On Thu, 30 Aug 2007, Rob Landley wrote: > On Thursday 30 August 2007 1:28:17 pm Robert P. J. Day wrote: > > On Thu, 30 Aug 2007, Randy Dunlap wrote: > > > > ... > > > > > The old "ramdisk=" has been changed to > > > "ramdisk_size=" to make it clearer. The original > > > "ramdisk=" has been kept a

Re: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Jens Axboe
On Fri, Aug 31 2007, Christoph Lameter wrote: > On Fri, 31 Aug 2007, Jens Axboe wrote: > > > > A DMA boundary cannot be crossed AFAIK. The compound pages are aligned to > > > the power of two boundaries and the page allocator will not create pages > > > that cross the zone boundaries. > > > > W

Re: [PATCH 2.6.23-rc4][reRESEND] ata_piix: IDE mode SATA patch for Intel Tolapai

2007-08-31 Thread Jeff Garzik
In the future, consider following the information convention we have for patch revisions: [PATCH 2.6.23-rc4] ata_piix: do some stuff [PATCH 2.6.23-rc4 v2] ata_piix: do some stuff [PATCH 2.6.23-rc4 v3] ata_piix: do some stuff [PATCH 2.6.23-rc4 v4] ata_piix: do some

Re: [PATCH 2.6.23-rc4][reRESEND] ahci: RAID mode SATA patch for Intel Tolapai

2007-08-31 Thread Jeff Garzik
Jason Gaston wrote: Resend trying to remove 8-bit characters in the email. This patch adds the Intel Tolapai RAID controller DID's for SATA support. Signed-off-by: Jason Gaston <[EMAIL PROTECTED]> --- linux-2.6.23-rc4/drivers/ata/ahci.c.orig2007-08-27 18:32:35.0 -0700 +++ linux-2

Re: [1/4] 2.6.23-rc4: known regressions

2007-08-31 Thread Christoph Lameter
Here is the fix for alpha: >From [EMAIL PROTECTED] Thu Aug 30 14:13:57 2007 Subject: SLUB: Force inlining for functions in slub_def.h Some compilers (especially older gcc releases) may skip inlining sometimes which will lead to link failures. Force the inlining of keyfunctions in slub_def.h t

Re: [PATCH 2.6.23-rc4][reRESEND] ata_piix: IDE mode SATA patch for Intel Tolapai

2007-08-31 Thread Jeff Garzik
Jason Gaston wrote: Resend trying to remove 8-bit characters in the email. This patch adds the Intel Tolapai IDE mode SATA controller DID's. Signed-off-by: Jason Gaston <[EMAIL PROTECTED]> applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Christoph Lameter
On Fri, 31 Aug 2007, Jens Axboe wrote: > They have nothing to do with each other, you are mixing things up. It > has nothing to do with the device being able to dma into that memory or > not, we have fine existing infrastructure to handle that. But different > hardware have different characteristi

Re: [PATCH] Fix out-by-one error in traps.c

2007-08-31 Thread Linus Torvalds
On Fri, 31 Aug 2007, Rusty Russell wrote: > On Thu, 2007-08-30 at 21:44 -0700, Linus Torvalds wrote: > > > > Hmm.. This *really* cannot happen with a normal kernel - it implies that > > the stack has crossed into an invalid page. > > AFAICT, a corrupt stack could lead us to touch a page whic

Re: [RFC][PATCH 1/2 -mm] kexec based hibernation: kexec jump

2007-08-31 Thread Pavel Machek
Hi! > To support jumping back from kexeced kernel, before executing the new > kernel, the devices are put into quiescent state (to be fully > implemented), and the state of devices and CPU is saved. After jumping > back from kexeced kernel, the state of devices and CPU are restored > accordingly.

Re: NFS hang + umount -f: better behaviour requested.

2007-08-31 Thread Ian Kent
On Tue, 21 Aug 2007, John Stoffel wrote: > > "Peter" == Peter Staubach <[EMAIL PROTECTED]> writes: > > Peter> John Stoffel wrote: > Robin> I'm bringing this up again (I know it's been mentioned here > Robin> before) because I had been told that NFS support had gotten > Robin> better in Linux

Re: recent nfs change causes autofs regression

2007-08-31 Thread Linus Torvalds
On Fri, 31 Aug 2007, Jakob Oestergaard wrote: > > Trond has a point Linus. I don't dispute that the new code does somethign good. But it changes existing behaviour. When we add NEW BEHAVIOUR, we don't add it to old interfaces when that breaks old user mode! We add a new flag saying "I want t

Re: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Jens Axboe
On Fri, Aug 31 2007, Christoph Lameter wrote: > On Fri, 31 Aug 2007, Jens Axboe wrote: > > > They have nothing to do with each other, you are mixing things up. It > > has nothing to do with the device being able to dma into that memory or > > not, we have fine existing infrastructure to handle tha

Re: New x86-Setup code breaks HVM-XEN boot

2007-08-31 Thread Christian Ehrhardt
On Thu, Aug 30, 2007 at 12:04:09PM -0700, Jeremy Fitzhardinge wrote: > Are there any messages on the xen console ("xm dmesg")? Or logs ("xm > log")? What version of Xen are you using? What does your domain config > file look like? Domain Config: | kernel = "hvmloader" | builder='hvm' | memory =

Re: recent nfs change causes autofs regression

2007-08-31 Thread Matthias Schniedermeyer
> > It's not very conservative to suddenly change default behavior and break > > autofs mounts. There is not even one kernel message that "_tells_ user why > > it thinks it's wrong". It just silently fails. > > No it doesn't. It reports an error code to the caller. If autofs is > failing silently,

Re: hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

2007-08-31 Thread John Sigler
Alan Cox wrote: John Sigler wrote: http://www.pqimemory.com/documents/domdata.pdf PIO mode 2 is mentioned. Even DMA seems to be supported. Or am I mistaken? Could there be a bug in my south bridge? Nothing there about DMA support. cf. document's page 12. DMACK- (DMA acknowledge) This si

Re: [RFC][PATCH 1/2 -mm] kexec based hibernation: kexec jump

2007-08-31 Thread Huang, Ying
On Mon, 2007-08-27 at 18:48 +, Pavel Machek wrote: > Hi! > > > To support jumping back from kexeced kernel, before executing the new > > kernel, the devices are put into quiescent state (to be fully > > implemented), and the state of devices and CPU is saved. After jumping > > back from kexece

Re: recent nfs change causes autofs regression

2007-08-31 Thread Frank van Maarseveen
On Fri, Aug 31, 2007 at 09:40:28AM +0200, Jakob Oestergaard wrote: > On Thu, Aug 30, 2007 at 10:16:37PM -0700, Linus Torvalds wrote: > > > ... > > > Why aren't we doing that for any other filesystem than NFS? > > > > How hard is it to acknowledge the following little word: > > > > "regressio

Re: recent nfs change causes autofs regression

2007-08-31 Thread Frank van Maarseveen
On Thu, Aug 30, 2007 at 02:07:43PM -0700, Hua Zhong wrote: > I am re-sending this after help from Ian and git-bisect. To me it's a > show-stopper: I cannot find an acceptable workaround that I can implement. > > The problem: upgrading to 2.6.23-rc4 from 2.6.22 causes several autofs > mounts to fai

possible build system oddity

2007-08-31 Thread Oliver Neukum
Hi, I only touched sound/usb/usbaudio.c Nevertheless the whole subtree und sound/ is recompiling. What's happening? Regards Oliver - 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: [11/36] Use page_cache_xxx in fs/buffer.c

2007-08-31 Thread Dmitry Monakhov
On 00:52 Fri 31 Aug , Christoph Lameter wrote: > On Fri, 31 Aug 2007, Jens Axboe wrote: > > > They have nothing to do with each other, you are mixing things up. It > > has nothing to do with the device being able to dma into that memory or > > not, we have fine existing infrastructure to handl

Re: hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

2007-08-31 Thread John Sigler
Eric wrote: John Sigler wrote: According to my supplier, herre is the data sheet for the DOMs: http://www.pqimemory.com/documents/domdata.pdf PIO mode 2 is mentioned. Even DMA seems to be supported. Or am I mistaken? Page 3 states max interface burst speed is 8.3MB/s in PIO2. I wouldn't as

Re: recent nfs change causes autofs regression

2007-08-31 Thread Jakob Oestergaard
On Fri, Aug 31, 2007 at 01:07:56AM -0700, Linus Torvalds wrote: ... > When we add NEW BEHAVIOUR, we don't add it to old interfaces when that > breaks old user mode! We add a new flag saying "I want the new behaviour". > > This is not rocket science, guys. This is very basic kernel behaviour. The

Re: [PATCH 2.6.23] ibmebus: Prevent bus_id collisions

2007-08-31 Thread Joachim Fenkes
[EMAIL PROTECTED] (Linas Vepstas) wrote on 30.08.2007 23:28:16: > On Thu, Aug 30, 2007 at 04:00:56PM +0200, Joachim Fenkes wrote: > > > > Plus, I rather like using > > the full_name since it also contains a descriptive name as opposed to > > being just nondescript numbers, helping the layman (i

Re: recent nfs change causes autofs regression

2007-08-31 Thread Martin Knoblauch
--- Ian Kent <[EMAIL PROTECTED]> wrote: > On Thu, 30 Aug 2007, Linus Torvalds wrote: > > > > > > On Fri, 31 Aug 2007, Trond Myklebust wrote: > > > > > > It did not. The previous behaviour was to always silently > override the > > > user mount options. > > > > ..so it still worked for any sane

[git patches] libata fixes

2007-08-31 Thread Jeff Garzik
Fixes, some new ids, and a version bump that we discovered was missing from several drivers. Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/ata_generic.c |2 +-

PROBLEM: kernel 2.6.22.6 pata_pdc202xx_old.c limiting to UDMA/33 instead of UDMA/100 (UPDATED 2.6.22.6)

2007-08-31 Thread n
Update with kernel 2.6.22.6 i am getting this error now ata2.00: ATA-6: ST3120026A, 3.06, max UDMA/100 here is the new error. ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata2.01: cmd ca/00:00:25:9c:fc/00:00:00:00:00/f6 tag 0 cdb 0x0 data 131072 out res 40/00:00:3f:0

Re: recent nfs change causes autofs regression

2007-08-31 Thread Ian Kent
On Fri, 31 Aug 2007, Frank van Maarseveen wrote: > On Thu, Aug 30, 2007 at 02:07:43PM -0700, Hua Zhong wrote: > > I am re-sending this after help from Ian and git-bisect. To me it's a > > show-stopper: I cannot find an acceptable workaround that I can implement. > > > > The problem: upgrading to

[PATCH] H8/300: Fix misnamed "CONFIG_BLKDEV_RESERVE_ADDRESS" Kconfig variable.

2007-08-31 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- if i read correctly an email i just got from Yoshinori Sato, he wanted me to post this to the main list. it seems an obvious enough error that it can probably be pushed to the main tree fairly soon, unless i've messed something up here.

Re: possible build system oddity

2007-08-31 Thread Alexey Dobriyan
On 8/31/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > I only touched sound/usb/usbaudio.c > Nevertheless the whole subtree und sound/ is recompiling. What's > happening? Not here. Do make V=2, it should say why it's recompiling. - To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: [PATCH 13/30] net: Don't do pointless kmalloc return value casts in zd1211 driver

2007-08-31 Thread Herbert Xu
Jesper Juhl <[EMAIL PROTECTED]> wrote: > On 30/08/2007, Daniel Drake <[EMAIL PROTECTED]> wrote: >> Jesper Juhl wrote: >> > Since kmalloc() returns a void pointer there is no reason to cast >> > its return value. >> > This patch also removes a pointless initialization of a variable. >> >> NAK: adds

Re: [ANNOUNCE/RFC] Really Fair Scheduler

2007-08-31 Thread Mike Galbraith
On Fri, 2007-08-31 at 04:05 +0200, Roman Zippel wrote: > Hi, Greetings, > I'm glad to announce a working prototype of the basic algorithm I > already suggested last time. (finding it difficult to resist the urge to go shopping, I fast-forwarded to test drive... grep shopping arch/i386/kernel/tcs

Re: [PATCH take #6] [libata] libata driver for bf548 on chip ATAPI controller.

2007-08-31 Thread Jeff Garzik
Sonic Zhang wrote: Fix all issues pointed out in Jeff's email. Acked-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Sonic Zhang <[EMAIL PROTECTED]> --- drivers/ata/Kconfig | 16 drivers/ata/Makefile |1 drivers/ata/pata_bf54x.c | 1627 +++

Re: possible build system oddity

2007-08-31 Thread Sam Ravnborg
On Fri, Aug 31, 2007 at 01:14:26PM +0400, Alexey Dobriyan wrote: > On 8/31/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > I only touched sound/usb/usbaudio.c > > Nevertheless the whole subtree und sound/ is recompiling. What's > > happening? > > Not here. Do make V=2, it should say why it's reco

Re: possible build system oddity

2007-08-31 Thread Oliver Neukum
Am Freitag 31 August 2007 schrieb Sam Ravnborg: > On Fri, Aug 31, 2007 at 01:14:26PM +0400, Alexey Dobriyan wrote: > > On 8/31/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > I only touched sound/usb/usbaudio.c > > > Nevertheless the whole subtree und sound/ is recompiling. What's > > > happenin

[PATCH] CONFIG_ZONE_MOVABLE [0/2] introduction

2007-08-31 Thread KAMEZAWA Hiroyuki
This is a rebased version for making ZONE_MOVABLE configurable. [1/2] clean up. this changes ZONE_xxx definitions and helps avoiding too many CONFIG_ZONE_xxx usage. [2/2] make ZONE_MOVABLE configurable. This patch set is against 2.6.23-rc3-mm1. tested on i386/UP and ia64/NUM

[PATCH] CONFIG_ZONE_MOVABLE [1/2] zone ifdef cleanup by renumbering

2007-08-31 Thread KAMEZAWA Hiroyuki
zone_ifdef_cleanup_by_renumbering.patch Now, this patch defines zone_idx for not-configured-zones. like enum_zone_type { (ZONE_DMA configured) (ZONE_DMA32 configured) ZONE_NORMAL (ZONE_HIGHMEM configured) ZONE

[PATCH] CONFIG_ZONE_MOVABLE [2/2] config zone movable

2007-08-31 Thread KAMEZAWA Hiroyuki
Makes ZONE_MOVABLE as configurable Based on "zone_ifdef_cleanup_by_renumbering.patch" Signed-Off-By: KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> Index: devel-2.6.23-rc3-mm1/include/linux/mmzone.h === --- devel-2.6.23-rc3-mm1.orig/inclu

Re: [PATCH] kexec: reenable HPET before kexec

2007-08-31 Thread Konstantin Baydarov
On Thu, 30 Aug 2007 12:04:33 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: > I was assuming that CLOCK_EVT_MODE_SHUTDOWN just mapped > to the shutdown method of the clock events or something else. > But it shutdown means something different in this context we > can certainly find a better pla

Re: possible build system oddity

2007-08-31 Thread Jan Engelhardt
On Aug 31 2007 11:51, Oliver Neukum wrote: >Am Freitag 31 August 2007 schrieb Sam Ravnborg: >> On Fri, Aug 31, 2007 at 01:14:26PM +0400, Alexey Dobriyan wrote: >> > On 8/31/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: >> > > I only touched sound/usb/usbaudio.c >> > > Nevertheless the whole subtree

Re: [1/4] 2.6.23-rc4: known regressions

2007-08-31 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 12:48:45AM -0700, Christoph Lameter wrote: > Here is the fix for alpha: > > >From [EMAIL PROTECTED] Thu Aug 30 14:13:57 2007 > Subject: SLUB: Force inlining for functions in slub_def.h > > Some compilers (especially older gcc releases) may skip inlining sometimes > which

DRM and/or X trouble (was Re: CFS review)

2007-08-31 Thread Rene Herman
On 08/31/2007 08:46 AM, Tilman Sauerbeck wrote: On 08/29/2007 09:56 PM, Rene Herman wrote: With X server 1.3, I'm getting consistent crashes with two glxgear instances running. So, if you're getting any output, it's better than my situation. Before people focuss on software rendering too muc

Re: [ANNOUNCE/RFC] Really Fair Scheduler

2007-08-31 Thread Ingo Molnar
* Roman Zippel <[EMAIL PROTECTED]> wrote: > Hi, > > I'm glad to announce a working prototype of the basic algorithm I > already suggested last time. As I already tried to explain previously > CFS has a considerable algorithmic and computational complexity. [...] hey, thanks for working on thi

Re: possible build system oddity

2007-08-31 Thread Oliver Neukum
Am Freitag 31 August 2007 schrieb Jan Engelhardt: > On Aug 31 2007 11:51, Oliver Neukum wrote: > >Am Freitag 31 August 2007 schrieb Sam Ravnborg: > >> On Fri, Aug 31, 2007 at 01:14:26PM +0400, Alexey Dobriyan wrote: > >> > On 8/31/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > >> > > I only touched

Re: [PATCH] IOC3: Program UART predividers.

2007-08-31 Thread Jeff Garzik
Ralf Baechle wrote: The IOC3 driver's UART detection bits used to rely on the the firmware setting the UART pre-divider in a way that's apropriate for the 8250 driver which doesn't currently program this register. This happens to work for the console but not rarely for additional ports. While a

Re: [PATCH] H8/300: Fix misnamed "CONFIG_BLKDEV_RESERVE_ADDRESS" Kconfig variable.

2007-08-31 Thread Satyam Sharma
On Fri, 31 Aug 2007, Robert P. J. Day wrote: > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Acked-by: Satyam Sharma <[EMAIL PROTECTED]> This is a bugfix, true. > if i read correctly an email i just got from Yoshinori Sato, he > wanted me to post this to the main list. it seems an

Re: [PATCH] snd_hda_intel for F/S T4210

2007-08-31 Thread Takashi Iwai
At Thu, 30 Aug 2007 17:04:14 +0200, I wrote: > > At Wed, 29 Aug 2007 17:34:19 +0200, > Thomas Richter wrote: > > > > Hi folks, > > > > the patch below, to be applied to sound/pci/hda/patch_sigmatel.c fixes the > > audio > > output on the Fujiutsu/Siemens lifebook T4210 (and probably on others).

[RFC][PATCH 0/6] An IPC implementation base on Linux IDRs

2007-08-31 Thread Nadia . Derbey
A couple of months ago, I dropped a series of patches that introduced the AKT framework (Automatic Kernel Tunables). (see thread http://lkml.org/lkml/2007/1/16/16) When reading the patches, people complained that I was trying to treat a symptom, not the problem itself, and that it'd be better try

[RFC][PATCH 2/6] Unifying the syscalls code

2007-08-31 Thread Nadia . Derbey
[PATCH 02/06] This patch introduces a change into the sys_msgget(), sys_semget() and sys_shmget() routines: they now share a common code, which is better for maintainability. Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- ipc/msg.c | 61 ++-- ipc/sem.c

[RFC][PATCH 4/6] Integrating ipc_checkid() into ipc_lock()

2007-08-31 Thread Nadia . Derbey
[PATCH 04/06] This patch introduces a new ipc_lock_check() routine interface: . each time ipc_checkid() is called, this is done after calling ipc_lock(). ipc_checkid() is now called from inside ipc_lock_check(). Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- ipc/msg.c | 6

[RFC][PATCH 3/6] Removing the ipc_get() routine

2007-08-31 Thread Nadia . Derbey
[PATCH 03/06] This is a trivial patch that removes the ipc_get() routine: it is replaced by a call to idr_find(). Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- ipc/shm.c | 16 +--- ipc/util.c | 19 --- ipc/util.h |1 - 3 files changed, 13 i

[RFC][PATCH 6/6] Inlining ipc_buildid()

2007-08-31 Thread Nadia . Derbey
[PATCH 06/06] This is a trivial patch that changes the ipc_buildid() routine into a static inline. Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- ipc/util.c |5 - ipc/util.h |6 +- 2 files changed, 5 insertions(+), 6 deletions(-) Index: linux-2.6.23-rc2/ipc/uti

[RFC][PATCH 1/6] Storing ipcs into IDRs

2007-08-31 Thread Nadia . Derbey
[PATCH 01/06] This patch introduces ipcs storage into IDRs. The main changes are: . This ipc_ids structure is changed: the entries array is changed into a root idr structure. . The grow_ary() routine is removed: it is not needed anymore when adding an ipc structure, since we are now u

[RFC][PATCH 5/6] Introducing the ipcid_to_idx macro

2007-08-31 Thread Nadia . Derbey
[PATCH 05/06] This is a trivial patch that changes all the (id % SEQ_MULTIPLIER) into a call to the ipcid_to_idx(id) macro. Signed-off-by: Nadia Derbey <[EMAIL PROTECTED]> --- ipc/util.c |4 ++-- ipc/util.h |2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) Index: linu

Re: 4KSTACKS + DEBUG_STACKOVERFLOW harmful

2007-08-31 Thread Denys Vlasenko
On Wednesday 29 August 2007 23:34, Eric Sandeen wrote: > Noticed today that the combination of 4KSTACKS and DEBUG_STACKOVERFLOW > config options is a bit deadly. > > DEBUG_STACKOVERFLOW warns in do_IRQ if we're within THREAD_SIZE/8 of the > end of useable stack space, or 512 bytes on a 4k stack. ..

Re: possible build system oddity

2007-08-31 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 10:37:28AM +0200, Oliver Neukum wrote: > Hi, > > I only touched sound/usb/usbaudio.c > Nevertheless the whole subtree und sound/ is recompiling. What's > happening? The only file that gets compiled (CC) should be sound/usb/usbaudio.c It seems you are confused by the fact

Re: possible build system oddity

2007-08-31 Thread Oliver Neukum
Am Freitag 31 August 2007 schrieben Sie: > On Fri, Aug 31, 2007 at 10:37:28AM +0200, Oliver Neukum wrote: > > Hi, > > > > I only touched sound/usb/usbaudio.c > > Nevertheless the whole subtree und sound/ is recompiling. What's > > happening? > > The only file that gets compiled (CC) should be sou

Re: [PATCH 2.6.23 1/2] cxgb3 - Fix dev->priv usage

2007-08-31 Thread Jeff Garzik
Divy Le Ray wrote: From: Divy Le Ray <[EMAIL PROTECTED]> cxgb3 used netdev_priv() and dev->priv for different purposes. In 2.6.23, netdev_priv() == dev->priv, cxgb3 needs a fix. This patch is a partial backport of Dave Miller's changes in the net-2.6.24 git branch. Without this fix, cxgb3 cr

Re: hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }

2007-08-31 Thread Alan Cox
> When a DMA operation is enabled, CS0- and CS1- shall not be asserted and > transfers shall be 16-bits wide. > > I took the above to mean the device was designed to support DMA. > Where did I err? The bus is specified for DMA, not the device. > > > The data sheet says the media can only do 4.

Section mismatch in 2.6.23-rc4

2007-08-31 Thread Hommel, Thomas (GE Indust, GE Fanuc)
When compiling a kernel, I get the warnings below. I am using ARCH=powerpc and 'make mpc8641_hpcn_defconfig', 'make uImage'. This didn't appear in 2.6.22, but in arch/powerpc/kernel/head_32.S and setup_32.c, the section info apparently didn't change. LD vmlinux.o MODPOST vmlinux.o WARN

Re: [PATCH] i386 and x86_64: randomize brk()

2007-08-31 Thread Jiri Kosina
On Thu, 30 Aug 2007, Andrew Morton wrote: > Not strongly, but the general opinion seems to be that ARCH_HAS_FOO is > sucky. It should at least be done in Kconfig rather than in .h, but > even better is just to implement the thing for all architectures. Below is an updated patch. checkpatch com

Re: [PATCH] Documentation/00-INDEX notice ecryptfs.txt moved.

2007-08-31 Thread Satyam Sharma
Hi Rob, On Thu, 30 Aug 2007, Rob Landley wrote: > On Thursday 30 August 2007 2:04:37 pm Randy Dunlap wrote: > > Please use the expected (canonical) patch format. > > > > See Documentation/SubmittingPatches: > > 14) The canonical patch format > > from Rob Landley <[EMAIL PROTECTED]> > Signed-o

Kernel 2.6.22.6 iPod conflict with PS/2 device.

2007-08-31 Thread Justin Piszcz
When I have an iPod attached via USB to an ABIT IC7-G board before it boots up and let X start etc, the mouse (PS/2) does not function, but the keyboard works OK. GPM does not work either. When I attach the iPod after the machine has booted up, everything is OK, until the next reboot (with th

Re: recent nfs change causes autofs regression

2007-08-31 Thread Trond Myklebust
On Fri, 2007-08-31 at 01:07 -0700, Linus Torvalds wrote: > > If you want new behaviour, you add a new flag saying you want new > behaviour. You don't just start behaving differently from what you've > always done before (and what *other* UNIXes do, for that matter). > > Besides, even *if* it w

Nonblocking call may block in a mutex? Nonblocking call after poll may fail?

2007-08-31 Thread anon... anon.al
Hi! This is a driver-related question on non-blocking writes and poll. Setup: there is a single output-buffer (in kernel-space) of 24 bytes for writes from all processes A, B, and C: each process is restricted to use at most 8 bytes: 8*3 = 24 (until that data is handled (interrupt-handler...)) Q

[PATCH] Fix a lock problem in generic phy code

2007-08-31 Thread Hans-Jürgen Koch
Lock debugging finds a problem in phy.c and phy_device.c, this patch fixes it. Tested on an AT91SAM9263-EK board, kernel 2.6.23-rc4. Signed-off-by: Hans J. Koch <[EMAIL PROTECTED]> --- Index: linux-2.6.23-rc/drivers/net/phy/phy_device.c ===

Re: [Lguest] [PATCH] modify lguest console to support multiple hvc's

2007-08-31 Thread Eric Van Hensbergen
On 8/30/07, Rusty Russell <[EMAIL PROTECTED]> wrote: > On Thu, 2007-08-30 at 13:38 -0500, Eric Van Hensbergen wrote: > > From: Eric Van Hensbergen <[EMAIL PROTECTED]> > > > > This was a quick modification I did of lguest to be able to support multiple > > HVC channels for some experiments I was doi

Re: [PATCH 5/5] Net: ath5k, kconfig changes

2007-08-31 Thread Dan Williams
On Thu, 2007-08-30 at 08:36 -0400, John W. Linville wrote: > On Thu, Aug 30, 2007 at 04:38:09AM +0300, Nick Kossifidis wrote: > > 2007/8/28, Christoph Hellwig <[EMAIL PROTECTED]>: > > > > Also this whole patch seems rather pointless. It saves only > > > very little and turns the driver into a com

Re: [RFC][PATCH] uli526x: Add suspend and resume routines (updated)

2007-08-31 Thread Jeff Garzik
Rafael J. Wysocki wrote: On Tuesday, 14 August 2007 07:58, Jeff Garzik wrote: Rafael J. Wysocki wrote: On Wednesday, 8 August 2007 00:26, Jeff Garzik wrote: Rafael J. Wysocki wrote: On Tuesday, 7 August 2007 23:40, Jeff Garzik wrote: I'll let our new tulip maintainer see what he thinks about

Add all thread stats for TASKSTATS_CMD_ATTR_TGID (v3)

2007-08-31 Thread Guillaume Chazarain
TASKSTATS_CMD_ATTR_TGID used to return only the delay accounting stats, not the basic and extended accounting. With this patch, TASKSTATS_CMD_ATTR_TGID also aggregates the accounting info for all threads of a thread group. This makes TASKSTATS_CMD_ATTR_TGID usable in a similar fashion to TASKSTATS_

Re: [git patches] net driver fixes

2007-08-31 Thread Jeff Garzik
Satyam Sharma wrote: On Mon, 30 Jul 2007, Jeff Garzik wrote: true, we should just remove the dev==NULL check Patch below: [PATCH] nmclan_cs: Remove bogus (dev==NULL) check in mace_interrupt() The (dev == NULL) check in drivers/net/pcmcia/nmclan_cs.c:mace_interrupt() handler is always false

Re: recent nfs change causes autofs regression

2007-08-31 Thread Frank van Maarseveen
On Fri, Aug 31, 2007 at 08:11:38AM -0400, Trond Myklebust wrote: > On Fri, 2007-08-31 at 01:07 -0700, Linus Torvalds wrote: > > > > > If you want new behaviour, you add a new flag saying you want new > > behaviour. You don't just start behaving differently from what you've > > always done befor

Re: [ANNOUNCE/RFC] Really Fair Scheduler

2007-08-31 Thread Roman Zippel
Hi, On Fri, 31 Aug 2007, Ingo Molnar wrote: > So the most intrusive (math) aspects of your patch have been implemented > already for CFS (almost a month ago), in a finegrained way. Interesting claim, please substantiate. > Peter's patches change the CFS calculations gradually over from > 'norm

Re: [ANNOUNCE/RFC] Really Fair Scheduler

2007-08-31 Thread Roman Zippel
Hi, On Fri, 31 Aug 2007, Mike Galbraith wrote: > I plunked it into 2.6.23-rc4 to see how it reacts to various sleeper > loads, and hit some starvation. If I got it in right (think so) there's > a bug lurking somewhere. taskset -c 1 fairtest2 resulted in the below. > It starts up running both ta

Re: [Bugme-new] [Bug 8961] New: BUG triggered by oidentd in netlink code

2007-08-31 Thread Athanasius
On Fri, Aug 31, 2007 at 01:05:04PM +0200, Patrick McHardy wrote: > Seems to be a bug introduced by the netlink_run_queue conversion, > since there is no locking and netlink_run_queue doesn't check > for NULL results from skb_dequeue, it might pass NULL to > netlink_rcv_skb, which crashes. > > Does

Re: [PATCH 8/11] cxgb3 - Update internal memory management

2007-08-31 Thread Jeff Garzik
Divy Le Ray wrote: From: Divy Le Ray <[EMAIL PROTECTED]> Set PM1 internal memory to round robin mode It balances access to this internal memory for multiport adapters. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/regs.h |2 ++ drivers/net/cxgb3/t3_hw.c |2 ++

Re: [PATCH 8/11] cxgb3 - Update internal memory management

2007-08-31 Thread Jeff Garzik
Divy Le Ray wrote: From: Divy Le Ray <[EMAIL PROTECTED]> Set PM1 internal memory to round robin mode It balances access to this internal memory for multiport adapters. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/regs.h |2 ++ drivers/net/cxgb3/t3_hw.c |2 ++

Re: [PATCH 9/11] cxgb3 - engine microcode update

2007-08-31 Thread Jeff Garzik
Divy Le Ray wrote: From: Divy Le Ray <[EMAIL PROTECTED]> Load microcode engine when the interface is configured up. Bump up version to 1.1.0. Allow the driver to be and running with older microcode images. Allow ethtool to log the microcode version. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]

DTR/DSR Patch

2007-08-31 Thread Michael Westermann
Hello, I make driver for Point of Sale Printer, a wide range of Printer use only a DTR/DSR hardware-handshaking. When I use a handshaking in the userspace, the Printr has a overrun problem and our customer has a problem with the tax office. my Patch relaize a simple DTR/DSR handhake with a small

Re: [PATCH] debloat aic7xxx and aic79xx drivers by deinlining

2007-08-31 Thread Hannes Reinecke
Jan Engelhardt wrote: > On Aug 30 2007 13:02, Matthew Wilcox wrote: >>> Well, you can send it to Linus/Andrew, that will usually upset people and >>> they >>> start commenting on it. Or they don't, and everything is fine. >>> (The "default y" approach so to speak ;-) >> The problem is that we don'

Re: Copy large memory regions from & to userspace

2007-08-31 Thread Clemens Kolbitsch
On Friday 31 August 2007 15:25:40 you wrote: > On 8/30/07, Clemens Kolbitsch <[EMAIL PROTECTED]> wrote: > > Hi! > > Just a short question: What is the correct method of copying large areas > > of memory from userspace into userspace when running in kernel-mode? > > relayfs? no... I'm copying user-

Re: [PATCH] Increase lockdep MAX_LOCK_DEPTH

2007-08-31 Thread David Chinner
On Fri, Aug 31, 2007 at 08:39:49AM +0200, Peter Zijlstra wrote: > On Thu, 2007-08-30 at 23:43 -0500, Eric Sandeen wrote: > > The xfs filesystem can exceed the current lockdep > > MAX_LOCK_DEPTH, because when deleting an entire cluster of inodes, > > they all get locked in xfs_ifree_cluster(). The

Re: recent nfs change causes autofs regression

2007-08-31 Thread Trond Myklebust
On Fri, 2007-08-31 at 15:12 +0200, Frank van Maarseveen wrote: > IMHO I'd only consider returning EBUSY when trying to mount _exactly_ > the same directory with different flags, not for arbitrary subtrees. The > client should preferably not be bothered with server side disk > partitioning (at leas

Re: [PATCH] trivial - constify sched.h

2007-08-31 Thread Christoph Hellwig
On Thu, Aug 30, 2007 at 10:55:49PM +0200, Jan Engelhardt wrote: > "those callers". There was _exactly one_ caller, and that was an out-of-tree > module. There were not any in-kernel callers before, and it did not generate > any warning. That is perhaps why no one had constified it before me. This d

Re: [ANNOUNCE/RFC] Really Fair Scheduler

2007-08-31 Thread Mike Galbraith
On Fri, 2007-08-31 at 15:22 +0200, Roman Zippel wrote: > Hi, > > On Fri, 31 Aug 2007, Mike Galbraith wrote: > > > I plunked it into 2.6.23-rc4 to see how it reacts to various sleeper > > loads, and hit some starvation. If I got it in right (think so) there's > > a bug lurking somewhere. taskset

Re: [PATCH 5/5] Net: ath5k, kconfig changes

2007-08-31 Thread Jeff Garzik
Dan Williams wrote: On Thu, 2007-08-30 at 08:36 -0400, John W. Linville wrote: On Thu, Aug 30, 2007 at 04:38:09AM +0300, Nick Kossifidis wrote: 2007/8/28, Christoph Hellwig <[EMAIL PROTECTED]>: Also this whole patch seems rather pointless. It saves only very little and turns the driver into a

[PATCH 0/2] IB/ehca: Fixes for rc5

2007-08-31 Thread Joachim Fenkes
These two patches fix some ehca issues that should be fixed in 2.6.23. [1/2] fixes regressions caused by the recent addition of Small QPs. [2/2] adds missing SRQ-related functionality that would have broken IPoIB CM. The patches should apply cleanly, in order, against Roland's git. Please review

[PATCH 1/2] IB/ehca: fix Small QP regressions

2007-08-31 Thread Joachim Fenkes
From: Stefan Roscher <[EMAIL PROTECTED]> The new Small QP code had a few bugs that would also trigger for non-Small QPs. Fix them. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_qp.c | 10 ++ drivers/infiniband/hw/ehca/ipz_pt_fn.c |2 +- 2 f

Re: [PATCH] trivial - constify sched.h

2007-08-31 Thread Matthew Wilcox
On Fri, Aug 31, 2007 at 02:53:23PM +0100, Christoph Hellwig wrote: > On Thu, Aug 30, 2007 at 10:55:49PM +0200, Jan Engelhardt wrote: > > "those callers". There was _exactly one_ caller, and that was an out-of-tree > > module. There were not any in-kernel callers before, and it did not generate > >

[PATCH 2/2] IB/ehca: SRQ fixes to enable IPoIB CM

2007-08-31 Thread Joachim Fenkes
a) Report max_srq > 0 if SRQ is supported b) Report "last wqe reached" event when base QP dies Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_hca.c | 10 +-- drivers/infiniband/hw/ehca/ehca_irq.c | 48 +--- 2 files changed

  1   2   3   4   >