Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Jan Engelhardt
On Apr 1 2007 11:10, Ken Chen wrote: > On 4/1/07, Tomas M <[EMAIL PROTECTED]> wrote: > >> I believe that IF you _really_ need to preserve the max_loop module >> parameter, then the parameter should _not_ be ignored, rather it >> should have the same function like before - to limit the loop

Re: [PATCH 07/16] kconfig-dynamic-frequency.diff

2007-04-01 Thread Jan Engelhardt
On Apr 1 2007 14:52, Kyle Moffett wrote: > > On Apr 01, 2007, at 14:42:59, Jan Engelhardt wrote: >> But I would have to ask: Why do we need 100/250/300/1000 if there >> is anyway an input field for the user to enter - s/he should read >> the help text for Known Good values, should not s/he? > >

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Jeff Dike
On Sun, Apr 01, 2007 at 12:53:55PM +0200, [EMAIL PROTECTED] wrote: > not sure if this is a real issue and if it`s UML or loop related - > but how is low-memory situations being handled when creating loop > devices ? It's UML-related - it's not dealing with the case of a kernel thread failing

Re: my first janitorial

2007-04-01 Thread Jan Engelhardt
On Apr 1 2007 08:17, Willy Tarreau wrote: > > - your patch was cut and cannot apply to anything. A proper patch starts > with line beginning with "---" line, followed by a line with "+++", > both indicating the file your patch is supposed to apply to. Make your > patch with one

Re: 2.6.21-rc5-mm3

2007-04-01 Thread Andrew Morton
On Sun, 01 Apr 2007 18:00:12 +0200 Michal Piotrowski <[EMAIL PROTECTED]> wrote: > Andrew Morton napisał(a): > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm3/ > > > > BUG: at /mnt/md0/devel/linux-mm/arch/i386/kernel/smp.c:571 >

Re: Rebuilding and checksumming the Linux kernel

2007-04-01 Thread Jan Engelhardt
On Apr 1 2007 15:56, Edgardo Hames wrote: > > I'm working on a project with teams spread across the world and we all > work on the same repository patching the kernel and then integrating > into a common main branch. Even though we label the source code, we > would like to make sure that we are

Re: Rebuilding and checksumming the Linux kernel

2007-04-01 Thread Arjan van de Ven
On Sun, 2007-04-01 at 15:56 -0300, Edgardo Hames wrote: > I'm working on a project with teams spread across the world and we all > work on the same repository patching the kernel and then integrating > into a common main branch. Even though we label the source code, we > would like to make sure

Re: [PATCH 2/16] vt-pure-colors.diff

2007-04-01 Thread James Bruce
Jan Engelhardt wrote: Have the Linux kernel set a new VGA palette for the first 16 colors. The new values reduce the saturation (white component) and therefore increase contrast. While the patch seems fine, this comment is not correct. The patch is decreasing the *brightness* in order to

Re: 2.6.21-rc5: Thinkpad X60 gets critical thermal shutdowns

2007-04-01 Thread Kyle Moffett
On Mar 31, 2007, at 02:36:08, Jeremy Fitzhardinge wrote: When I run 2.6.21-rc5 + Andi's x86 patches + paravirt_ops patches, I've been getting my machine shut down with critical thermal shutdown messages: Mar 30 23:19:03 localhost kernel: ACPI: Critical trip point Mar 30 23:19:03 localhost

Re: [RFC PATCH 0/5] x86_64: enable clockevents and dynticks

2007-04-01 Thread Chris Wright
* Thomas Gleixner ([EMAIL PROTECTED]) wrote: > On Sat, 2007-03-31 at 01:31 -0700, Chris Wright wrote: > > This series converts x86_64 timers to clockevents drivers > > and then enables dynticks. There's some minor cleanups along > > the way. The lapic broadcast mechanism is untested, I'm sure it

Rebuilding and checksumming the Linux kernel

2007-04-01 Thread Edgardo Hames
I'm working on a project with teams spread across the world and we all work on the same repository patching the kernel and then integrating into a common main branch. Even though we label the source code, we would like to make sure that we are all building the same kernel by running md5sum on the

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread devzero
> Well, the point of an upper limit might be to keep loop devices from > chewing up too much memory on a system. IE: To fail allocating more > loopdevs before you run OOM and start killing random userspace > processes. ok, sounds reasonable. but - not very sure here, but don`t you need

Re: [PATCH 07/16] kconfig-dynamic-frequency.diff

2007-04-01 Thread Kyle Moffett
On Apr 01, 2007, at 14:42:59, Jan Engelhardt wrote: But I would have to ask: Why do we need 100/250/300/1000 if there is anyway an input field for the user to enter - s/he should read the help text for Known Good values, should not s/he? Actually, probably what should be done is make the

