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

2007-01-23 Thread Luca Tettamanti
Il Tue, Jan 23, 2007 at 11:25:22AM -0800, Stephen Hemminger ha scritto: On Mon, 22 Jan 2007 21:00:04 +0100 Luca Tettamanti [EMAIL PROTECTED] wrote: 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

Re: [PATCH 0/4] atl1: Attansic L1 ethernet driver

2007-01-23 Thread Jeff Garzik
Jay Cliburn wrote: Perhaps a dumb question, but when can I begin submitting differential patches? Now? I'd like to incorporate some of Arjan's and Randy's comments. Submit patches starting... now! :) Jeff - To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH] mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs

2007-01-23 Thread Jeff Garzik
Dale Farnsworth wrote: From Dale Farnsworth [EMAIL PROTECTED] mv643xx_eth: Fix race condition in mv643xx_eth_free_tx_descs This bug was found and isolated by Thibaut VARENE [EMAIL PROTECTED] and Jarek Poplawski [EMAIL PROTECTED]. This patch is a modification of their fixes. We acquire and

Re: [git patches] net driver fixes

2007-01-23 Thread Jeff Garzik
Auke Kok wrote: 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

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

2007-01-23 Thread Jeff Garzik
Stephen Hemminger wrote: IMHO the MSI disabling should be removed from drivers and be done in the PCI core. That is the consensus opinion. Currently drivers implement the MSI tests because the core PCI code hasn't been up to snuff. I (and others) have been discouraging that, but when a

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

2007-01-23 Thread Stephen Hemminger
On Tue, 23 Jan 2007 16:33:29 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: IMHO the MSI disabling should be removed from drivers and be done in the PCI core. That is the consensus opinion. Currently drivers implement the MSI tests because the core PCI code

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

2007-01-23 Thread Randy Dunlap
Stephen Hemminger wrote: On Tue, 23 Jan 2007 16:33:29 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: IMHO the MSI disabling should be removed from drivers and be done in the PCI core. That is the consensus opinion. Currently drivers implement the MSI tests because the

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

2007-01-23 Thread Jeff Garzik
Randy Dunlap wrote: Stephen Hemminger wrote: On Tue, 23 Jan 2007 16:33:29 -0500 Jeff Garzik [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: IMHO the MSI disabling should be removed from drivers and be done in the PCI core. That is the consensus opinion. Currently drivers implement the

[PATCH 0/7] UML - more locking and formatting fixes

2007-01-23 Thread Jeff Dike
As usual, these are post-2.6.20 material. Jeff - 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

[PATCH 1/7] UML - Add per-device queues and locks to ubd driver

2007-01-23 Thread Jeff Dike
Replace global queue and lock with per-device queues and locks. Mostly a straightforward replacement of ubd_io_lock with dev-lock and ubd_queue with dev-queue. Complications - There was no way to get a request struct (and queue) from the structure sent to the io_thread, so a pointer to

[PATCH 7/7] UML - fix style violations

2007-01-23 Thread Jeff Dike
Fix a bunch of style violations in mem.c. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/os-Linux/mem.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Index: linux-2.6.18-mm/arch/um/os-Linux/mem.c === ---

[PATCH 4/7] UML - locking comments in startup code

2007-01-23 Thread Jeff Dike
Add a couple of comments about some non-locked data. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/os-Linux/start_up.c |2 ++ 1 file changed, 2 insertions(+) Index: linux-2.6.18-mm/arch/um/os-Linux/start_up.c === ---

[PATCH 6/7] UML - libc-dependent code should call libc directly

2007-01-23 Thread Jeff Dike
We shouldn't be using the os wrappers from os code - we can use libc directly. This patch replaces wrapper calls with libc calls. It turns out that os_sigio_async had only one caller, which was in startup.c, so that function is moved there and its name changed. Signed-off-by: Jeff Dike [EMAIL

[PATCH 5/7] UML - style fixes in startup code

2007-01-23 Thread Jeff Dike
Some style fixes in startup.c. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/os-Linux/start_up.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Index: linux-2.6.18-mm/arch/um/os-Linux/start_up.c ===

[PATCH 3/7] UML - locking comments in memory and tempfile code

2007-01-23 Thread Jeff Dike
Locking comments and emacs comment removal in the low-level memory and temp file code. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/include/tempfile.h | 10 -- arch/um/kernel/mem.c |3 ++- arch/um/os-Linux/mem.c |7 +++ 3 files changed, 9 insertions(+),

[PATCH 2/7] UML - locking fixes in the ubd driver

2007-01-23 Thread Jeff Dike
Some small locking and formatting fixes in the ubd driver. Signed-off-by: Jeff Dike [EMAIL PROTECTED] -- arch/um/drivers/ubd_kern.c | 35 +++ 1 file changed, 15 insertions(+), 20 deletions(-) Index: linux-2.6.18-mm/arch/um/drivers/ubd_kern.c

Re: [uml-devel] [PATCH] [UML] fix mknod

2007-01-23 Thread Blaisorblade
On Tuesday 23 January 2007 14:17, Johannes Stezenbach wrote: On Tue, Jan 23, 2007 at 09:02:30AM +0100, Blaisorblade wrote: On Monday 22 January 2007 21:13, Johannes Stezenbach wrote: I was playing with user-mode Linux and found that mknod creates devices node in hostfs with wrong

Re: select() setting ERESTARTNOHAND (514).

2007-01-23 Thread Sean Reifschneider
On Thu, Jan 11, 2007 at 11:22:46PM +0100, bert hubert wrote: Anything else relevant? Do you know which signal interrupted select? Is this a single or multithreaded application? And where did the signal come from? It is, AFAIK, a multi-threaded application. I don't have any information on which

Re: Strange

2007-01-23 Thread Alan
I knew of course about libdvdcss but I've never noticed before that the kernel issues these error messages to the syslog. Various bits of random desktop junk poll drives to see what has appeared and stick icons on desktops. Some of them do stuff that produces messages like this because they

Re: [KBUILD] I don't want initramfs in 2.6.19.1 but usr/ is still processed

2007-01-23 Thread Oleg Verych
On 2007-01-03, DervishD wrote: Hi all :) Hallo! I've noticed that, even if I say NO to initramfs (and even ramdisk support), the make process wants to GEN usr/initramfs_data.cpio.gz by running the scripts/gen_initramfs_list.sh script. Why is that script run no matter the

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Luming Yu
On 1/24/07, Lionel Landwerlin [EMAIL PROTECTED] wrote: Le mardi 23 janvier 2007 à 16:30 -0500, Len Brown a écrit : On Tuesday 23 January 2007 07:27, Lionel Landwerlin wrote: Le mardi 23 janvier 2007 à 17:22 +0800, Luming Yu a écrit : Please try to remove processor module. Ok, that's

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread Theodore Tso
On Wed, Jan 24, 2007 at 04:41:39AM +0530, Sunil Naidu wrote: You have to remember that the Kernel Summit is invite only. Holding the summit at a location doesn't really mean it's open to anyone there. Defnitely this could be held on invite only. Many Top forums happen in India in this

