[PATCH 2/5] blackfin arch: fix bug data cannot be put into L1 DATA SRAM bank B

2007-04-11 Thread Wu, Bryan
[PATCH] blackfin arch: fix bug data cannot be put into L1 DATA SRAM bank B Don't allocate Bank B data sram in l1_data_A_sram_alloc (). Add l1_data_sram_alloc (), which allocates data sram from either Bank A or Bank B. Change all the code which call to l1_data_A_sram_alloc () to use

[PATCH 3/5] blackfin arch: source kernel preemption option

2007-04-11 Thread Wu, Bryan
Signed-off-by: Aubrey Li [EMAIL PROTECTED] Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- arch/blackfin/Kconfig |1 + arch/blackfin/kernel/vmlinux.lds.S |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index

[PATCH 4/5] blackfin arch: workaround BF561 anomaly 05000266

2007-04-11 Thread Wu, Bryan
[PATCH] blackfin arch: workaround BF561 anomaly 05000266 http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdittracker_item_id=2958 Signed-off-by: Sonic Zhang [EMAIL PROTECTED] Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- arch/blackfin/kernel/setup.c |5 +

[PATCH 5/5] nommu: fix bug ip_conntrack does not work on nommu

2007-04-11 Thread Wu, Bryan
num_physpages is not exported out in mm/nommu.c, so the ip_conntrack module link will fail. Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- mm/nommu.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/mm/nommu.c b/mm/nommu.c index 0016557..db0452e 100644 --- a/mm/nommu.c

Re: [PATCH, take4] FUTEX : new PRIVATE futexes

2007-04-11 Thread Nick Piggin
Pierre Peiffer wrote: Nick Piggin a écrit : But... that isn't there in mainline. Why is it in -mm? This was introduced by lguest code I did not follow exaclty why. OK, that's no problem, then it can remain exported but we just have to document and audit that callers must pass in an

Re: [PATCH, take4] FUTEX : new PRIVATE futexes

2007-04-11 Thread Nick Piggin
Nick Piggin wrote: Pierre Peiffer wrote: Nick Piggin a écrit : But... that isn't there in mainline. Why is it in -mm? This was introduced by lguest code I did not follow exaclty why. OK, that's no problem, then it can remain exported but we just have to document and audit that

[PATCH 1/5] blackfin arch: add missing Blackfin support in lib Kconfig debug CONFIG_FRAME_POINTER

2007-04-11 Thread Wu, Bryan
Signed-off-by: Aubrey Li [EMAIL PROTECTED] Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- lib/Kconfig.debug |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 558a22e..87afd62 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug

Re: [PATCH 3/7] DRM: correct PCI domain setting for ALPHA

2007-04-11 Thread Ivan Kokshaysky
On Wed, Apr 11, 2007 at 07:31:10PM +1000, Dave Airlie wrote: I already have this queued in the DRM git tree.. Ivan, Jay can you check an -mm kernel contains it? it'll go in the next merge window.. Indeed, it's already in -mm tree. Sorry... Ivan. - To unsubscribe from this list: send the line

Re: [lm-sensors] Hardware monitoring subsystem maintainer position is open

2007-04-11 Thread Hans de Goede
Rudolf Marek wrote: Hello all, Maybe we could try following: 1) person post the driver 2) quick review could be done critical fixes only, driver goes to -mm 3) review that goes deeper - check for interface conformity and all the stuff which could break - fixes for non-critical stuff 4) after

Re: menu versus menuconfig -- they're *both* a bad idea

2007-04-11 Thread Robert P. J. Day
On Wed, 11 Apr 2007, Jan Engelhardt wrote: On Apr 11 2007 05:25, Robert P. J. Day wrote: On Wed, 11 Apr 2007, Jan Engelhardt wrote: On Apr 11 2007 03:58, Robert P. J. Day wrote: A CONFIG_EMBEDDED bug. This should perhaps be changed. Or at best, deactivate the --- part when it's N.

Re: Hardware monitoring subsystem maintainer position is open

2007-04-11 Thread Jean Delvare
Hi Hans, On Tue, 10 Apr 2007 17:40:54 +0200, Hans de Goede wrote: Jean Delvare wrote: I am resigning from my role as hardware monitoring subsystem (drivers/hwmon) maintainer. This is too much work for me, I do not have the necessary bandwidth to review all the incoming patches, in

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Paul Jackson
[80038e33] put_files_struct+0x6c/0xc3 [8001543d] do_exit+0x2d2/0x8b1 [80047932] cpuset_exit+0x0/0x6c I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But put_files_struct doesn't call do_exit, rather

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