Re: [patch 13/13] signal/timer/event fds v9 - KAIO eventfd support example ...

2007-04-01 Thread Davide Libenzi
On Sun, 1 Apr 2007, Avi Kivity wrote: > Davide Libenzi wrote: > > On Sun, 1 Apr 2007, Avi Kivity wrote: > > > > > > > What is the motivation for adding aio_resfd to an individual iocb instead > > > of > > > the entire io context? It seems redundant, as you can already create > > > multiple >

Re: [PATCH 07/16] kconfig-dynamic-frequency.diff

2007-04-01 Thread Jan Engelhardt
On Apr 1 2007 14:39, Kyle Moffett wrote: >> >> Make HZ fully configurable through menuconfig. >> >> Already posted at http://lkml.org/lkml/2006/6/18/111 > > Instead of that, what about something like this instead: NOTE: I know my > mailer mangles diffs and this one was hand-edited based on

Re: [PATCH 14/16] kconfig-allow-override.diff

2007-04-01 Thread Sam Ravnborg
This part of kconfig is taken care of by Roman Zippel. Kept the full mail for his reference. Sam On Sun, Apr 01, 2007 at 08:17:32PM +0200, Jan Engelhardt wrote: > > Allow config variables in .config to override earlier ones in the same > file. In other words, > > #

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Kyle Moffett
On Apr 01, 2007, at 14:36:11, [EMAIL PROTECTED] wrote: Blame on the dual meaning of max_loop that it uses currently: to initialize a set of loop devices and as a side effect, it also sets the upper limit. People are complaining about the former constrain, isn't it? Does anyone uses the 2nd

Re: [PATCH] fix dependency generation

2007-04-01 Thread Sam Ravnborg
On Sat, Mar 31, 2007 at 06:11:36PM +0200, Roman Zippel wrote: > Hi, > > On Sat, 31 Mar 2007, Sam Ravnborg wrote: > > > The problem is that tristate symbol represent three values. > > =n => CONFIG_SYMBOL is undefined > > =y => CONFIG_SYMBOL is defined > > =m => COMFIG_SYMBOL_MODULE is defined > >

Re: [patch 13/13] signal/timer/event fds v9 - KAIO eventfd support example ...

2007-04-01 Thread Avi Kivity
Davide Libenzi wrote: On Sun, 1 Apr 2007, Avi Kivity wrote: What is the motivation for adding aio_resfd to an individual iocb instead of the entire io context? It seems redundant, as you can already create multiple io contexts to wait on. To add it to the context, you need to either

Re: [PATCH 15/16] use-regular-eth-suffix.diff

2007-04-01 Thread Kyle Moffett
On Apr 01, 2007, at 14:18:12, Jan Engelhardt wrote: Some radio adapter drivers wrongly(?) name their devices "wlan%d" instead of "eth%d" (if you ask me, it should be %u - but not today). Technically, they operate like Ethernet, and in fact, running `/ sbin/ip a` shows "link/ether" instead of

Re: [PATCH 07/16] kconfig-dynamic-frequency.diff

2007-04-01 Thread Kyle Moffett
On Apr 01, 2007, at 14:15:20, Jan Engelhardt wrote: Make HZ fully configurable through menuconfig. Already posted at http://lkml.org/lkml/2006/6/18/111 Instead of that, what about something like this instead: NOTE: I know my mailer mangles diffs and this one was hand-edited based on

Re: [PATCH] kbuild: fix dependency generation

2007-04-01 Thread Sam Ravnborg
> > + * the files representing changed config options are touched > > + * which thern let make pick up the changes and the files that uses > ^ then? ^ use? > > + * the config symbols are rebuild. > ^ rebuilt? >

Re: 2.6.21-rc5-rt6 make errors

2007-04-01 Thread Ingo Molnar
* Rui Nuno Capela <[EMAIL PROTECTED]> wrote: > Hi, > > Just tried to build 2.6.21-rc5-rt6 and it is failing on build time. > Just to let you know that -rt5 was doing fine with very same .config . oops - indeed! I've uploaded -rc5-rt7 with the fix. (it includes a few other fixes as well)

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread devzero
>Blame on the dual meaning of max_loop that it uses currently: to >initialize a set of loop devices and as a side effect, it also sets >the upper limit. People are complaining about the former constrain, >isn't it? Does anyone uses the 2nd meaning of upper limit? > >- Ken what sense would it

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Pavel Machek
Hi! > > Problem is that suspending _with_ removable mass storage devices > > attached just will not work. User will unplug them, then complain > > about corruption. Advanced user will unplug them, work with them > > somewhere else, replug them, then loose filesystem. > > > > Feel free to send

