Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-22 Thread Andrew Morton
On Mon, 22 Jan 2007 22:31:48 +0200 Alon Bar-Lev [EMAIL PROTECTED] wrote: Hello Andrew, Can I do anything more in order to be closer to merge? Avoid top-posting? ;) Some general comments... or should I CC other people etc... I submitted this several times but got almost no architecture to

Re: [-mm patch] drivers/firewire/: cleanups

2007-01-22 Thread Stefan Richter
Adrian Bunk wrote: This patch contains the following cleanups: - extern inline - static inline - fw-topology.c: make struct fw_node_create static Committed to linux1394-2.6.git. -- Stefan Richter -=-=-=== ---= =-==- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line

[patch 2.6.20-rc5] rm pointless dmaengine exports

2007-01-22 Thread David Brownell
This removes several pointless exports from drivers/dma/dmaengine.c; the dma_async_memcpy_*() functions are inlined by linux/dmaengine.h so those exports are inappropriate. It also moves the existing EXPORT_SYMBOL declarations next to their functions, so it's now trivial to confirm one-to-one

Re: OT: snow tux

2007-01-22 Thread Gene Heskett
On Monday 22 January 2007 15:21, David Nicol wrote: http://www.cymor.com/gallery/SnowPenguin/aah Cute, somebody obviously has time on their hands. I take it the colors are water colors? :) - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: ATA - pata_mpiix.c support for 82371AB chipsets?

2007-01-22 Thread Alan
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) This isn't an MPIIX, Use the ata_piix driver - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: OT: snow tux

2007-01-22 Thread Gene Heskett
On Monday 22 January 2007 15:34, [EMAIL PROTECTED] wrote: I have to ask why the yellow snow appears to have run, bad aim? Chuckle. Reminds me of a joke that's centuries old. Seems farmer Brown was giving farmer Jones (who had a son) hell because his daughters name Becky was written in the

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-22 Thread Bernhard Walle
* Andrew Morton [EMAIL PROTECTED] [2007-01-22 21:44]: Some general comments... or should I CC other people etc... I submitted this several times but got almost no architecture to ACK. I just don't know how we can progress with this issue... All we wanted is to break the 256 limit in

Re: Bug in drivers/md/md.c ?

2007-01-22 Thread Neil Brown
On Tuesday January 16, [EMAIL PROTECTED] wrote: Hi! I'm getting md: bug in file drivers/md/md.c, line 1652 (see below) after writing data to a md-device using dd. Is it really a bug or am I just using mdadm in the wrong way? I'm unsure about the --assume-clean flag when creating the raid5

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-22 Thread Alon Bar-Lev
On 1/22/07, Bernhard Walle [EMAIL PROTECTED] wrote: I refreshed the patches from Alon against 2.6.20-rc4-mm1. Or was I totally wrong? I don't know what is Avoid top-posting? ;) I hope it is a good thing... :) I will look at it again and submit it as requested. Thank you, Alon Bar-Lev. - To

Re: SATA hotplug from the user side ?

2007-01-22 Thread Henrique de Moraes Holschuh
On Mon, 22 Jan 2007, Soeren Sonnenburg wrote: - For SIL3114 and SIL3124 you don't have to run any commands at all. It should notice when you yank the cable, or plug in a new device. All you have to do is to stop using the devices before unplugging, e.g. unmount partitions on the disk or remove

mixer hw loosing its settings during suspend

2007-01-22 Thread Klaus Vink Slott
Hi I was discussing yesterday with Danny on his blok http://dkukawka.blogspot.com/2006/11/kpowersave-config-tutorial.html about how to restore sound on my old laptop. He told me that I should drop you a note as my problem in reality should be handled by the kernel. Short story is that I

Re: [PATCH] serial driver PMC MSP71xx, kernel linux-mips.git master

2007-01-22 Thread Alan
There are three different fixes: 1. Fix for THRE errata That should be handled anyway. The current code actually spots this and uses a backup timer for dodgy UARTS 2. Fix for Busy Detect on LCR write 3. Workaround for interrupt/data concurrency issue case UPIO_MEM: +#ifdef

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread linux-os \(Dick Johnson\)
On Mon, 22 Jan 2007, Lennart Sorensen wrote: On Mon, Jan 22, 2007 at 06:36:19PM +, Alan wrote: K is Kelvin, k is kilo- K is a unit is Kelvin, k/K as a prefix is kilo. See ISO 31. There is a standard for this stuff which is used worldwide and only bits of the computing industry appear

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Jan Engelhardt
On Jan 22 2007 15:43, Lennart Sorensen wrote: On Mon, Jan 22, 2007 at 05:58:42PM +0100, Jan Engelhardt wrote: For Fs sake, when you gotta use abbreviations, then just use k=1000 and K=1024 already, b for bits and B for bytes. Problem gone. And for 10^6 vs 2^20? My harddisk is a 251 gB

