Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-08 Thread Dmitry Torokhov
On Friday 06 April 2007 18:57, David Brownell wrote: On Friday 06 April 2007 3:17 pm, Thomas Gleixner wrote: David, http://tglx.de/private/tglx/usbnet.png /me recommends emacs-develock.el for colorful white space wreckage display ! Then I'd have to switch to EMACS ... no thanks!  

[PATCH] Scheduler: Improving the scheduler performance.

2007-04-08 Thread root
[PATCH] Scheduler: Improving the scheduler performance. As we know that, linux scheduler use separate runqueue for every CPU of a multiprocessor system, which having an active and an expired array.If we use only one expired array, then the CPUs of a multiprocessor system will be able to share

[PATCH] paravirt_ops: Clean up paravirt patchable wrappers

2007-04-08 Thread Jeremy Fitzhardinge
Replace all the open-coded macros for generating calls with a pair of more general macros (__PVOP_CALL/VCALL), and redefine all the PVOP_V?CALL[0-4] in terms of them. [ Andrew, Andi: this should slot in immediately after Document asm-i386/paravirt.h

Re: kernel BUG at net/core/skbuff.c in linux-2.6.21-rc6

2007-04-08 Thread David Miller
From: Bartek [EMAIL PROTECTED] Date: Sat, 7 Apr 2007 20:11:13 +0200 I have problem with a Linux kernel oops. It mostly appears when I download files using bittorrent or other large file. I have a phone modem based Internet access using Home Internet Solution

Re: pci card detection by kernel

2007-04-08 Thread Jiri Slaby
S. Vishnu Priya napsal(a): Dear All, I am new to this group. I was asked to write a device driver for a new pci card. My doubt is, Kernel will detect a new pci card which is attached to the system? Or how we can make the kernel to detect the new card which is newly attached? I am

task migration problem

2007-04-08 Thread Tomer Morad
Hi, As part of my PhD research, I'm trying to migrate a task from one CPU to another, but without success. Any help here would be much appreciated! The decision whether to migrate a task is taken at scheduler_tick(). I have tried the following approaches: 1. add a request to the migration

Re: SD scheduler testing hitch

2007-04-08 Thread Mike Galbraith
On Sat, 2007-04-07 at 19:17 +0200, Mike Galbraith wrote: I lowered the time to 500us, and ran at nice -10.. it starves tenpercent here every time. (ran as taskset -c 1 nice -n -10 ./fairtest) The starving 10% duty cycle task has trouble getting 1% CPU. Hmm. Playing with it some more today,

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-08 Thread Thomas Gleixner
On Sat, 2007-04-07 at 14:30 -0700, Daniel Walker wrote: On Sat, 2007-04-07 at 22:50 +0200, Thomas Gleixner wrote: On Sat, 2007-04-07 at 10:43 -0700, Daniel Walker wrote: Looks like this path , arch/i386/kernel/tsc.c: time_cpufreq_notifier(); -- takes xtime_lock

Re: [PATCH 1/5] partitions: Touch up comments for check.h and ibm.h

2007-04-08 Thread Christoph Hellwig
On Sat, Apr 07, 2007 at 11:38:46PM -0400, John Anthony Kazos Jr. wrote: +/* + * fs/partitions/check.h + */ this one is utterly useless and actually harmful because it can easily get out of sync. @@ -1 +1,5 @@ +/* + * fs/partitions/ibm.h + */ ditto - To unsubscribe from this list: send

Re: [PATCH 4/5] partitions: Add conditionals and static inline stubs to helpers in headers

2007-04-08 Thread Christoph Hellwig
On Sat, Apr 07, 2007 at 11:40:50PM -0400, John Anthony Kazos Jr. wrote: +#ifdef CONFIG_ACORN_PARTITION_ICS + int adfspart_check_ICS(struct parsed_partitions *state, struct block_device *bdev); +#else + static inline int adfspart_check_ICS(struct parsed_partitions *state, struct

Re: [RFC] pata_icside driver

2007-04-08 Thread Russell King
Below is an initial attempt at converting the ICS IDE driver to fit into the PATA infrastructure. There's a number of FIXMEs in there: due to the hardware missing resistors on the interrupt signals from the drives, a port without any drives attached results in spurious interrupts being generated.

Re: [PATCH] Perverting cciss

2007-04-08 Thread Christoph Hellwig
On Fri, Apr 06, 2007 at 10:07:52AM -0700, Stephen Cameron wrote: How about something like this: (Since my mailer is sure to wreck the patch, it can be found intact here: http://cciss.cvs.sourceforge.net/*checkout*/cciss/patches/kernel.org-2.6/cciss_sg_io_block_pc.patch?revision=1.1 Looks good

Re: [RFC][PATCH] Kprobes: The ON/OFF knob thru debugfs

2007-04-08 Thread Christoph Hellwig
On Wed, Apr 04, 2007 at 05:43:49PM +0530, Ananth N Mavinakayanahalli wrote: This patch provides a debugfs knob to turn kprobes on/off o A new file /debug/kprobes/enabled indicates if kprobes is enabled or not (default enabled) o Echoing 0 to this file will disarm all installed probes o

Re: Ten percent test

2007-04-08 Thread Ingo Molnar
* Gene Heskett [EMAIL PROTECTED] wrote: That said, I am booted to the patch you sent me now, and this also is a very obvious improvement, one I could easily live with on a long term basis. I haven't tried a kernel build in the background yet, but I have sat here and played patience for

Re: [PATCH 0/5] partitions: Changes to fs/partitions for readability and efficiency

2007-04-08 Thread Russell King
On Sat, Apr 07, 2007 at 11:33:06PM -0400, John Anthony Kazos Jr. wrote: In addition to the Kconfig help text patch I submitted earlier, this is a set of patches to touch up the partition handling files and also to change the array of function pointers algorithm of the main checking function

Re: Ten percent test

2007-04-08 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: My question then, is why did it take a very public cat-fight to get this looked at and the code adjusted? Its been what, nearly 2 years since Linus himself made a comment that this thing needed fixed. The fixes then done were of very little

Re: Ten percent test

2007-04-08 Thread Gene Heskett
On Sunday 08 April 2007, Ingo Molnar wrote: * Gene Heskett [EMAIL PROTECTED] wrote: That said, I am booted to the patch you sent me now, and this also is a very obvious improvement, one I could easily live with on a long term basis. I haven't tried a kernel build in the background yet, but I

Re: Ten percent test

2007-04-08 Thread Mike Galbraith
On Sun, 2007-04-08 at 07:33 -0400, Gene Heskett wrote: That seems to be the killer loading here, building a kernel (make -j3) doesn't seem to lag it all that bad. One session of gzip -best makes it fall plumb over though, which was a disappointment. Can you make a testcase that doesn't

Re: [PATCH 28/90] ARM: OMAP: USB peripheral support on H4

2007-04-08 Thread Pavel Machek
Hi! From: David Brownell [EMAIL PROTECTED] H4 has two peripheral ports, one for download and one for OTG. The one to use is selected through Kconfig. NOTE: not yet working; I suspect there's a clock still turned off or something like that, since neither port responds. Hmm, it would be

Re: [PATCH 29/90] ARM: OMAP: Palm Tungsten|T support

2007-04-08 Thread Pavel Machek
On Wed 2007-04-04 14:05:08, Tony Lindgren wrote: From: =?utf-8?q?Marek_Va=C5=A1ut?= [EMAIL PROTECTED] EEk. Signed-off-by: Marek Vašut [EMAIL PROTECTED] Eek2. Marek, I guess it would be easier to use your name without diacritics... Otherwise it probably needs to be utf-8, but not

Re: Ten percent test

2007-04-08 Thread Mike Galbraith
On Sun, 2007-04-08 at 13:40 +0200, Mike Galbraith wrote: On Sun, 2007-04-08 at 07:33 -0400, Gene Heskett wrote: That seems to be the killer loading here, building a kernel (make -j3) doesn't seem to lag it all that bad. One session of gzip -best makes it fall plumb over though, which

Re: [PATCH 29/90] ARM: OMAP: Palm Tungsten|T support

2007-04-08 Thread Russell King
On Fri, Apr 06, 2007 at 12:09:23PM +, Pavel Machek wrote: On Wed 2007-04-04 14:05:08, Tony Lindgren wrote: From: =?utf-8?q?Marek_Va=C5=A1ut?= [EMAIL PROTECTED] EEk. Signed-off-by: Marek Vašut [EMAIL PROTECTED] Eek2. As I see it, that eek2 is correct UTF-8, and since the body

Re: [PATCH -mm] freezer: Remove PF_NOFREEZE from handle_initrd

2007-04-08 Thread Pavel Machek
Hi! From: Rafael J. Wysocki [EMAIL PROTECTED] Make handle_initrd() call try_to_freeze() in a suitable place instead of setting PF_NOFREEZE for the current task. ACK and thanks. Pavel -- (english)

Re: [PATCH 29/90] ARM: OMAP: Palm Tungsten|T support

2007-04-08 Thread Pavel Machek
Hi! From: =?utf-8?q?Marek_Va=C5=A1ut?= [EMAIL PROTECTED] EEk. Signed-off-by: Marek Vašut [EMAIL PROTECTED] Eek2. As I see it, that eek2 is correct UTF-8, and since the body charset was utf-8 I don't see this as a problem. I do not think eek2 is correct utf-8. It seems to

Re: [PATCH 29/90] ARM: OMAP: Palm Tungsten|T support

2007-04-08 Thread Dagfinn Ilmari Mannsåker
Pavel Machek [EMAIL PROTECTED] writes: Hi! From: =?utf-8?q?Marek_Va=C5=A1ut?= [EMAIL PROTECTED] EEk. Signed-off-by: Marek Vašut [EMAIL PROTECTED] Eek2. As I see it, that eek2 is correct UTF-8, and since the body charset was utf-8 I don't see this as a problem. I do not

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-08 Thread Pavel Machek
Hi! The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz It contains the following patches against 2.6.21-rc6: suspend-to-disk doesn't work when pktgen module is

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-08 Thread Jose Celestino
Words by [EMAIL PROTECTED] [Sat, Apr 07, 2007 at 09:13:32PM -0700]: Teddy, It is a pity you don't address the full set of results, when you make your snide comments. Now since you have them,... why don't you make reasoned comment about them. You can read more here: John, it is not

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-08 Thread Pavel Machek
Hi! Some time ago we discussed the possibility of simplifying the swsusp's approach towards tracking the swap pages allocated by it for saving the image (so that they can be freed if there's an error). I think we can get back to it now, as it is a nice optimization that should allow us

Re: Ten percent test

2007-04-08 Thread Ed Tomlinson
Hi, I am one of those who have been happily testing Con's patches. They work better than mainline here. There seems to be a disconnect on what Con is trying to achieve with SD. They do not improve interactivity per say. Instead they make the scheduler predictable by removing the alchemy

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-08 Thread johnrobertbanks
Jose, since you clearly have nothing useful to say. Why don't you let Teddy talk for himself. On Sun, 8 Apr 2007 13:48:11 +0100, Jose Celestino [EMAIL PROTECTED] said: Words by [EMAIL PROTECTED] [Sat, Apr 07, 2007 at 09:13:32PM -0700]: Teddy, It is a pity you don't address the full

Re: coding style for long conditions (WAS: Re: [PATCH 25/90] ... blinky leds!!)

2007-04-08 Thread Scott Preece
On 4/6/07, Stefan Richter [EMAIL PROTECTED] wrote: David Brownell wrote: [...] 1 if (To control chain reactions, your odds 2 Improve if you've got cadmium rods) { 3 In your fission reactor 4 Their lack is a factor 5 } 6 In screams of A meltdown!

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-08 Thread Michal Piotrowski
On 07/04/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz Thomas, I get a lot of NOHZ: local_softirq_pending 0a messages, when I

Re: [PATCH 29/90] ARM: OMAP: Palm Tungsten|T support

2007-04-08 Thread Russell King
On Sun, Apr 08, 2007 at 12:12:39PM +, Pavel Machek wrote: Hi! From: =?utf-8?q?Marek_Va=C5=A1ut?= [EMAIL PROTECTED] EEk. Signed-off-by: Marek Vašut [EMAIL PROTECTED] Eek2. As I see it, that eek2 is correct UTF-8, and since the body charset was utf-8 I don't

[PATCH] merge compat_ioctl.h into compat_ioctl.c

2007-04-08 Thread Christoph Hellwig
Now that there is no arch-specific compat ioctl handling left there is not point in having a separate copat_ioctl.h, so merge it into compat_ioctl.c Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Index: linux-2.6/fs/compat_ioctl.c

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-08 Thread Willy Tarreau
On Sun, Apr 08, 2007 at 06:21:29AM -0700, [EMAIL PROTECTED] wrote: Jose, since you clearly have nothing useful to say. Why don't you let Teddy talk for himself. John, You should first apply your own advice to yourself. Annoying everyone with the exact same mail 10 times a day is really

Security computation within Linux kernel

2007-04-08 Thread JanuGerman
Hi every one, I have one question regarding security libraries, already shipped with Linux Kernel. That is, all PKI, RSA libraries, as provided by OpenSSL are already integrated within the linux kernel source code? OR, one have to use OpenSSL seperately in this regard. I can see,

Re: [PATCH 29/90] ARM: OMAP: Palm Tungsten|T support

2007-04-08 Thread Russell King
On Sun, Apr 08, 2007 at 12:12:39PM +, Pavel Machek wrote: Hi! From: =?utf-8?q?Marek_Va=C5=A1ut?= [EMAIL PROTECTED] EEk. Signed-off-by: Marek Vašut [EMAIL PROTECTED] Eek2. As I see it, that eek2 is correct UTF-8, and since the body charset was utf-8 I don't

Re: [PATCH] merge compat_ioctl.h into compat_ioctl.c

2007-04-08 Thread Arnd Bergmann
On Sunday 08 April 2007, Christoph Hellwig wrote: Now that there is no arch-specific compat ioctl handling left there is not point in having a separate copat_ioctl.h, so merge it into compat_ioctl.c Yes, definitely a good idea. Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Acked-by:

Re: [PATCH] Scheduler: Improving the scheduler performance.

2007-04-08 Thread Valdis . Kletnieks
On Sat, 07 Apr 2007 23:42:20 +0600, root said: As we know that, linux scheduler use separate runqueue for every CPU of a multiprocessor system, which having an active and an expired array.If we use only one expired array, then the CPUs of a multiprocessor system will be able to share their

Re: [PATCH] merge compat_ioctl.h into compat_ioctl.c

2007-04-08 Thread Christoph Hellwig
On Sun, Apr 08, 2007 at 04:51:20PM +0200, Arnd Bergmann wrote: On Sunday 08 April 2007, Christoph Hellwig wrote: Now that there is no arch-specific compat ioctl handling left there is not point in having a separate copat_ioctl.h, so merge it into compat_ioctl.c Yes, definitely a good

Re: [PATCH] partitions: Enhance Kconfig help text for EESOX and MSDOS formats

2007-04-08 Thread Andries Brouwer
On Sat, Apr 07, 2007 at 01:27:09PM -0400, John Anthony Kazos Jr. wrote: From: John Anthony Kazos Jr. [EMAIL PROTECTED] improves help text for MSDOS_PARTITION in fs/partitions/Kconfig. @@ -108,7 +112,11 @@ config MSDOS_PARTITION bool PC BIOS (MSDOS partition tables) support if

Re: init's children list is long and slows reaping children.

2007-04-08 Thread Oleg Nesterov
On 04/07, Eric W. Biederman wrote: Oleg Nesterov [EMAIL PROTECTED] writes: On 04/06, Oleg Nesterov wrote: @@ -275,10 +275,7 @@ static void reparent_to_init(void) remove_parent(current); current-parent = child_reaper(current); current-real_parent = child_reaper(current); -

[RFC, PATCH 1/3] introduce SYS_CLONE_MASK

2007-04-08 Thread Oleg Nesterov
For review only. To implement for-in-kerenl-use-only CLONE_ flags, we need to filter out them in sys_clone(). These below arch/sparc/ arch/sparc64/ arch/ia64/ arch/v850/ arch/xtensa/ are not changed, they use assembly to implement sys_clone().

[RFC, PATCH 2/3] implement CLONE_KERNEL_THREAD flag

2007-04-08 Thread Oleg Nesterov
For review only. We have some problems with the kernel threads parented to /sbin/init, see http://marc.info/?t=11758028223r=1 http://marc.info/?t=9529928483r=1 A task created with CLONE_KERNEL_THREAD will have swapper as its parent. Note that this is only the first step,

[RFC, PATCH 3/3] use CLONE_KERNEL_THREAD

2007-04-08 Thread Oleg Nesterov
For review only. Add CLONE_KERNEL_THREAD to kthread_create() and change reparent_to_init() to match CLONE_KERNEL_THREAD. Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] kthread.c |2 +- exit.c| 20 +--- 2 files changed, 10 insertions(+), 12 deletions(-) ---

Re: Linux 2.6.21-rc6 - regressions update

2007-04-08 Thread Soeren Sonnenburg
On Fri, 2007-04-06 at 16:04 -0700, Linus Torvalds wrote: [HPET issues resolved] 3) Subject: SATA breakage on resume References : http://lkml.org/lkml/2007/3/7/233 Submitter : Thomas Gleixner [EMAIL PROTECTED] Soeren Sonnenburg [EMAIL PROTECTED] Status : unknown

