[patch 1/2] Avoid wasting IRQs patch update (i386)

2005-07-11 Thread Natalie . Protasevich
The patch addresses a problem with ACPI SCI interrupt entry, which gets re-used, and the IRQ is assigned to another unrelated device. The patch corrects the code such that SCI IRQ is skipped and duplicate entry is avoided. Second issue came up with VIA chipset, the problem was caused by

[patch 2/2] Avoid wasting IRQs patch update (x86_64)

2005-07-11 Thread Natalie . Protasevich
The patch adds boundary check for the MAX_GSI_NUM. Same as the update for i386, the patch addresses a problem with ACPI SCI IRQ. The patch corrects the code such that SCI IRQ is skipped and duplicate entry is avoided. The VIA chipset uses 4-bit IRQ register for internal interrupt routing, and

problem about Kconfig default value

2005-07-11 Thread junjie cai
hello list, i had a problem about the default value in Kconfig. for example,i had two Kconfig files: arch/arm/mach-xxx/Kconfig ... config CPU_MHZ ... init/Kconfig ... config PRESET_LPJ default 2 if(ARCH_XXX CPU_MZH) default 1 if(ARCH_XXX !CPU_MZH) ... right

[PATCH] Add kerneldoc reference to CodingStyle

2005-07-11 Thread Pekka J Enberg
Signed-off-by: Pekka Enberg [EMAIL PROTECTED] --- CodingStyle |3 +++ 1 files changed, 3 insertions(+) Index: 2.6/Documentation/CodingStyle === --- 2.6.orig/Documentation/CodingStyle +++ 2.6/Documentation/CodingStyle @@ -236,6

Re: share/private/slave a subtree - define vs enum

2005-07-11 Thread Pekka J Enberg
Hi Roman, Roman Zippel writes: I don't generally disagree with that, I just think that defines are not part of that list. They're in Documentation/CodingStyle (see Chapter 11). Roman Zippel writes: Look, it's great that you do reviews, but please keep in mind it's the author who has to

NFS and RPC question under kernel 2.6

2005-07-11 Thread Xin Zhao
Sorry if this question is dumb. I am trying to modify NFS to add some more features. I changed the rpc_clnt struct in include/linux/sunrpc/clnt.h to add some more fields: vrpc_comm_t *cl_comm; wait_queue_head_t cl_callwaitq[MAX_PENDING_REQS]; int

Swapping broken on 2.6.9? Limit Page Cache growth?

2005-07-11 Thread Jon Florence
Hi, I have got a box running 2.6.9-1.667smp (FC3) with 1GB of Physical memory 1GB of swap. I run 2 test programs on the box. The first one mmaps 800M of memory and mlocks it. The second one tries to allocate 500M of memory in 100K chunks and frees it in the end. However, when the 2nd program

Re: PREEMPT_RT and I-PIPE: the numbers, part 4

2005-07-11 Thread Ingo Molnar
* Karim Yaghmour [EMAIL PROTECTED] wrote: With ping floods, as with other things, there is room for improvement, but keep in mind that these are standard tests [...] the problem is that ping -f isnt what it used to be. If you are using a recent distribution with an updated ping utility,

2.6.12.2 tg3 driver doesn't ARP on 8021q 802.1q dot1q VLAN interfaces?

2005-07-11 Thread Marc Haber
Hi, this morning, I tried upgrading a firewall from Debian woody to Debian sarge, and in the course upgrading from a locally compiled vanilla 2.4.30 to a locally compiled vanilla 2.6.12.2. The box is a hp DL 140 which has two tg3-based Interfaces on board, and a dual-Interface E1000 PCI card in

[PATCH] eventpoll : Suppress a short lived lock from struct file

2005-07-11 Thread Eric Dumazet
Hi Davide I found in my tests that there is no need to have a f_ep_lock spinlock attached to each struct file, using 8 bytes on 64bits platforms. The lock is hold for a very short time period and can be global, with almost no change in performance for applications using epoll, and a gain for all

Re: aio-stress throughput regressions from 2.6.11 to 2.6.12

2005-07-11 Thread Sébastien Dugué
On Fri, 2005-07-01 at 13:26 +0530, Suparna Bhattacharya wrote: Has anyone else noticed major throughput regressions for random reads/writes with aio-stress in 2.6.12 ? Or have there been any other FS/IO regressions lately ? On one test system I see a degradation from around 17+ MB/s to

hwd accel framebuffer: Newbi question (sleep in sync)

2005-07-11 Thread Andrey Volkov
Hi all, Anyone could explain me, could I or couldn't use process sleep (i.e. wait_for..., sleep_on...) in fb_info-fb_sync and/or in any hwd accelerated routines (i.e. blit, cursor and rectfill)? Code, which now in kernel, look terrible for me (counter based pooling). Must it be so? -- Regards