Re: OT: snow tux

2007-01-22 Thread Jan Engelhardt
On Jan 22 2007 15:47, Gene Heskett wrote: On Monday 22 January 2007 15:21, David Nicol wrote: http://www.cymor.com/gallery/SnowPenguin/aah Cute, somebody obviously has time on their hands. I take it the colors are water colors? :) Hm watercolor painting should have sufficed (I think - never

[PATCH] Change incorrect CONFIG_INPUT_ATIXL to CONFIG_MOUSE_ATIXL.

2007-01-22 Thread Robert P. J. Day
Change the apparently incorrect check for CONFIG_INPUT_ATIXL in a source file to be consistent with the kernel config option CONFIG_MOUSE_ATIXL. Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] --- this *looks* like a bug. diff --git a/drivers/input/mouse/inport.c

Re: [PATCH -rt] whitespace cleanup for 2.6.20-rc5-rt7

2007-01-22 Thread noah
No script. Does trailing whitespace and spaces before tab indents seem to cover all the whitespace problem scenarios? -noah On Mon, Jan 22, 2007 at 08:58:36PM +0100, Ingo Molnar wrote: * Noah Watkins [EMAIL PROTECTED] wrote: fixes trailing whitespace and spaces before tab indents in

Re: Data corruption with raid5/dm-crypt/lvm/reiserfs on 2.6.19.2

2007-01-22 Thread Christophe Saout
Am Montag, den 22.01.2007, 11:56 -0800 schrieb Andrew Morton: There has been a long history of similar problems when raid and dm-crypt are used together. I thought a couple of months ago that we were hot on the trail of a fix, but I don't think we ever got there. Perhaps Christophe can

Re: i810fb fails to load

2007-01-22 Thread Dave Airlie
Don't know. But I bet someone on the Cc does... Tilman, Thanks for reporting. Can you try the attached patch to see if that fixes the problem. Hi Thomas, This also fixes X starting on old i810/5 hardware, I had noticed it broken but hadn't had time to investigate it, this patch fixes

Re: [PATCH -rt] whitespace cleanup for 2.6.20-rc5-rt7

2007-01-22 Thread Michal Piotrowski
On 22/01/07, Ingo Molnar [EMAIL PROTECTED] wrote: * Noah Watkins [EMAIL PROTECTED] wrote: fixes trailing whitespace and spaces before tab indents in 2.6.20-rc5-rt7 as reported with: git-apply --whitespace=error-all thanks. Did you do the patch manually, or do you have a script for that

Re: [PATCH] update MMConfig patches w/915 support

2007-01-22 Thread Jesse Barnes
On Tuesday, January 16, 2007 11:28 am, Olivier Galibert wrote: But won't the bridge register value control what actually gets decoded? If so, it sounds like this BIOS is buggy wrt mmconfig mapping in general; good thing I'm not using any PCIe devices I guess... Yeah. I've checked the

Re: [PATCH -mm] uts namespace : remove CONFIG_UTS_NS

2007-01-22 Thread Herbert Poetzl
On Tue, Jan 16, 2007 at 09:27:34AM -0600, Serge E. Hallyn wrote: Quoting Cedric Le Goater ([EMAIL PROTECTED]): CONFIG_UTS_NS has very little value as it only deactivates the unshare of the uts namespace and does not improve performance. Signed-off-by: Cedric Le Goater [EMAIL PROTECTED]

Re: [PATCH 2.6.20-rc5] SPI: alternative fix for spi_busnum_to_master

2007-01-22 Thread David Brownell
On Sunday 21 January 2007 6:25 pm, Atsushi Nemoto wrote: Here is a revised version. The children list of spi_master_class contains only spi_master class so we can just compare bus_num member instead of class_id string. Looks just a bit iffy ... though, thanks for helping to finally sort this

ls, df hang and sshd takes long time to accept connection (Kernel 2.6.19)

2007-01-22 Thread Steven Truong
Hi, all. I have a Centos 4.4 box and compiled the vanila kernel 2.6.19 for a HPC environment. Somehow, whenever I did df /home it would just hang and my user try to ls his home directory and the terminal hang. The /home is lvm raid 1 on a 3 ware (3w-) card (6 drives total, 2 HDs raid 1 for

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-22 Thread Bernhard Walle
* Russell King [EMAIL PROTECTED] [2007-01-18 16:23]: On Thu, Jan 18, 2007 at 04:31:51PM +0100, Tomas Carnecky wrote: Russell King wrote: On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: -static char command_line[COMMAND_LINE_SIZE]; +static char __initdata

2.6.18-stable release plans?

2007-01-22 Thread Chuck Ebbert
Is there going to be another 2.6.18-stable release? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH -mm] ipc namespace : remove CONFIG_IPC_NS