Re: [RFC, PATCH 1/3] introduce SYS_CLONE_MASK

2007-04-08 Thread Eric W. Biederman
Oleg Nesterov [EMAIL PROTECTED] writes: For review only. To implement for-in-kerenl-use-only CLONE_ flags, we need to filter out them in sys_clone(). Nack The current clone_flags field is for user space consumption and we have proposed users for all or almost all of the remaining bits. If

Re: [PATCH] Perverting cciss

2007-04-08 Thread Stephen Cameron
--- Christoph Hellwig [EMAIL PROTECTED] wrote: Also is there a reason you don't want to pass down the various other ioctls scsi_cmd_ioctl can handle to it? Didn't think about it, SG_IO is the one people were clamoring for. SG_GET_VERSION_NUM: easily doable. SCSI_IOCTL_GET_IDLUN: Hmm, cciss

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-08 Thread Adrian Bunk
On Sat, Apr 07, 2007 at 01:10:31PM -0400, [EMAIL PROTECTED] wrote: On Sat, 07 Apr 2007 16:11:46 +0200, Krzysztof Halasa said: Think about it,... read speeds that are some FOUR times the physical disk read rate,... impossible without the use of compression (or something similar).

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-08 Thread Rafael J. Wysocki
On Sunday, 8 April 2007 01:42, Nigel Cunningham wrote: Hi. On Sun, 2007-04-08 at 01:13 +0200, Rafael J. Wysocki wrote: On Sunday, 8 April 2007 00:31, Nigel Cunningham wrote: Hi. On Sat, 2007-04-07 at 15:06 -0700, Andrew Morton wrote: On Sat, 7 Apr 2007 23:20:39 +0200 Rafael J.

