Re: the usage of DEBUG_DRIVER seems ambiguous

2007-03-09 Thread Robert P. J. Day
On Fri, 9 Mar 2007, Artem Bityutskiy wrote: Randy Dunlap wrote: it's clearly a configuration variable, but it's also being used by itself in a few drivers/net/ source files. is that deliberate? The ones in drivers/net/ are just local driver debug controls. They happen to have the

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

2007-03-09 Thread Dmitry Torokhov
On 3/9/07, Andres Salomon [EMAIL PROTECTED] wrote: I haven't seen patches in your tree; are you waiting for me to do the cleanups and resend? Still in my private tree; will try to push out over the weekend. -- Dmitry - To unsubscribe from this list: send the line unsubscribe linux-kernel in

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

2007-03-09 Thread Jiri Kosina
On Fri, 9 Mar 2007, Dmitry Torokhov wrote: (II) evdev brain: Rescanning devices (12). (II) evdev brain: Rescanning devices (13). (II) evdev brain: Rescanning devices (14). in this kernel, but I don't know if this is relevant. After booting back to .20-mm2 everything is

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

2007-03-09 Thread Bill Davidsen
Linus Torvalds wrote: On Thu, 8 Mar 2007, Bill Davidsen wrote: Please, could you now rethink plugable scheduler as well? Even if one had to be chosen at boot time and couldn't be change thereafter, it would still allow a few new thoughts to be included. No. Really. I absolutely

Re: Sleeping thread not receive signal until it wakes up