2007-01-22 Thread Herbert Poetzl
On Tue, Jan 16, 2007 at 09:17:49AM -0600, Serge E. Hallyn wrote: Quoting Cedric Le Goater ([EMAIL PROTECTED]): CONFIG_IPC_NS has very little value as it only deactivates the unshare of the ipc namespace and does not improve performance. Signed-off-by: Cedric Le Goater [EMAIL PROTECTED]

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Bodo Eggert
On Mon, 22 Jan 2007, Tony Foiani wrote: Jan == Jan Engelhardt [EMAIL PROTECTED] writes: Jan For Fs sake, when you gotta use abbreviations, then just use Jan k=1000 and K=1024 already, b for bits and B for bytes. Problem Jan gone. The one-letter abbreviations are identical to SI

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-22 Thread Russell King
On Mon, Jan 22, 2007 at 11:14:00PM +0100, Bernhard Walle wrote: * Russell King [EMAIL PROTECTED] [2007-01-18 16:23]: On Thu, Jan 18, 2007 at 04:31:51PM +0100, Tomas Carnecky wrote: Russell King wrote: On Thu, Jan 18, 2007 at 01:58:52PM +0100, Bernhard Walle wrote: -static char

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-22 Thread Bernhard Walle
* Russell King [EMAIL PROTECTED] [2007-01-22 23:27]: which reflects precisely what I've been saying concerning the addition of __initdata. 100 % correct, thanks. Regards, Bernhard - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

[GIT PATCH] USB fixes for 2.6.20-rc5

2007-01-22 Thread Greg KH
Here are some USB fixes for 2.6.20-rc5 They include a small number of fixes for some USB bugs, and some new device ids, all of the details are below. I've also disabled the USB multithreaded probe option, as it broke a number of people's machines. Most of them have been in the -mm releases, but

Re: [linux-usb-devel] [GIT PATCH] USB fixes for 2.6.20-rc5

2007-01-22 Thread Marcel Holtmann
Hi Greg, They include a small number of fixes for some USB bugs, and some new device ids, all of the details are below. I've also disabled the USB multithreaded probe option, as it broke a number of people's machines. what about the two pending patches to make device_move() working as

Re: [linux-usb-devel] [GIT PATCH] USB fixes for 2.6.20-rc5

2007-01-22 Thread Greg KH
On Mon, Jan 22, 2007 at 09:15:04PM +0100, Marcel Holtmann wrote: Hi Greg, They include a small number of fixes for some USB bugs, and some new device ids, all of the details are below. I've also disabled the USB multithreaded probe option, as it broke a number of people's machines.

Re: [linux-usb-devel] [GIT PATCH] USB fixes for 2.6.20-rc5

2007-01-22 Thread Marcel Holtmann
Hi Greg, They include a small number of fixes for some USB bugs, and some new device ids, all of the details are below. I've also disabled the USB multithreaded probe option, as it broke a number of people's machines. what about the two pending patches to make device_move() working

Re: problems with latest smbfs changes on 2.4.34 and security backports

2007-01-22 Thread dann frazier
On Mon, Jan 22, 2007 at 10:50:47AM +1100, Grant Coady wrote: On Mon, 22 Jan 2007 00:03:21 +0100, Willy Tarreau [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:/home/other$ uname -r 2.4.34b [EMAIL PROTECTED]:/home/other$ mkdir test [EMAIL PROTECTED]:/home/other$ ln -s test testlink ln: creating

[git patches] ocfs2 fixes

2007-01-22 Thread Mark Fasheh
Hi Linus, This update is just a small set of ocfs2 fixes suitable for merging late in the cycle as they're all either straightforward or trivial. Please pull from 'upstream-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git upstream-linus to receive the

Re: Problem with POSIX threads in latest kernel...

2007-01-22 Thread J.A. Magallón
On Mon, 22 Jan 2007 11:56:30 -0800, Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 16 Jan 2007 02:47:10 +0100 J.A. Magallón [EMAIL PROTECTED] wrote: Hi... I run the (almost) latest -mm kernel (2.6.20-rc3-mm1), and see some strange behaviour with POSIX threads (glibc-2.4). I

dfsg isn't fsf (Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19])

2007-01-22 Thread Oleg Verych
On 2006-12-14, Alan wrote: [] I doubt any distribution but the FSF purified Debian (the one that has no firmware so doesn't work) would do it. DFSG purified Debian[1], please. [1] http://www.debian.org/social_contract -- -o--=O C info emacs : not found /. .\ ( is there any reason to live? )

Re: [PATCH -rt] whitespace cleanup for 2.6.20-rc5-rt7

2007-01-22 Thread Richard Knutsson
Michal Piotrowski wrote: How about this script? d) Ensure that your patch does not add new trailing whitespace. The below script will fix up your patch by stripping off such whitespace. #!/bin/sh strip1() { TMP=$(mktemp /tmp/XX) cp $1 $TMP sed -e

Re: [PATCH] select: fix sys_select to not leak ERESTARTNOHAND to userspace

2007-01-22 Thread bert hubert
On Mon, Jan 22, 2007 at 11:24:06AM -0500, Neil Horman wrote: The error was reported to me second hand. I'm expecting a reproducer (although to date, I'm still waiting for it, so I may have jumped the gun here). In fact, I've asked for a repoducer weeks ago and nothing happened, nobody