Re: [RFC, PATCH 1/3] introduce SYS_CLONE_MASK

2007-04-08 Thread Oleg Nesterov
On 04/08, Eric W. Biederman wrote: Oleg Nesterov [EMAIL PROTECTED] writes: For review only. To implement for-in-kerenl-use-only CLONE_ flags, we need to filter out them in sys_clone(). Nack The current clone_flags field is for user space consumption and we have proposed users for

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-08 Thread Rafael J. Wysocki
On Sunday, 8 April 2007 14:56, Pavel Machek wrote: Hi! Some time ago we discussed the possibility of simplifying the swsusp's approach towards tracking the swap pages allocated by it for saving the image (so that they can be freed if there's an error). I think we can get back

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-08 Thread Theodore Tso
The reason why I ignore the tar+gzip tests is that in the past Hans has rigged the test by using a tar ball which was generated by unpacking a set of kernel sources on a reiser4 filesystem, and then repacking them using tar+gzip. The result was a tar file whose files were optimally laid out so

Re: Ten percent test

2007-04-08 Thread Gene Heskett
On Sunday 08 April 2007, Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: My question then, is why did it take a very public cat-fight to get this looked at and the code adjusted? Its been what, nearly 2 years since Linus himself made a comment that this thing needed fixed. The

CPU off-on-off: lost CPU management?