2007-03-09 Thread Sergey Vlasov
On Thu, 8 Mar 2007 14:52:07 -0800 Luong Ngo wrote: [...] static irqreturn board_isr(int irq, void *dev_id, struct pt_regs* regs) { spin_lock(dev-lock); if (dev-irqMask (1 irqBit)) { // Set the interrupt event mask dev-irqEvent |= (1 irqBit); // Disable this irq, it

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

2007-03-09 Thread Benjamin LaHaise
On Fri, Mar 09, 2007 at 04:19:55AM -0800, 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: [SLUB 0/3] SLUB: The unqueued slab allocator V4

2007-03-09 Thread Mel Gorman
Note that I am amazed that the kernbench even worked. The results without slub_debug were not good except for IA64. x86_64 and ppc64 both blew up for a variety of reasons. The IA64 results were KernBench Comparison 2.6.21-rc2-mm2-clean

[PATCH 0/4 TRY#3] improve alternative instruction code and optimize get_cycles_sync

2007-03-09 Thread Joerg Roedel
This series of patches extend the alternative instructions framework on i386 and x86_64 architectures to support two alternative instruction replacements. This code is used together with the introduction of the X86_FEATURE_SYNC_RDTSC flag on i386 to simplify and optimize the get_cycles_sync()

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

2007-03-09 Thread Arnd Bergmann
On Friday 09 March 2007, Pekka J Enberg wrote: From: Serge E. Hallyn [EMAIL PROTECTED] Make revokeat and frevoke system calls available to user-space on s390. Signed-off-by: Serge E. Hallyn [EMAIL PROTECTED] Signed-off-by: Pekka Enberg [EMAIL PROTECTED] Looks good to me, but you really

[PATCH 1/4 TRY#3] i386: extend alternative instructions framework

2007-03-09 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] This patch extends the alternative instructions framework to support 2 alternative instructions. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] -- Joerg Roedel Operating System Research Center AMD Saxony LLC Co. KG diff --git

[PATCH 2/4 TRY#3] x86_64: changes to x86_64 architecture for alternative instruction improvements

2007-03-09 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] In this patch updates the x86_64 architecture to work with the changes to alternative instructions in i386 Signed-off-by: Joerg Roedel [EMAIL PROTECTED] -- Joerg Roedel Operating System Research Center AMD Saxony LLC Co. KG diff --git

[PATCH 3/4 TRY#3] i386: add the X86_FEATURE_SYNC_RDTSC flag

2007-03-09 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] This patch adds the X86_FEATURE_SYNC_RDTSC to the i386 architecture. This is very helpfull to simplify the get_cycles_sync() function and remove the #ifdefs from it. Signed-off-by: Joerg Roedel [EMAIL PROTECTED] -- Joerg Roedel Operating System Research

[PATCH 4/4 TRY#3] optimize and simplify get_cycles_sync()

2007-03-09 Thread Joerg Roedel
From: Joerg Roedel [EMAIL PROTECTED] This patch simplifies the get_cycles_sync() function by removing the #ifdefs from it. Further it introduces an optimization for AMD processors. There the RDTSCP instruction is used instead of CPUID;RDTSC which is helpfull if the kernel runs as a KVM guest.

dev_printk and new-style class devices

2007-03-09 Thread Jean Delvare
Hi Greg, all, As the new-style class devices (as opposed to old-style struct class_device) are becoming more widely used, I noticed that the dev_printk-based functions are not working properly with these. New-style class devices have no driver nor bus, almost by definition, and as a result

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

2007-03-09 Thread Matthew Garrett
On Fri, Mar 09, 2007 at 10:08:05AM +0100, Pavel Machek wrote: So... if current console is graphical, we leave X accessing the console... That's bad, because video state is not going to be restored...? A graphical console is not necessarily X. Is there any requirement for there to be a single

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

2007-03-09 Thread Pekka Enberg
Hi Martin, Martin Schwidefsky wrote: Yes, please put me or Heiko on CC if you add system calls to s390. Ok, sorry about that. I would expect akpm to send it to you guys though whenever revoke graduates from -mm and not merge it to mainline. Pekka - To

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

2007-03-09 Thread Martin Schwidefsky
On Fri, 2007-03-09 at 16:11 +0100, Arnd Bergmann wrote: Make revokeat and frevoke system calls available to user-space on s390. Signed-off-by: Serge E. Hallyn [EMAIL PROTECTED] Signed-off-by: Pekka Enberg [EMAIL PROTECTED] Looks good to me, but you really should through Martin, since

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

2007-03-09 Thread Andi Kleen
Rusty Russell [EMAIL PROTECTED] writes: __builtin_types_compatible_p() has been around since gcc 2.95, and we don't use it anywhere. This patch quietly fixes that. Using BUILD_BUG_ON_ZERO() would have been somewhat cleaner. -Andi - To unsubscribe from this list: send the line unsubscribe

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

2007-03-09 Thread Jiri Kosina
On Fri, 9 Mar 2007, Jiri Kosina wrote: If this is present also in vanilla and not only in -mm, could you please try reverting commits 4237081e573b99a48991aa71364b0682c444651c and d4ae650a904612ffb7edd3f28b69b022988d2466 and let me know if the situation gets any better? Hi Jiri, or even

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

2007-03-09 Thread Andrew Johnson
Matthew Garrett wrote: On Fri, Mar 09, 2007 at 10:08:05AM +0100, Pavel Machek wrote: So... if current console is graphical, we leave X accessing the console... That's bad, because video state is not going to be restored...? A graphical console is not necessarily X. Is there any

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

2007-03-09 Thread Benjamin LaHaise
On Fri, Mar 09, 2007 at 12:13:35PM +0100, Eric Dumazet 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 is :

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

2007-03-09 Thread Martin Schwidefsky
On Fri, 2007-03-09 at 17:41 +0200, Pekka Enberg wrote: Martin Schwidefsky wrote: Yes, please put me or Heiko on CC if you add system calls to s390. Ok, sorry about that. I would expect akpm to send it to you guys though whenever revoke graduates from -mm and not merge it to mainline. Yes,

Re: Possible struct pid leak from tty_io.c

2007-03-09 Thread Eric W. Biederman
Catalin Marinas [EMAIL PROTECTED] writes: On 08/03/07, Eric W. Biederman [EMAIL PROTECTED] wrote: Catalin Marinas [EMAIL PROTECTED] writes: I think it's only the pid_chain and rcu member that could be placed in a list and kmemleak scans the memory for these two offsets as well. I'll check

No handler for vector patches don't work on some systems

2007-03-09 Thread Chuck Ebbert
So far I've tried the simple survive having no handler for a vector patch and the preliminary 3-patch series that was in -mm for a while, and neither work on the Dell PowerEdge 29xx and 19xx systems. These servers have the Intel 5000X chipset with the 6700PXH PCI Hub with dual independent PCI-X

No handler for vector patches don't work on some systems

2007-03-09 Thread Chuck Ebbert
[sorry for the dup: this time to the right recipient] So far I've tried the simple survive having no handler for a vector patch and the preliminary 3-patch series that was in -mm for a while, and neither work on the Dell PowerEdge 29xx and 19xx systems. These servers have the Intel 5000X chipset

Re: [PATCH] chaostables

2007-03-09 Thread Petr Tesařík
jimmy píše v Pá 09. 03. 2007 v 13:37 +0530: Alan Cox wrote: Also note that the word 'chaostables' does not even appear in the patch, though xt_CHAOS does. Since we know that {xt,ipt}_[A-Z]+ are targets, we can safely assume that CHAOS does what it says - make fun of nmap. entropy ?

Re: the usage of DEBUG_DRIVER seems ambiguous

2007-03-09 Thread Stefan Richter
Robert P. J. Day wrote: On Fri, 9 Mar 2007, Artem Bityutskiy wrote: Randy Dunlap wrote: The ones in drivers/net/ are just local driver debug controls. They happen to have the same name as a (likely newer) kconfig symbol. Is there a real problem that needs to be fixed? Renaming them

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

2007-03-09 Thread Serge E. Hallyn
Quoting Martin Schwidefsky ([EMAIL PROTECTED]): On Fri, 2007-03-09 at 17:41 +0200, Pekka Enberg wrote: Martin Schwidefsky wrote: Yes, please put me or Heiko on CC if you add system calls to s390. Ok, sorry about that. I would expect akpm to send it to you guys though whenever revoke

Re: passing function pointers through platform devices?

2007-03-09 Thread NZG
On Wednesday 07 March 2007 11:55 am, David Brownell wrote: I'm developing an SPI- bus MMC/SD block driver translation layer. Another one? There's already been significant work in that area. See for example http://marc.theaimsgroup.com/?l=linux-kernelm=117000652529003w=2 Nice, I'll build

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-09 Thread Alan Stern
On Fri, 9 Mar 2007, Oliver Neukum wrote: Am Donnerstag, 8. März 2007 17:02 schrieb Alan Stern: On Thu, 8 Mar 2007, Oliver Neukum wrote: Hi, after a lightning bolt from high above I've been looking into refcounting the data structures drivers use to provide the data used to

Re: [RFC][PATCH 1/7] Resource counters

2007-03-09 Thread Herbert Poetzl
On Wed, Mar 07, 2007 at 10:19:05AM +0300, Pavel Emelianov wrote: Balbir Singh wrote: Pavel Emelianov wrote: Introduce generic structures and routines for resource accounting. Each resource accounting container is supposed to aggregate it, container_subsystem_state and its

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

2007-03-09 Thread Christoph Lameter
On Fri, 9 Mar 2007, Mel Gorman wrote: I'm not sure what you mean by per-order queues. The buddy allocator already has per-order lists. Somehow they do not seem to work right. SLAB (and now SLUB too) can avoid (or defer) fragmentation by keeping its own queues. - To unsubscribe from this list:

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Kirill Korotaev
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 resources (or even a single one) resulting in a DoS This is not true.

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 except

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

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: should RTS init in serial core be tied to CRTSCTS

2007-03-09 Thread Oleksiy Kebkal
2007/3/8, Russell King [EMAIL PROTECTED]: ... which occurs /after/ userspace is up and running, when sysfs is available. So putting it in sysfs is reasonable. Is it right place for serial settings? /sys/class/tty/ttySN/ How far is it reasonable to split termios settings to the attributes? 1)

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

2007-03-09 Thread Serge E. Hallyn
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): On Thu, 08 Mar 2007 17:58:16 EST, Mimi Zohar said: 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. (Hopefully this will

Re: [PATCH] Complain about missing system calls.

2007-03-09 Thread Andi Kleen
David Woodhouse [EMAIL PROTECTED] writes: Most system calls seem to get added to i386 first. This patch automatically generates a warning for any new system call which is implemented on i386 but not the architecture currently being compiled. On PowerPC at the moment, for example, it results

Re: [PATCH] Complain about missing system calls.

2007-03-09 Thread Jan-Benedict Glaw
On Fri, 2007-03-09 17:11:10 +0100, Andi Kleen [EMAIL PROTECTED] wrote: David Woodhouse [EMAIL PROTECTED] writes: Most system calls seem to get added to i386 first. This patch automatically generates a warning for any new system call which is implemented on i386 but not the architecture

Re: Possible struct pid leak from tty_io.c

2007-03-09 Thread Catalin Marinas
Eric, For a longer explanation, see the second part of this e-mail. In short, the patch below seems to fix this particular leak. I'm not sure that's the correct/complete fix as I seem to still get a 2nd report. Any info is welcomed. diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-09 Thread Oliver Neukum
Am Freitag, 9. März 2007 17:32 schrieb Alan Stern: On Fri, 9 Mar 2007, Oliver Neukum wrote: Am Donnerstag, 8. März 2007 17:02 schrieb Alan Stern: On Thu, 8 Mar 2007, Oliver Neukum wrote: Hi, after a lightning bolt from high above I've been looking into refcounting

Re: No handler for vector patches don't work on some systems

2007-03-09 Thread Eric W. Biederman
Chuck Ebbert [EMAIL PROTECTED] writes: [sorry for the dup: this time to the right recipient] So far I've tried the simple survive having no handler for a vector patch and the preliminary 3-patch series that was in -mm for a while, and neither work on the Dell PowerEdge 29xx and 19xx

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

2007-03-09 Thread Jiri Slaby
On 3/9/07, Jiri Kosina [EMAIL PROTECTED] wrote: On Fri, 9 Mar 2007, Jiri Kosina wrote: If this is present also in vanilla and not only in -mm, could you please try reverting commits 4237081e573b99a48991aa71364b0682c444651c and d4ae650a904612ffb7edd3f28b69b022988d2466 and let me know if the

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-09 Thread Herbert Poetzl
On Tue, Mar 06, 2007 at 02:00:36PM -0800, Andrew Morton wrote: On Tue, 06 Mar 2007 17:55:29 +0300 Pavel Emelianov [EMAIL PROTECTED] wrote: +struct rss_container { + struct res_counter res; + struct list_head page_list; + struct container_subsys_state css; +}; + +struct

Re: [PATCH] z85230: Fix FIFO handling

2007-03-09 Thread Jeff Garzik
Alan Cox wrote: We must exit immediately on a FIFO fill not take the end of packet path otherwise each underrun in PIO transmit mode causes a runt packet and the data is lost. Signed-off-by: Alan Cox [EMAIL PROTECTED] applied - To unsubscribe from this list: send the line unsubscribe

Re: Possible struct pid leak from tty_io.c

2007-03-09 Thread Catalin Marinas
On 09/03/07, Eric W. Biederman [EMAIL PROTECTED] wrote: Catalin Marinas [EMAIL PROTECTED] writes: On 08/03/07, Eric W. Biederman [EMAIL PROTECTED] wrote: Catalin Marinas [EMAIL PROTECTED] writes: I think it's only the pid_chain and rcu member that could be placed in a list and kmemleak

Re: [PATCH] i2c-core: i2c bitbang gpio structure

2007-03-09 Thread Jean Delvare
Hi Bryan, On Fri, 09 Mar 2007 18:13:21 +0800, Wu, Bryan wrote: 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

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-09 Thread Dmitry Torokhov
On 3/9/07, Oliver Neukum [EMAIL PROTECTED] wrote: Am Freitag, 9. März 2007 17:32 schrieb Alan Stern: On Fri, 9 Mar 2007, Oliver Neukum wrote: Am Donnerstag, 8. März 2007 17:02 schrieb Alan Stern: On Thu, 8 Mar 2007, Oliver Neukum wrote: Hi, after a lightning bolt from high

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

2007-03-09 Thread Pekka Enberg
On Fri, Mar 09, 2007 at 12:13:35PM +0100, Eric Dumazet 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 is :

Re: Possible struct pid leak from tty_io.c

2007-03-09 Thread Eric W. Biederman
Catalin Marinas [EMAIL PROTECTED] writes: Eric, For a longer explanation, see the second part of this e-mail. In short, the patch below seems to fix this particular leak. I'm not sure that's the correct/complete fix as I seem to still get a 2nd report. Any info is welcomed. Sure. I was

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

2007-03-09 Thread Jiri Slaby
On 3/9/07, Jiri Slaby [EMAIL PROTECTED] wrote: I don't know if this is related, but my notebook keyboard doesn't emit numbers with numlock (not even directly Fn+blue number) anymore with -rc3 (note that LED is flashing when numlock is on). I think -rc2 worked fine (I'm going to check this too).

Re: [PATCH] fs/jffs2/scan.c: Fix error-path leak

2007-03-09 Thread Artem Bityutskiy
Please, do not forget look at MAINTAINERS and CC the maintainer. David is CCed. Amit Choudhary wrote: Description: Fix error-path leak in function jffs2_scan_medium(), in file fs/jffs2/scan.c Signed-off-by: Amit Choudhary [EMAIL PROTECTED] diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c index

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-09 Thread Oliver Neukum
Am Freitag, 9. März 2007 18:02 schrieb Dmitry Torokhov: I think we already have all refcounting that is needed. What is missing is subsystem-provided -release() hooks for drivers to release driver-specific resources when a device finally goes away. This is an interesting idea. Is it nice to

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

2007-03-09 Thread Christoph Lameter
On Fri, 9 Mar 2007, Mel Gorman wrote: The results without slub_debug were not good except for IA64. x86_64 and ppc64 both blew up for a variety of reasons. The IA64 results were Yuck that is the dst issue that Adrian is also looking at. Likely an issue with slab merging and RCU frees.

Re: Trouble using some (fast) compact flash as ide device on an embedded system

2007-03-09 Thread Marco Lazzarotto
Hallo! :-) Bartlomiej Zolnierkiewicz ha scritto: Czesc! On Tuesday 06 March 2007, Marco Lazzarotto wrote: Ciao! Bartlomiej Zolnierkiewicz ha scritto: On Friday 02 March 2007, Pavel Machek wrote: Hi! As I reported in bug 8036 in bugzilla.kernel.org, Hardware Environment: - Use a

Re: No handler for vector patches don't work on some systems

2007-03-09 Thread Chuck Ebbert
Eric W. Biederman wrote: Chuck Ebbert [EMAIL PROTECTED] writes: So far I've tried the simple survive having no handler for a vector patch and the preliminary 3-patch series that was in -mm for a while, and neither work on the Dell PowerEdge 29xx and 19xx systems. These servers have the

Re: [PATCH] spi subsystem: destroy the spi_bitbang workqueue only after the spi master is unregistered

2007-03-09 Thread Chris Lesiak
From: Chris Lesiak [EMAIL PROTECTED] This patch fixes a bug in the cleanup of an spi_bitbang bus. The workqueue associated with the bus was destroyed before the call to spi_unregister_master. That meant that spi devices on that bus would be unable to do IO in their remove method. The shutdown

Re: [PATCH] chaostables

2007-03-09 Thread Jan Engelhardt
Hello, On Mar 9 2007 11:54, Amin Azez wrote: Adding a member to the ip_conntrack/nf_conntrack and sk_buff struct would increase the struct sizes, and that would penalize users who do not intend to use xt_portscan. I understand what you say but it sounds a bit like saying: but we didn't make

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-09 Thread Dmitry Torokhov
On 3/9/07, Oliver Neukum [EMAIL PROTECTED] wrote: Am Freitag, 9. März 2007 18:02 schrieb Dmitry Torokhov: I think we already have all refcounting that is needed. What is missing is subsystem-provided -release() hooks for drivers to release driver-specific resources when a device finally goes

Re: [PATCH 1/2] ibmebus: dynamic addiiton/removal of adapters, uevent, root device based on struct device

2007-03-09 Thread Joachim Fenkes
John Rose [EMAIL PROTECTED] wrote on 06.03.2007 22:51:42: We are seeing several build errors when attempting to apply this to 2.6.21-rc2: Hot Damn! I did my test compiles with gcc 3.3, and you obviously compiled with gcc 4.1 - I only got a warning where you got an error, and that warning

2.6.20-rc3: Clocksource tsc unstable

2007-03-09 Thread Jiri Slaby
Hi. I got this message after suspend;resume on my notebook Clocksource tsc unstable (delta = -154983451 ns) What other info should I post, who should I Cc? regards, -- http://www.fi.muni.cz/~xslaby/Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby

Re: [PATCH] i2c-core: i2c bitbang gpio structure

2007-03-09 Thread David Brownell
On Friday 09 March 2007 8:55 am, Jean Delvare wrote: +struct i2c_bitbang_gpio { + int sda; + int scl; +}; ... Also, this structure alone isn't very useful. I'm waiting to see drivers actually making use of it before I will consider merging this patch at all. The notion would

Re: No handler for vector patches don't work on some systems

2007-03-09 Thread Eric W. Biederman
Chuck Ebbert [EMAIL PROTECTED] writes: Eric W. Biederman wrote: Chuck Ebbert [EMAIL PROTECTED] writes: So far I've tried the simple survive having no handler for a vector patch and the preliminary 3-patch series that was in -mm for a while, and neither work on the Dell PowerEdge 29xx and

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

2007-03-09 Thread Eric Dumazet
On Friday 09 March 2007 17:11, Benjamin LaHaise wrote: On Fri, Mar 09, 2007 at 12:13:35PM +0100, Eric Dumazet 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

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

2007-03-09 Thread Linus Torvalds
On Fri, 9 Mar 2007, Christoph Hellwig wrote: 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 propritary compilers. Well, since Rusty's macro was hoddible *anyway*, I don't think I'd apply it

[PATCH 1/3] ibmebus: whitespace fixes

2007-03-09 Thread Joachim Fenkes
This fixes a lot of whitespace in ibmebus.[ch] Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- This patchset applies on top of a vanilla 2.6.20 kernel. No dependencies on other patches except for part 3/3. This is a repost of my earlier patchset and fixes a stupid compile error.

[PATCH 2/3] ibmebus: dynamic addition/removal of adapters, some code cleanup

2007-03-09 Thread Joachim Fenkes
This adds two sysfs attributes to /sys/bus/ibmebus which can be used to notify the ebus driver of added / removed ebus devices in the OF device tree. Echoing the device's location code (as found in the OFDT ibm,loc-code property) into the probe attribute will notify ebus of addition of the device

ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-09 Thread Ingo Molnar
* Linus Torvalds [EMAIL PROTECTED] wrote: Sure, that's clean, From that perspective the apic is a bunch of registers backed by a state machine or something. I think you could do much worse than just decide to pick the IO-APIC/lapic as your virtual interrupt controller model. So I do

[PATCH 3/3] ibmebus: uevent support

2007-03-09 Thread Joachim Fenkes
This adds uevent support to ibmebus using the generic of_device_uevent() function. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- I split this change into a separate patch because it depends on another patch against 2.6.20, submitted by Sylvain Munaut:

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-09 Thread Mark Lord
Mmm.. when it's good, it's *really* good. My desktop feels snappier and all of that. No noticeable jerkiness of windows/scrolling, which I *do* observe with the stock scheduler. But when it's bad, it stinks. Like when a make -j2 kernel rebuild is happening in a background window This is on a

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

2007-03-09 Thread Avi Kivity
Joerg Roedel wrote: From: Joerg Roedel [EMAIL PROTECTED] This patch simplifies the get_cycles_sync() function by removing the #ifdefs from it. Further it introduces an optimization for AMD processors. There the RDTSCP instruction is used instead of CPUID;RDTSC which is helpfull if the kernel

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

2007-03-09 Thread Linus Torvalds
On Fri, 9 Mar 2007, Bill Davidsen wrote: But it IS okay for people to make special-case schedulers. Because it's MY machine, Sure. Go wild. It's what open-source is all about. I'm not stopping you. I'm just not merging code that makes the scheduler unreadable, even hard to understand,

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

2007-03-09 Thread Linus Torvalds
On Fri, 9 Mar 2007, Eric Dumazet wrote: CAUTION : d_path() logic is quite tricky. The correct way to return for example Hello is to put it at the end of the buffer, and returns a pointer to the first char. Yeah, it's subtle, since it wants to use a single buffer, and

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-09 Thread Jeffrey Hundstad
Mark Lord wrote: Mmm.. when it's good, it's *really* good. My desktop feels snappier and all of that. No noticeable jerkiness of windows/scrolling, which I *do* observe with the stock scheduler. But when it's bad, it stinks. Like when a make -j2 kernel rebuild is happening in a background

2.6.21-rc3-rt0

2007-03-09 Thread Michal Piotrowski
Hi, I get a lot of NOHZ: local_softirq_pending 02 and I have noticed some swsuspend problems. Disabling non-boot CPUs ... CPU1 playing dead [c0105114] dump_trace+0x7f/0x229 [c0105397] show_trace_log_lvl+0x35/0x54 [c01053e2] show_trace+0x2c/0x2e [c0105515] dump_stack+0x29/0x2b [c010213a]

Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-09 Thread Linus Torvalds
On Fri, 9 Mar 2007, Ingo Molnar wrote: yes - but we already support the raw hardware ABI, in the native kernel. Why do you continue to call paravirt an ABI? We got over that. It's not. It's an API. VMI is an ABI. As long as you try to confuse the two, there's no point to the discussion.

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-09 Thread Matt Mackall
On Fri, Mar 09, 2007 at 07:39:05PM +1100, Con Kolivas wrote: On Friday 09 March 2007 19:20, Matt Mackall wrote: And I've just rebooted with NO_HZ and things are greatly improved. At idle, Beryl effects are silky smooth (possibly better than stock) and shows less load. Under 'make', Beryl is

Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-09 Thread Andi Kleen
On Friday 09 March 2007 19:02, Ingo Molnar wrote: _1463_ hooks, spread out all around the x86 arch. They are not all different hooks though, just many call site of the same. Also most of them are well defined to just match what the instructions do. paravirt_ops has under hundred entries right

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Sam Ravnborg
On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: On Mar 8 2007 22:25, Sam Ravnborg wrote: Subject: Re: [PATCH] Fix building kernel under Solaris Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he did so on

Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-09 Thread Chris Wright
* Ingo Molnar ([EMAIL PROTECTED]) wrote: i claim that when the 'API cut' is done at the right level then no more than say 100 hooks would be needed - with virtually zero kernel size increase. We've got all the right highlevel abstractions: genirq, gtod, clockevents. Whatever is missing at

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

2007-03-09 Thread Andrew Johnson
On Fri, 2007-09-03 at 15:34 +, Matthew Garrett wrote: On Fri, Mar 09, 2007 at 10:08:05AM +0100, Pavel Machek wrote: So... if current console is graphical, we leave X accessing the console... That's bad, because video state is not going to be restored...? A graphical console is not

Linux 2.6.20.2

2007-03-09 Thread Greg KH
We (the -stable team) are announcing the release of the 2.6.20.2 kernel. It contains a metric buttload of bugfixes and security updates, so all 2.6.20 users are recommended to upgrade. The diffstat and short summary of the fixes are below. I'll also be replying to this message with a copy of the

[PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread Haavard Skinnemoen
This is a very simple bitbanging i2c bus driver utilizing the new arch-neutral GPIO API. Useful for chips that don't have a built-in i2c controller, additional i2c busses, or testing purposes. To use, include something similar to the following in the board-specific setup code: #include

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

2007-03-09 Thread Andrew
On Thu, March 8, 2007 11:28 pm, Len Brown wrote: On Monday 05 March 2007 05:35, Antonino A. Daplas wrote: Looks like I got fooled by the negative logic for the nvidia_bugs(). Please test this patch -- it should fix it, as well as simplify the code a bit. thanks, -Len Yep. You can knock

Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-09 Thread Ingo Molnar
* Linus Torvalds [EMAIL PROTECTED] wrote: On Fri, 9 Mar 2007, Ingo Molnar wrote: yes - but we already support the raw hardware ABI, in the native kernel. Why do you continue to call paravirt an ABI? We got over that. It's not. It's an API. VMI is an ABI. Unfortunately i still

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread David Brownell
On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: This is a very simple bitbanging i2c bus driver utilizing the new arch-neutral GPIO API. Useful for chips that don't have a built-in i2c controller, additional i2c busses, or testing purposes. That's the right idea! But remember that

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-09 Thread Alan Stern
On Fri, 9 Mar 2007, Dmitry Torokhov wrote: On 3/9/07, Oliver Neukum [EMAIL PROTECTED] wrote: Am Freitag, 9. März 2007 18:02 schrieb Dmitry Torokhov: I think we already have all refcounting that is needed. What is missing is subsystem-provided -release() hooks for drivers to release

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

2007-03-09 Thread Rafael J. Wysocki
On Friday, 9 March 2007 13:29, Heiko Carstens wrote: 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

[PATCH 1/1] hotplug cpu: migrate a task within its cpuset

2007-03-09 Thread Cliff Wickman
From: Cliff Wickman [EMAIL PROTECTED] (this is a second submission -- the first was from a work area back porting to an older release) When a cpu is disabled, move_task_off_dead_cpu() is called for tasks that have been running on that cpu. Currently, such a task is migrated: 1) to any cpu on

Re: Sleeping thread not receive signal until it wakes up

2007-03-09 Thread Luong Ngo
On 3/9/07, Sergey Vlasov [EMAIL PROTECTED] wrote: On Thu, 8 Mar 2007 14:52:07 -0800 Luong Ngo wrote: [...] static irqreturn board_isr(int irq, void *dev_id, struct pt_regs* regs) { spin_lock(dev-lock); if (dev-irqMask (1 irqBit)) { // Set the interrupt event mask

Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-09 Thread Linus Torvalds
On Fri, 9 Mar 2007, Ingo Molnar wrote: Unfortunately i still dont see where i'm wrong, and i'm really trying to understand your argument. Is your argument that as long as an ABI (VMI) is never directly used but only used via wrapper functions (paravirt_ops) No. My argument is utternly

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

2007-03-09 Thread johan henriksson
Benjamin Herrenschmidt wrote: - 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

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

2007-03-09 Thread Rafael J. Wysocki
Hi, On Friday, 9 March 2007 09:54, Pavel Machek wrote: 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 @@

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-09 Thread Oliver Neukum
Am Freitag, 9. März 2007 20:32 schrieb Alan Stern: On Fri, 9 Mar 2007, Dmitry Torokhov wrote: On 3/9/07, Oliver Neukum [EMAIL PROTECTED] wrote: Am Freitag, 9. März 2007 18:02 schrieb Dmitry Torokhov: I think we already have all refcounting that is needed. What is missing is

Re: refcounting drivers' data structures used in sysfs buffers

2007-03-09 Thread Alan Stern
On Fri, 9 Mar 2007, Alan Stern wrote: Oliver, your idea won't work either. Think about what would happen if someone did rmmod driver_module /sys/devices/.../attribute_file The rmmod process would never actually read the attribute, so until it exited the private data structure

Re: [PATCH] Bitbanging i2c bus driver using the GPIO API

2007-03-09 Thread Russell King
On Fri, Mar 09, 2007 at 11:30:12AM -0800, David Brownell wrote: On Friday 09 March 2007 10:48 am, Haavard Skinnemoen wrote: This is a very simple bitbanging i2c bus driver utilizing the new arch-neutral GPIO API. Useful for chips that don't have a built-in i2c controller, additional i2c

Re: ABI coupling to hypervisors via CONFIG_PARAVIRT

2007-03-09 Thread Ingo Molnar
* Linus Torvalds [EMAIL PROTECTED] wrote: Similarly, maybe the VMI ABI doesn't allow for something that the kernel wants to do efficiently. Big deal. What relevance does that have to do with anything, except the fact that if true, the VMWare people are screwed? It's *their* problem. i

Re: 2.6.21-rc3-mm1 RSDL results

2007-03-09 Thread Con Kolivas
On Saturday 10 March 2007 05:27, Matt Mackall wrote: On Fri, Mar 09, 2007 at 07:39:05PM +1100, Con Kolivas wrote: On Friday 09 March 2007 19:20, Matt Mackall wrote: And I've just rebooted with NO_HZ and things are greatly improved. At idle, Beryl effects are silky smooth (possibly better

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Jan Engelhardt
On Mar 9 2007 20:00, Sam Ravnborg wrote: On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he did so on SunOS 4.8, I did it on 5.11_snv39, yielding a bigger

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