Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-09 Thread Mel Gorman
On Thu, 8 Mar 2007, Christoph Lameter wrote: Note that I am amazed that the kernbench even worked. On small machine How small? The machines I am testing on aren't "big" but they aren't misterable either. I seem to be getting into trouble with order 1 allocations. That in itself is

Re: Pluggable Schedulers (was: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler)

2007-03-09 Thread William Lee Irwin III
William Lee Irwin III wrote: >> I consider policy issues to be hopeless political quagmires and >> therefore stick to mechanism. So even though I may have started the >> code in question, I have little or nothing to say about that sort of >> use for it. >> There's my longwinded excuse for having

Re: bugs in kernel 2.6.21 (both two release candidates) and kernel 2.6.20

2007-03-09 Thread Uwe Bugla
Original-Nachricht Datum: Tue, 6 Mar 2007 09:57:34 -0800 (PST) Von: Linus Torvalds <[EMAIL PROTECTED]> An: Uwe Bugla <[EMAIL PROTECTED]> CC: linux-kernel@vger.kernel.org, [EMAIL PROTECTED] Betreff: Re: bugs in kernel 2.6.21 (both two release candidates) and kernel 2.6.20 >

Re: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-09 Thread Mel Gorman
On Thu, 8 Mar 2007, Christoph Lameter wrote: On Thu, 8 Mar 2007, Mel Gorman wrote: Note that the 16kb page size has a major impact on SLUB performance. On IA64 slub will use only 1/4th the locking overhead as on 4kb platforms. It'll be interesting to see the kernbench tests then with

Re: sys_write() racy for multi-threaded append?

2007-03-09 Thread Eric Dumazet
On Friday 09 March 2007 13:19, Michael K. Edwards wrote: > On 3/8/07, Benjamin LaHaise <[EMAIL PROTECTED]> wrote: > > Any number of things can cause a short write to occur, and rewinding the > > file position after the fact is just as bad. A sane app has to either > > serialise the writes itself

Re: [PATCH 2/2] e1000: Implement the new kernel API for multiqueue TX support.

2007-03-09 Thread Thomas Graf
* Kok, Auke <[EMAIL PROTECTED]> 2007-02-08 16:09 > > From: Peter Waskiewicz Jr. <[EMAIL PROTECTED]> > > Several newer e1000 chipsets support multiple RX and TX queues. Most > commonly, 82571's and ESB2LAN support 2 rx and 2 rx queues. > > Signed-off-by: Peter Waskiewicz Jr. <[EMAIL PROTECTED]>

Re: [PATCH 1/2] NET: Multiple queue network device support

2007-03-09 Thread Thomas Graf
* Kok, Auke <[EMAIL PROTECTED]> 2007-02-08 16:09 > diff --git a/net/core/dev.c b/net/core/dev.c > index 455d589..42b635c 100644 > --- a/net/core/dev.c > +++ b/net/core/dev.c > @@ -1477,6 +1477,49 @@ gso: > skb->tc_verd = SET_TC_AT(skb->tc_verd,AT_EGRESS); > #endif > if (q->enqueue) {

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Herbert Poetzl
On Fri, Mar 09, 2007 at 12:07:27PM +0300, Kirill Korotaev wrote: >> nobody actually cares about a precise accounting and >> calculating shares or partitions of whatever resource, >> all that matters is that you have a way to prevent a >> potential hostile environment from sucking up all your

Pluggable Schedulers (was: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler)

2007-03-09 Thread Al Boldi
William Lee Irwin III wrote: > On Thu, Mar 08, 2007 at 10:31:48PM -0800, Linus Torvalds wrote: > > No. Really. > > I absolutely *detest* pluggable schedulers. They have a huge downside: > > they allow people to think that it's ok to make special-case schedulers. > > And I simply very fundamentally

Re: Experimental driver for Ricoh Bay1Controller SD Card readers

2007-03-09 Thread James
On 2/16/07, Ivan Babkin <[EMAIL PROTECTED]> wrote: Thank for the job you've done! Your driver works with 1 Gb sd-card (x86_64 suse's 2.16.18.2 kernel). Read rate for me was around 250 Kb/s, write - 28 Kb/s (using dd utility). BTW, I get continuous flow of "sdricoh_cs: timeout waiting for data"

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Herbert Poetzl
On Fri, Mar 09, 2007 at 12:23:55PM +0300, Kirill Korotaev wrote: >>> There have been various projects attempting to provide >>> resource management support in Linux, including >>> CKRM/Resource Groups and UBC. >> >> let me note here, once again, that you forgot Linux-VServer >> which does quite

Re: [PATCH 2/7] revoke: add f_light flag for struct file

2007-03-09 Thread Pekka J Enberg
At some point in time, I wrote: > > Btw, what we can do is delay closing the actual revoked file until the > > task terminates. This has the unfortunate side-effect that a task has > > no way of freeing the resources now. But, I am beginning to think it's > > not a big problem because the inode