2007-04-08 Thread Mircea Bardac
Hi everyone, After reading CPU offline but power consumption increased? lkml thread I wanted to test CPU on-off on my Turion 64 X2. I found out something strange, related to the way CPU is turned off and back on. I don't know if this is a kernel bug, but looks pretty suspicious. The

Re: Ten percent test

2007-04-08 Thread Gene Heskett
On Sunday 08 April 2007, Mike Galbraith wrote: On Sun, 2007-04-08 at 07:33 -0400, Gene Heskett wrote: That seems to be the killer loading here, building a kernel (make -j3) doesn't seem to lag it all that bad. One session of gzip -best makes it fall plumb over though, which was a

Re: Ten percent test

2007-04-08 Thread Gene Heskett
On Sunday 08 April 2007, Mike Galbraith wrote: On Sun, 2007-04-08 at 13:40 +0200, Mike Galbraith wrote: On Sun, 2007-04-08 at 07:33 -0400, Gene Heskett wrote: That seems to be the killer loading here, building a kernel (make -j3) doesn't seem to lag it all that bad. One session of gzip -best

Re: need help

2007-04-08 Thread Bill Davidsen
vjn wrote: in my project i want to code the kernel such that when i plugged my usb it should ask for password and check it in the kernel space . can anyone help me I think the correct solution is to use an excrypted mount, and issue the mount command manually with the question in user space.