[KJ][PATCH] ROUND_UP macro cleanup in drivers/net/e1000

2007-04-01 Thread Milind Arun Choudhary
E1000_ROUNDUP macro cleanup, use ALIGN Signed-off-by: Milind Arun Choudhary <[EMAIL PROTECTED]> --- e1000.h |3 --- e1000_ethtool.c |6 +++--- e1000_main.c| 10 +- e1000_param.c |4 ++-- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git

Re: my first janitorial

2007-04-01 Thread Jiri Slaby
Alan Cox napsal(a): > On Sat, 31 Mar 2007 22:24:12 -0700 > "Pedram M" <[EMAIL PROTECTED]> wrote: > >> How about this one? Am I doing it right now? >> If not, please try to explain more to me what I am >> doing wrong. > > You need to hold a reference to the PCI device for the entire duration it >

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Pavel Machek
Hi! > > Problem is that suspending _with_ removable mass storage devices > > attached just will not work. User will unplug them, then complain > > about corruption. Advanced user will unplug them, work with them > > somewhere else, replug them, then loose filesystem. > > > > Feel free to send

Re: [patch] enhance initcall_debug, measure latency

2007-04-01 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > Subject: [patch] enhance initcall_debug, measure latency > From: Ingo Molnar <[EMAIL PROTECTED]> > > enhance the initcall_debug boot option: > > - measure the time the initcall took to execute and report >it in units of milliseconds. some boot

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Alan Stern
On Sun, 1 Apr 2007, Pavel Machek wrote: > Hi! > > > > > > The GNOME hath spoken? > > > > > > > I also thought about that, > > > > > > > > I think that the best solution is still to hide > > > > connect/disconnect of usb devices from userspace (now it also causes > > >

[PATCH 16/16] warn-on-kthread-name-truncation.diff

2007-04-01 Thread Jan Engelhardt
Andrew Morton noted in http://lkml.org/lkml/2006/6/30/247 """We do occasionally hit task_struct.comm[] truncation, when people use "too-long-a-name%d" for their kernel thread names.""" This patch warns when such a truncation happens. Already posted on

[PATCH 15/16] use-regular-eth-suffix.diff

2007-04-01 Thread Jan Engelhardt
Some radio adapter drivers wrongly(?) name their devices "wlan%d" instead of "eth%d" (if you ask me, it should be %u - but not today). Technically, they operate like Ethernet, and in fact, running `/sbin/ip a` shows "link/ether" instead of "link/ieee80211". This patch renames them back, but I

[PATCH 12/16] cifs-use-mutex.diff

2007-04-01 Thread Jan Engelhardt
Verbatim copy of original mail: *>>> >From http://lkml.org/lkml/2006/9/2/86 The recent change to "allow Windows blocking locks to be cancelled via a CANCEL_LOCK call" introduced a new semaphore in struct cifsFileInfo, lock_sem. However, semaphores used as mutexes are deprecated these days, and

[PATCH 13/16] show-pipesize-in-stat.diff

2007-04-01 Thread Jan Engelhardt
Show the fill status of a pipe (in bytes) when stat'ing one. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> fs/stat.c | 31 ++- include/linux/un.h|2 ++ include/net/af_unix.h |3 +++ net/unix/af_unix.c| 10 ++ 4 files

[PATCH 14/16] kconfig-allow-override.diff

2007-04-01 Thread Jan Engelhardt
Allow config variables in .config to override earlier ones in the same file. In other words, # CONFIG_SECURITY is not defined CONFIG_SECURITY=y will activate it. This makes it a bit easier to do (cat original-config myconfig myconfig2 ... >.config) and run menuconfig

[PATCH 07/16] kconfig-dynamic-frequency.diff

2007-04-01 Thread Jan Engelhardt
Make HZ fully configurable through menuconfig. Already posted at http://lkml.org/lkml/2006/6/18/111 Signed-off-by: Jan Engelhardt Cc: Alan Cox <[EMAIL PROTECTED]> (http://lkml.org/lkml/2006/11/8/307) Cc: Sam Ravnborg <[EMAIL PROTECTED]> Kconfig.hz | 70

Re: 2.6.21-rc5: swsusp: Not enough free memory

2007-04-01 Thread Jiri Slaby
Rafael J. Wysocki napsal(a): > On Thursday, 29 March 2007 09:44, Jiri Slaby wrote: >> Hi, >> >> I'm getting this while trying to swsups the machine in -rc5, -rc4 is fine: >> >> Disabling non-boot CPUs >> CPU 1 is now offline >> SMP alternatives: switching to UP code >> CPU1 is down >> swsusp:

[PATCH 11/16] samba-eintr-fix.diff

2007-04-01 Thread Jan Engelhardt
From: Dave Jones Already posted at http://lkml.org/lkml/2005/7/7/255 Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> Cc: Dave Jones request.c |1 + 1 file changed, 1 insertion(+) Index: linux-2.6.21-rc5/fs/smbfs/request.c

[patch] enhance initcall_debug, measure latency

2007-04-01 Thread Ingo Molnar
Subject: [patch] enhance initcall_debug, measure latency From: Ingo Molnar <[EMAIL PROTECTED]> enhance the initcall_debug boot option: - measure the time the initcall took to execute and report it in units of milliseconds. - show the return code of initcalls (useful to see failures and

[PATCH 09/16] zlib-decompression-status.diff

2007-04-01 Thread Jan Engelhardt
Shows some stars during decompression. This is particularly useful on old 386s where one asterisk is probably printed every second - making the long linux and initramfs uncompress progress more evident. Not compile tested outside {i386, x86_64} - don't have other machines. Signed-off-by: Jan

[PATCH 08/16] console-printk-level.diff

2007-04-01 Thread Jan Engelhardt
Allow the printk level to be set using a "conlevel=" parameter. (Or is there already a different bootoption that does the same thing?) Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> printk.c |9 + 1 file changed, 9 insertions(+) Index: linux-2.6.21-rc5/kernel/printk.c

[PATCH 10/16] show-partitions-on-mount-error.diff

2007-04-01 Thread Jan Engelhardt
Display all possible partitions when the root filesystem is not mounted. This helps to track spell'o's and missing drivers. From: David Alan Gilbert, http://lkml.org/lkml/2005/2/26/92 Updated to work with newer kernels. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> block/genhd.c

[PATCH 3/16] vt-underline-color.diff

2007-04-01 Thread Jan Engelhardt
Add color support to the "underline" and "italic" attributes as in OpenBSD/NetBSD-style (vt220) and xterm. Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> drivers/char/vt.c | 34 -- drivers/video/console/mdacon.c |3 ++-

[PATCH 06/16] isofs-add-write-bit.diff

2007-04-01 Thread Jan Engelhardt
Add %S_IWUGO bit for isofs. Makes it easier to poke on files after they have been copied from an ISO-9660 filesystem because they are ofte copied in `cp -p` or perhaps `rsync -p` mode. They are still not writable though, and isofs will continue to correctly return -EROFS for writes.

[PATCH 5/16] fix-kthread-niceness.diff

2007-04-01 Thread Jan Engelhardt
Fix kevent's childs priority greedy-ness. Such tasks were always scheduled at nice level -5 and, at that time, udev stole us the CPU time with -5. Already posted at http://lkml.org/lkml/2005/1/10/85 Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> Cc: Chris Wright <[EMAIL PROTECTED]> kmod.c

[PATCH 1/16] vt-sysfs-for-colors.diff

2007-04-01 Thread Jan Engelhardt
Allow for the palette to be exposed and changed via sysfs. A call to /usr/bin/reset will slurp the new definitions in for the current console. Already posted at http://lkml.org/lkml/2006/1/15/149 Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> vt.c |4 1 file changed, 4

[PATCH 4/16] vt-printk-color.diff

2007-04-01 Thread Jan Engelhardt
Colored kernel message output Gives kernel messages on the console an OpenBSD-esque color to distinguish them from regular tty (as long as that's not colored too) text. Inspired by cko (iirc http://freshmeat.net/p/cko/), but better implementation done by myself (handles newlines correctly).

[PATCH 2/16] vt-pure-colors.diff

2007-04-01 Thread Jan Engelhardt
Have the Linux kernel set a new VGA palette for the first 16 colors. The new values reduce the saturation (white component) and therefore increase contrast. Already posted once: http://lkml.org/lkml/2006/1/15/149 Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> vt.c | 12 ++-- 1

[PATCH 0/16] Assorted patches

2007-04-01 Thread Jan Engelhardt
Hello list, People collect stamps, etc. and I do patches. It is April 01, but let ye know that even the patch that would get the most naks is not really meant as an April joke. Most of them are independent, but I'll let `quilt graph` judge their dependencies. [01/]

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Ken Chen
On 4/1/07, Tomas M <[EMAIL PROTECTED]> wrote: I believe that IF you _really_ need to preserve the max_loop module parameter, then the parameter should _not_ be ignored, rather it should have the same function like before - to limit the loop driver so if you use max_loop=10 for example, it should

Re: 2.6.21-rc5 from fc7-rc2 problems

2007-04-01 Thread Stephen Clark
Stephen Clark wrote: Andrew Morton wrote: On Sat, 31 Mar 2007 16:14:01 -0400 Stephen Clark <[EMAIL PROTECTED]> wrote: Hello, I have just tried booting the fc7-rc2 live cd on 2 of my laptops and it failed on both. Laptop 1 is an asus vbi s96f that get a panic that says

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Ken Chen
On 4/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: not sure if this is a real issue and if it`s UML or loop related - but how is low-memory situations being handled when creating loop devices ? kernel returns -ENOMEM as an error code if there are no memory left to initialize loop device.

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread David Zeuthen
On Sun, 2007-04-01 at 19:50 +0200, Pavel Machek wrote: > Problem is that suspending _with_ removable mass storage devices > attached just will not work. User will unplug them, then complain > about corruption. Advanced user will unplug them, work with them > somewhere else, replug them, then loose

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Pavel Machek
Hi! > > > > The GNOME hath spoken? > > > > > I also thought about that, > > > > > > I think that the best solution is still to hide connect/disconnect of > > > usb devices from userspace (now it also causes corruption) > > > But to refuse suspend with any usb mass storage device

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread David Zeuthen
On Sun, 2007-04-01 at 15:29 +, Pavel Machek wrote: > Hi! > > > > > In that case the user would see data corruption - just as if he mounts > > > > a piece > > > > of removable media in a USB card reader; yanks out the card and > > > > modifies it > > > > elsewhere, and then puts it back in.

Re: [PATCH] hid: add two led codes to hid input mapping

2007-04-01 Thread Jiri Kosina
On Sun, 1 Apr 2007, Dmitry Torokhov wrote: > No, I do not want to add any more LED constants to input. In fact I > think that adding constants beyond keyboard indicators was a mistake. We > have led subsystem that provides interface to control arbitrary leds and > we should use it. Ah, of

[patch] driver core: if built-in, do not wait in driver_unregister()

2007-04-01 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > I would suggest that for 2.6.21, the minimal fix is actually something > like the appended. Comments? Ingo, does this fix things for you? yeah - it does the trick: i just booted the .config in question and your patch works fine and the bootup does

Re: [patch 13/13] signal/timer/event fds v9 - KAIO eventfd support example ...

2007-04-01 Thread Davide Libenzi
On Sun, 1 Apr 2007, Linus Torvalds wrote: > On Sun, 1 Apr 2007, Davide Libenzi wrote: > > > > > [also, minor nit: sys_eventfd() can legitimately return 0, but you're > > > banning > > > its use in aio. userspace could easily dup() and close(), but...] > > > > Noone said that binary

Re: Why is NCQ enabled by default by libata? (2.6.20)

2007-04-01 Thread Robert Hancock
Phillip Susi wrote: Jeff Garzik wrote: NCQ provides for a more asynchronous flow. It helps greatly with reads (of which most are, by nature, synchronous at the app level) from multiple threads or apps. It helps with writes, even with write cache on, by allowing multiple commands to be

Re: [patch 13/13] signal/timer/event fds v9 - KAIO eventfd support example ...

2007-04-01 Thread Linus Torvalds
On Sun, 1 Apr 2007, Davide Libenzi wrote: > > > [also, minor nit: sys_eventfd() can legitimately return 0, but you're > > banning > > its use in aio. userspace could easily dup() and close(), but...] > > Noone said that binary compatibility comes free ;) > I'm truly open to other ways of

Re: [bug] hung bootup in various drivers, was: "2.6.21-rc5: known regressions"

2007-04-01 Thread Linus Torvalds
On Sun, 1 Apr 2007, Pavel Machek wrote: > > > @@ -183,7 +183,8 @@ int driver_register(struct device_driver > > void driver_unregister(struct device_driver * drv) > > { > > bus_remove_driver(drv); > > - wait_for_completion(>unloaded); > > + if (!drv->unloaded.done) > > +

2.6.21-rc5-rt6 make errors

2007-04-01 Thread Rui Nuno Capela
Hi, Just tried to build 2.6.21-rc5-rt6 and it is failing on build time. ... kernel/sched.c: In function ‘__schedule’: kernel/sched.c:3830: error: ‘print_functions’ undeclared (first use in this function) kernel/sched.c:3830: error: (Each undeclared identifier is reported only once

Re: [patch 6/13] signal/timer/event fds v9 - timerfd core ...

2007-04-01 Thread Davide Libenzi
On Sun, 1 Apr 2007, Davide Libenzi wrote: > I do not know about DoS on timers (did not follow the thread), but I could > easily implement it here, by capping the counter to some value, and return > POLLERR in poll(). For capping I mean, I won't re-arm the timer if ticks exceeded it ... -

Re: [patch 13/13] signal/timer/event fds v9 - KAIO eventfd support example ...

2007-04-01 Thread Davide Libenzi
On Sun, 1 Apr 2007, Avi Kivity wrote: > What is the motivation for adding aio_resfd to an individual iocb instead of > the entire io context? It seems redundant, as you can already create multiple > io contexts to wait on. To add it to the context, you need to either change the context create

Re: [patch 6/13] signal/timer/event fds v9 - timerfd core ...

2007-04-01 Thread Davide Libenzi
On Sun, 1 Apr 2007, Thomas Gleixner wrote: > On Sat, 2007-03-31 at 13:09 -0700, Davide Libenzi wrote: > > +/* > > + * This gets called when the timer event triggers. We increment the > > + * tick count and wake the possible waiters. If the timer in a > > + * sequential one (->tintv.tv64 != 0), we

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Tomas M
I'm sorry I made a mistake, there should be module parameter instead of > boot parameter. I am sorry. The entire paragraph in my previous post should be the following: I believe that IF you _really_ need to preserve the max_loop module parameter, then the parameter should _not_ be ignored,

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Tomas M
Andrew Morton wrote: On Fri, 30 Mar 2007 02:25:37 -0700 "Ken Chen" <[EMAIL PROTECTED]> wrote: -module_param(max_loop, int, 0); -MODULE_PARM_DESC(max_loop, "Maximum number of loop devices (1-256)"); So.. this change will cause a fatal error for anyone who is presently using max_loop, won't

Re: System hang on athlon64 cpufreq change

2007-04-01 Thread wixor
On 3/16/07, Langsdorf, Mark <[EMAIL PROTECTED]> wrote: The processor is not changing frequency in response to your launch of mplayer. The powersave governor forces it to the lowest frequency regardless of system load. You really want to use ondemand for dynamic frequency scaling. Can you use

Re: 2.6.21-rc5 possible regression: KDE processes die silently (was: 2.6.21-rc3-mm2: KDE processes die while system is idle)

2007-04-01 Thread Rafael J. Wysocki
On Sunday, 1 April 2007 17:21, Tilman Schmidt wrote: > I'm sorry to say this has now happened with kernel 2.6.21-rc5, too. > I started a kernel compilation in the evening and came back in the > morning to find all KDE decorations gone. All processes normally > running for a KDE session and

Re: 2.6.21-rc5: Thinkpad X60 gets critical thermal shutdowns

2007-04-01 Thread Pavel Machek
Hi! > > CONFIG_I2C=m > > CONFIG_I2C_ALGOBIT=m > > CONFIG_I2C_ALGOPCA=m > > CONFIG_I2C_I810=m > > CONFIG_I2C_PIIX4=m > > CONFIG_SENSORS_DS1337=m > > CONFIG_SENSORS_DS1374=m > > CONFIG_SENSORS_EEPROM=m > > CONFIG_SENSORS_PCF8574=m > > CONFIG_SENSORS_PCA9539=m > > CONFIG_SENSORS_PCF8591=m > >

Re: 2.6.21-rc5: Thinkpad X60 gets critical thermal shutdowns

2007-04-01 Thread Pavel Machek
Hi! > > When I run 2.6.21-rc5 + Andi's x86 patches + paravirt_ops patches, I've > > been getting my machine shut down with critical thermal shutdown messages: > > Hmm, don't think there's anything either in x86 that would touch this code. > But can you double check with plain rc5? > > > Mar 30

Re: [-mm patch] make drivers/ata/pata_ali.c:ali_tf_load() static

2007-04-01 Thread Tejun Heo
Adrian Bunk wrote: > On Fri, Mar 30, 2007 at 01:05:59AM -0700, Andrew Morton wrote: >> ... >> Changes since 2.6.21-rc5-mm2: >> ... >> +testing-patch-for-ali-pata-fixes-hopefully-for-the-problems-with-atapi-dma.patch >> >> pata experiment >> ... > > > This patch makes the needlesly global

Re: usb hid: reset NumLock

2007-04-01 Thread Pete Zaitcev
On Sun, 1 Apr 2007 14:49:59 +0300, "Pekka Enberg" <[EMAIL PROTECTED]> wrote: > On 3/30/07, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > > Dell people (Stuart and Charles) complained that on some USB keyboards, > > if BIOS enables NumLock, it stays on even after Linux has started. Since > > we always

2.6.17->2.6.18(and 20) K8 SMP ondemand and userspace: General protection fault (bts Bug#415239)

2007-04-01 Thread Oleg Verych
While it's only one such report so far, could you, please look at it? There is some info below, full story: (from the bottom). Thanks. On Wed, Mar 21, 2007 at 08:36:51AM +1100, Hamish Moffatt wrote: > On Tue, Mar 20, 2007 at 01:10:42AM +0100, Oleg Verych wrote:

[patch 12/12] pollfs: pollable fsync

2007-04-01 Thread davi
Pollable asynchronous fsync() using a global workqueue. Maybe a sync_file_range in the future. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/fs/pollfs/Makefile === --- linux-2.6.orig/fs/pollfs/Makefile

[patch 02/12] pollfs: file system operations

2007-04-01 Thread davi
The key feature of the pollfs file operations is to internally handle pollable (waitable) resources as files without exporting complex and bug-prone underlying (VFS) implementation details. All resource handlers are required to implement the read, write, poll, release operations and must not

[patch 08/12] pollfs: pollable futex

2007-04-01 Thread davi
Asynchronously wait for FUTEX_WAKE operation on a futex if it still contains a given value. There can be only one futex wait per file descriptor. However, it can be rearmed (possibly at a different address) anytime. Building block for pollable semaphores and user-defined events. Signed-off-by:

[patch 05/12] pollfs: pollable signal compat code

2007-04-01 Thread davi
Compat handlers for the pollable signal operations. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/fs/pollfs/signal.c === --- linux-2.6.orig/fs/pollfs/signal.c +++ linux-2.6/fs/pollfs/signal.c @@ -16,6

[patch 07/12] pollfs: asynchronous futex wait

2007-04-01 Thread davi
Break apart and export the futex_wait function in order to be able to associate (wait for) a futex with other resources. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/kernel/futex.c === ---

[patch 10/12] pollfs: pollable aio

2007-04-01 Thread davi
Submit, retrieve, or poll aio requests for completion through a file descriptor. Untested. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/fs/pollfs/Makefile === --- linux-2.6.orig/fs/pollfs/Makefile +++

[patch 09/12] pollfs: check if a AIO event ring is empty

2007-04-01 Thread davi
The aio_ring_empty() function returns true if the AIO event ring has no elements, false otherwise. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/fs/aio.c === --- linux-2.6.orig/fs/aio.c +++

[patch 06/12] pollfs: pollable hrtimers

2007-04-01 Thread davi
Per file descriptor high-resolution timers. A classic unix file interface for the POSIX timer_(create|settime|gettime|delete) family of functions. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/fs/pollfs/timer.c

[patch 04/12] pollfs: pollable signal

2007-04-01 Thread davi
Retrieve multiple per-process signals through a file descriptor. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/fs/pollfs/signal.c === --- /dev/null +++ linux-2.6/fs/pollfs/signal.c @@ -0,0 +1,144 @@ +/* +

[patch 03/12] pollfs: asynchronously wait for a signal

2007-04-01 Thread davi
Add a wait queue to the task_struct in order to be able to associate (wait for) a signal with other resources. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/include/linux/sched.h === ---

[patch 00/12] pollfs: a naive filesystem for pollable objects

2007-04-01 Thread davi
This patch set introduces a new file system for the delivery of pollable events through file descriptors. To the detriment of debugability, pollable objects are a nice adjunct to nonblocking/epoll/event-based servers. Currently implemented waitable "objects" are: signals, futexes, ai/o blocks,

[patch 01/12] pollfs: kernel-side API header

2007-04-01 Thread davi
Add pollfs_fs.h header which contains the kernel-side declarations and auxiliary macros for type safety checks. Signed-off-by: Davi E. M. Arnaut <[EMAIL PROTECTED]> --- Index: linux-2.6/include/linux/pollfs_fs.h === --- /dev/null

[patch 11/12] pollfs: asynchronous workqueue

2007-04-01 Thread davi
Asynchronously run work items. If the worker thread blocks while the kernel executes the work function call a new worker thread is created (if one is not available) to handle the remaining workqueue items. Various errors and resource limitations are not yet handled. Signed-off-by: Davi E. M.

Re: 2.6.21-rc5-mm3

2007-04-01 Thread Michal Piotrowski
Andrew Morton napisał(a): > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc5/2.6.21-rc5-mm3/ > BUG: at /mnt/md0/devel/linux-mm/arch/i386/kernel/smp.c:571 native_smp_call_function_mask() [] dump_trace+0x63/0x1eb [] show_trace_log_lvl+0x1a/0x30 [] show_trace+0x12/0x14

PCI: iomem bigger than 4GB

2007-04-01 Thread Ashish Singhai
Hello, Please refer to Andrew' post on this thread on PCI subsystem assigning prefetchable memory bigger than 4GB: http://lkml.org/lkml/2006/11/24/160 This patch is not included in 2.6.20.1 or earlier -- it would be helpful if we could have this patch considered. I have tried it in a simulated

Re: [PATCH] kbuild: fix dependency generation

2007-04-01 Thread Oleg Verych
> From: Sam Ravnborg > Newsgroups: gmane.linux.kernel > Subject: [PATCH] kbuild: fix dependency generation > Date: Sun, 1 Apr 2007 12:45:51 +0200 > [] > scripts/basic/fixdep.c | 10 +++--- > 1 files changed, 7 insertions(+), 3 deletions(-) > > diff --git a/scripts/basic/fixdep.c

Re: plain 2.6.21-rc5 (1) vs amanda (0)

2007-04-01 Thread Gene Heskett
On Sunday 01 April 2007, Ray Lee wrote: >On 3/31/07, Gene Heskett <[EMAIL PROTECTED]> wrote: >> This effect I have isolated down to something in the 31 patches from >> 2.6.20.4 to 2.6.20.5-rc1, but I'm going to need additional guidance in >> setting up the bisect to find it. If indeed its a

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

2007-04-01 Thread Pavel Machek
Hi! > > Actually for the acpi stuff... we might wrap ACPI interpretter with a > > semaphore that needs to be taken before starting any AML code. Then > > just make sure sensors take same semaphore? > > I like the idea, it should work as long as we are guaranteed that all > the hwmon device

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Pavel Machek
Hi! > > > In that case the user would see data corruption - just as if he mounts a > > > piece > > > of removable media in a USB card reader; yanks out the card and modifies > > > it > > > elsewhere, and then puts it back in. > > > > > I my opinion we can't really defend ourselves against such

Re: [bug] hung bootup in various drivers, was: "2.6.21-rc5: known regressions"

2007-04-01 Thread Pavel Machek
Hi! > @@ -183,7 +183,8 @@ int driver_register(struct device_driver > void driver_unregister(struct device_driver * drv) > { > bus_remove_driver(drv); > - wait_for_completion(>unloaded); > + if (!drv->unloaded.done) > + WARN_ON(1); > } WARN_ON(!done)?

Re: [patch 13/13] signal/timer/event fds v9 - KAIO eventfd support example ...

2007-04-01 Thread Avi Kivity
Davide Libenzi wrote: This is an example about how to add eventfd support to the current KAIO code, in order to enable KAIO to post readiness events to a pollable fd (hence compatible with POSIX select/poll). The KAIO code simply signals the eventfd fd when events are ready, and this triggers a

Re: 2.6.21-rc5: Thinkpad X60 gets critical thermal shutdowns

2007-04-01 Thread Matthew Garrett
On Sat, Mar 31, 2007 at 11:28:46PM -0700, Jeremy Fitzhardinge wrote: > That seems to have helped. If I watch > /proc/acpi/thermal_zone/THM?/temperature, it seems stable even under > load. I didn't try watching the thermal_zones when these options were > enabled, but I presume the temperature

Re: my first janitorial

2007-04-01 Thread Alan Cox
On Sat, 31 Mar 2007 22:24:12 -0700 "Pedram M" <[EMAIL PROTECTED]> wrote: > How about this one? Am I doing it right now? > If not, please try to explain more to me what I am > doing wrong. You need to hold a reference to the PCI device for the entire duration it is used. I think you actually also

Re: [PATCH] hid: add two led codes to hid input mapping

2007-04-01 Thread Dmitry Torokhov
On Sunday 01 April 2007 05:01, Jiri Kosina wrote: > On Sat, 31 Mar 2007, Dan Engel wrote: > > > This patch is really being offered because it's what's needed to make the > > operation > > of the Belkin Flip USB KVM switch avaiable to user-space programs through > > the HID input > > event

[PATCH 08/41] KVM: Handle cpuid in the kernel instead of punting to userspace

2007-04-01 Thread Avi Kivity
KVM used to handle cpuid by letting userspace decide what values to return to the guest. We now handle cpuid completely in the kernel. We still let userspace decide which values the guest will see by having userspace set up the value table beforehand (this is necessary to allow management

[PATCH 07/41] KVM: Do not communicate to userspace through cpu registers during PIO

2007-04-01 Thread Avi Kivity
Currently when passing the a PIO emulation request to userspace, we rely on userspace updating %rax (on 'in' instructions) and %rsi/%rdi/%rcx (on string instructions). This (a) requires two extra ioctls for getting and setting the registers and (b) is unfriendly to non-x86 archs, when they get

<    1   2   3   4   5   6   >