Re: [PATCH 2/7] revoke: add f_light flag for struct file

2007-03-09 Thread Alan Cox
> Btw, what we can do is delay closing the actual revoked file until the > task terminates. This has the unfortunate side-effect that a task has > no way of freeing the resources now. But, I am beginning to think it's > not a big problem because the inode mapping will be zapped immediately > upon

Re: [rfc][patch] futex: restartable futex_wait?

2007-03-09 Thread Thomas Gleixner
On Fri, 2007-03-09 at 13:24 +0100, Nick Piggin wrote: > > > > 'time' here is relative, so the restarted syscall will do a /full/ wait > > > > again. > > > > > > But it has been modified by schedule_timeout? > > > > But this does not change the syscall registers, so it is restarted in > > the

Re: [patch 2.6.20-1] radeonfb: Add support for Radeon xpress 200m

2007-03-09 Thread Benjamin Herrenschmidt
> - radeonfb_pm_init(rinfo, rinfo->is_mobility ? 1 : -1, > ignore_devlist, force_sleep); > + radeonfb_pm_init(rinfo, rinfo->is_mobility && rinfo->family != > CHIP_FAMILY_RS480 ? 1 : -1, ignore_devlist, force_sleep); I'd rather you add a check for RS480 inside

Re: [PATCH] Fix atomicity of TIF update in flush_thread() for powerpc

2007-03-09 Thread Benjamin Herrenschmidt
.../... > Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Nice catch ! > --- a/arch/powerpc/kernel/process.c > +++ b/arch/powerpc/kernel/process.c > @@ -476,8 +476,13 @@ void flush_thread(void) > #ifdef CONFIG_PPC64 > struct

Re: sys_write() racy for multi-threaded append?

2007-03-09 Thread Alan Cox
> 1003.1 unless O_NONBLOCK is set. (Not that f_pos is interesting on a > pipe except as a "bytes sent" indicator -- and in the multi-threaded f_pos is undefined on a FIFO or similar object. > As to what a "sane app" has to do: it's just not that unusual to write > application code that treats

Re: [RFC] [Patch 1/1] IBAC Patch

2007-03-09 Thread Mimi Zohar
On Thu, 2007-03-08 at 15:08 -0800, Randy Dunlap wrote: > On Thu, 08 Mar 2007 17:58:16 -0500 Mimi Zohar wrote: > > > This is a request for comments for a new Integrity Based Access > > Control(IBAC) LSM module which bases access control decisions > > on the new integrity framework services. > >

Re: [PATCH] pata_cmd640: Multiple updates

2007-03-09 Thread Jeff Garzik
Alan Cox wrote: Add suspend/resume support Write 0x5B to 0 not 0x5C The former is important as we must kill the FIFO on a resume Signed-off-by: Alan Cox <[EMAIL PROTECTED]> applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [BUG] ATAPI command TEST_UNIT_READY never succeeds!

2007-03-09 Thread Tejun Heo
Conke Hu wrote: > On 3/7/07, Tejun Heo <[EMAIL PROTECTED]> wrote: >> (snip) >> I've read your last posting about this, but forgot to follow up. TUR is >> supposed to fail if ATAPI device doesn't have media loaded. TUR fails >> and sense data returns device not ready - media not present. That's

Re: 2.6.20-rc4-mm1: PCI=n: drivers/net/3c59x.c compile error

2007-03-09 Thread Tejun Heo
Hello, Randy Dunlap wrote: >> Erm, before I do that, could somebody explain what >> >> #define HAVE_PCI_REQ_REGIONS 2 >> >> accompanying their declaration is for? I have't found any references to it >> in >> the source. Should I duplicate it for CONFIG_PCI=n case (I guess not)? > > I

Re: any thoughts yet on a "generic" ioctl.h?

2007-03-09 Thread Robert P. J. Day
On Fri, 9 Mar 2007, Stefan Richter wrote: > Robert P. J. Day wrote: > > if someone can't immediately see what i'm trying > > to do given the previously-posted patch, then they shouldn't be > > commenting on it one way or the other. > > I'm not sure if you are addressing me too. Just to clarify:

Re: [patch 2/3] fs: introduce perform_write aop

2007-03-09 Thread Nick Piggin
Hi Christoph, On Fri, Mar 09, 2007 at 10:39:13AM +, Christoph Hellwig wrote: > Hi Nick, > > sorry for my later reply, this has been on my to answer list for the last > month and I only managed to get back to it now. No worries, I haven't had much time to work on it since then anyway. Thanks

Re: [PATCH] sata_nv: revert use of notifiers for now

2007-03-09 Thread Jeff Garzik
Robert Hancock wrote: Commit 721449bf0d51213fe3abf0ac3e3561ef9ea7827a added support for using the ADMA notifier bits to determine which commands to check for completion. However there have been reports that this causes command timeouts in certain cases. This is still being investigated. In

Re: [PATCH] devres: release resources on device_del()

2007-03-09 Thread Jeff Garzik
Tejun Heo wrote: Some platform devices are driven without driver attached, so managed resources can be acquired without driver attached. Make sure such resources are released by calling devres_release_all() in device_del(). Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- This one fixes oops

Re: [PATA] Failed to set xfermode on LITE-ON LTR-48246S

2007-03-09 Thread Tejun Heo
Philipp Matthias Hahn wrote: > Hello Tejun! > > On Tue, Mar 06, 2007 at 12:46:07AM +0900, Tejun Heo wrote: >> Philipp Matthias Hahn wrote: >>> On Mon, Mar 05, 2007 at 01:10:10PM +0900, Tejun Heo wrote: * Does applying the attached patch over unpatched 2.6.20.1 fix the problem? >>> Yes, it

Re: [git patches] libata fixes

2007-03-09 Thread Tejun Heo
Paul Rolland wrote: > Hell Tejun, > > I've boot-tested this yesterday, with no real luck... > > 1 - Tested on top of 2.6.21-rc2 (hope it's fine for you), > 2 - Collected a full dmesg before and after > > Extract is : > ata7: PATA max UDMA/100 cmd 0x00019c00 ctl 0x00019882 bmdma