Re: [PATCH] seq_file conversion: APM on arm

2007-01-23 Thread Ralf Baechle
On Tue, Jan 23, 2007 at 04:45:41PM -0800, Andrew Morton wrote: There is an ongoing desultory effort from Ralf to unify the ARM and MIPS APM implementations. Independently converting them both to use seqfile at this stage might muck that up. Ralf, talk to me? I was planning to get back to

Re: SATA problems

2007-01-23 Thread Tejun Heo
Pablo Sebastian Greco wrote: Well, it took me a few days, but I think I'm ready to report back. One of the drives was failing, and it stopped after rewiring power supply so the last problem seems to be corrected. OTOH, your blacklist seems to be needed too, now I'm running FC6 distribution

Re: Strange

2007-01-23 Thread Alistair John Strachan
On Wednesday 24 January 2007 00:01, Christoph Anton Mitterer wrote: Alan wrote: kernel: Error: Illegal request -- (Sense key=0x05) kernel: Read of scrambled sector without authentication -- (asc=0x6f, ascq=0x03) The disc is using digital rights management. If you are in a country

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

2007-01-23 Thread Pavel Pisa
On Tuesday 23 January 2007 03:52, Pavel Pisa wrote: i've added your patch to -rt, but note that there's a new, slightly incompatible clockevents code in -rt now so you'll need to do some more (hopefully trivial) fixups for this to build and work. Ingo Hello Ingo, Unfortunately,

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Alessandro Di Marco
Scott Preece [EMAIL PROTECTED] writes: My own hot button is making sure that the definition of what constitutes user activity is managed in exactly one place, whether in the kernel or not. My naive model would be to put the response at user level, but to provide a single point of

Re: identifying CONFIG variable typoes in the source tree

2007-01-23 Thread Robert P. J. Day
On Tue, 23 Jan 2007, Oleg Verych wrote: On 2007-01-23, Robert P. J. Day wrote: [] what it does is scan the entire tree for lines of the form ...if... CONFIG_whatever... collects all of those CONFIG variables and, one at a time, checks to see if that variable even exists in any

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