Re: If not readdir() then what?

2007-04-08 Thread H. Peter Anvin
Christoph Hellwig wrote: On Sat, Apr 07, 2007 at 04:36:33PM -0400, Theodore Tso wrote: this functionality, and it is highly questionable how useful it is, anyway. If you use telldir/seekdir and keep the cookie for a long time, even the POSIX-provided guarantees about files that are created and

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-08 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Theodore Tso wrote: The reason why I ignore the tar+gzip tests is that in the past Hans has rigged the test by using a tar ball which was generated by unpacking a set of kernel sources on a reiser4 filesystem, and then repacking them using

[PATCH] zap_other_threads: remove unneeded -exit_signal change

2007-04-08 Thread Oleg Nesterov
We already depend on fact that all sub-threads have -exit_signal == -1, no need to set it in zap_other_threads(). Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] --- 2.6.21-rc5-mm4/kernel/signal.c~zat 2007-04-07 20:11:14.0 +0400 +++ 2.6.21-rc5-mm4/kernel/signal.c 2007-04-08

[PATCH] worker_thread: fix racy try_to_freeze() usage

2007-04-08 Thread Oleg Nesterov
worker_thread() can miss freeze_process()-signal_wake_up() if it happens between try_to_freeze() and prepare_to_wait(). We should check freezing() before entering schedule(). This race was introduced by me in [PATCH 1/1] workqueue: don't migrate pending works from the dead CPU Looks