Re: any thoughts yet on a "generic" ioctl.h?

2007-03-09 Thread Stefan Richter
Robert P. J. Day wrote: > if someone can't immediately see what i'm trying > to do given the previously-posted patch, then they shouldn't be > commenting on it one way or the other. I'm not sure if you are addressing me too. Just to clarify: I wasn't commenting on the patch, I only commented on

Re: [PATCH] revoke: delayed file closing

2007-03-09 Thread Pekka Enberg
On 3/9/07, Pekka J Enberg <[EMAIL PROTECTED]> wrote: To fix this, change sys_revoke() not to close the actual revoked file immediately. Instead, we do filp_close() when the user does close(2) on the revoked file descriptor. Btw, this is safe because a filesystem implementing f_ops->revoke must

Re: [PATCH] swsusp: Disable nonboot CPUs before entering platform suspend

2007-03-09 Thread Heiko Carstens
On Wed, Mar 07, 2007 at 09:07:17PM +, Pavel Machek wrote: > Hi! > > > Prevent the WARN_ON() in arch/x86_64/kernel/acpi/sleep.c:init_low_mapping() > > from triggering by disabling nonboot CPUs before we finally enter the > > platform > > suspend. > > > > Signed-off-by: Rafael J. Wysocki

[PATCH] revoke: delayed file closing

2007-03-09 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> As explained by Eric Dumazet, one of the interests of fget_light() is to avoid dirtying struct file which is broken by the newly added file->f_light. In addition, fget_light() currently has a race window between fcheck_files() and set_f_light(). To fix

Re: [rfc][patch] futex: restartable futex_wait?

2007-03-09 Thread Nick Piggin
On Fri, Mar 09, 2007 at 10:38:35AM +0100, Thomas Gleixner wrote: > On Fri, 2007-03-09 at 06:10 +0100, Nick Piggin wrote: > > > i think that's quite right. I'm wondering why this never came up before? > > > But your fix is not complete i think: > > > > > > > + restart->arg2 = time; >

Re: [BUG] ATAPI command TEST_UNIT_READY never succeeds!

2007-03-09 Thread Conke Hu
On 3/7/07, Tejun Heo <[EMAIL PROTECTED]> wrote: (snip) I've read your last posting about this, but forgot to follow up. TUR is supposed to fail if ATAPI device doesn't have media loaded. TUR fails and sense data returns device not ready - media not present. That's the normal operation. Does

Re: sys_write() racy for multi-threaded append?

2007-03-09 Thread Michael K. Edwards
On 3/8/07, Benjamin LaHaise <[EMAIL PROTECTED]> wrote: Any number of things can cause a short write to occur, and rewinding the file position after the fact is just as bad. A sane app has to either serialise the writes itself or use a thread safe API like pwrite(). Not on a pipe/FIFO. Short

Re: [PATCH] revoke: consolidate revoked file operations