2007-04-11 Thread Rafael J. Wysocki
On Wednesday, 11 April 2007 09:36, Jiri Slaby wrote: Rafael J. Wysocki napsal(a): On Monday, 9 April 2007 22:07, Jiri Slaby wrote: Rafael J. Wysocki napsal(a): Thanks for testing. [...] --- linux-2.6.21-rc5.orig/kernel/power/swsusp.c +++ linux-2.6.21-rc5/kernel/power/swsusp.c @@

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
I got some new information: Before soft lockup message is out, we have: [EMAIL PROTECTED] home]# cat /proc/slabinfo |grep buffer_head buffer_head 10927942 10942560120 321 : tunables 32 168 : slabdata 341955 341955 6 : globalstat 37602996 11589379 11743736

[PATCH] ahci.c: remove non-existing SB600 raid id

2007-04-11 Thread Conke Hu
SB600 RAID and SB600 SATA is the same controller and share the same PCI ID 0x4380. There is such PCI ID 0x4381. Signed-off-by: Conke Hu [EMAIL PROTECTED] - diff -Nur linux-2.6.21-rc6-git3.orig/drivers/ata/ahci.c linux-2.6.21-rc6-git3/drivers/ata/ahci.c ---

Re: usb touchscreen breakage in 2.6.21-rc5-mm4 ?

2007-04-11 Thread Helge Hafting
Dmitry Torokhov wrote: *sigh* When will I learn to spell names of kernel parameters correctly? It is initcall_debug, not debug_initcall :( Could you try again, please? Here is the dmesg for rc5mm4 with initcall_debug, showing how no usbtouch function is called at all. I also attached a

Re: [PATCH] ahci.c: remove non-existing SB600 raid id

2007-04-11 Thread Tejun Heo
Conke Hu wrote: SB600 RAID and SB600 SATA is the same controller and share the same PCI ID 0x4380. There is such PCI ID 0x4381. I assume 'no' is missing in the last sentence. :-) -- tejun - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH, take4] FUTEX : new PRIVATE futexes

2007-04-11 Thread Eric Dumazet
On Wed, 11 Apr 2007 19:23:26 +1000 Nick Piggin [EMAIL PROTECTED] wrote: But... that isn't there in mainline. Why is it in -mm? At any rate, that makes it a no brainer to change. Seems to be related to lguest. Ask Rusty :) As this external thing certainly is not doing the check itself,

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But put_files_struct doesn't call do_exit, rather do_exit calls __exit_files calls put_files_struct. I'm guessing its

Re: [lm-sensors] Hardware monitoring subsystem maintainer position is open

2007-04-11 Thread David Hubbard
Hi Jean, I didn't say I would leave entirely. I plan to stay around and keep helping with the lm-sensors project and hwmon drivers. Thanks! This is great news. David - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Rafael J. Wysocki
On Wednesday, 11 April 2007 09:03, Andrew Morton wrote: On Tue, 10 Apr 2007 23:44:36 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: Currently there is a circular reference between work queue initialization and kthread initialization. This prevents the kernel thread infrastructure

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Zhao Forrest
On 4/11/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But put_files_struct doesn't call do_exit, rather do_exit calls

Re: [PATCH] ahci.c: remove non-existing SB600 raid id