Re: SD scheduler testing hitch

2007-04-08 Thread Al Boldi
Mike Galbraith wrote: On Sat, 2007-04-07 at 19:17 +0200, Mike Galbraith wrote: I lowered the time to 500us, and ran at nice -10.. it starves tenpercent here every time. (ran as taskset -c 1 nice -n -10 ./fairtest) The starving 10% duty cycle task has trouble getting 1% CPU. Hmm.

Re: APIC error on 32-bit kernel

2007-04-08 Thread Jay Cliburn
[Adding linux-kernel to the cc list, hoping for wider exposure.] On Fri, 23 Mar 2007 20:08:17 -0500 Jay Cliburn [EMAIL PROTECTED] wrote: We're trying to track down the source of a problem that occurs whenever the atl1 network driver is activated on a 32-bit 2.6.21-rc4 and -rc5, -rc6,

man-pages-2.44 is released

2007-04-08 Thread Michael Kerrisk
Gidday, After a long hiatus, a new man-pages release... And a happy announcement! My work on man-pages is now partially supported by my employer, Google. Henceforth, something up to 20% [*] of my working week (depending on other time pressures...) will be spent on man-pages maintenance.

Re: If not readdir() then what?

2007-04-08 Thread Jörn Engel
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 presumably garbage-collect them on closedir() -- there is no other point at which you could.

Re: If not readdir() then what?

2007-04-08 Thread Theodore Tso
On Sun, Apr 08, 2007 at 11:11:20AM -0700, H. Peter Anvin wrote: Christoph Hellwig wrote: On Sat, Apr 07, 2007 at 04:36:33PM -0400, Theodore Tso wrote: this functionality, and it is highly questionable how useful it is, anyway. If you use telldir/seekdir and keep the cookie for a long time,

Re: If not readdir() then what?

2007-04-08 Thread Ulrich Drepper
On 4/7/07, Christoph Hellwig [EMAIL PROTECTED] wrote: It's not going to solve anything at all. We can't stop supporting functionality that has been there forever. Not necessarily. One problem here is that the interface for using readdir() with and without telldir()/seekdir() is the same. A

Re: Ten percent test

2007-04-08 Thread Rene Herman
On 04/08/2007 12:41 PM, Ingo Molnar wrote: this is pretty hard to get right, and the most objective way to change it is to do it testcase-driven. FYI, interactivity tweaking has been gradual, the last bigger round of interactivity changes were done a year ago: commit

Re: [RFC] pata_icside driver

2007-04-08 Thread Alan Cox
The second FIXME area is ata_irq_ack - it is unconditionally coded for SFF-type interfaces. I believe that using this function in non-BMDMA interfaces is wrong - it attempts to read from the BMDMA registers irrespective of whether ap-ioaddr.bmdma_addr is set or not. The question this poses

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

2007-04-08 Thread Valdis . Kletnieks
On Mon, 02 Apr 2007 10:35:40 +0200, Rene Rebe said: (Sorry for the late reply..) IIRC a MSI Megabook S270 (I formerly owned) BIOS notifies this Critical temperature reached (128C) when the battery run empty when the OS did no action due to battery low indications. I guess the BIOS people

Re: If not readdir() then what?

2007-04-08 Thread H. Peter Anvin
Theodore Tso wrote: You could, but then you're succeptible to a memory allocation attack. If you have an arbitrarily large directory (say, one with multiple millions of entries), and the attacker program calls seekdir() after every single readdir() call, you would then force the kernel to

Re: If not readdir() then what?

2007-04-08 Thread Theodore Tso
On Sun, Apr 08, 2007 at 08:41:30PM +0200, Jörn Engel wrote: Garbage-collecting them on closedir() does not work. It surprised me as well, but there seem to be applications that keep the telldir() cookie around after closedir(). Iirc, rm -r was one of them. Neil, is this correct? Well,

Re: Linux 2.6.20.5

2007-04-08 Thread Andre Tomt
Chris Wright wrote: snip snip Arnaldo Carvalho de Melo (1): DCCP: Fix exploitable hole in DCCP socket options snip snip Does this fix cure CVE-2007-1730 and CVE-2007-1734, or just one of them? They both seem to be in the exact same code path the patch touches. - To unsubscribe from

Re: If not readdir() then what?

2007-04-08 Thread Ulrich Drepper
On 4/8/07, Theodore Tso [EMAIL PROTECTED] wrote: Ulrich, is it too late to insert a clarification that the telldir() cookie isn't guaranteed to be valid after closedir() *or* rewinddir()? It's never too late. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: If not readdir() then what?