2007-03-09 Thread Alan Cox
On Fri, Mar 09, 2007 at 01:55:06PM +0200, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > Return EBADF for all revoked file operations except for read(2) which > returns zero for special files as the BSDs do and close(2) which is > always zero. > > Cc: Alan Cox <[EMAIL

Re: [PATCH 2/7] revoke: add f_light flag for struct file

2007-03-09 Thread Pekka Enberg
On 3/9/07, Eric Dumazet <[EMAIL PROTECTED]> wrote: > Then just drop the fget_light() 'optimisation' and always take a reference > (atomic on f_count) regardless of single-thread or not. Instead of dirtying > f_light, just do the straightforward thing and be with it. On 3/9/07, Pekka Enberg

Re: [PATCH 2/2] xfs: stop using kmalloc in xfs_buf_get_noaddr

2007-03-09 Thread Christoph Hellwig
Ed Cashin found a bug in the error handling code for the case where a page allocation fails. Here's the updated version: Index: linux-2.6/fs/xfs/linux-2.6/xfs_buf.c === --- linux-2.6.orig/fs/xfs/linux-2.6/xfs_buf.c 2007-03-08

Re: [PATCH] chaostables

2007-03-09 Thread Amin Azez
* Jan Engelhardt wrote, On 09/03/07 10:19: > Hello, > > On Mar 9 2007 09:35, Amin Azez wrote: > >> * Jan Engelhardt wrote, On 08/03/07 20:26: >> >>> xt_portscan needs to keep track of what packets the machine has already >>> seen. So on the first SYN, the connection is marked with "1".

[PATCH] revoke: consolidate revoked file operations

2007-03-09 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> Return EBADF for all revoked file operations except for read(2) which returns zero for special files as the BSDs do and close(2) which is always zero. Cc: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- fs/revoked_inode.c

Re: sys_write() racy for multi-threaded append?

2007-03-09 Thread Michael K. Edwards
On 3/8/07, Eric Dumazet <[EMAIL PROTECTED]> wrote: Dont even try, you *cannot* do that, without breaking the standards, or without a performance drop. The only safe way would be to lock the file during the whole read()/write() syscall, and we dont want this (this would be more expensive than

Re: [PATCH 2/7] revoke: add f_light flag for struct file

2007-03-09 Thread Pekka Enberg
On 3/9/07, Eric Dumazet <[EMAIL PROTECTED]> wrote: Then just drop the fget_light() 'optimisation' and always take a reference (atomic on f_count) regardless of single-thread or not. Instead of dirtying f_light, just do the straightforward thing and be with it. That's what I did first but akpm

Re: PCI failures during boot

2007-03-09 Thread Jim van Wel
Hi there, Please try first a newer kernel of FC6. 2.6.19-1.2911.6.5.fc6 That's 2.6.19.7. That's the newest one. Greetings, Jim, > Hi, > > I just bought a brand new notebook and wanted to install FC6 on it. Unfornately there are some issues reported by the console during boot. Here are some

Re: [PATCH -mm] utrace: nommu fixup support utrace

2007-03-09 Thread David Howells
Roland McGrath <[EMAIL PROTECTED]> wrote: > What I meant to suggest is that I would start from a safety point of view > with get_user_pages/access_process_vm refusing to do force& to > MAP_PRIVATE pages that are in fact being shared (ETXTBSY or something). That's a good idea. The other

Re: [PATCH 3/7] revoke: core code

2007-03-09 Thread Pekka J Enberg
On Fri, 9 Mar 2007 10:15:15 +0200 (EET) Pekka J Enberg <[EMAIL PROTECTED]> wrote: > > +static ssize_t revoked_file_aio_read(struct kiocb *iocb, > > +const struct iovec *iov, > > +unsigned long nr_segs, loff_t pos) > > +{ > > +

Re: 2.6.21-rc3-mm1

2007-03-09 Thread Frederik Deweerdt
On Wed, Mar 07, 2007 at 08:18:39PM -0800, Andrew Morton wrote: > - The wireless changes in here need a lot of testers, please. It is major > rework. [...] > I was able to get ipw2200 working after some fumbling, Any details on the symptoms? I'm unable to boot rc3-mm2, and it hangs right after

Re: any thoughts yet on a "generic" ioctl.h?

2007-03-09 Thread Robert P. J. Day
On Fri, 9 Mar 2007, Stefan Richter wrote: > Robert P. J. Day wrote: > > each simplification could be submitted as > > a separate arch-specific patch, as many things are. > > > > i was more asking about the *philosophy* of that patch, > > The justification of this initial patch is more obvious if

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-09 Thread Theodore Ts'o
On Fri, Mar 09, 2007 at 04:56:32PM +1100, Rusty Russell wrote: > __builtin_types_compatible_p() has been around since gcc 2.95, and we > don't use it anywhere. This patch quietly fixes that. > > Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> Is your clock set correctly? Looks like this mail

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-03-09 Thread Pavel Machek
Hi! > >>Can you take this as a wishlist item? > >> > >>It would be nice if next version of acpi specs supported table > >> > >>'AML / SMM BIOS will access these ports' > >> > >>...so we can get it correct with acpi4 or something..? > >> > > > >I can only second Pavel's wish here. This would

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-09 Thread Pavel Machek
Hi! > > disabling the following radeonfb options in the .config made resume work > > again: > > In general, don't even *try* to use radeonfb for suspend/resume. > > I don't think it has ever worked, except on some very rare laptops > (largely PPC Macs) where people had enough information to

Re: [PATCH] Fix sparc TIF_USEDFPU flag atomicity

2007-03-09 Thread William Lee Irwin III
On Thu, 8 Mar 2007 22:12:27 -0500 Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: >> Fix sparc TIF_USEDFPU flag atomicity >> Non atomic update of TIF can be very dangerous, except at thread structure >> creation time. Here I standardize the TIF_USEDFPU usage of the sparc arch. >> Applies on 2.6.20.

Re: any thoughts yet on a "generic" ioctl.h?

2007-03-09 Thread Stefan Richter
Robert P. J. Day wrote: > each simplification could be submitted as > a separate arch-specific patch, as many things are. > > i was more asking about the *philosophy* of that patch, The justification of this initial patch is more obvious if followed up by those subsequent patches which make use

Re: [PATCH] drivers/char/vt.c: check kmalloc() return value.

2007-03-09 Thread Alan Cox
On Thu, 8 Mar 2007 23:27:13 -0800 Amit Choudhary <[EMAIL PROTECTED]> wrote: > Description: Check the return value of kmalloc() in function con_init(), in > file drivers/char/vt.c. NAK; This occurs at boot and if it fails we are wasting our time recovering. Alan - To unsubscribe from this list:

Re: [PATCH 6/7] revoke: wire up i386 system calls

2007-03-09 Thread Alan Cox
On Fri, 9 Mar 2007 10:16:30 +0200 (EET) Pekka J Enberg <[EMAIL PROTECTED]> wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > Make revokeat and frevoke system calls available to user-space on i386. Acked-by: Alan Cox <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line

Re: [PATCH 3/7] revoke: core code

2007-03-09 Thread Alan Cox
On Fri, 9 Mar 2007 10:15:15 +0200 (EET) Pekka J Enberg <[EMAIL PROTECTED]> wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > The revokeat(2) and frevoke(2) system calls invalidate open file > descriptors and shared mappings of an inode. After an successful > revocation, operations on file

Re: [PATCH 2/7] revoke: add f_light flag for struct file

2007-03-09 Thread Eric Dumazet
On Friday 09 March 2007 11:43, Pekka Enberg wrote: > On 3/9/07, Eric Dumazet <[EMAIL PROTECTED]> wrote: > > Cannot we use a flag in 'struct files_struct', set to one when the task > > is mono-thread (at task creation in fact), and set to 0 when it creates a > > new thread (or when someone

Re: [PATCH 5/7] revoke: add documentation

2007-03-09 Thread Alan Cox
On Fri, 9 Mar 2007 10:16:09 +0200 (EET) Pekka J Enberg <[EMAIL PROTECTED]> wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > This documents revoke file operation in Documentation/filesystems/vfs.txt. > > Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> Acked-by: Alan Cox <[EMAIL PROTECTED]> -

Re: more than 65535 outbound connections

2007-03-09 Thread Matti Aarnio
On Fri, Mar 09, 2007 at 04:13:00PM +0530, Niklaus wrote: > yes now lets take 2 dest machines , source ip is fixed , source port (2^16 > - 1) > destip is fixed (a.a.a.a and b.b.b.b) ,dest port(2^16 -1) each , > > for a connection we have one port used , say connection 1 is > > source ip,port 1 ,

Re: [PATCH 1/7] revoke: special mmap handling

2007-03-09 Thread Alan Cox
On Fri, 9 Mar 2007 10:14:09 +0200 (EET) Pekka J Enberg <[EMAIL PROTECTED]> wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > This adds special handling for revoked memory mappings. We want to > raise SIGBUS when accessing revoked mappings and return ENODEV when > trying to remap with mmap(2).

Re: more than 65535 outbound connections

2007-03-09 Thread Matti Aarnio
On Fri, Mar 09, 2007 at 01:49:34PM +0530, Niklaus wrote: > Hi, > > I could be wrong in the below description or might have misunderstood > many of the concepts , please correct appropriately. > > 65535 ports can allowed . So on a machine namely C you can have max > 65535 outbound connections

Re: [patch 1/3] Input: psmouse - create PS/2 protocol options for Kconfig

2007-03-09 Thread Andres Salomon
Dmitry Torokhov wrote: > On 2/16/07, Andres Salomon <[EMAIL PROTECTED]> wrote: >> Dmitry Torokhov wrote: >> > On Thursday 15 February 2007 20:30, Andrew Morton wrote: >> >> On Thu, 15 Feb 2007 19:55:29 -0500 >> >> Andres Salomon <[EMAIL PROTECTED]> wrote: >> [...] >> >> Perhaps a nicer

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-09 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > > disabling the following radeonfb options in the .config made resume > > work again: > > In general, don't even *try* to use radeonfb for suspend/resume. > > I don't think it has ever worked, except on some very rare laptops > (largely PPC Macs)

Re: [PATCH] devres: release resources on device_del()

2007-03-09 Thread Tejun Heo
Tejun Heo wrote: > Some platform devices are driven without driver attached, so managed > resources can be acquired without driver attached. Make sure such > resources are released by calling devres_release_all() in > device_del(). > > Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> > --- > This

Re: [PATCH 4/4]: [SPARC64]: Add clocksource/clockevents support.

2007-03-09 Thread Ingo Molnar
* David Miller <[EMAIL PROTECTED]> wrote: > >From 1171ef62b18d7eef093ecf961dd09b11339d53d9 Mon Sep 17 00:00:00 2001 > From: David S. Miller <[EMAIL PROTECTED]> > Date: Mon, 5 Mar 2007 15:28:37 -0800 > Subject: [PATCH] [SPARC64]: Add clocksource/clockevents support. > > I'd like to thank John

Re: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler

2007-03-09 Thread William Lee Irwin III
On Thu, Mar 08, 2007 at 10:31:48PM -0800, Linus Torvalds wrote: > No. Really. > I absolutely *detest* pluggable schedulers. They have a huge downside: > they allow people to think that it's ok to make special-case schedulers. > And I simply very fundamentally disagree. > If you want to play with

Re: Possible "struct pid" leak from tty_io.c

2007-03-09 Thread Catalin Marinas
On 08/03/07, Eric W. Biederman <[EMAIL PROTECTED]> wrote: "Catalin Marinas" <[EMAIL PROTECTED]> writes: > I'm trying to track down a kmemleak report (on an ARM platform) which > seems to have appeared with commit > ab521dc0f8e117fd808d3e425216864d60390500. As I'm not familiar with the > TTY

[PATCH] iomap: implement pcim_iounmap_regions()

2007-03-09 Thread Tejun Heo
Implement pcim_iounmap_regions() - the opposite of pcim_iomap_regions(). Signed-off-by: Tejun heo <[EMAIL PROTECTED]> --- This one is used by libata's new init model and generally useful for driver midlayers. Please push it through libata-dev#upstream. Thanks. include/linux/pci.h |1 +

Re: more than 65535 outbound connections

2007-03-09 Thread Niklaus
On 3/9/07, David Lang <[EMAIL PROTECTED]> wrote: On Fri, 9 Mar 2007, Florian Weimer wrote: >> i read on the web that terry lambert has got 1.6 million simultaneous >> connection ? how is the way it is done. > > Multiple IP addresses, I guess. what must be unique is the four-parts of a

Re: [PATCH 2/7] revoke: add f_light flag for struct file

2007-03-09 Thread Pekka Enberg
On 3/9/07, Eric Dumazet <[EMAIL PROTECTED]> wrote: Cannot we use a flag in 'struct files_struct', set to one when the task is mono-thread (at task creation in fact), and set to 0 when it creates a new thread (or when someone remotely access to this "struct files_struct" in /proc/pid/fd/... )

Re: [patch 1/3] fs: add an iovec iterator

2007-03-09 Thread Christoph Hellwig
On Thu, Feb 08, 2007 at 06:03:50PM -0800, Nate Diller wrote: > i had a patch integrating the iodesc idea, but after some thought, had > decided to call it struct file_io. That name reflects the fact that > it's doing I/O in arbitrary lengths with byte offsets, and struct > file_io *fio contrasts

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-03-09 Thread Alexey Starikovskiy
Jean Delvare wrote: On Fri, 9 Mar 2007 07:18:56 +, Pavel Machek wrote: Port (and memory) addresses can be dynamically generated by the AML code and thus, there is no way that the ACPI subsystem can statically predict any addresses that will be accessed by the AML. Can you take

Re: [patch 2/3] fs: introduce perform_write aop

2007-03-09 Thread Christoph Hellwig
Hi Nick, sorry for my later reply, this has been on my to answer list for the last month and I only managed to get back to it now. On Thu, Feb 08, 2007 at 02:07:36PM +0100, Nick Piggin wrote: > Add a new "perform_write" aop, which replaces prepare_write and commit_write > as a single call to

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-09 Thread Serge Belyshev
William Lee Irwin III <[EMAIL PROTECTED]> writes: > On Fri, Mar 09, 2007 at 12:07:06PM +0300, Serge Belyshev wrote: >> If you see sched_yield() when stracing any 3d program, I suggest you >> to try this bruteforce workaround, which works fine for me, >> disable sched_yield(): > > May I suggest

[PATCH] devres: release resources on device_del()

2007-03-09 Thread Tejun Heo
Some platform devices are driven without driver attached, so managed resources can be acquired without driver attached. Make sure such resources are released by calling devres_release_all() in device_del(). Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- This one fixes oops on pata_platform and

Re: OOPS with 2.6.21rc2-git (ata: conflict with ide0/1)

2007-03-09 Thread Tejun Heo
Jeff Garzik wrote: > Which patch? > > Since this affects libata directly, and since devres came in via libata, > I would rather that libata bugs not get /too/ blocked by patches in > other trees. This one. http://article.gmane.org/gmane.linux.kernel/495515 -- tejun - To unsubscribe from

Re: Keyboard stops working after *lock [Was: 2.6.21-rc2-mm1]

2007-03-09 Thread Jiri Slaby
Andrew Morton napsal(a): On Sat, 03 Mar 2007 16:54:45 +0100 Jiri Slaby <[EMAIL PROTECTED]> wrote: Jiri Slaby napsal(a): Andrew Morton napsal(a): Temporarily at http://userweb.kernel.org/~akpm/2.6.21-rc2-mm1/ Weird behaviour of numlock and capslock on USB keyboard in X. After Hmm, it's

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-03-09 Thread Jean Delvare
On Fri, 9 Mar 2007 07:18:56 +, Pavel Machek wrote: > > Port (and memory) addresses can be dynamically generated by the AML code > > and thus, there is no way that the ACPI subsystem can statically predict > > any addresses that will be accessed by the AML. > > Can you take this as a wishlist

Re: [PATCH] chaostables

2007-03-09 Thread Jan Engelhardt
Hello, On Mar 9 2007 09:35, Amin Azez wrote: >* Jan Engelhardt wrote, On 08/03/07 20:26: >> xt_portscan needs to keep track of what packets the machine has already >> seen. So on the first SYN, the connection is marked with "1". (Then we >> send our SYN-ACK... and the connection turns

[PATCH, take2] VFS : Delay the dentry name generation on sockets and pipes.

2007-03-09 Thread Eric Dumazet
Hi Andrew Please find a new version of this patch : I realized d_path() has very uncommon semantic (it seems nobody caught the point in previous patches), and had to change the documentation and pipefs_dname() / sockfs_dname() accordingly. Now, readlink("/proc/pid/fd/xx", buffer, 4096)

[PATCH] i2c-core: i2c bitbang gpio structure

2007-03-09 Thread Wu, Bryan
Hi folks, A new structure is added to i2c-core for GPIO-based I2C interface adapter. My latest GPIO based I2C adapter driver for Blackfin system will use this stuff. And also IXP4XX GPIO based I2C driver can also be moved to this. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> ---

Re: [PATCH 2/7] revoke: add f_light flag for struct file

2007-03-09 Thread Eric Dumazet
On Friday 09 March 2007 09:14, Pekka J Enberg wrote: > From: Pekka Enberg <[EMAIL PROTECTED]> > > This adds a f_light flag to struct file to indicate that the file was > looked up with fget_light(). Needed by revoke to ensure we don't > close a file pointer while someone is using it without

Re: [PATCH 4/4] optimize and simplify get_cycles_sync()

2007-03-09 Thread Joerg Roedel
On Tue, Mar 06, 2007 at 04:25:41PM -0800, Andrew Morton wrote: > On Wed, 28 Feb 2007 15:25:54 +0100 > "Joerg Roedel" <[EMAIL PROTECTED]> wrote: > > > From: Joerg Roedel <[EMAIL PROTECTED]> > > > > This patch simplifies the get_cycles_sync() function by removing the > > #ifdefs from it. Further

Re: 2.6.21-rc3: /proc broken

2007-03-09 Thread Con Kolivas
On Friday 09 March 2007 19:53, Russell King wrote: > On Fri, Mar 09, 2007 at 08:56:44AM +1100, Con Kolivas wrote: > > I did make oldconfig from http://userweb.kernel.org/~akpm/ck/config.txt > > and chose all the defaults. Then building your fat config with -rc3, 'ps' > > hangs on qemu for almost

Re: any thoughts yet on a "generic" ioctl.h?

2007-03-09 Thread Robert P. J. Day
On Fri, 9 Mar 2007, Stefan Richter wrote: > Robert P. J. Day wrote: > > i asked about this a while back, but i still haven't heard a > > definitive response as to whether it's acceptable. > > Maybe you get response if you post a complete patch. that *was* the complete patch -- its purpose was

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-09 Thread William Lee Irwin III
On Fri, Mar 09, 2007 at 12:07:06PM +0300, Serge Belyshev wrote: > If you see sched_yield() when stracing any 3d program, I suggest you > to try this bruteforce workaround, which works fine for me, > disable sched_yield(): May I suggest LD_PRELOAD of a library consisting of only a nopped

Re: [PATCH -mm] Blackfin: blackfin i2c driver

2007-03-09 Thread Jean Delvare
On Fri, 9 Mar 2007 12:04:59 +0800, Sonic Zhang wrote: > On 3/8/07, Jean Delvare <[EMAIL PROTECTED]> wrote: > > i2c-core can emulate SMBus transactions using master_xfer, so in > > general when you have a complete master_xfer implementation you do not > > need to define a separate smbus_xfer

Re: qla2xxx BUG: workqueue leaked lock or atomic

2007-03-09 Thread Andre Noll
On 12:05, Mingming Cao wrote: > > > BTW: Are ext3 filesystem sizes greater than 8T now officially > > > supported? > > > > I think so, but I don't know how much 16TB testing developers and > > distros are doing - perhaps the linux-ext4 denizens can tell us? > > - > > IBM has done some testing

Re: [PATCH 1/2] eCryptfs: convert lookup_one_len() to lookup_one_len_nd()

2007-03-09 Thread Christoph Hellwig
On Sat, Feb 17, 2007 at 03:56:55AM -0500, Josef 'Jeff' Sipek wrote: > From: Michael Halcrow <[EMAIL PROTECTED]> > > Call the new lookup_one_len_nd() rather than lookup_one_len(). This fixes an > oops when stacked on NFS. > > Note that there are still some issues with eCryptfs on NFS having to

Re: [rfc][patch] futex: restartable futex_wait?

2007-03-09 Thread Thomas Gleixner
On Fri, 2007-03-09 at 06:10 +0100, Nick Piggin wrote: > > i think that's quite right. I'm wondering why this never came up before? > > But your fix is not complete i think: > > > > > + restart->arg2 = time; > > > + return -ERESTART_RESTARTBLOCK; > > > + } > > > >

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Paul Jackson
Kirill, responding to Herbert: > > do we need or even want that? IMHO the hierarchical > > concept CKRM was designed with, was also the reason > > for it being slow, unuseable and complicated > 1. cpusets are hierarchical already. So hierarchy is required. I think that CKRM has a harder time

Re: [PATCH] chaostables

2007-03-09 Thread Amin Azez
* Jan Engelhardt wrote, On 08/03/07 20:26: > xt_portscan needs to keep track of what packets the machine has already > seen. So on the first SYN, the connection is marked with "1". (Then we > send our SYN-ACK... and the connection turns ESTABLISHED.) The next > packet that is received will be

Re: Linux 2.6.19.2: maybe a bug inside the r8169 network driver (was Re: Linux 2.6.19.2: Freeze with CIFS mount)

2007-03-09 Thread Eric Lacombe
Just to alert potential readers, that the bug is now discussed there : http://bugzilla.kernel.org/show_bug.cgi?id=8143 Eric Lacombe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH] revoke: fix VM_REVOKED mask

2007-03-09 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> Fix VM_REVOKED mask which overlaps with VM_ALWAYSDUMP. Cc: Peter Zijlstra <[EMAIL PROTECTED]> Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- include/linux/mm.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index:

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Kirill Korotaev
>>There have been various projects attempting to provide resource >>management support in Linux, including CKRM/Resource Groups and UBC. > > > let me note here, once again, that you forgot Linux-VServer > which does quite non-intrusive resource management ... Herbert, do you care to send patches

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-09 Thread Serge Belyshev
Con Kolivas <[EMAIL PROTECTED]> writes: > On Friday 09 March 2007 18:53, Matt Mackall wrote: ... >> >> With a single non-parallel make running (all in cache, mind you), the >> system kicks up into just about 100% CPU usage at full speed. Desktop >> spinning becomes between 10x to 100x slower

Re: [PATCH] Software Suspend: Fix suspend when console is in VT_AUTO/KD_GRAPHICS mode

2007-03-09 Thread Pavel Machek
Hi! > When the console is in VT_AUTO/KD_GRAPHICS mode, switching to the > SUSPEND_CONSOLE fails, resulting in vt_waitactive() waiting indefinately > or until the task is interrupted. The following patch tests if a > console switch can occur in set_console() and returns early if a console >

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-09 Thread Christoph Hellwig
On Fri, Mar 09, 2007 at 12:02:19PM +0300, Andrey Panin wrote: > Kernel compilation with Intel compiler is (was ?) supported. > This patch will break it. It was only put in under the premise that they'll fix whatever breaks, we're not going to put any maintaince border on us to hack around broken

Re: [PATCH] drivers/media/video/videocodec.c: check kmalloc() return value.

2007-03-09 Thread Andrey Panin
On 067, 03 08, 2007 at 11:14:01PM -0800, Amit Choudhary wrote: > Description: Check the return value of kmalloc() in function > videocodec_build_table(), in file drivers/media/video/videocodec.c. > > Signed-off-by: Amit Choudhary <[EMAIL PROTECTED]> > > diff --git

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-09 Thread Andrey Panin
On 068, 03 09, 2007 at 07:53:08AM +, Christoph Hellwig wrote: > On Fri, Mar 09, 2007 at 09:50:56AM +0300, Andrey Panin wrote: > > On 068, 03 09, 2007 at 04:56:32PM +1100, Rusty Russell wrote: > > > __builtin_types_compatible_p() has been around since gcc 2.95, > > > > but it's not available

Re: should RTS init in serial core be tied to CRTSCTS

2007-03-09 Thread Russell King
On Thu, Mar 08, 2007 at 06:32:29PM -0500, Robin Getz wrote: > On Thu 8 Mar 2007 15:40, Russell King pondered: > > On Thu, Mar 08, 2007 at 03:23:39PM -0500, Robin Getz wrote: > > > Right - We both agree - And setting console=/dev/null in the bootargs > > > still does not help. > > > > Ok, good. > >

Re: [PATCH] swsusp: Disable nonboot CPUs before entering platform suspend

2007-03-09 Thread Pavel Machek
Hi! > > > Index: linux-2.6.21-rc2-mm2/kernel/power/disk.c > > > === > > > --- linux-2.6.21-rc2-mm2.orig/kernel/power/disk.c > > > +++ linux-2.6.21-rc2-mm2/kernel/power/disk.c > > > @@ -61,6 +61,7 @@ static void

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