Re: [PATCH] eventpoll : Suppress a short lived lock from struct file

2005-07-11 Thread Peter Zijlstra
On Mon, 2005-07-11 at 09:18 +0200, Eric Dumazet wrote: Hi Davide I found in my tests that there is no need to have a f_ep_lock spinlock attached to each struct file, using 8 bytes on 64bits platforms. The lock is hold for a very short time period and can be global, with almost no change in

Re: [PATCH] [30/48] Suspend2 2.1.9.8 for 2.6.12: 607-atomic-copy.patch

2005-07-11 Thread Nigel Cunningham
Hi. On Mon, 2005-07-11 at 04:01, Pavel Machek wrote: Hi! --- 608-compression.patch-old/kernel/power/suspend2_core/compression.c 1970-01-01 10:00:00.0 +1000 +++ 608-compression.patch-new/kernel/power/suspend2_core/compression.c

Re: reiser4 vs politics: linux misses out again

2005-07-11 Thread Erik Hensema
Horst von Brand ([EMAIL PROTECTED]): [on reiserfs4] and _can_ do things no other FS can Mostly useless things... Depends on your point of view. If you define things to be useful only when POSIX requires them, then yes, reiser4 contains a lot

Re: [PATCH] MIPS: [PATCH resend] C99 initializers for hw_interrupt_type structures

2005-07-11 Thread Ralf Baechle
On Sun, Jul 10, 2005 at 11:47:24PM +0200, [EMAIL PROTECTED] wrote: Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner [EMAIL PROTECTED] None of these exists anymore in the MIPS CVS, at least according to Rusty's nice little script.

Re: Kernel 2.6.12 + IO-APIC + uhci_hcd = Trouble

2005-07-11 Thread Michel Bouissou
Le Dimanche 10 Juillet 2005 20:50, Protasevich, Natalie a écrit : Michel, Symptoms that you describe resemble several IRQ problems with VIA chipset reported by others (but not quite...) Could you check on bugzilla #4843 please http://bugzilla.kernel.org/show_bug.cgi?id=4843 and see if the

reiser4 hangs on lvm on raid on Fibrechannel

2005-07-11 Thread Alexander Gran
Hi, I'm using reiser4 happily on my workstation for several month now. We'd just wanted to try it on a server now. The setup is as follows: Fujistu RX100S2 Server, P4 3,2Ghz with HT. 1GB Ram. Two Local HDD, on a Fasttrack TX4 Software Raid controller. Both have 3 raid partitions, two for /, two

[PATCH] v850: Update checksum.h to match changed function signatures

2005-07-11 Thread Miles Bader
Signed-off-by: Miles Bader [EMAIL PROTECTED] arch/v850/lib/checksum.c|3 ++- include/asm-v850/checksum.h | 11 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff -ruN -X../cludes linux-2.6.11-uc0/arch/v850/lib/checksum.c linux-2.6.11-uc0-v850-20050711/arch/v850/lib

[PATCH] v850: Update mmu.h header to match implementation changes

2005-07-11 Thread Miles Bader
Signed-off-by: Miles Bader [EMAIL PROTECTED] include/asm-v850/mmu.h | 17 +++-- 1 files changed, 3 insertions(+), 14 deletions(-) diff -ruN -X../cludes linux-2.6.11-uc0/include/asm-v850/mmu.h linux-2.6.11-uc0-v850-20050711/include/asm-v850/mmu.h --- linux-2.6.11-uc0/include/asm

Re: [PATCH 62/82] remove linux/version.h from drivers/video/sis

2005-07-11 Thread Thomas Winischhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Olaf Hering wrote: changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. [...] drivers/video/sis/init.h |5 drivers/video/sis/init301.h |5 drivers/video/sis/sis.h | 46 -- drivers/video/sis/sis_accel.c

Re: [PATCH] eventpoll : Suppress a short lived lock from struct file

2005-07-11 Thread Eric Dumazet
Peter Zijlstra a écrit : On Mon, 2005-07-11 at 09:18 +0200, Eric Dumazet wrote: Have you tested the impact of this change on big SMP/NUMA machines? I hate to see an Altrix crashing to its knees :-) I tested on a small NUMA machine (2 nodes), with a epoll enabled application, that use around

Re: [PATCH] [29/48] Suspend2 2.1.9.8 for 2.6.12: 606-all-settings.patch