Why active list and inactive list?

2007-01-22 Thread Niki Hammler
Dear Linux Developers/Enthusiasts, For a course at my university I'm implementing parts of an operating system where I get most ideas from the Linux Kernel (which I like very much). One book I gain information from is [1]. Linux uses for its Page Replacing Algorithm (based on LRU) *two* chained

[PATCH 000 of 5] knfsd: Introduction - Assorted bugfixes

2007-01-22 Thread NeilBrown
Following are 5 patches for kNFSd suitable for inclusion in 2.6.20. A couple should go to 2.6.19-stable, but I'll send those separately. NeilBrown [PATCH 001 of 5] knfsd: Update email address and status for NFSD in MAINTAINERS. [PATCH 002 of 5] knfsd: Fix setting of ACL server versions.

[PATCH 001 of 5] knfsd: Update email address and status for NFSD in MAINTAINERS.

2007-01-22 Thread NeilBrown
Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat output ./MAINTAINERS |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff .prev/MAINTAINERS ./MAINTAINERS --- .prev/MAINTAINERS 2007-01-23 11:13:46.0 +1100 +++ ./MAINTAINERS 2007-01-23 11:14:14.0

[PATCH 002 of 5] knfsd: Fix setting of ACL server versions.

2007-01-22 Thread NeilBrown
Due to silly typos, if the nfs versions are explicitly set, no NFSACL versions get enabled. Also improve an error message that would have made this bug a little easier to find. Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat output ./fs/nfsd/nfssvc.c |8

[PATCH 004 of 5] knfsd: Replace some warning ins nfsfh.h with BUG_ON or WARN_ON

2007-01-22 Thread NeilBrown
A couple of the warning will be followed by an Oops if they ever fire, so may as well be BUG_ON. Another isn't obviously fatal but has never been known to fire, so make it a WARN_ON. Cc: Adrian Bunk [EMAIL PROTECTED] Signed-off-by: Neil Brown [EMAIL PROTECTED] ### Diffstat output

[PATCH 003 of 5] knfsd: Fix an NFSD bug with full sized, non-page-aligned reads.

2007-01-22 Thread NeilBrown
NFSd assumes that largest number of pages that will be needed for a request+response is 2+N where N pages is the size of the largest permitted read/write request. The '2' are 1 for the non-data part of the request, and 1 for the non-data part of the reply. However, when a read request is not

[PATCH 005 of 5] knfsd: Don't mess with the 'mode' when storing a exclusive-create cookie.

2007-01-22 Thread NeilBrown
From: Peter Staubach [EMAIL PROTECTED] NFS V3 (and V4) support exclusive create by passing a 'cookie' which can get stored with the file. If the file exists but has exactly the right cookie stored, then we assume this is a retransmit and the exclusive create was successful. The cookie is

Re: 2.6.18-stable release plans?

2007-01-22 Thread Jesper Juhl
On 22/01/07, Chuck Ebbert [EMAIL PROTECTED] wrote: Is there going to be another 2.6.18-stable release? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: Why active list and inactive list?

2007-01-22 Thread Andrea Arcangeli
On Tue, Jan 23, 2007 at 01:10:46AM +0100, Niki Hammler wrote: Dear Linux Developers/Enthusiasts, For a course at my university I'm implementing parts of an operating system where I get most ideas from the Linux Kernel (which I like very much). One book I gain information from is [1].

Re: [PATCH -rt] whitespace cleanup for 2.6.20-rc5-rt7