2007-04-08 Thread H. Peter Anvin
Theodore Tso wrote: It doesn't state explicitly that you can use the telldir cookie() after closing the directory stream using closedir() and then reopening it using opendir(), but given that it states that results are undefined after a rewinddir() --- which is much less violent than a

Re: [PATCH] MMC: Fix handling of low-voltage cards (take 2)

2007-04-08 Thread Pierre Ossman
Philip Langdale wrote: Fix handling of low voltage MMC cards. Sorry, my fifo filled up and you got stuck at the far end. I've applied this and will push to andrew in a bit. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainerhttp://www.kernel.org PulseAudio, core

Re: [PATCH] merge compat_ioctl.h into compat_ioctl.c

2007-04-08 Thread David Miller
From: Arnd Bergmann [EMAIL PROTECTED] Date: Sun, 8 Apr 2007 16:51:20 +0200 On Sunday 08 April 2007, Christoph Hellwig wrote: Now that there is no arch-specific compat ioctl handling left there is not point in having a separate copat_ioctl.h, so merge it into compat_ioctl.c Yes,

Re: Weird MMC errors: 1 of 2 - bad ocr value

2007-04-08 Thread Pierre Ossman
Alex Dubov wrote: Recently, I've obtained a bug report concerning an MMC card. Two problems are described, both sporadic. Problem 1: illegal ocr value is returned. You may notice, in the non-working case, obviously incorrect ocr value (0x) is returned. The card won't work after

Re: If not readdir() then what?

2007-04-08 Thread Ulrich Drepper
On 4/8/07, H. Peter Anvin [EMAIL PROTECTED] wrote: More fundamentally, the telldir cookie should never be valid when applied to a different DIR * (even one that refers to the same directory.) Don't worry about this. This is clearly the semantics which was always wanted. I've filed a defect

Re: Weird MMC errors: 2 of 2 - inconsistent state after data crc error

2007-04-08 Thread Pierre Ossman
Alex Dubov wrote: Problem 2: After a data crc error all subsequent commands fail. May it be caused by stop command leaving card in some bad state (something clearable by SEND_STATUS)? On the other hand, is there a real need to issue a stop command in case main command failed? It might

Re: [RFC] pata_icside driver