2007-04-11 Thread Conke Hu
On 4/11/07, Tejun Heo [EMAIL PROTECTED] wrote: Conke Hu wrote: SB600 RAID and SB600 SATA is the same controller and share the same PCI ID 0x4380. There is such PCI ID 0x4381. I assume 'no' is missing in the last sentence. :-) -- tejun Oh, sorry :( so, should I re-send the mail? conke

Re: broken device locking, sg vs. sg_io on block devices

2007-04-11 Thread Eduard Bloch
#include hallo.h * Eduard Bloch [Sat, Apr 07 2007, 01:21:31PM]: Can we do following without having side effects: open(/dev/sr0,O_EXCL|O_RDWR); /* no matter what it returns */ fcntl(..., F_SETLK); /* no matter what it returns */ ioctl(f, SCSI_IOCTL_GET_IDLUN, x); ioctl(f,

Re: [PATCH 12/14 UPDATED] sysfs: implement sysfs_dirent active reference and immediate disconnect

2007-04-11 Thread Tejun Heo
On Wed, Apr 11, 2007 at 06:26:42PM +0900, Tejun Heo wrote: Hello, Cornelia Huck wrote: === [ INFO: possible circular locking dependency detected ] 2.6.21-rc6-ge666c753-dirty #54 ---

Re: [PATCH] ahci.c: remove non-existing SB600 raid id

2007-04-11 Thread Tejun Heo
Conke Hu wrote: On 4/11/07, Tejun Heo [EMAIL PROTECTED] wrote: Conke Hu wrote: SB600 RAID and SB600 SATA is the same controller and share the same PCI ID 0x4380. There is such PCI ID 0x4381. I assume 'no' is missing in the last sentence. :-) -- tejun Oh, sorry :( so, should I

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 18:10 +0800, Zhao Forrest wrote: On 4/11/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 02:53 -0700, Paul Jackson wrote: I'm confused - which end of ths stack is up? cpuset_exit doesn't call do_exit, rather it's the other way around. But

Re: [PATCH] Improve heuristic detecting sequential reads

2007-04-11 Thread Andi Kleen
adaptive readahead? Has been in -mm for a year. Problem is, it is _so_ complete that I just don't know how to merge it. It's huge, and only Wu understands it. So it's really rather stuck. No benchmark numbers for/against it at all? -Andi - To unsubscribe from this list: send the line

[PATCH] ahci.c: remove non-existing SB600 raid id (re-send)

2007-04-11 Thread Conke Hu
SB600 RAID and SB600 SATA is the same controller and share the same PCI ID 0x4380. There is no such PCI ID 0x4381. Signed-off-by: Conke Hu [EMAIL PROTECTED] - diff -Nur linux-2.6.21-rc6-git3.orig/drivers/ata/ahci.c linux-2.6.21-rc6-git3/drivers/ata/ahci.c ---

Re: [PATCH 12/14 UPDATED] sysfs: implement sysfs_dirent active reference and immediate disconnect

2007-04-11 Thread Cornelia Huck
On Wed, 11 Apr 2007 19:13:59 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Does this patch fix the problem? Index: work/fs/sysfs/dir.c === --- work.orig/fs/sysfs/dir.c 2007-04-11 19:12:02.0 +0900 +++ work/fs/sysfs/dir.c

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-11 Thread Tasos Parisinos
Hello to everybody - Firstly i want to thank everybody for reviewing this code and posting all your usefull comments - Secondly i would like to give a generic (as possible) example of use of this module. More and more nowadays Linux has started to be ported and running in a wide

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Peter Zijlstra
On Wed, 2007-04-11 at 17:53 +0800, Zhao Forrest wrote: I got some new information: Before soft lockup message is out, we have: [EMAIL PROTECTED] home]# cat /proc/slabinfo |grep buffer_head buffer_head 10927942 10942560120 321 : tunables 32 168 : slabdata 341955 341955

Re: 2.6.21-rc6-mm1

2007-04-11 Thread Andi Kleen
The next kernel patch for Perfmon will not make use of the idle notification anymore on any platform. What do you use instead? I've been actually thinking to add idle notifier support to oprofile to correct for the perfctr doesn't tick in idle issue which makes numbers not add up to 100%.

Re: [patch 0/8] unprivileged mount syscall