2007-01-22 Thread Satoru Takeuchi
At Tue, 23 Jan 2007 00:42:31 +0100, Richard Knutsson wrote: Michal Piotrowski wrote: How about this script? d) Ensure that your patch does not add new trailing whitespace. The below script will fix up your patch by stripping off such whitespace. #!/bin/sh strip1()

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Krzysztof Halasa
Andreas Schwab [EMAIL PROTECTED] writes: But other than the sector size there is no natural power of 2 connected to disk size. A disk can have any odd number of sectors. But the manufacturers don't count in sectors. It should be consistent, though. How many GB of disk space do you need to

Re: [PATCH 2.6.20-rc5] SPI: alternative fix for spi_busnum_to_master

2007-01-22 Thread Atsushi Nemoto
On Mon, 22 Jan 2007 14:12:02 -0800, David Brownell [EMAIL PROTECTED] wrote: Here is a revised version. The children list of spi_master_class contains only spi_master class so we can just compare bus_num member instead of class_id string. Looks just a bit iffy ... though, thanks for

Re: XFS or Kernel Problem / Bug

2007-01-22 Thread David Chinner
On Mon, Jan 22, 2007 at 09:07:23AM +0100, Stefan Priebe - FH wrote: Hi! The update of the IDE layer was in 2.6.19. I don't think it is a hardware bug cause all these 5 machines runs fine since a few years with 2.6.16.X and before. We switch to 2.6.18.6 on monday last week and all

[ot] Re: coding style and re-inventing the wheel way too many times

2007-01-22 Thread Oleg Verych
On 2006-12-21, Robert P. J. Day wrote: [] in any event, even *i* am not going to go near this kind of cleanup, but is there anything actually worth doing about it? just curious. Moscow wasn't built at once... You may notice as some others are doing little by little steps: - source cleanups;

Re: configfs: return value for drop_item()/make_item()?

2007-01-22 Thread Joel Becker
On Mon, Jan 22, 2007 at 01:35:36PM +0100, Michael Noisternig wrote: Sure, but what I meant to say was that the user, when creating a directory, did not request creation of such sub-directories, so I see them as created by the kernel. Ahh, but userspace did! It's part of the configfs

Re: SATA exceptions with 2.6.20-rc5

2007-01-22 Thread Robert Hancock
Björn Steinbrink wrote: Running a kernel with the return statement replace by a line that prints the irq_stat instead. Currently I'm seeing lots of 0x10 on ata1 and 0x0 on ata2. 40 minutes stress test now and no exception yet. What's interesting is that ata1 saw exactly one interrupt with

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-22 Thread Atsushi Nemoto
On Mon, 22 Jan 2007 18:17:38 +0300, Sergei Shtylyov [EMAIL PROTECTED] wrote: + cbiosize=nn[KMG]The fixed amount of bus space which is + reserved for the CardBus bridges IO window. It shoyld be bridge's... Thanks. Updated again. Subject:

Re: Why active list and inactive list?

2007-01-22 Thread Balbir Singh
Andrea Arcangeli wrote: On Tue, Jan 23, 2007 at 01:10:46AM +0100, Niki Hammler wrote: Dear Linux Developers/Enthusiasts, For a course at my university I'm implementing parts of an operating system where I get most ideas from the Linux Kernel (which I like very much). One book I gain

Re: SATA exceptions with 2.6.20-rc5

2007-01-22 Thread Alistair John Strachan
On Tuesday 23 January 2007 01:24, Robert Hancock wrote: As a final aside, this is another case where the hardware docs for this controller would really be useful, in order to know whether we are actually supposed to be reading that register in ADMA mode or not. I sent a query to Allen Martin

[PATCH] 9p: fix segfault caused by race condition in meta-data operations

2007-01-22 Thread Eric Van Hensbergen
From: Eric Van Hensbergen [EMAIL PROTECTED] - unquoted Running dbench multithreaded exposed a race condition where fid structures were removed while in use. This patch adds semaphores to meta-data operations to protect the fid structure. Some cleanup of error-case handling in the inode

[PATCH] 9p: null terminate error strings for debug print

2007-01-22 Thread Eric Van Hensbergen
From: Eric Van Hensbergen [EMAIL PROTECTED] - unquoted We weren't properly NULL terminating protocol error strings for our debug printk resulting in garbage being included in the output when debug was enabled. Signed-off-by: Eric Van Hensbergen [EMAIL PROTECTED] --- fs/9p/error.c |1 + 1

Re: Why active list and inactive list?

2007-01-22 Thread Christoph Lameter
On Tue, 23 Jan 2007, Balbir Singh wrote: This makes me wonder if it makes sense to split up the LRU into page cache LRU and mapped pages LRU. I see two benefits 1. Currently based on swappiness, we might walk an entire list searching for page cache pages or mapped pages. With these