2007-01-23 Thread David Brownell
On Tuesday 23 January 2007 8:07 am, Atsushi Nemoto wrote: On Tue, 23 Jan 2007 07:42:15 -0800, David Brownell [EMAIL PROTECTED] wrote: Indeed the check can be omitted. Should I send a new patch just moving class_device_get() into if (master-bus_num == bus_num) block? Yes, please.

Re: SATA hotplug from the user side ?

2007-01-23 Thread Tejun Heo
Henrique de Moraes Holschuh wrote: On Tue, 23 Jan 2007, Tejun Heo wrote: Henrique de Moraes Holschuh wrote: Does SATA electrical conector keying let the disk firmware unload heads before the user manages to pull it out enough to sever power? I don't think so. Heh, thought as much. (Good)

[PATCH 2.6.20] sata_nv: don't rely on NV_INT_DEV indication with ADMA

2007-01-23 Thread Robert Hancock
OK, here it is in full signed-off glory. Hopefully we can get this in for 2.6.20. --- Several people reported issues with certain drive commands timing out on sata_nv controllers running in ADMA mode. The commands in question were non-DMA-mapped commands, usually FLUSH CACHE or FLUSH CACHE

Re: [patch 00/46] High resolution timer / dynamic tick update

2007-01-23 Thread Daniel Walker
On Tue, 2007-01-23 at 22:00 +, Thomas Gleixner wrote: - Provide a generic way to verify clocksources. TSC needs verification due to broken hardware and BIOS implementations. The previous attempt to allow TSC usage for high resolution and/or dynamic ticks only in combination with

Re: [patch 00/46] High resolution timer / dynamic tick update

2007-01-23 Thread Andrew Morton
On Tue, 23 Jan 2007 18:16:31 -0800 Daniel Walker [EMAIL PROTECTED] wrote: On Tue, 2007-01-23 at 22:00 +, Thomas Gleixner wrote: - Provide a generic way to verify clocksources. TSC needs verification due to broken hardware and BIOS implementations. The previous attempt to allow

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Len Brown
Apple Macbook 2GHz (x86, not amd64) Please try to remove processor module. Ok, that's done. Same problem. any difference with idle=poll? if yes, how about idle=halt? idle=poll seems to fix the problem (cpu fan is running almost at full speed). Maybe I should run a

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Alessandro Di Marco
Pavel Machek [EMAIL PROTECTED] writes: Imagine for a moment that we solve time-warp somehow. Any other problems? Well, a user-level daemon have to process a lot of data just to detect user interaction. Considering that the trackpad bandwidth is nearly 5KB/sec, probably would be better to

[PATCH 1/1] V4L/DVB (5123): Buf_qbuf: fix: videobuf_queue-stream corruption and lockup