2005-07-11 Thread Nigel Cunningham
Hi. On Mon, 2005-07-11 at 04:03, Pavel Machek wrote: Hi! +static void suspend2_suspend_2(void) +{ + if (!save_image_part1()) { + suspend_power_down(); + + if (suspend2_powerdown_method == 3) { + int temp_result; + +

Re: [PATCH] v850: Update checksum.h to match changed function signatures

2005-07-11 Thread Frederik Deweerdt
Le 11/07/05 18:24 +0900, Miles Bader écrivit: -unsigned int csum_partial_copy_from_user (const unsigned char *src, unsigned char *dst, +unsigned int csum_partial_copy_from_user (const unsigned char *src, + unsigned char *dst,

Re: [ltp] IBM HDAPS Someone interested? (Userspace accelerometer viewer)

2005-07-11 Thread Paul Sladen
On Sun, 3 Jul 2005, Alejandro Bonilla wrote: PLEASE read the following article, it has the data of a guy that made a driver in IBM for Linux and he described the driver he made. http://www.almaden.ibm.com/cs/people/marksmith/tpaps.html Yesterday evening, I used my time here at Debconf5

Re: [PATCH] [38/48] Suspend2 2.1.9.8 for 2.6.12: 614-plugins.patch

2005-07-11 Thread Nigel Cunningham
Hi. On Mon, 2005-07-11 at 04:08, Pavel Machek wrote: Hi! +unsigned long suspend2_powerdown_method = 5; /* S5 = off */ Constants. + if (suspend2_powerdown_method == 3 || + suspend2_powerdown_method == 4) Constants... + if (suspend2_powerdown_method == 3 || +

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Stelian Pop
Le dimanche 10 juillet 2005 à 00:32 +0200, Peter Osterlund a écrit : Stelian Pop [EMAIL PROTECTED] writes: +Synaptics re-detection problems: + + +The synaptics X11 driver tries to re-open the touchpad input device file +(/dev/input/eventX) each time you

Re: [PATCH] v850: Update checksum.h to match changed function signatures

2005-07-11 Thread Miles Bader
2005/7/11, Frederik Deweerdt [EMAIL PROTECTED]: -unsigned int csum_partial_copy_from_user (const unsigned char *src, unsigned char *dst, +unsigned int csum_partial_copy_from_user (const unsigned char *src, + unsigned char *dst,

cagri otomotiv

2005-07-11 Thread Cagri Motorlu Araclar
Web sayfamizi ziyaret ediniz Tel : 0212 521 11 11 - 521 04 04 - 521 36 96 - 531 76 18 - 532 91 11 Sinirsiz Müsteri Memnuniyetini Esas Alarak 30 Yildir ilkeli ve Kaliteli Hizmet Vermektedir. Vade Takas yapilir. 2 El Otomotivde Tek isim Kaliteye Çagri ...Hizmete Çagri...Güvene Çagri... Web :

Lack of Documentation about SA_RESTART...

2005-07-11 Thread Paolo Ornati
The documentation (man pages info libc) doesn't cover well interaction between various syscalls and SA_RESTART flag of sigaction()... I wonder why! MAN SIGACTION SA_RESTART Provide behaviour compatible with BSD signal semantics by making certain system calls restartable across

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Stelian Pop
Le lundi 11 juillet 2005 à 02:15 +0200, Peter Osterlund a écrit : Vojtech Pavlik [EMAIL PROTECTED] writes: On Sun, Jul 10, 2005 at 12:48:30AM +0200, Peter Osterlund wrote: Vojtech Pavlik [EMAIL PROTECTED] writes: Btw, what I don't completely understand is why you need linear

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Vojtech Pavlik
On Mon, Jul 11, 2005 at 02:15:49AM +0200, Peter Osterlund wrote: I took the liberty to modify the patch myself, making these changes: * Removed the extra filtering. * Converted the open counter to an open flag. (It is still needed by the atp_resume() function.) * CodingStyle fixes. I

PROBLEM: fork() setpriority()

2005-07-11 Thread Rommer
Hello, I have trouble with fork() and setpriority(). When priority of child process != priority of parent process and used SIGCHLD handler. See example. kernel 2.6.12.1, no SMP -- Best regards, Roman #include sys/time.h #include sys/types.h #include sys/resource.h #include signal.h #include

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Vojtech Pavlik
On Mon, Jul 11, 2005 at 12:39:31PM +0200, Stelian Pop wrote: Using a function like return (x_old * 3 + x) / 4; eliminates the need for a FIFO, and has similar (if not better) properties to floating average, because its coefficients are [ .25 .18 .14 .10 ... ].

Re: Swap partition vs swap file

2005-07-11 Thread Helge Hafting
Wakko Warner wrote: Bernd Eckenfels wrote: In article [EMAIL PROTECTED] you wrote: You misunderstood entirely what I said. There is no portable/documented way to grow a file without having the file system null its content. However why is that a problem, you dont create those

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Stelian Pop
On Mon, Jul 11, 2005 at 03:52:44AM -0700, Andrew Morton wrote: Stelian Pop [EMAIL PROTECTED] wrote: Anyway, here is the updated patch: Signed-off-by: Stelian Pop [EMAIL PROTECTED] Documentation/input/appletouch.txt | 83 ++ drivers/usb/input/Kconfig | 19 +

Re: PROBLEM: fork() setpriority()

2005-07-11 Thread Arjan van de Ven
On Mon, 2005-07-11 at 13:58 +0300, Rommer wrote: Hello, I have trouble with fork() and setpriority(). When priority of child process != priority of parent process and used SIGCHLD handler. See example. the example is buggy in that printf() isn't allowed in signal handlers btw... - To

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Stelian Pop
Le lundi 11 juillet 2005 à 13:00 +0200, Vojtech Pavlik a écrit : On Mon, Jul 11, 2005 at 12:39:31PM +0200, Stelian Pop wrote: Using a function like return (x_old * 3 + x) / 4; eliminates the need for a FIFO, and has similar (if not better) properties to

Re: PROBLEM: fork() setpriority()

2005-07-11 Thread Rommer
Hello, Arjan van de Ven wrote: On Mon, 2005-07-11 at 13:58 +0300, Rommer wrote: Hello, I have trouble with fork() and setpriority(). When priority of child process != priority of parent process and used SIGCHLD handler. See example. the example is buggy in that printf() isn't allowed in

Re: reiser4 vs politics: linux misses out again

2005-07-11 Thread Ed Tomlinson
On Sunday 10 July 2005 20:01, Ed Cogburn wrote: Jim Crilly wrote: But in most of the changesets on the bkbits site you can go back over 2 years and not see anything from namesys people. Nearly all of the fixes commited in the past 2-3 years are from SuSe. With Chris Mason's name

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Vojtech Pavlik
On Mon, Jul 11, 2005 at 01:08:35PM +0200, Stelian Pop wrote: Possible. The 'fuzz' parameter in input core serves too many usages ihmo. Let me try removing the quick motion compensation and see... It was designed for joysticks and works very well for them. Usefulness for other device types may

Re: PREEMPT_RT and I-PIPE: the numbers, part 4

2005-07-11 Thread Karim Yaghmour
Ingo Molnar wrote: So why do your ping flood results show such difference? It really is just another type of interrupt workload and has nothing special in it. ... are you suggesting this is not really a benchmark but a way to test how well a particular system withholds against extreme

opening the framebuffer device

2005-07-11 Thread subramanyam yenugonda
Hi All! How to open the frame buffer device if user has multiple monitors on single video card. Thanks in advance. ~YSM __ Free antispam, antivirus and 1GB to save all your messages Only in Yahoo! Mail:

Re: [RFC][PATCH] i386: Per node IDT

2005-07-11 Thread Oleg Nesterov
Zwane Mwaikambo wrote: --- linux-2.6.13-rc1-mm1/arch/i386/kernel/entry.S 3 Jul 2005 13:20:43 - 1.1.1.1 +++ linux-2.6.13-rc1-mm1/arch/i386/kernel/entry.S 10 Jul 2005 22:33:37 - - +/* Build the IRQ entry stubs */ vector=0 -ENTRY(irq_entries_start) + .align

[PATCH] wbsd version bump

2005-07-11 Thread Pierre Ossman
Version increase of the wbsd driver. Signed-off-by: Pierre Ossman [EMAIL PROTECTED] Even though the changes are minor for the next release an increasing version number simplifies my support issues. Index: linux/drivers/mmc/wbsd.c

Re: reiser4 plugins

2005-07-11 Thread Jaroslav Soltys
So basically if I write a program that works in both Gnome and KDE I should (according to your description) implement my own VFS that will use the Gnome or KDE VFS that will then use the OS VFS. Is it only me finding that a little silly? Maybe. Advantages of kde/gnome/other userland vfs ?

[PATCH] Fix whitespace in wbsd

2005-07-11 Thread Pierre Ossman
Remove lots of trailing whitespace caused by not-so-great editor. Signed-off-by: Pierre Ossman [EMAIL PROTECTED] --- linux/drivers/mmc/wbsd.c.orig 2005-07-11 14:26:40.0 +0200 +++ linux/drivers/mmc/wbsd.c 2005-07-11 14:27:02.0 +0200 @@ -93,7 +93,7 @@ static inline void

Re: I have one doubt about detail of page reclaim.

2005-07-11 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: I am reading code of function balabce_pgdat(pg_data_t *pgdat, int nr_pages, int order). Sorry, that have one typo, it should be balance_pgdat(). liyu/NOW:D - To

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Stelian Pop
Le lundi 11 juillet 2005 à 13:21 +0200, Vojtech Pavlik a écrit : On Mon, Jul 11, 2005 at 01:08:35PM +0200, Stelian Pop wrote: Possible. The 'fuzz' parameter in input core serves too many usages ihmo. Let me try removing the quick motion compensation and see... It was designed for

Re: [patch 2.6.13-rc2] pci: restore BAR values from pci_set_power_state for D3hot-D0

2005-07-11 Thread Lennert Buytenhek
On Fri, Jul 08, 2005 at 02:34:56PM -0400, John W. Linville wrote: Some PCI devices lose all configuration (including BARs) when transitioning from D3hot-D0. This leaves such a device in an inaccessible state. The patch below causes the BARs to be restored when enabling such a device, so

Re: [RFC/PATCH 1/2] fsnotify

2005-07-11 Thread David Woodhouse
On Fri, 2005-07-08 at 18:26 -0700, Chris Wright wrote: Add fsnotify as infrastructure for various fs notifcation schemes. Move dnotify to fsnotify. - inode_dir_notify(dir, DN_CREATE); + fsnotify_create(dir, new_dentry-d_name.name); + * We don't compile any of

Re: [patch 2.6.13-rc2] pci: restore BAR values from pci_set_power_state for D3hot-D0

2005-07-11 Thread John W. Linville
On Mon, Jul 11, 2005 at 02:48:44PM +0200, Lennert Buytenhek wrote: On Fri, Jul 08, 2005 at 02:34:56PM -0400, John W. Linville wrote: Some PCI devices lose all configuration (including BARs) when transitioning from D3hot-D0. This leaves such a device in an inaccessible state. The patch

Dirty page tracking patch

2005-07-11 Thread Kimball Murray
Hello to all. On behalf of Stratus Technologies (www.stratus.com) I'd like to present a patch to the i386 kernel code that will allow developers to track dirty memory pages. Stratus uses this technique to facilitate bringing separate cpu and memory module nodes into lockstep with each

[patch 2.6.13-rc2] PCI: Add symbol exports for pci_restore_bars

2005-07-11 Thread John W. Linville
Globalize and add EXPORT_SYMBOL for pci_restore_bars. Signed-off-by: John W. Linville [EMAIL PROTECTED] --- Some have expressed interest in making general use of the the pci_restore_bars function. drivers/pci/pci.c |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-11 Thread Alan Cox
On Gwe, 2005-07-08 at 22:59, Andrew Morton wrote: Chris Wedgwood [EMAIL PROTECTED] wrote: On Thu, Jun 23, 2005 at 11:28:47AM -0700, Linux Kernel Mailing List wrote: ^^ It's been over two weeks and nobody has complained about anything. Then your mail system is faulty because

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-11 Thread Alan Cox
Because some machines exhibit appreciable latency in entering low power state via ACPI, and 1000Hz reduces their battery life. By about half, iirc. Then the owners of such machines can use HZ=250 and leave the default alone. Why should everyone have to bear the cost? They need 100

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-11 Thread Paulo Marques
Ingo Molnar wrote: (gdb) (gdb) # c013ebf4, stack size: 388 bytes # (gdb) (gdb) 0xc013ebf4 is in __print_symbol (kernel/kallsyms.c:234). The attached patch fixes this partially by reducing the stack usage by 128 bytes.

Re: [RFC][PATCH] i386: Per node IDT

2005-07-11 Thread Zwane Mwaikambo
On Sun, 11 Jul 2005, Andi Kleen wrote: Why per node? Why not go the whole way and make it per CPU? I would also not define it statically, but allocate it at boot time in node local memory. I went per node so that it would be minimal/zero impact for the no-node case, it would also simplify

Re: Dirty page tracking patch

2005-07-11 Thread Arjan van de Ven
On Mon, 2005-07-11 at 09:16 -0400, Kimball Murray wrote: Hello to all. On behalf of Stratus Technologies (www.stratus.com) I'd like to present a patch to the i386 kernel code that will allow developers to track dirty memory pages. Stratus uses this technique to facilitate bringing

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Stelian Pop
Le lundi 11 juillet 2005 à 14:47 +0200, Stelian Pop a écrit : How to make it work ? Obviously I could implement either fuzz elimination or smoothing in the driver, and leave the other transformation to the input core (today it is the smoothing which is in the driver, but doing it the other

Re: [RFC] Atmel-supplied hardware headers for AT91RM9200 SoC processor

2005-07-11 Thread Alan Cox
No reason to use the horror it is as-is. Beein hardware description they won't change ever except for additions, so just clean the mess up into somethign nice and submit them. You could have done so in the time you spent arguing on linux-arm-kernel already. Or written a perl script to

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Peter Osterlund
Stelian Pop [EMAIL PROTECTED] writes: Le lundi 11 juillet 2005 à 02:15 +0200, Peter Osterlund a écrit : Vojtech Pavlik [EMAIL PROTECTED] writes: Using a function like return (x_old * 3 + x) / 4; eliminates the need for a FIFO, and has similar (if not better)

Re: [PATCH] Apple USB Touchpad driver (new)

2005-07-11 Thread Peter Osterlund
Stelian Pop [EMAIL PROTECTED] writes: +/* + * Smooth the data sequence by estimating the slope for the data sequence + * [x3, x2, x1, x0] by using linear regression to fit a line to the data and + * use the slope of the line. Taken from the synaptics X driver. + */ This comment is not

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-11 Thread Alistair John Strachan
On Saturday 09 Jul 2005 17:04, Alistair John Strachan wrote: On Saturday 09 Jul 2005 16:57, Ingo Molnar wrote: * Alistair John Strachan [EMAIL PROTECTED] wrote: Okay, I'll send you the vmlinux from -18 with a new digital photo, and config, with CONFIG_4KSTACKS enabled. this crash too

Re: [RFC] Atmel-supplied hardware headers for AT91RM9200 SoC processor

2005-07-11 Thread Andrew Victor
hi, No reason to use the horror it is as-is. Beein hardware description they won't change ever except for additions, so just clean the mess up into somethign nice and submit them. You could have done so in the time you spent arguing on linux-arm-kernel already. Or written a perl

Re: [PATCH] eventpoll : Suppress a short lived lock from struct file

2005-07-11 Thread Davide Libenzi
On Mon, 11 Jul 2005, Eric Dumazet wrote: Peter Zijlstra a écrit : On Mon, 2005-07-11 at 09:18 +0200, Eric Dumazet wrote: Have you tested the impact of this change on big SMP/NUMA machines? I hate to see an Altrix crashing to its knees :-) I tested on a small NUMA machine (2 nodes), with a

Re: [RFC][PATCH] i386: Per node IDT

2005-07-11 Thread Zwane Mwaikambo
On Mon, 11 Jul 2005, Arjan van de Ven wrote: On Mon, 2005-07-11 at 03:59 +0200, Andi Kleen wrote: Why per node? Why not go the whole way and make it per CPU? Agreed, for two reasons even 1) Per cpu allows for even more devices and cache locality 2) While few people have a NUMA system,

Re: reiserfs + quotas in kernel 2.6.11.12

2005-07-11 Thread Jan Kara
Hi, How stable is reiserfs quotas in 2.6.11.12? They should be pretty stable. At least I don't know about any reported bugs in that or any newer version unless you are using 1KB blocks. With 1KB blocks there was a bug which should be fixed since 2.6.13-rc1 I think.

I have centrino laptop with no freq/voltage tables in BIOS

2005-07-11 Thread Mariusz Gniazdowski
Hi. I have centrino laptop with no built-in frequency/voltage pairs in BIOS/ACPI. I have found this thread: http://lkml.org/lkml/2005/7/6/101 And it would be exactly what i need. My laptop is Gericom Blockbuster Excellent. CPU: cpu family : 6 model : 13 model name : Intel(R)

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-11 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: might be an incorrect printout of stack_left :( The esp looks more or less normal. Not sure why it printed -52. here's the stack_left calculation: + printk(ds: %04x es: %04x ss: %04x preempt: %08x\n, + regs-xds 0x,

CONFIG_ALPHA_GENERIC problem with gcc-4.1

2005-07-11 Thread Dan Kegel
I've been doing builds of linux-2.6.11 as a sanity check for new versions of gcc, and a problem just popped up in arch/alpha/Makefile (see http://gcc.gnu.org/ml/gcc/2005-07/msg00397.html) I think I can work around this myself by using CONFIG_ALPHA_EV6 instead of CONFIG_ALPHA_GENERIC, but here's

Re: [ltp] IBM HDAPS Someone interested? (Userspace accelerometer viewer)

2005-07-11 Thread Alan Cox
On Llu, 2005-07-11 at 10:42, Paul Sladen wrote: theta = (N - 512) * 0.5 provides a surprisingly good approximation for pitch/roll values in degrees in the range (-90..+90) so I think the sensor can do ~= +/-2.5G . http://www.paul.sladen.org/thinkpad-r31/aps/accelerometer-screenshot.png

Re: [RFC][PATCH] i386: Per node IDT

2005-07-11 Thread Oleg Nesterov
Hello Zwane, Zwane Mwaikambo wrote: On Mon, 11 Jul 2005, Oleg Nesterov wrote: Could you explain this change? I think it breaks do_signal/handle_signal, they check orig_eax = 0 to handle -ERESTARTSYS: /* Are we from a system call? */ if (regs-orig_eax = 0) { /*

Re: Swapping broken on 2.6.9? Limit Page Cache growth?

2005-07-11 Thread Douglas McNaught
Jon Florence [EMAIL PROTECTED] writes: Hi, I have got a box running 2.6.9-1.667smp (FC3) That's a Red Hat kernel so you should take it up with them, not the LKML. -Doug - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [patch 5/12] lsm stacking v0.2: actual stacker module

2005-07-11 Thread Stephen Smalley
On Thu, 2005-06-30 at 14:50 -0500, [EMAIL PROTECTED] wrote: Adds the actual stacker LSM. snip +static int stacker_inode_getsecurity(struct inode *inode, const char *name, void *buffer, size_t size) +{ +

2.6.13-rc2 (git followed) unable to boot with initrd

2005-07-11 Thread Bas Vermeulen
I am currently unable to boot 2.6.13-rc2. I've got a working 2.6.13-rc1 whose .config I use to compile 2.6.13-rc2. I'm attaching the failed boot log to this message. I'm booting with the same options as 2.6.13-rc1. If anyone knows how to get it working again, I'd be grateful. -- Bas Vermeulen

kernel guide to space

2005-07-11 Thread Michael S. Tsirkin
Hi! I've been tasked with edicating some new hires on linux kernel coding style. While we have Documentation/CodingStyle, it skips detail that is supposed to be learned by example. Since I've been burned by this a couple of times myself till I learned, I've put together a short list of rules

Re: [RFC][PATCH] i386: Per node IDT

2005-07-11 Thread Brian Gerst
Zwane Mwaikambo wrote: On Sun, 11 Jul 2005, Andi Kleen wrote: Why per node? Why not go the whole way and make it per CPU? I would also not define it statically, but allocate it at boot time in node local memory. I went per node so that it would be minimal/zero impact for the no-node

Re: [RFC][PATCH] i386: Per node IDT

2005-07-11 Thread Zwane Mwaikambo
Hi Oleg, On Mon, 11 Jul 2005, Oleg Nesterov wrote: The change is so that we can send IRQs higher than 256 to do_IRQ. That looks like it tries to check if we came in via system_call since we'd save the system call number as orig_eax. Now that i think about it, doesn't that path always

Re: [RFC][PATCH] i386: Per node IDT

2005-07-11 Thread Oleg Nesterov
Oleg Nesterov wrote: Probably it makes sense to change it to pushl $vector - 0x - 1 Please note that entry.S:BUILD_INTERRUPT() also does this trick: pushl $nr-256; so it should be changed as well. Oleg. - To unsubscribe from this list: send the line unsubscribe

Re: realtime-preempt-2.6.12-final-V0.7.51-11 glitches [no more]

2005-07-11 Thread Rui Nuno Capela
* Rui Nuno Capela [EMAIL PROTECTED] wrote: OTOH, I'll take this chance to show you something that is annoying me for quite some time. Just look to the attached chart where I've marked the spot with an arrow and a question mark. Its just one example of a strange behavior/phenomenon while

Re: [RFC][PATCH] i386: Per node IDT

2005-07-11 Thread Zwane Mwaikambo
On Mon, 11 Jul 2005, Brian Gerst wrote: Zwane Mwaikambo wrote: On Sun, 11 Jul 2005, Andi Kleen wrote: Why per node? Why not go the whole way and make it per CPU? I would also not define it statically, but allocate it at boot time in node local memory. I went per node

Re: [git patches] IDE update

2005-07-11 Thread Alan Cox
On Maw, 2005-07-05 at 20:14, Jens Axboe wrote: IDE still has much lower overhead per command than your average SCSI hardware. SATA with FIS even improves on this, definitely a good thing! But SCSI overlaps them while in PATA they are dead time. Thats why PATA is so demanding of large I/O block

Re: [Paranoia] program cdparanoia not setting count and/or reply_len properly

2005-07-11 Thread Douglas Gilbert
Bill Davidsen wrote: Aaron VonderHaar wrote: When ripping from a scsi device (/dev/sg*) with linux kernel 2.6.11, my kernel log is filled with messages like === dmesg === sg_write: data in/out 12/12 bytes for SCSI command 0x43--guessing data in; program cdparanoia not setting count and/or

Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

2005-07-11 Thread Alan Cox
3) is tricky I guess, it's designed for cases that are like I want a timer 1 second from now, but it's ok to be also at 1.5 seconds if that suits you better. Those cases are far less rare than you might think at first, most watchdog kind things are of this type. This accuracy thing will allow

Re: [RFC] Atmel-supplied hardware headers for AT91RM9200 SoC processor

2005-07-11 Thread Alan Cox
On Llu, 2005-07-11 at 14:57, Andrew Victor wrote: The issue that everybody seems to be forgetting (or ignoring) with changing the headers is that ALL the drivers then also need to be converted, and re-tested. So its a few more lines of perl I have asked Atmel if they're willing to

[PATCH 1/2] NMI: Update NMI users of RCU to use new API

2005-07-11 Thread Paul E. McKenney
Uses of RCU for dynamically changeable NMI handlers need to use the new rcu_dereference() and rcu_assign_pointer() facilities. This change makes it clear that these uses are safe from a memory-barrier viewpoint, but the main purpose is to document exactly what operations are being protected by

Re: [PATCH] eventpoll : Suppress a short lived lock from struct file

2005-07-11 Thread Eric Dumazet
Davide Libenzi a écrit : Eric, I can't really say I like this one. Not at least after extensive tests run on top of it. fair enough :) You are asking to add a bottleneck to save 8 bytes on an entity that taken alone in more than 120 bytes. Consider that when you have a struct file

[PATCH] Fix JBD race in t_forget list handling

2005-07-11 Thread Jan Kara
Hello all, attached patch should close the possible race between journal_commit_transaction() and journal_unmap_buffer() (which adds buffers to committing transaction's t_forget list) that could leave some buffers on transaction's t_forget list (hence leading to an assertion failure later

Re: kernel guide to space

2005-07-11 Thread Sander
Michael S. Tsirkin wrote (ao): Use tabs, not spaces, for indentation. Tabs should be 8 characters wide. A tab is a tab. The editor/viewer can be configured to show 2, 3, 4, 8, any amount of characters, right? Sander -- Humilis IT Services and Solutions

PAGE_BUG macro

2005-07-11 Thread Gustavo Guillermo Pérez
Hello list, I have old code, and updating I see PAGE_BUG was gone, is fine to diable with a macro to allow build on old kernels?. I see on old post PAGE_BUG and friends seems to be exterminated #ifdef PAGE_BUG #endif :| -- Gustavo Guillermo Pérez Compunauta uLinux

Re: [PATCH] Early kmalloc/kfree

2005-07-11 Thread Alex Williamson
On Sat, 2005-07-09 at 18:06 -0700, Christoph Lameter wrote: On Fri, 9 Jul 2005, Andi Kleen wrote: I think that is a really really bad idea. slab is already complex enough and adding scary hacks like this will probably make it collapse under its own weight at some point. Seconded.

Re: [PATCH 1/2] NMI: Update NMI users of RCU to use new API

2005-07-11 Thread Paul E. McKenney
Add documentation on how to use RCU to implement dynamically changeable NMI handlers. Signed-off-by: [EMAIL PROTECTED] --- NMI-RCU.txt | 112 1 files changed, 112 insertions(+) diff -urpN -X dontdiff

Re: kernel guide to space

2005-07-11 Thread Dmitry Torokhov
Hi, On 7/11/05, Michael S. Tsirkin [EMAIL PROTECTED] wrote: 3e. sizeof space after the operator sizeof a If braces are used no spaces please : sizeof(struct foo) 4c. Breaking long lines Descendants are always substantially shorter than the parent

Re: [RFC] Atmel-supplied hardware headers for AT91RM9200 SoC processor

2005-07-11 Thread Christoph Hellwig
On Mon, Jul 11, 2005 at 03:57:26PM +0200, Andrew Victor wrote: Or written a perl script to reprocess them into something saner for that matter. The issue that everybody seems to be forgetting (or ignoring) with changing the headers is that ALL the drivers then also need to be converted,

Re: Realtime Preemption, 2.6.12, Beginners Guide?

2005-07-11 Thread Alistair John Strachan
On Monday 11 Jul 2005 15:43, Ingo Molnar wrote: * Alistair John Strachan [EMAIL PROTECTED] wrote: It's annoying that this is so readily reproducible here, yet almost impossible to debug, and clearly a sideaffect of 4KSTACKS.. without it actually being a stack overflow. I realise

[PATCH] Make ll_rw_block() wait for buffer lock

2005-07-11 Thread Jan Kara
Hello, attached patch adds an operation SWRITE to ll_rw_block(). When this operation is specified ll_rw_block() waits for a buffer lock and doesn't just skip the locked buffer. Under some circumstances we need to make sure that current data are really being sent to disk and the old

[PATCH] Change ll_rw_block() calls in Reiser

2005-07-11 Thread Jan Kara
Hello, attached patch changes ll_rw_block() calls in Reiserfs to make sure that submitted data really reach the disk (the patch relies on the previous ll_rw_block() patch). Honza -- Jan Kara [EMAIL PROTECTED] SuSE CR Labs We

Re: realtime-preempt-2.6.12-final-V0.7.51-11 glitches [no more]

2005-07-11 Thread Ingo Molnar
* Rui Nuno Capela [EMAIL PROTECTED] wrote: After several trials, with CONFIG_PROFILING=y and profile=1 nmi_watchdog=2 as boot parameters, I'm almost convinced I'm doing something wrong :) - `readprofile` always just outputs one line: 0 total

[PATCH] Change HFS+ to not use ll_rw_block()

2005-07-11 Thread Jan Kara
Hi, attached patch changes HFS+ to use sync_one_buffer() instead of ll_rw_block() and wait_on_buffer(). Honza -- Jan Kara [EMAIL PROTECTED] SuSE CR Labs Use block layer predefined function. Signed-off-by: Jan Kara [EMAIL

  1   2   3   4   5   6   7   8   >