2007-04-08 Thread Alan Cox
+ /* + * DMA is based on a 16MHz clock + */ + if (ata_timing_compute(adev, adev-dma_mode, t, 1000, 1)) + return; This seems strange for a 16MHz clock. + + /* + * Now, properly adjust the timings. If we have a 62.5ns clock + * period and we

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-08 Thread Daniel Walker
On Sun, 2007-04-08 at 10:33 +0200, Thomas Gleixner wrote: Oh well, this is a leftover from the days where we tried to use TSC despite of frequency changes. It still modifies the scale factor of the tsc clocksource. I agree that it can be removed as we switch off TSC anyway in that case.

Re: [PATCH 2/4] Save the MTRRs of the BSP before booting an AP

2007-04-08 Thread Andrew Morton
On Tue, 3 Apr 2007 16:00:36 +0200 (CEST) Bernhard Kaindl [EMAIL PROTECTED] wrote: --- linux-2.6.20.orig/arch/i386/kernel/smpboot.c +++ linux-2.6.20/arch/i386/kernel/smpboot.c @@ -59,6 +59,7 @@ #include asm/nmi.h #include asm/pda.h #include asm/genapic.h +#include asm/mtrr.h This

Re: kernel BUG at net/core/skbuff.c in linux-2.6.21-rc6

2007-04-08 Thread Bartek
Please reproduce and provide a new crash dump without the nvidia binary-only module loaded. Hi again, Here is a new crash dump (I also removed vmnet and vmmon properitary modules), this time I also included a lspci output: Apr 8 21:47:21 localhost pppd[2114]: rcvd [proto=0xfc3b] bc d4 80 eb

Re: If not readdir() then what?

2007-04-08 Thread J. Bruce Fields
On Sat, Apr 07, 2007 at 04:36:33PM -0400, Theodore Tso wrote: 1) Deprecate telldir/seekdir() altogether. Relatively few progams use this functionality, and it is highly questionable how useful it is, anyway. If you use telldir/seekdir and keep the cookie for a long time, even the

Re: [PATCH 0/4] Fix MTRR suspend support for specific machines (some AMD64, maybe others also)

2007-04-08 Thread Andrew Morton
On Tue, 3 Apr 2007 15:55:32 +0200 (CEST) Bernhard Kaindl [EMAIL PROTECTED] wrote: With at least 3 of the following 4 patches, s2ram and s2disk are fixed on at least the Acer Ferrari 1000 notebooks and at least s2disk on the Acer Ferrari 5000 notebooks. These patches cause my Vaio to oops

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-08 Thread Nigel Cunningham
Hi. On Sun, 2007-04-08 at 18:47 +0200, Rafael J. Wysocki wrote: On Sunday, 8 April 2007 01:42, Nigel Cunningham wrote: Hi. On Sun, 2007-04-08 at 01:13 +0200, Rafael J. Wysocki wrote: On Sunday, 8 April 2007 00:31, Nigel Cunningham wrote: Hi. On Sat, 2007-04-07 at 15:06

2.6.21-rc6-mm1

2007-04-08 Thread Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/ - Lots of x86 updates - This is a 25MB diff against mainline, which is rather large. Boilerplate: - See the `hot-fixes' directory for any important updates to this patchset. - To fetch an -mm tree

Re: Reiser4. BEST FILESYSTEM EVER - Christer Weinigel

2007-04-08 Thread johnrobertbanks
Christer Weinigel: Until YOU, have actually used the REISER4 filesystem yourself, I think YOU OWE IT to the people on the linux-kernel mailing list, to, AS YOU SAY, shut the fuck up. Even reading up on the REISER4 filesystem would help. Applying a little intelligence would undoubtedly help

Re: Reiser4. BEST FILESYSTEM EVER - Christer Weinigel

2007-04-08 Thread Richard Knutsson
Wow, I'm impressed. Think you got the record on how many mails you referenced to in a reply... But dude, please calm down, the caps-lock is not the answer. You have got some rude answers and you have called them back on it + you have repeated the same statement several times, that is not the

Re: Linux 2.6.21-rc6

2007-04-08 Thread Andrew Morton
On Thu, 5 Apr 2007 19:50:11 -0700 (PDT) Linus Torvalds [EMAIL PROTECTED] wrote: Ok, I don't think there really is anything very interesting here, but we're hopefully whittling down the list of regressions, and fixing various random other small issues while at it. Some smallish MIPS

Add a norecovery option to ext3/4?

2007-04-08 Thread Samuel Thibault
Hi, Distribution installers usually try to probe OSes for building a suited grub menu. Unfortunately, mounting an ext3 partition, even in read-only mode, does perform some operations on the filesystem (log recovery). This is not a good idea since it may silently garbage data. XFS has a

Re: Security computation within Linux kernel

2007-04-08 Thread Lee Revell
On 4/8/07, JanuGerman [EMAIL PROTECTED] wrote: Hi every one, I have one question regarding security libraries, already shipped with Linux Kernel. That is, all PKI, RSA libraries, as provided by OpenSSL are already integrated within the linux kernel source code? OR, one have to use OpenSSL

Re: SD scheduler testing hitch

2007-04-08 Thread Dmitry Adamushko
On 08/04/07, Mike Galbraith [EMAIL PROTECTED] wrote: On Sat, 2007-04-07 at 19:17 +0200, Mike Galbraith wrote: I lowered the time to 500us, and ran at nice -10.. it starves tenpercent here every time. (ran as taskset -c 1 nice -n -10 ./fairtest) The starving 10% duty cycle task has trouble

Re: SD scheduler testing hitch

2007-04-08 Thread Dmitry Adamushko
[...] Well, it's a late hour, so maybe I'm missing something... but it does look to be HZ and will run time interval related issue. Like described in (*). Or maybe we both observe similar situations but have different reasons behind them. I meant that account_user_time() is also called from

Re: Linux 2.6.21-rc6

2007-04-08 Thread Greg KH
On Sun, Apr 08, 2007 at 04:09:54PM -0700, Andrew Morton wrote: I'm sitting on five patches which look like 2.6.21 material, but which would normally go through subsystem maintainers: driver core:

[PATCH] intel_agp: PCI id update for Intel 965GM

2007-04-08 Thread Wang Zhenyu
[AGPGART] intel: Add 965GM chipset support Update PCI id info for Intel 965GM chipset. Signed-off-by: Wang Zhenyu [EMAIL PROTECTED] --- diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index e542a62..a9fdbf9 100644 --- a/drivers/char/agp/intel-agp.c +++

Re: Linux 2.6.21-rc6

2007-04-08 Thread Jeff Garzik
Andrew Morton wrote: netdev: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc6/2.6.21-rc6-mm1/broken-out/forcedeth-work-around-null-skb-dereference-crash.patch It sounded this was specific to Ingo. I haven't heard anybody else complain, and AFAIK Ayaz and Ingo were

Re: [RFC] pata_icside driver

2007-04-08 Thread Jeff Garzik
Alan Cox wrote: The second FIXME area is ata_irq_ack - it is unconditionally coded for SFF-type interfaces. I believe that using this function in non-BMDMA interfaces is wrong - it attempts to read from the BMDMA registers irrespective of whether ap-ioaddr.bmdma_addr is set or not. The

  1   2   3   4   >