2007-01-23 Thread Mauro Carvalho Chehab
From: Oleg Nesterov [EMAIL PROTECTED] We are doing -buf_prepare(buf) before adding buf to q-stream list. This means that videobuf_qbuf() should not try to re-add a STATE_PREPARED buffer. Signed-off-by: Oleg Nesterov [EMAIL PROTECTED] Signed-off-by: Mauro Carvalho Chehab [EMAIL PROTECTED] ---

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread KAMEZAWA Hiroyuki
On Tue, 23 Jan 2007 16:49:55 -0800 (PST) Christoph Lameter [EMAIL PROTECTED] wrote: If we enter reclaim and the number of page cache pages is too high then we switch off swapping during reclaim to avoid touching anonymous pages. In general, I like this (kind of) feature. + /* + *

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Nick Piggin
Christoph Lameter wrote: This is a patch using some of Aubrey's work plugging it in what is IMHO the right way. Feel free to improve on it. I have gotten repeatedly requests to be able to limit the pagecache. With the revised VM statistics this is now actually possile. I'd like to know more

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Christoph Lameter
On Wed, 24 Jan 2007, KAMEZAWA Hiroyuki wrote: if (sc-may_swap zone_page_state(zone, NR_FILE_PAGES) !(curreht-flags PF_MEMALLOC)) sc-may_swap = 0; That is probably better than what we have so far. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 1/1] Page Table cleanup patch

2007-01-23 Thread Nick Piggin
Paul Davies wrote: This patch is a proposed cleanup of the current page table organisation. Such a cleanup would be a logical first step towards introducing at least a partial clean page table interface, geared towards providing enhanced virtualization oportunities for x86. It is also a common

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Christoph Lameter
On Wed, 24 Jan 2007, Nick Piggin wrote: 1. Insure that anonymous pages that may contain performance critical data is never subject to swap. 2. Insure rapid turnaround of pages in the cache. So if these two aren't working properly at 100%, then I want to know the reason why. Or at

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread KAMEZAWA Hiroyuki
one more thing... On Tue, 23 Jan 2007 16:49:55 -0800 (PST) Christoph Lameter [EMAIL PROTECTED] wrote: @@ -1168,6 +1170,11 @@ zonelist_scan: !cpuset_zone_allowed_softwall(zone, gfp_mask)) goto try_next_zone; + if ((gfp_mask

Re: [patch 00/46] High resolution timer / dynamic tick update

2007-01-23 Thread Daniel Walker
On Tue, 2007-01-23 at 18:23 -0800, Andrew Morton wrote: There appears to be some fairly clear duplication between my clocksource tree and this release of high resolution timers. Not to mention that we both submitted our tree's to Andrew within days . To lessen Andrews burden it would

In-tree version of new FireWire drivers available

2007-01-23 Thread Kristian Høgsberg
Hi, I've moved the new FireWire stack to an in-tree git repository and moved over the missing patches from my out-of-tree version. The tree is available over here: git://people.freedesktop.org/~krh/linux-2.6 with gitweb avialable here:

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Aubrey Li
On 1/24/07, Christoph Lameter [EMAIL PROTECTED] wrote: On Wed, 24 Jan 2007, Nick Piggin wrote: 1. Insure that anonymous pages that may contain performance critical data is never subject to swap. 2. Insure rapid turnaround of pages in the cache. So if these two aren't working

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Nick Piggin
Aubrey Li wrote: On 1/24/07, Christoph Lameter [EMAIL PROTECTED] wrote: On Wed, 24 Jan 2007, Nick Piggin wrote: 1. Insure that anonymous pages that may contain performance critical data is never subject to swap. 2. Insure rapid turnaround of pages in the cache. So if these two

Re: fix typo in geode_configre()@cyrix.c

2007-01-23 Thread Andrew Morton
On Wed, 17 Jan 2007 02:12:42 +0900 (JST) takada [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] (Lennart Sorensen) Subject: Re: fix typo in geode_configre()@cyrix.c Date: Tue, 16 Jan 2007 11:50:07 -0500 On Wed, Jan 17, 2007 at 01:38:35AM +0900, takada wrote: You are right. I agree to

[PATCH 0/1] V4L/DVB fix

2007-01-23 Thread Mauro Carvalho Chehab
Linus, Please pull 'master' from: git://git.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git master. The patch fixes an important bug on V4L core. By doing some ioctls on an unexpected order, it is possible to hang the machine without needing to be root, causing a DoS. -

Re: [patch] md: bitmap read_page error

2007-01-23 Thread Neil Brown
On Tuesday January 23, [EMAIL PROTECTED] wrote: I think your patch is not enough to slove the read_page error completely. I think in the bitmap_init_from_disk we also need to check the 'count' never exceeds the size of file before calling the read_page function. How do your think about it.

Re: heavy nfs[4]] causes fs badness Was: 2.6.20-rc4: known unfixed regressions (v2)

2007-01-23 Thread Florin Iucha
On Mon, Jan 15, 2007 at 10:58:29AM -0500, Alan Stern wrote: On Sun, 14 Jan 2007, Florin Iucha wrote: Jiri and Trond, On Mon, Jan 15, 2007 at 01:14:09AM +0100, Jiri Kosina wrote: On Sun, 14 Jan 2007, Florin Iucha wrote: All the testing was done via a ssh into the workstation.

[GIT PULL] please pull infiniband.git

2007-01-23 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will pick up three small fixes: Hoang-Nam

[PATCH 2.6.21 0/4] ehca: remove do_mmap() and some bug fixes

2007-01-23 Thread Hoang-Nam Nguyen
Hello Roland! Here is a patch set for ehca as a result of previous disscussions and comments: 1. fix improper use of yield within spinlock context 2. fix mismatched use of spin_unlock in irq handler 3. remove do_mmap() 4. remove obsolete prototypes PS: I've sent the first two recently for 2.6.20,

[PATCH 2.6.21 1/4] ehca: fix improper use of yield with spinlock held

2007-01-23 Thread Hoang-Nam Nguyen
Here is a patch for ehca_cq.c that fixes improper use of yield with spinlock held. Thanks Nam Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- ehca_cq.c |5 - 1 files changed, 4 insertions(+), 1 deletion(-) diff -Nurp infiniband_orig/drivers/infiniband/hw/ehca/ehca_cq.c

[PATCH 2.6.21 2/4] ehca: fix mismatched use of spin_unlock in irq handler

2007-01-23 Thread Hoang-Nam Nguyen
Here is a patch for ehca_irq.c that fixes mismatched use of spin_unlock in irq handler. Thanks Nam Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- ehca_irq.c |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -Nurp infiniband_orig/drivers/infiniband/hw/ehca/ehca_irq.c

[PATCH 2.6.21 3/4] ehca: remove do_mmap()

2007-01-23 Thread Hoang-Nam Nguyen
This patch removes do_mmap() from ehca: - Call remap_pfn_range() for hardware register block - Use vm_insert_page() to register memory allocated for completion queues and queue pairs - The actual mmap() call/trigger is now controlled by user space, ie. libehca Thanks Nam Signed-off-by:

[PATCH 2.6.21 4/4] ehca: remove obsolete prototypes

2007-01-23 Thread Hoang-Nam Nguyen
Here is a patch for ehca_classes.h that removes obsolete prototypes. Thanks Nam Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- ehca_classes.h | 14 -- 1 files changed, 14 deletions(-) diff -Nurp infiniband_orig/drivers/infiniband/hw/ehca/ehca_classes.h

[patch] kbuild: create KBUILD_OUTPUT

2007-01-23 Thread Oleg Verych
kbuild: create KBUILD_OUTPUT When requesting build to another directory, try to create it first. Cc: Sam Ravnborg [EMAIL PROTECTED] Signed-off-by: Oleg Verych [EMAIL PROTECTED] --- ,-*- bash -*- |[EMAIL PROTECTED]:~/kernel.org/_work/src/linux-2.6.20-rc5$ |[EMAIL

Re: [PATCH 1/2] lockdep missing barrier()

2007-01-23 Thread Andrew Morton
On Tue, 16 Jan 2007 12:56:24 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: This patch adds a barrier() to lockdep.c lockdep_recursion updates. This variable behaves like the preemption count and should therefore use similar memory barriers. This patch applies on 2.6.20-rc4-git3.

Re: [PATCH 2/2] lockdep reentrancy

2007-01-23 Thread Andrew Morton
On Tue, 16 Jan 2007 12:56:31 -0500 Mathieu Desnoyers [EMAIL PROTECTED] wrote: Here is a patch to lockdep.c so it behaves correctly when a kprobe breakpoint is put on a marker within hardirq tracing functions as long as the marker is within the lockdep_recursion incremented boundaries. It

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Christoph Lameter
On Wed, 24 Jan 2007, KAMEZAWA Hiroyuki wrote: I don't prefer to cause zone fallback by this. This may use ZONE_DMA before exhausing ZONE_NORMAL (ia64), Hmmm... We could use node_page_state instead of zone_page_state. Very rapid page allocation can eats some amount of lower zone. One

Re: 2.6.18-stable release plans?

2007-01-23 Thread Daniel Barkalow
On Tue, 23 Jan 2007, Jesper Juhl wrote: Now that 2.6.19 is out, most likely not. -stable releases are made for the latest stable 2.6.x kernel, once 2.6.x+1 is out that's the one -stable patches are made for (2.6.16 is an exception).. There's generally a bit of overlap. 2.6.17.14 was about

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread KAMEZAWA Hiroyuki
On Tue, 23 Jan 2007 20:30:16 -0800 (PST) Christoph Lameter [EMAIL PROTECTED] wrote: On Wed, 24 Jan 2007, KAMEZAWA Hiroyuki wrote: I don't prefer to cause zone fallback by this. This may use ZONE_DMA before exhausing ZONE_NORMAL (ia64), Hmmm... We could use node_page_state instead of

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-23 Thread Vaidyanathan Srinivasan
Aubrey Li wrote: On 1/19/07, Vaidyanathan Srinivasan [EMAIL PROTECTED] wrote: Hi Aubrey, I used your patch on my PPC64 box and I do not get expected behavior. As you had requested, I am attaching zoneinfo and meminfo dumps: Please let me know if you need any further data to help me out

Re: [PATCH] seq_file conversion: coda

2007-01-23 Thread Alexey Dobriyan
On Tue, Jan 23, 2007 at 04:53:33PM -0800, Andrew Morton wrote: On Tue, 16 Jan 2007 00:53:05 +0300 Alexey Dobriyan [EMAIL PROTECTED] wrote: Compile-tested. You can runtime-test this interface without ever having mounted a CODA fs. Please. compile-tested-only patches are always a

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Aubrey Li
Christoph's patch is better than mine. The only thing I think is that zone-max_pagecache_pages should be checked never less than zone-pages_low. The good part of the patch is using the existing reclaimer. But the problem in my opinion of the idea is the existing reclaimer too. Think of when vfs

Re: [PATCH] MMC: au1xmmc R6 response support

2007-01-23 Thread Manuel Lauss
On Tue, Jan 23, 2007 at 07:56:51PM +0100, Pierre Ossman wrote: here's a trivial patch which adds R6 reponse support to the au1xmmc driver. Fixes SD card detection / operation. NAK. MMC_RSP_R1 and MMC_RSP_R6 have the same value so this will break the switch. not in my version of

Re: [PATCH -mm 5/5][AIO] - Add listio syscall support

2007-01-23 Thread Andrew Morton
On Wed, 17 Jan 2007 10:55:54 +0100 Sébastien Dugué [EMAIL PROTECTED] wrote: +asmlinkage long +compat_sys_lio_submit(aio_context_t ctx_id, int mode, int nr, u32 __user *iocb, + struct compat_sigevent __user *sig_user) +{ + struct kioctx *ctx; + struct lio_event *lio =

Re: [RPC][PATCH 2.6.20-rc5] limit total vfs page cache

2007-01-23 Thread Aubrey Li
On 1/24/07, Vaidyanathan Srinivasan [EMAIL PROTECTED] wrote: Aubrey Li wrote: On 1/19/07, Vaidyanathan Srinivasan [EMAIL PROTECTED] wrote: Hi Aubrey, I used your patch on my PPC64 box and I do not get expected behavior. As you had requested, I am attaching zoneinfo and meminfo dumps:

Re: [PATCH -mm 5/5][AIO] - Add listio syscall support

2007-01-23 Thread Andrew Morton
On Wed, 17 Jan 2007 10:55:54 +0100 Sébastien Dugué [EMAIL PROTECTED] wrote: +struct lio_event *lio_create(struct sigevent __user *user_event, + int mode) +{ + int ret = 0; + struct lio_event *lio = NULL; + + if (unlikely((mode == LIO_NOWAIT) !user_event))

Re: [PATCH -mm 4/5][AIO] - AIO completion signal notification

2007-01-23 Thread Andrew Morton
On Wed, 17 Jan 2007 10:50:18 +0100 Sébastien Dugué [EMAIL PROTECTED] wrote: +static long aio_setup_sigevent(struct aio_notify *notify, +struct sigevent __user *user_event) +{ + sigevent_t event; + struct task_struct *target; + + if

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

2007-01-23 Thread David Miller
From: Neil Horman [EMAIL PROTECTED] Date: Tue, 16 Jan 2007 15:13:32 -0500 As it is currently written, sys_select checks its return code to convert ERESTARTNOHAND to EINTR. However, the check is within an if (tvp) clause, and so if select is called from userspace with a NULL timeval, then it

Re: [PATCH -mm 5/5][AIO] - Add listio syscall support

2007-01-23 Thread Andrew Morton
On Wed, 17 Jan 2007 10:55:54 +0100 Sébastien Dugué [EMAIL PROTECTED] wrote: +void lio_check(struct lio_event *lio) +{ + int ret; + + ret = atomic_dec_and_test(lio-lio_users); + + if (unlikely(ret) lio-lio_notify.notify != SIGEV_NONE) { + /* last one - notify

Re: [PATCH] MMC: au1xmmc R6 response support

2007-01-23 Thread Manuel Lauss
On Wed, Jan 24, 2007 at 06:52:02AM +0100, Manuel Lauss wrote: On Tue, Jan 23, 2007 at 07:56:51PM +0100, Pierre Ossman wrote: here's a trivial patch which adds R6 reponse support to the au1xmmc driver. Fixes SD card detection / operation. NAK. MMC_RSP_R1 and MMC_RSP_R6 have the same

Re: [PATCH 2.6.20-rc5] Gigaset ISDN driver error handling fixes

2007-01-23 Thread Andrew Morton
On Wed, 17 Jan 2007 18:42:13 +0100 (CET) Tilman Schmidt [EMAIL PROTECTED] wrote: + mutex_init(cs-mutex); + mutex_lock(cs-mutex); I have vague memories of making rude comments about this a few months ago. It is very weird to lock a mutex just after intialising it. I mean, if any

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Vaidyanathan Srinivasan
Christoph Lameter wrote: This is a patch using some of Aubrey's work plugging it in what is IMHO the right way. Feel free to improve on it. I have gotten repeatedly requests to be able to limit the pagecache. With the revised VM statistics this is now actually possile. I'd like to know more

Re: [patch 00/46] High resolution timer / dynamic tick update

2007-01-23 Thread Ingo Molnar
* Daniel Walker [EMAIL PROTECTED] wrote: To lessen Andrews burden it would be wise to integrate the two trees prior to anything going into -mm .. [...] i disagree. Thomas' tree has been tested in -rt for some time already, and he's the author of this code so as far as i'm concerned he calls

Re: [PATCH 0/3] i_ino uniqueness: alternate approach -- hash the inodes

2007-01-23 Thread Andrew Morton
On Tue, 16 Jan 2007 13:57:38 -0500 Jeff Layton [EMAIL PROTECTED] wrote: The questions are: 1) how much would this slow down lookups for these filesystems? 2) is it enough to justify adding more infrastructure to avoid it? What might be best is to start with this approach and then only

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

2007-01-23 Thread dann frazier
On Mon, Jan 22, 2007 at 12:03:21AM +0100, Willy Tarreau wrote: Hi Grant ! On Mon, Jan 22, 2007 at 09:52:44AM +1100, Grant Coady wrote: On Fri, 19 Jan 2007 18:05:44 -0700, dann frazier [EMAIL PROTECTED] wrote: On Thu, Jan 18, 2007 at 06:00:40PM -0700, dann frazier wrote: Ah, think I

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

2007-01-23 Thread Grant Coady
On Tue, 23 Jan 2007 13:19:37 -0700, dann frazier [EMAIL PROTECTED] wrote: On Mon, Jan 22, 2007 at 12:03:21AM +0100, Willy Tarreau wrote: Hi Grant ! On Mon, Jan 22, 2007 at 09:52:44AM +1100, Grant Coady wrote: On Fri, 19 Jan 2007 18:05:44 -0700, dann frazier [EMAIL PROTECTED] wrote: On

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

2007-01-23 Thread dann frazier
Users have reported a symlink issue with my recent smbfs backport. Turns out my backport overlooked a second 2.6 patch w/ the fix: http://linux.bkbits.net:8080/linux-2.6/?PAGE=csetREV=419e7b76CdrmRG_NZ8LKj9DUUBGu1w This is a backport of Haroldo Gamal's 2.6 patch that fixes the symlink issue,

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

2007-01-23 Thread dann frazier
On Wed, Jan 24, 2007 at 08:04:36AM +1100, Grant Coady wrote: Hi Dann, I'm running slackware-11, no smbfs package, 'smbmnt' is from samba-3.0.23c package with two tiny unrelated (?) patches: Thanks again Grant. You might check out the patch I just submitted - turns out this was an issue that

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

2007-01-23 Thread Willy Tarreau
On Tue, Jan 23, 2007 at 02:12:57PM -0700, dann frazier wrote: Users have reported a symlink issue with my recent smbfs backport. Turns out my backport overlooked a second 2.6 patch w/ the fix: http://linux.bkbits.net:8080/linux-2.6/?PAGE=csetREV=419e7b76CdrmRG_NZ8LKj9DUUBGu1w Perfect. Patch

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

2007-01-23 Thread Grant Coady
On Tue, 23 Jan 2007 14:12:57 -0700, dann frazier [EMAIL PROTECTED] wrote: Users have reported a symlink issue with my recent smbfs backport. Turns out my backport overlooked a second 2.6 patch w/ the fix: http://linux.bkbits.net:8080/linux-2.6/?PAGE=csetREV=419e7b76CdrmRG_NZ8LKj9DUUBGu1w This

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

2007-01-23 Thread dann frazier
On Wed, Jan 24, 2007 at 10:46:24AM +1100, Grant Coady wrote: On Tue, 23 Jan 2007 14:12:57 -0700, dann frazier [EMAIL PROTECTED] wrote: Users have reported a symlink issue with my recent smbfs backport. Turns out my backport overlooked a second 2.6 patch w/ the fix:

Re: [PATCH 002 of 4] md: Make 'repair' actually work for raid1.

2007-01-23 Thread Andrew Morton
On Tue, 23 Jan 2007 11:26:52 +1100 NeilBrown [EMAIL PROTECTED] wrote: + for (j = 0; j vcnt ; j++) + memcpy(page_address(sbio-bi_io_vec[j].bv_page), +

Re: [PATCH] seq_file conversion: APM on arm

2007-01-23 Thread Paul Mundt
On Tue, Jan 23, 2007 at 04:45:41PM -0800, Andrew Morton wrote: There is an ongoing desultory effort from Ralf to unify the ARM and MIPS APM implementations. Independently converting them both to use seqfile at this stage might muck that up. Ralf, talk to me? What happened with this anyways?

Re: Is it possible to directly call do_path_lookup() in kernel?

2007-01-23 Thread Xin Zhao
I just successfully called do_path_lookup() in my kernel module. I just removed the fastcall from the declaration of do_path_lookup(), then the problem disappeared. I don't quite understand fastcall though. Can someone explain it? Thanks, -x On 1/23/07, Xin Zhao [EMAIL PROTECTED] wrote: Hi,

Re: XFS or Kernel Problem / Bug

2007-01-23 Thread Stefan Priebe - FH
Hi! I do everything you like :-) if we can find the bug. So here are the files (2.6.18.6): http://server055.de-nserver.de/filemap.o http://server055.de-nserver.de/filemap.s Stefan Chuck Ebbert schrieb: Stefan Priebe - FH wrote: I've 3 Servers which works wonderful with 2.6.16.X (also

[newbie] Re: Is it possible to directly call do_path_lookup() in kernel?

2007-01-23 Thread Oleg Verych
On 2007-01-24, Xin Zhao wrote: Archived-At: http://permalink.gmane.org/gmane.linux.kernel/485775 Hallo. I just successfully called do_path_lookup() in my kernel module. I just removed the fastcall from the declaration of do_path_lookup(), then the problem disappeared. I don't quite

Re: sigaction's ucontext_t with incorrect stack reference when SA_SIGINFO is being used ?

2007-01-23 Thread Xavier Roche
Nicholas Miell wrote: so if uc_stack doesn't point to the stack in use immediately prior to signal generation, this is a bug. Looking at arch/i386/kernel/signal.c (and others) inside setup_rt_frame(), the problem is pretty obvious: err |= __put_user(current-sas_ss_sp,

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-23 Thread Andrew Morton
On Tue, 23 Jan 2007 10:30:27 +0900 (JST) Atsushi Nemoto [EMAIL PROTECTED] wrote: Subject: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable CARDBUS_MEM_SIZE was increased to 64MB on 2.6.20-rc2, but larger size might result in allocation failure for the reserving itself on some

Re: [PATCH] Make CARDBUS_MEM_SIZE and CARDBUS_IO_SIZE customizable

2007-01-23 Thread Andrew Morton
On Tue, 23 Jan 2007 23:45:07 -0800 Andrew Morton [EMAIL PROTECTED] wrote: setup-bus.o is linked only on x86 oops, that's untrue. But it will break ppc32, I think. I suppose we can deprive the ppc32 guys of eight bytes of RAM. But putting cardbus things in pci.c seems wrong.. diff -puN

Re: [RFC] Limit the size of the pagecache

2007-01-23 Thread Peter Zijlstra
On Tue, 2007-01-23 at 16:49 -0800, Christoph Lameter wrote: This is a patch using some of Aubrey's work plugging it in what is IMHO the right way. Feel free to improve on it. I have gotten repeatedly requests to be able to limit the pagecache. With the revised VM statistics this is now

Re: [PATCH 002 of 4] md: Make 'repair' actually work for raid1.

2007-01-23 Thread Neil Brown
On Tuesday January 23, [EMAIL PROTECTED] wrote: On Tue, 23 Jan 2007 11:26:52 +1100 NeilBrown [EMAIL PROTECTED] wrote: + for (j = 0; j vcnt ; j++) + memcpy(page_address(sbio-bi_io_vec[j].bv_page), +

[git patches] libata fixes

2007-01-23 Thread Jeff Garzik
All fixes for ugly bugs and/or regressions. Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/ahci.c| 39 +++

What's in libata-dev.git

2007-01-23 Thread Jeff Garzik
This is a summary and diffstat of all the changes pending in branch libata-dev.git#upstream for kernel 2.6.21. Items of note: * major sata_promise improvements, including PATA and ATAPI support * new drivers sata_inic162x, pata_it8213, MPC52xx * sata_via PATA port support * other minor

[patch] scsi: use lock per host instead of per device for shared queue tag host

2007-01-23 Thread Ed Lin
The block layer uses lock to protect request queue. Every scsi device has a unique request queue, and queue lock is the default lock in struct request_queue. This is good for normal cases. But for a host with shared queue tag (e.g. stex controllers), a queue lock per device means the shared queue

Re: [2.6 patch] drivers/net/irda/vlsi_ir.{h,c}: remove kernel 2.4 code

2007-01-23 Thread David Miller
From: Samuel Ortiz [EMAIL PROTECTED] Date: Sun, 21 Jan 2007 23:36:58 +0200 On Thu, Jan 18, 2007 at 10:56:13PM +0100, Adrian Bunk wrote: This patch removes kernel 2.4 compatibility code. Looks correct to me, thanks. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Samuel Ortiz

Re: [2.6 patch] process include/linux/if_{addr,link}.h with unifdef

2007-01-23 Thread David Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Sun, 21 Jan 2007 20:13:19 +0100 After commit d3dcc077bf88806201093f86325ec656e4dbfbce, include/linux/if_{addr,link}.h should be processed with unifdef. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Applied, thanks Adrian. I believe at least the

[git patch] net driver fix

2007-01-23 Thread Jeff Garzik
As the patch indicates, the Al Viro patch had already been merged into my history (and another branch depending on it, making rebasing difficult if not impossible), but since it was merged by Linus, the actual patch isn't shown here by 'git diff'. Please pull from 'upstream-linus' branch of

<    1   2   3   4   5   6   7   >