Re: SATA exceptions with 2.6.20-rc5

2007-01-22 Thread Robert Hancock
Alistair John Strachan wrote: On Tuesday 23 January 2007 01:24, Robert Hancock wrote: As a final aside, this is another case where the hardware docs for this controller would really be useful, in order to know whether we are actually supposed to be reading that register in ADMA mode or not. I

Re: Why active list and inactive list?

2007-01-22 Thread Rik van Riel
Balbir Singh wrote: This makes me wonder if it makes sense to split up the LRU into page cache LRU and mapped pages LRU. I see two benefits Unlikely. I have seen several workloads fall over because they did not throw out mapped pages soon enough. If the kernel does not keep the most

Re: PROBLEM: KB-KiB, MB - MiB, ... (IEC 60027-2)

2007-01-22 Thread Jan Engelhardt
On Jan 23 2007 02:04, Krzysztof Halasa wrote: Andreas Schwab [EMAIL PROTECTED] writes: But other than the sector size there is no natural power of 2 connected to disk size. A disk can have any odd number of sectors. But the manufacturers don't count in sectors. It should be consistent,

Peek at envinroment of procs

2007-01-22 Thread Jan Engelhardt
Hi, what is the preferred way to get at another process's environment variables? /proc/$$/environ looks like the most portable way [across all arches Linux runs on], but it cannot easily be mmap'ed because the size is not known. In fact, mmap does not seem to work at all on that file. So I

Re: Why active list and inactive list?

2007-01-22 Thread Rik van Riel
Christoph Lameter wrote: With the proposed schemd you would have to move pages between lists if they are mapped and unmapped by a process. Terminating a process could lead to lots of pages moving to the unnmapped list. That could be a problem. Another problem is that any such heuristic in

Re: Why active list and inactive list?

2007-01-22 Thread Christoph Lameter
On Mon, 22 Jan 2007, Rik van Riel wrote: It would be really nice if we came up with a page replacement algorithm that did not need many extra heuristics to make it work... I guess the clock type algorithms are the most promising in that area. What happened to all those advanced page

[BUG] Unable to handle kernel NULL pointer dereference...as_move_to_dispatch+0x11/0x135

2007-01-22 Thread Andrew Vasquez
All, We've been trying to track down a nagging regression seen during some port-disable/enable testing. The problem occurs anywhere from 20 minutes to 120 minutes of testing under very minimal I/O load: [ 1143.890598] Unable to handle kernel NULL pointer dereference at

Re: [RFC 1/6] bidi support: request dma_data_direction

2007-01-22 Thread William Studenmund
On Jan 21, 2007, at 10:06 PM, Benny Halevy wrote: Douglas Gilbert wrote: Boaz Harrosh wrote: - Introduce a new enum dma_data_direction data_dir member in struct request. and remove the RW bit from request-cmd_flag - Add new API to query request direction. - Adjust existing API and

Re: [PATCH 14/15] ide: rework the code for selecting the best DMA transfer mode

2007-01-22 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: [PATCH] ide: rework the code for selecting the best DMA transfer mode Here's another portion of comments... Depends on the ide: fix UDMA/MWDMA/SWDMA masks patch. * add ide_hwif_t.filter_udma_mask hook for filtering UDMA mask Erm, maybe a

Re: [PATCH 13/15] ide: fix UDMA/MWDMA/SWDMA masks

2007-01-22 Thread Sergei Shtylyov
Hello. Alan wrote: Ugh, I'm not seeing any *actual* support for MW/SW DMA in this driver... Thats long been broken. Should be correct in the libata driver Here's a surprise for you. pata_cmd64x copied the SW/MW DMA setup code from the IDE driver. No way it could be working. You

Re: [PATCH 13/15] ide: fix UDMA/MWDMA/SWDMA masks

2007-01-22 Thread Alan
Ugh, I'm not seeing any *actual* support for MW/SW DMA in this driver... Thats long been broken. Should be correct in the libata driver Here's a surprise for you. pata_cmd64x copied the SW/MW DMA setup code from the IDE driver. No way it could be working. You may check

Re: [PATCH 13/15] ide: fix UDMA/MWDMA/SWDMA masks

2007-01-22 Thread Jeff Garzik
Alan wrote: Wouldn't mind the older 64x (not 640) data sheets if they are sharable. If they are sharable, I would love to archive them at http://gkernel.sourceforge.net/specs/ Regards, Jeff - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 2.6.20 2/2] ehca: ehca_irq.c: fix mismatched spin_unlock in irq handler