2007-04-11 Thread Miklos Szeredi
1. clone the master namespace. 2. in the new namespace move the tree under /share/$me to / for each ($user, $what, $how) { move /share/$user/$what to /$what if ($how == slave) { make the mount tree under /$what as slave }

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

2007-04-11 Thread Jiri Slaby
Rafael J. Wysocki napsal(a): On Wednesday, 11 April 2007 09:36, Jiri Slaby wrote: Rafael J. Wysocki napsal(a): On Monday, 9 April 2007 22:07, Jiri Slaby wrote: I have bad news for you :(. I thought I had unpatched kernel, but it happens in -rc6 too. I guess you mean you're still seeing the

Re: [patch 0/8] unprivileged mount syscall

2007-04-11 Thread Miklos Szeredi
- users can use bind mounts without having to pre-configure them in /etc/fstab This is by far the biggest concern I see. I think the security implication of allowing anyone to do bind mounts are poorly understood. And especially so since there is no way for a filesystem

Re: [PATCH 2/2] NET: Multiqueue network device support.

2007-04-11 Thread Herbert Xu
Waskiewicz Jr, Peter P [EMAIL PROTECTED] wrote: True, but the assignment for dev above also casts this void * to struct net_device *: dev = (struct net_device *) (((long)p + NETDEV_ALIGN_CONST) ~NETDEV_ALIGN_CONST); dev-padded = (char *)dev - (char *)p;

Re: [PATCH 5/5] nommu: fix bug ip_conntrack does not work on nommu

2007-04-11 Thread David Howells
Wu, Bryan [EMAIL PROTECTED] wrote: num_physpages is not exported out in mm/nommu.c, so the ip_conntrack module link will fail. Fine by me. Acked-By: David Howells [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Gautham R Shenoy
On Wed, Apr 11, 2007 at 12:13:34PM +0200, Rafael J. Wysocki wrote: It should be calling try_to_freeze() somewhere anyway. We may need to freeze all tasks in some cases. How about for (;;) { try_to_freeze(); ? This change allows us to make all the worker threads freezeable by

Re: broken device locking, sg vs. sg_io on block devices

2007-04-11 Thread Alan Cox
Can we do following without having side effects: open(/dev/sr0,O_EXCL|O_RDWR); /* no matter what it returns */ fcntl(..., F_SETLK); /* no matter what it returns */ ioctl(f, SCSI_IOCTL_GET_IDLUN, x); ioctl(f, SCSI_IOCTL_GET_BUS_NUMBER, jo); Can you guarantee us that bit? open()

Re: [PATCH 0/7] Alpha update

2007-04-11 Thread Jeff Garzik
Ivan Kokshaysky wrote: Assorted fixes and cleanups, including build fixes for recent toolchains, various platform-specific fixes and graphics support for non-zero PCI domains. Thanks to Jay Estabrook for supplying most of these. ACK, I'll try these out on a couple of my alphas too.

Re: rsdl:mouse freezing while doing git-gc

2007-04-11 Thread Dmitry Adamushko
On 11/04/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using the kernel 2.6.21-rc4-rsdl. Machine is a P4 2.2 ghz with 512mb ram. While doing a git-gc with nice 19 , I am still seeing that my mouse keeps freezing occasionally and other windows do not respond immediately. Do you get

Re: [PATCH 2/3] make kernel threads invisible to /sbin/init

2007-04-11 Thread Oleg Nesterov
On 04/10, Eric W. Biederman wrote: Oleg Nesterov [EMAIL PROTECTED] writes: 1. rename reparent_to_init() to reparent_kthread() and export it 2. use init_pid_ns.child_reaper instead of child_reaper(current) 3. set -exit_signal = -1, so init can't see us and we don't use it to reap

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Oleg Nesterov
On 04/11, Gautham R Shenoy wrote: On Wed, Apr 11, 2007 at 12:13:34PM +0200, Rafael J. Wysocki wrote: It should be calling try_to_freeze() somewhere anyway. We may need to freeze all tasks in some cases. How about for (;;) { try_to_freeze(); ? Why? This change allows

Re: Performance Stats: Kernel patch

2007-04-11 Thread Maxim Uvarov
Eric Dumazet wrote: [snip] Please reorganize the code so that you dont duplicate GET_THREAD_INFO() stuff Thanks Eric, I's really better. I have done changes. Do you have any others objections now? All is in attached perf_stat.patch. Best regards, Maxim Uvarov. Patch adds Process

Re: rsdl:mouse freezing while doing git-gc

2007-04-11 Thread Dmitry Adamushko
On 11/04/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using the kernel 2.6.21-rc4-rsdl. Machine is a P4 2.2 ghz with 512mb ram. While doing a git-gc with nice 19 , I am still seeing that my mouse keeps freezing occasionally and other windows do not respond immediately. I have

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Oleg Nesterov
On 04/10, Eric W. Biederman wrote: +int kthreadd(void *unused) +{ + /* Setup a clean context for our children to inherit. */ + kthreadd_setup(); + + current-flags |= PF_NOFREEZE; + + for (;;) { + wait_event(kthread_create_work, +

Re: [PATCH] Improve heuristic detecting sequential reads

2007-04-11 Thread Jan Kara
On Tue 10-04-07 19:27:22, Andrew Morton wrote: On Tue, 10 Apr 2007 17:54:11 +0200 Jan Kara [EMAIL PROTECTED] wrote: Introduce ra.offset and store in it an offset where the previous read ended. This way we can detect whether reads are really sequential (and thus we should not mark the

Re: broken device locking, sg vs. sg_io on block devices

2007-04-11 Thread Eduard Bloch
#include hallo.h * Alan Cox [Wed, Apr 11 2007, 12:31:02PM]: Can we do following without having side effects: open(/dev/sr0,O_EXCL|O_RDWR); /* no matter what it returns */ fcntl(..., F_SETLK); /* no matter what it returns */ ioctl(f, SCSI_IOCTL_GET_IDLUN, x); ioctl(f,

Re: [PATCH, take5] FUTEX : new PRIVATE futexes

2007-04-11 Thread Rusty Russell
On Wed, 2007-04-11 at 11:19 +0200, Eric Dumazet wrote: Hi Andrew Update on this take5 : - Rebased on linux-2.6.21-rc6-mm1 + get_futex_key() must check proper alignement for 64bit futexes - compile test on x86_64 (one minor typo) - Added Rusty in CC since he may have to change

Re: [lm-sensors] [RFC][PATCH] Apple SMC driver (hardware monitoring and control)

2007-04-11 Thread Jean Delvare
Hi Nicolas, Sorry for the delay. On Wed, 14 Mar 2007 17:29:39 +0800, Nicolas Boichat wrote: I developed, a while ago, a driver the Apple System Management Controller, which provides an accelerometer (Apple Sudden Motion Sensor), light sensors, temperature sensors, keyboard backlight control

Re: [PATCH 10/30 #2] Use menuconfig objects - I2C

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 10:14, Jean Delvare wrote: On Tue, 10 Apr 2007 23:11:41 +0200 (MEST), Jan Engelhardt wrote: Use menuconfigs instead of menus, so the whole menu can be disabled at once instead of going through all options. The patch looks OK to me, except that it needs to be adjusted

[PATCH][trivial] Magic number prefix consistency change to Documentation/magic-number.txt

2007-04-11 Thread Jesper Juhl
Greetings, Very trivial patch to just fix a tiny thing that caught my eye while scrolling through the Documentation/magic-number.txt file. I noticed that all the magic numbers, except one, were listed with a 0x prefix - the one that stands out is EEPROM_MAGIC_VALUE which has a 0X prefix.

Re: [lm-sensors] [RFC][PATCH] Apple SMC driver (hardware monitoring and control)

2007-04-11 Thread Nicolas Boichat
Hi, Thanks for your comments. Jean Delvare wrote: Hi Nicolas, Sorry for the delay. On Wed, 14 Mar 2007 17:29:39 +0800, Nicolas Boichat wrote: I developed, a while ago, a driver the Apple System Management Controller, which provides an accelerometer (Apple Sudden Motion Sensor), light

Re: Performance Stats: Kernel patch

2007-04-11 Thread Eric Dumazet
On Wed, 11 Apr 2007 15:59:16 +0400 Maxim Uvarov [EMAIL PROTECTED] wrote: Thanks Eric, I's really better. I have done changes. Do you have any others objections now? All is in attached perf_stat.patch. Hi Maxim I know *nothing* about powerpc assembly, but I think there is a problem : Index:

Re: [PATCH] console UTF-8 fixes

2007-04-11 Thread Jan Engelhardt
On Apr 10 2007 20:51, Egmont Koblinger wrote: On Tue, Apr 10, 2007 at 10:30:07AM -0700, H. Peter Anvin wrote: Really? Why is CJK so much more fundamental than, say, Arabic? Not more fundamental at all. It's just perhaps easier to support (I mean keep track of the cursor, not to really support

[PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Jiri Slaby
asus_acpi, support F2JE model also augment the driver to support switching LCD status even if no function for getting lcd status exists in DSDT. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 54f13ae12fa0a3e3fc02dda6225baa3436f1e93a tree 70c08fc62a1a2f08ac8cc8f4cf5796a1d6f34764 parent

Re: 2.6.21-rc6-mm1

2007-04-11 Thread Stephane Eranian
Andi, On Wed, Apr 11, 2007 at 12:39:05PM +0200, Andi Kleen wrote: The next kernel patch for Perfmon will not make use of the idle notification anymore on any platform. What do you use instead? Nothing. I was using the idle notifier as a way to stop monitoring on entry and restart on

Re: [PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Jiri Slaby
Jiri Slaby napsal(a): asus_acpi, support F2JE model Ignore this one, newer version has been sent. regards, -- http://www.fi.muni.cz/~xslaby/Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8

Re: Performance Stats: Kernel patch

2007-04-11 Thread Maxim Uvarov
Eric Dumazet wrote: sysc_cnt being an 'unsigned long', its a 64 bits long integer... So you probably need ld/std instructions instead of lwz/stw Seems you are right again :( - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Oleg Nesterov
On 04/10, Eric W. Biederman wrote: static int kthread(void *_create) { struct kthread_create_info *create = _create; int (*threadfn)(void *data); void *data; - sigset_t blocked; int ret = -EINTR; - kthread_exit_files(); - - /* Copy data: it's on

Re: 2.6.21-rc6-mm1

2007-04-11 Thread Andi Kleen
So my point is that you cannot use the PMU to account for wall-clock time when you go in halted state. Yet, you could use the idle notifier to compensate for it by recording let's say TSC prior to entry and computing delta on exit. But then I am not sure what you would do with it

Re: [PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Corentin CHARY
Le Wednesday 11 April 2007 11:33:48 Jiri Slaby, vous avez écrit : asus_acpi, support F2JE model Just use the new asus-laptop driver =) (see acpi4asus-0.40) -- CHARY 'Iksaif' Corentin http://xf.iksaif.net - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Gautham R Shenoy
On Wed, Apr 11, 2007 at 03:48:05PM +0400, Oleg Nesterov wrote: On 04/11, Gautham R Shenoy wrote: On Wed, Apr 11, 2007 at 12:13:34PM +0200, Rafael J. Wysocki wrote: It should be calling try_to_freeze() somewhere anyway. We may need to freeze all tasks in some cases. How

Re: [PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Jiri Slaby
Corentin CHARY napsal(a): Le Wednesday 11 April 2007 11:33:48 Jiri Slaby, vous avez écrit : asus_acpi, support F2JE model Just use the new asus-laptop driver =) (see acpi4asus-0.40) code seems good, but this is not so good: #if LINUX_VERSION_CODE = KERNEL_VERSION(2,6,20) #warning This module

Re: [patch 0/8] unprivileged mount syscall

2007-04-11 Thread Ian Kent
On Wed, 2007-04-11 at 12:48 +0200, Miklos Szeredi wrote: - users can use bind mounts without having to pre-configure them in /etc/fstab This is by far the biggest concern I see. I think the security implication of allowing anyone to do bind mounts are poorly

Re: 2.6.21-rc6-mm1 ima BUG: held lock freed!

2007-04-11 Thread Joseph Fannin
On Tue, 2007-04-10 at 15:00 -0400, Reiner Sailer wrote: Joseph, we cannot reproduce the BUG you report. We have identified a potential source (spinlock around mutex_init). I have attached a small patch that removes this lock from the initialization of the hash table. I have tested the

Re: If not readdir() then what?

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 07:15, Neil Brown wrote: On Sunday April 8, [EMAIL PROTECTED] wrote: On Sun, 8 April 2007 11:11:20 -0700, H. Peter Anvin wrote: Well, the question is if you can keep the seekdir/telldir cookie around as a pointer -- preferrably in userspace, of course. You would

Linux 2.6.16.47-rc1

2007-04-11 Thread Adrian Bunk
Security fixes since 2.6.16.46: - CVE-2007-1357: APPLETALK: Fix a remotely triggerable crash Location: ftp://ftp.kernel.org/pub/linux/kernel/people/bunk/linux-2.6.16.y/testing/ git tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git RSS feed of the git tree:

Re: [patch] high-res timers: UP resume fix

2007-04-11 Thread Pavel Machek
Hi! [...] Soeren, can you confirm that you are using a !CONFIG_SMP kernel, and if yes, does the patch below fix the resume problem for you? hm, you seem to have a CONFIG_SMP=y kernel. I dont immediately see where we re-enable interrupts in the SMP case, but could you try my

Re: Performance Stats: Kernel patch

2007-04-11 Thread Eric Dumazet
On Wed, 11 Apr 2007 15:59:16 +0400 Maxim Uvarov [EMAIL PROTECTED] wrote: Patch adds Process Performance Statistics. It make available to the user the following new per-process (thread) performance statistics: * Involuntary Context Switches * Voluntary Context Switches * Number of

Re: [patch 0/8] unprivileged mount syscall

2007-04-11 Thread Serge E. Hallyn
Quoting Ian Kent ([EMAIL PROTECTED]): On Wed, 2007-04-11 at 12:48 +0200, Miklos Szeredi wrote: - users can use bind mounts without having to pre-configure them in /etc/fstab This is by far the biggest concern I see. I think the security implication of allowing

Re: [patch 0/8] unprivileged mount syscall

2007-04-11 Thread Ian Kent
On Wed, 2007-04-11 at 09:26 -0500, Serge E. Hallyn wrote: Quoting Ian Kent ([EMAIL PROTECTED]): On Wed, 2007-04-11 at 12:48 +0200, Miklos Szeredi wrote: - users can use bind mounts without having to pre-configure them in /etc/fstab This is by far the biggest

Re: [PATCH resend][CRYPTO]: RSA algorithm patch

2007-04-11 Thread Indan Zupancic
Hi, On Wed, April 11, 2007 12:14, Tasos Parisinos wrote: If you are a vendor of a smart phone, a router, or worst, a point of sale terminal you care about three things. The first is that the end user can't open the device to probe it or alter it in a way that would create fraud. For

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

2007-04-11 Thread Rafael J. Wysocki
On Wednesday, 11 April 2007 12:45, Jiri Slaby wrote: Rafael J. Wysocki napsal(a): On Wednesday, 11 April 2007 09:36, Jiri Slaby wrote: Rafael J. Wysocki napsal(a): On Monday, 9 April 2007 22:07, Jiri Slaby wrote: I have bad news for you :(. I thought I had unpatched kernel, but it

Re: usb touchscreen breakage in 2.6.21-rc5-mm4 ?

2007-04-11 Thread Dmitry Torokhov
On 4/11/07, Helge Hafting [EMAIL PROTECTED] wrote: Dmitry Torokhov wrote: *sigh* When will I learn to spell names of kernel parameters correctly? It is initcall_debug, not debug_initcall :( Could you try again, please? Here is the dmesg for rc5mm4 with initcall_debug, showing how no usbtouch

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Rafael J. Wysocki
On Wednesday, 11 April 2007 15:31, Gautham R Shenoy wrote: On Wed, Apr 11, 2007 at 03:48:05PM +0400, Oleg Nesterov wrote: On 04/11, Gautham R Shenoy wrote: On Wed, Apr 11, 2007 at 12:13:34PM +0200, Rafael J. Wysocki wrote: It should be calling try_to_freeze() somewhere anyway.

Re: If not readdir() then what?

2007-04-11 Thread Theodore Tso
On Wed, Apr 11, 2007 at 07:15:57AM +1000, Neil Brown wrote: Neil, is this correct? It's just NFS. nfsd does open/getdents/close on every readdir request. That's... unfortunate. Ext3 w/htree enable creates an in-memory red-black tree of a portion of the directory; this is typically one

Re: [SCTP] Initialization collision problem

2007-04-11 Thread Vlad Yasevich
Hi Oscar Isaula Oscar-QOI000 wrote: I ran into a problem where LKSCTP is reporting a SCTM_COMM_UP indication to the User application but is giving back a value of zero for the assoc_id. Attached are the SCTP debugs for the period in question. A couple of things that I would like to note

Re: [patch 0/8] unprivileged mount syscall

2007-04-11 Thread Serge E. Hallyn
Quoting Ian Kent ([EMAIL PROTECTED]): On Wed, 2007-04-11 at 09:26 -0500, Serge E. Hallyn wrote: Quoting Ian Kent ([EMAIL PROTECTED]): On Wed, 2007-04-11 at 12:48 +0200, Miklos Szeredi wrote: - users can use bind mounts without having to pre-configure them in

Re: [PATCH] x86_64: prevent auto select of mwait_idle for AMD CPUs

2007-04-11 Thread Andreas Herrmann
On Tue, Apr 10, 2007 at 08:11:18PM +0200, Andi Kleen wrote: On Tuesday 10 April 2007 19:24:25 Andreas Herrmann wrote: This fix is needed for AMD family 10h CPUs. It prevents auto select of mwait_idle for AMD CPUs. MWAIT does not enter C-states on family 10h and more power saving is

Re: I give up

2007-04-11 Thread Phillip Susi
Gene Heskett wrote: I violently agree on that point, but the limited conversations I've had with the tar maintainer so far indicates that AFAHIC, its linux that's broken. A new device number is a new disk and must be treated as such. Sumbit a patch adding an option to ignore the device

Re: Hardware monitoring subsystem maintainer position is open

2007-04-11 Thread Gene Heskett
On Wednesday 11 April 2007, Jean Delvare wrote: Hi Hans, On Tue, 10 Apr 2007 17:40:54 +0200, Hans de Goede wrote: Jean Delvare wrote: I am resigning from my role as hardware monitoring subsystem (drivers/hwmon) maintainer. This is too much work for me, I do not have the necessary bandwidth

Re: [PATCH 6/13] maps#2: Move the page walker code to lib/

2007-04-11 Thread Matt Mackall
On Wed, Apr 11, 2007 at 04:35:44PM +1000, Nick Piggin wrote: Matt Mackall wrote: Move the page walker code to lib/ This lets it get shared outside of proc/ and linked in only when needed. Still should go into mm/ If it had, you might have also noticed your pagetable walking code is

Re: [PATCH 1/13] fs: convert core functions to zero_user_page

2007-04-11 Thread Jörn Engel
On Tue, 10 April 2007 22:56:38 -0700, Andrew Morton wrote: And I'm surprised that this: +static inline void memclear_highpage_flush(struct page *page, unsigned int offset, unsigned int size) +{ + return zero_user_page(page, offset, size); +} compiled. zero_user_page() returns

[PATCH] Cpu statistics accounting based on Paul Menage patches

2007-04-11 Thread Pavel Emelianov
Provides a per-container statistics concerning the numbers of tasks in various states, system and user times, etc. Patch is inspired by Paul's example of the used CPU time accounting. Although this patch is independent from Paul's example to make it possible playing with them separately. Based on

Re: evdev* devices change major/minors after suspend/resume (udev?)

2007-04-11 Thread thomas
Zitat von Soeren Sonnenburg [EMAIL PROTECTED]: Very concrete it is this evdev that may be missing... and just FYI this also seems to cause trouble in Xorg - sometimes the appletouch mouse is not yet back... /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-kbd

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

2007-04-11 Thread Jiri Slaby
Rafael J. Wysocki napsal(a): On Wednesday, 11 April 2007 12:45, Jiri Slaby wrote: Rafael J. Wysocki napsal(a): On Wednesday, 11 April 2007 09:36, Jiri Slaby wrote: Rafael J. Wysocki napsal(a): On Monday, 9 April 2007 22:07, Jiri Slaby wrote: I have bad news for you :(. I thought I had

[PATCH] autofs4: fix race in unhashed dentry code

2007-04-11 Thread Jeff Mahoney
Commit f50b6f8691cae2e0064c499dd3ef3f31142987f0 introduced a race in autofs4 between autofs_lookup_unhashed() and autofs_dentry_release(). autofs_dentry_release() ends up clearing the -dentry and -inode members of autofs_info before removing it from the rehash list. The list is protected by

Re: [lm-sensors] Hardware monitoring subsystem maintainer position is open

2007-04-11 Thread Juerg Haefliger
Hi all, As pointed out by different people already, this is mainly a process issue. If we can get enough people together who are willing to contribute we can make this work. Obviously Jean did a great job (big thanks!) but I can't blame him for throwing the towel. I was always amazed at how much

Re: I give up

2007-04-11 Thread Gene Heskett
On Wednesday 11 April 2007, Phillip Susi wrote: Gene Heskett wrote: I violently agree on that point, but the limited conversations I've had with the tar maintainer so far indicates that AFAHIC, its linux that's broken. A new device number is a new disk and must be treated as such. Sumbit a

Re: I give up

2007-04-11 Thread John Anthony Kazos Jr.
I violently agree on that point, but the limited conversations I've had with the tar maintainer so far indicates that AFAHIC, its linux that's broken. A new device number is a new disk and must be treated as such. Sumbit a patch adding an option to ignore the device number, and slap him

[KJ][PATCH] SPIN_LOCK_UNLOCKED cleanup in drivers/ata/pata_winbond.c

2007-04-11 Thread Milind Arun Choudhary
remove SPIN_LOCK_UNLOCKED, use DEFINE_SPINLOCK instead Signed-off-by: Milind Arun Choudhary [EMAIL PROTECTED] --- pata_winbond.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/pata_winbond.c b/drivers/ata/pata_winbond.c index 6c11103..cfcd2a5 100644 ---

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Oleg Nesterov
On 04/11, Gautham R Shenoy wrote: On Wed, Apr 11, 2007 at 03:48:05PM +0400, Oleg Nesterov wrote: On 04/11, Gautham R Shenoy wrote: On Wed, Apr 11, 2007 at 12:13:34PM +0200, Rafael J. Wysocki wrote: It should be calling try_to_freeze() somewhere anyway. We may need to freeze

Re: [KJ][PATCH] SPIN_LOCK_UNLOCKED cleanup in drivers/ata/pata_winbond.c

2007-04-11 Thread Alan Cox
On Wed, Apr 11, 2007 at 08:58:46PM +0530, Milind Arun Choudhary wrote: remove SPIN_LOCK_UNLOCKED, use DEFINE_SPINLOCK instead Signed-off-by: Milind Arun Choudhary [EMAIL PROTECTED] Acked-by: Alan Cox [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in

RE: [PATCH] NET: [UPDATED] Multiqueue network device support implementation.

2007-04-11 Thread Waskiewicz Jr, Peter P
+ skb-queue_mapping = + q-prio2band[q-band2queue[bandTC_PRIO_MAX]]; Does this needs to be cleared at some point again? TC actions might redirect or mirror packets to other (multiqueue) devices. If an skb is redirected to another device,

Re: [PATCH] [KERNEL-DOC] alphabetically-sorted entries in index.html of 'htmldocs'

2007-04-11 Thread Randy Dunlap
On Wed, 11 Apr 2007 10:02:12 +0200 Borislav Petkov wrote: This patch sorts the DOCBOOKS entries in Documentation/DocBook/Makefile alphabetically. --- From: Randy Dunlap [EMAIL PROTECTED] Make docbook index.html contain sorted output. I prefer to let the computer do it. This also avoids

Re: Performance Stats: Kernel patch

2007-04-11 Thread Bill Davidsen
Eric Dumazet wrote: On Wed, 11 Apr 2007 15:59:16 +0400 Maxim Uvarov [EMAIL PROTECTED] wrote: Patch adds Process Performance Statistics. It make available to the user the following new per-process (thread) performance statistics: * Involuntary Context Switches * Voluntary Context

Re: menu versus menuconfig -- they're *both* a bad idea

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 05:47, Robert P. J. Day wrote: On Apr 11 2007 05:25, Robert P. J. Day wrote: On Wed, 11 Apr 2007, Jan Engelhardt wrote: On Apr 11 2007 03:58, Robert P. J. Day wrote: A CONFIG_EMBEDDED bug. This should perhaps be changed. Or at best, deactivate the --- part when it's N.

Re: I give up

2007-04-11 Thread Jan Engelhardt
On Apr 10 2007 23:54, Gene Heskett wrote: So fix tar to not do silly things. Kernel major:minor numbers are not stable. YOU Tell that to the tar/star people, they are flabbergasted that its not stable. It apparently is for every other OS tar can be run on. FreeBSD also seems to be quite

<    1   2   3   4   5   6   7   8   9   >