2007-01-22 Thread Roland Dreier
Thanks, queued for 2.6.20 (although I left the line a little longer). I think the right thing to do is restructure this function so you don't have lines starting 6 tab stops to the right. - R. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 2.6.20 2/2] ehca: ehca_irq.c: fix mismatched spin_unlock in irq handler

2007-01-22 Thread Hoang-Nam Nguyen
I think the right thing to do is restructure this function so you don't have lines starting 6 tab stops to the right. Yes. Have reworked this irq handler and still struggling with testing. When we feel comfortable with the test result, we'll post it here (soon) and hopefully it is easier to

Re: [PATCH 3/4] atl1: Main C file for Attansic L1 driver

2007-01-22 Thread Jay Cliburn
Arjan, thank you very much for reviewing the driver. Arjan van de Ven wrote: On Sun, 2007-01-21 at 15:06 -0600, Jay Cliburn wrote: [snip] +void atl1_irq_disable(struct atl1_adapter *adapter) +{ + atomic_inc(adapter-irq_sem); + iowrite32(0, adapter-hw.hw_addr + REG_IMR); +

[git patches] net driver fixes

2007-01-22 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus to receive the following updates: drivers/net/8139cp.c|7 +- drivers/net/myri10ge/myri10ge.c | 23 - drivers/net/sis190.c

Re: [git patches] net driver fixes

2007-01-22 Thread Auke Kok
Jeff Garzik wrote: Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus Jeff, is there a reason that you didn't pull the e1000 tree from us? I send you all the information 5 days ago, WITH the changes that you

Re: [git patches] net driver fixes

2007-01-22 Thread Jeff Garzik
Auke Kok wrote: Jeff Garzik wrote: Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus Jeff, is there a reason that you didn't pull the e1000 tree from us? I send you all the information 5 days ago, WITH the changes

Re: [git patches] net driver fixes

2007-01-22 Thread Auke Kok
Jeff Garzik wrote: Auke Kok wrote: Jeff Garzik wrote: Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus Jeff, is there a reason that you didn't pull the e1000 tree from us? I send you all the information 5 days

Re: [PATCH 4/4] atl1: Ancillary C files for Attansic L1 driver

2007-01-22 Thread Luca Tettamanti
Il Sun, Jan 21, 2007 at 09:33:39PM -0600, Jay Cliburn ha scritto: Randy Dunlap wrote: On Sun, 21 Jan 2007 15:07:37 -0600 Jay Cliburn wrote: [snip] + value = ioread16(hw-hw_addr + REG_PCIE_CAP_LIST); + return ((value 0xFF00) == 0x6C00) ? 0 : 1; Are there defines or enums for these?

Re: [BUG] e100: eth0 appers many times in /proc/interrupts after resume

2007-01-22 Thread Auke Kok
Frederik Deweerdt wrote: On Sun, Jan 21, 2007 at 01:45:27PM -0800, Auke Kok wrote: Frederik Deweerdt wrote: On Sun, Jan 21, 2007 at 09:17:41PM +0200, Andrei Popa wrote: It's the 10th resume and in /proc/interrupts eth0 appers 10 times. The e100_resume() function should be calling

Re: [Announce] GIT v1.5.0-rc2

2007-01-22 Thread Carl Worth
On Mon, 22 Jan 2007 11:28:32 -0800, Junio C Hamano wrote: Thanks for your comments; You're welcome. the attached probably needs proofreading. In general, I like it. The git-branch documentation already talks about remote-tracking branches so I've rewritten a couple of sentence below to use

Re: Why active list and inactive list?

2007-01-22 Thread Andrea Arcangeli
On Tue, Jan 23, 2007 at 07:01:33AM +0530, Balbir Singh wrote: This makes me wonder if it makes sense to split up the LRU into page cache LRU and mapped pages LRU. I see two benefits 1. Currently based on swappiness, we might walk an entire list searching for page cache pages or mapped

Re: Why active list and inactive list?

2007-01-22 Thread Rik van Riel
Christoph Lameter wrote: On Mon, 22 Jan 2007, Rik van Riel wrote: It would be really nice if we came up with a page replacement algorithm that did not need many extra heuristics to make it work... I guess the clock type algorithms are the most promising in that area. What happened to all

Re: SATA exceptions with 2.6.20-rc5

2007-01-22 Thread Björn Steinbrink
On 2007.01.22 19:24:22 -0600, Robert Hancock wrote: Björn Steinbrink wrote: Running a kernel with the return statement replace by a line that prints the irq_stat instead. Currently I'm seeing lots of 0x10 on ata1 and 0x0 on ata2. 40 minutes stress test now and no exception yet. What's

Re: Why active list and inactive list?

2007-01-22 Thread Christoph Lameter
On Mon, 22 Jan 2007, Rik van Riel wrote: The big one is how we are to do some background aging in a clock-pro system, so referenced bits don't just pile up when the VM has enough memory - otherwise we might not know the right pages to evict when a new process starts up and starts allocating

Re: Why active list and inactive list?

2007-01-22 Thread Rik van Riel
Christoph Lameter wrote: On Mon, 22 Jan 2007, Rik van Riel wrote: The big one is how we are to do some background aging in a clock-pro system, so referenced bits don't just pile up when the VM has enough memory - otherwise we might not know the right pages to evict when a new process starts up

Re: [PATCH query] arm: i.MX/MX1 clock event source

2007-01-22 Thread Pavel Pisa
On Monday 22 January 2007 20:59, Ingo Molnar wrote: * Pavel Pisa [EMAIL PROTECTED] wrote: Hello Thomas, Sascha and Ingo please can you find some time to review next patch arm: i.MX/MX1 clock event source which has been sent to you and to the ALKML at 2007-01-13.

Re: Linux v2.6.20-rc5

2007-01-22 Thread Herbert Xu
Jeff Chua [EMAIL PROTECTED] wrote: From: Jeff Chua [EMAIL PROTECTED] CC [M] drivers/kvm/vmx.o {standard input}: Assembler messages: {standard input}:3257: Error: bad register name `%sil' make[2]: *** [drivers/kvm/vmx.o] Error 1 make[1]: *** [drivers/kvm] Error 2 make: *** [drivers]

Re: Why active list and inactive list?

2007-01-22 Thread Balbir Singh
Christoph Lameter wrote: On Tue, 23 Jan 2007, Balbir Singh wrote: This makes me wonder if it makes sense to split up the LRU into page cache LRU and mapped pages LRU. I see two benefits 1. Currently based on swappiness, we might walk an entire list searching for page cache pages or mapped

Re: Why active list and inactive list?

2007-01-22 Thread Christoph Lameter
On Tue, 23 Jan 2007, Balbir Singh wrote: When you unmap or map, you need to touch the pte entries and know the pages involved, so shouldn't be equivalent to a list_del and list_add for each page impacted by the map/unmap operation? When you unmap and map you must currently get exclusive

Re: Why active list and inactive list?

2007-01-22 Thread Balbir Singh
Rik van Riel wrote: Christoph Lameter wrote: With the proposed schemd you would have to move pages between lists if they are mapped and unmapped by a process. Terminating a process could lead to lots of pages moving to the unnmapped list. That could be a problem. Another problem is that any

Re: Why active list and inactive list?

2007-01-22 Thread Christoph Lameter
On Tue, 23 Jan 2007, Balbir Singh wrote: I have always wondered if it would be useful to have a kernel debug feature that can extract page references per task, it would be good to see the page references (last 'n') of a workload that is not doing too well on a particular system. perfmon can

Re: Why active list and inactive list?

2007-01-22 Thread Balbir Singh
Christoph Lameter wrote: On Tue, 23 Jan 2007, Balbir Singh wrote: When you unmap or map, you need to touch the pte entries and know the pages involved, so shouldn't be equivalent to a list_del and list_add for each page impacted by the map/unmap operation? When you unmap and map you must

Re: Why active list and inactive list?

2007-01-22 Thread Balbir Singh
Christoph Lameter wrote: perfmon can do much of what you are looking for. Thanks, I'll look into it. -- Balbir Singh Linux Technology Center IBM, ISTL - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: Why active list and inactive list?

2007-01-22 Thread Christoph Lameter
On Tue, 23 Jan 2007, Balbir Singh wrote: Yes, good point, I see what you mean in terms of impact. But the trade off could come from shrink_active_list() which does list_del(page-lru) if (!reclaim_mapped other_conditions) list_add(page-lru, l_active); ... In the case mentioned

Re: Why active list and inactive list?

2007-01-22 Thread Nick Piggin
Balbir Singh wrote: This makes me wonder if it makes sense to split up the LRU into page cache LRU and mapped pages LRU. I see two benefits 1. Currently based on swappiness, we might walk an entire list searching for page cache pages or mapped pages. With these lists separated, it should

Re: [PATCH 2.6.20-rc5 1/1] MM: enhance Linux swap subsystem

2007-01-22 Thread yunfeng zhang
Patched against 2.6.19 leads to: mm/vmscan.c: In function `shrink_pvma_scan_ptes': mm/vmscan.c:1340: too many arguments to function `page_remove_rmap' So changed page_remove_rmap(series.pages[i], vma); to page_remove_rmap(series.pages[i]); I've worked on 2.6.19, but when update to

<    1   2   3   4   5   6   7   >