Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread bert hubert
On Tue, Feb 20, 2007 at 02:40:40PM -0500, Benjamin LaHaise wrote: > Make sure your system is idle. Userspace bloat means that *lots* of idle > activity occurs in between timer ticks on recent distributions -- all those You hit the nail on the head. I had previously measured with X shut down, b

Re: GPL vs non-GPL device drivers

2007-02-20 Thread Jan-Benedict Glaw
On Tue, 2007-02-20 15:36:56 +0100, Helge Hafting <[EMAIL PROTECTED]> wrote: > If you have a need for "secret" source code, stuff most of it > in userspace. Make the drivers truly minimal; perhaps their > open/closed status won't matter that much when the bulk > of the code and the cleverness is ke

Re: [PATCH] free swap space when (re)activating page

2007-02-20 Thread Christoph Lameter
On Tue, 20 Feb 2007, Rik van Riel wrote: > The attached patch should be correct. Oh. It vanished again when I replied to your mail. > Btw, why do we not call pagevec_strip on the pages on l_active? > I assume we want to reclaim their buffer heads, too... Yes we want to reduce buffer heads if w

Re: [discuss] [PATCH 1/3] x86_64: additions to the i386 alternative extensions to support x86_64 architecture

2007-02-20 Thread Joerg Roedel
On Mon, Feb 19, 2007 at 10:29:22PM +0100, Andi Kleen wrote: > On Monday 19 February 2007 20:07, Joerg Roedel wrote: > > From: Joerg Roedel <[EMAIL PROTECTED]> > > > > This patch adds the necessary changes to extend the i386 alternative > > instruction framework extension on the x86_64 architecture

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-20 Thread Oleg Nesterov
On 02/20, Srivatsa Vaddagiri wrote: > > On Sun, Feb 18, 2007 at 12:59:28AM +0300, Oleg Nesterov wrote: > > Before you begin. You are doing CPU_DOWN_PREPARE after freeze_processes(). > > Not good. This makes impossible to do flush_workueue() at CPU_DOWN_PREPARE > > stage, we have callers. > > We ha

Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU problems

2007-02-20 Thread Oleg Nesterov
On 02/20, Christoph Lameter wrote: > > On Tue, 20 Feb 2007, Max Krasnyansky wrote: > > > > > Well seems that we have a set of unresolved issues with workqueues and > > > > cpu > > > > hotplug. > > > > How about storing 'cpu' explicitly in the work queue instead of relying on > > the > > smp_pro

Re: [PATCH 0/7] [RFC] hugetlb: pagetable_operations API

2007-02-20 Thread Benjamin Herrenschmidt
> maybe. I'm not entirely convinced... (I like the cleanup potential a lot > code wise.. but if it costs performance, then... well I'd hate to see > linux get slower for hugetlbfs) > > > If not, then I definitely wouldn't > > mind creating a default_pagetable_ops and calling into that. > > ... b

Re: [PATCH 0/7] [RFC] hugetlb: pagetable_operations API

2007-02-20 Thread Benjamin Herrenschmidt
On Mon, 2007-02-19 at 19:43 +0100, Arjan van de Ven wrote: > On Mon, 2007-02-19 at 10:31 -0800, Adam Litke wrote: > > The page tables for hugetlb mappings are handled differently than page > > tables > > for normal pages. Rather than integrating multiple page size support into > > the > > main V

Re: [PATCH] free swap space when (re)activating page

2007-02-20 Thread Rik van Riel
Rik van Riel wrote: ... because I think this is what my patch does :) Never mind, I see it now. The attached patch should be correct. Btw, why do we not call pagevec_strip on the pages on l_active? I assume we want to reclaim their buffer heads, too... -- All Rights Reversed --- linux-2.6.2

[PATCH 4/4] NOMMU: Make it possible for RomFS to use MTD devices directly

2007-02-20 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Change RomFS so that it can use MTD devices directly - without the intercession of the block layer - as well as using block devices. This permits RomFS: (1) to use the MTD direct mapping facility available under NOMMU conditions if the underlying dev

[PATCH 3/4] NOMMU: Generalise the handling of MTD-specific superblocks

2007-02-20 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Generalise the handling of MTD-specific superblocks so that JFFS2 and ROMFS can both share it. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- drivers/mtd/Makefile |2 drivers/mtd/mtdsuper.c| 231 +++

[PATCH 2/4] NOMMU: Add support for direct mapping through mtdconcat if possible

2007-02-20 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Add support for direct mapping through mtdconcat, if possible, by attaching the samebacking_dev_info structure to the master. It has some restrictions: (1) It won't permit direct mapping of concatenated devices that have differing BDIs. (2) It does

[PATCH 1/4] NOMMU: Present backing device capabilities for MTD chardevs

2007-02-20 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Present backing device capabilities for MTD character device files to allow NOMMU mmap to do direct mapping where possible. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- drivers/mtd/Makefile |2 + drivers/mtd/chips/map_ram.c | 17 +++

Re: PCI riser cards and PCI irq routing, etc

2007-02-20 Thread Alistair John Strachan
On Tuesday 20 February 2007 15:44, you wrote: > Alistair John Strachan wrote: > > On Tuesday 20 February 2007 04:17, Udo van den Heuvel wrote: > >> Krzysztof Halasa wrote: > >>> Is it a VIA ITX board? I think I have VIA's riser card somewhere, > >>> could check what it does. > >> > >> Yes, VIA Epia

Re: [PATCH] free swap space when (re)activating page

2007-02-20 Thread Rik van Riel
Christoph Lameter wrote: On Tue, 20 Feb 2007, Rik van Riel wrote: Nono, I try to remove the swap space occupied by pages that go back onto the active list. Regardless of whether they were already there, or whether they started out on the inactive list. Ok then do it for all pages that go bac

Re: [PATCH] free swap space when (re)activating page

2007-02-20 Thread Christoph Lameter
On Tue, 20 Feb 2007, Rik van Riel wrote: > > Maybe the hunk does apply in a different location than I thought. > > I suspect that's the case ... No that is not the case: @@ -875,6 +878,11 @@ force_reclaim_mapped: pagevec_strip(&pvec); spin_lock_irq(&zone->lru_loc

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Benjamin LaHaise
On Tue, Feb 20, 2007 at 08:33:20PM +0100, bert hubert wrote: > I'm investigating this further for other system calls. It might be that my > measurements are off, but it appears even a slight delay between calls > incurs a large penalty. Make sure your system is idle. Userspace bloat means that *l

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread bert hubert
On Tue, Feb 20, 2007 at 09:48:59PM +0300, Evgeniy Polyakov wrote: > Likely first overhead related to cache population or gamma-ray radiation. > If it happens only one (it does in my test), then everything is ok I > think. Bert, how frequently you get that long recvfrom()? I have plotted the avera

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Eric W. Biederman
"Paul Menage" <[EMAIL PROTECTED]> writes: > What are you defining here as "everything"? If you mean "all things > that could be applied to a segregated group of processes such as a > virtual server", then "container" seems like a good name for my > patches, since it allows you to aggregate namespa

Re: [-mm patch] {rd,wr}msr_on_cpu SMP=n optimization

2007-02-20 Thread Dave Jones
On Tue, Feb 20, 2007 at 04:50:44PM +0300, Alexey Dobriyan wrote: > On Mon, Feb 19, 2007 at 07:14:34PM -0500, Dave Jones wrote: > > On Tue, Feb 20, 2007 at 01:07:13AM +0100, Adrian Bunk wrote: > > > On Thu, Feb 15, 2007 at 05:14:08AM -0800, Andrew Morton wrote: > > > >... > > > > Changes sin

[PATCH] kernel-doc fixes for 2.6.20-git15 (non-drivers)

2007-02-20 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Fix kernel-doc warnings in 2.6.20-git15 (lib/, mm/, kernel/, include/). Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- include/linux/hrtimer.h |1 + kernel/relay.c |3 +-- kernel/timer.c |1 + lib/bitmap.c| 1

[PATCH] kernel-doc: allow space after __attribute__

2007-02-20 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Allow space(s) between "__attribute__" and "((blah))" so that kernel-doc does not complain like: Warning(/tester/linsrc/linux-2.6.20-git15//kernel/timer.c:939): No description found for parameter 'read_persistent_clock(void' Signed-off-by: Randy Dunlap <[E

[PATCH] FRV: Add some missng lazy MMU hooks for NOMMU mode

2007-02-20 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Add some missing lazy MMU hooks for NOMMU mode. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- include/asm-frv/pgtable.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/asm-frv/pgtable.h b/include/asm-frv/pgtabl

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-02-20 Thread Dave Jones
On Tue, Feb 20, 2007 at 10:08:26AM -0500, Chuck Ebbert wrote: > i2c_core > i2c_ec > i2c_piix4 > asus_acpi (on a Compaq???) > sbs Something is pulling in asus_acpi as a dependancy. I've never figured out what the cause is. For a long time I was thinking that we had

Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU problems

2007-02-20 Thread Max Krasnyansky
Folks, Oleg Nesterov wrote: Even if smp_processor_id() was stable during the execution of cache_reap(), this work_struct can be moved to another CPU if CPU_DEAD happens. We can't avoid this, and this is correct. Uhh This may not be correct in terms of how the slab operates. But this is pr

Re: [PATCH] Fix USB Mon breakage

2007-02-20 Thread Pete Zaitcev
On Tue, 20 Feb 2007 16:15:41 +, Russell King <[EMAIL PROTECTED]> wrote: > Never call __exit code from __init code - it causes errors such as: Oh heh, just saw this now. > Signed-off-by: Russell King <[EMAIL PROTECTED]> I ack this. Greg, please either apply Dobriyan's patch, or this one, the

Re: [PATCH] free swap space when (re)activating page

2007-02-20 Thread William Lee Irwin III
On Fri, Feb 16, 2007 at 05:46:29PM -0500, Rik van Riel wrote: > The attached patch does what I described in the other thread, it > makes the pageout code free swap space when swap is getting full, > by taking away the swap space from pages that get moved onto or > back onto the active list. > In so

[PATCH]: __init to __cpuinit fixes in mtrr code

2007-02-20 Thread Prarit Bhargava
__init to __cpuinit in mtrr code. Resolves warnings similar to: WARNING: vmlinux - Section mismatch: reference to .init.text:mtrr_bp_init from .text between 'identify_cpu' (at offset 0xc040b38e) and 'detect_ht' Signed-off-by: Prarit Bhargava <[EMAIL PROTECTED]> diff --git a/arch/i386/kernel/cp

2.6.20-git15 BUG: soft lockup detected on CPU#0! - timers?

2007-02-20 Thread Michal Piotrowski
Hi, I have a problem with timers. NOHZ: local_softirq_pending 20 NOHZ: local_softirq_pending 20 BUG: soft lockup detected on CPU#0! [] show_trace_log_lvl+0x1a/0x2f [] show_trace+0x12/0x14 [] dump_stack+0x16/0x18 [] softlockup_tick+0xa7/0xb9 [] run_local_timers+0x12/0x14 [] update_process_times+0

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Evgeniy Polyakov
On Tue, Feb 20, 2007 at 01:42:42PM -0500, Josef Sipek ([EMAIL PROTECTED]) wrote: > A better thing would be to use getuid - it turns into just a return with a > memory dereference). I ran it on my 3.06GHz P4 (HT, but only UP kernel), > PREEMPT, HZ=1000... > > 3.290196 0.470588 0.402614 0.396078 0.3

[PATCH] memory mapped files not updating timestamps v2

2007-02-20 Thread Peter Staubach
Hi. Attached are some changes to address the problem that modifications to the contents of a file, made via an mmap'd region, do not cause the modification time on the file to be updated. This lack can cause corruption by allowing backup software to not detect files which should be backed up. Th

Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU problems

2007-02-20 Thread Christoph Lameter
On Tue, 20 Feb 2007, Max Krasnyansky wrote: > > > Well seems that we have a set of unresolved issues with workqueues and cpu > > > hotplug. > > How about storing 'cpu' explicitly in the work queue instead of relying on the > smp_processor_id() and friends ? That way there is no ambiguity when > t

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Josef Sipek
On Tue, Feb 20, 2007 at 07:41:25PM +0300, Evgeniy Polyakov wrote: > On Tue, Feb 20, 2007 at 05:27:14PM +0100, bert hubert ([EMAIL PROTECTED]) > wrote: > > I've done so, with some interesting results. Source on > > http://ds9a.nl/tmp/recvtimings.c - be careful to adjust the '3000' divider > > to yo

Re: [PATCH] siimage: DRAC4 note

2007-02-20 Thread Bartlomiej Zolnierkiewicz
On Tuesday 20 February 2007 17:56, Jeff Garzik wrote: > Alan wrote: > > The Dell DRAC4 has some interesting features including effectively hot > > unplugging/replugging the virtual CD interface when the DRAC is reset. > > This often causes drivers/ide/siimage to panic but is ok with the rather > >

Re: [PATCH] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Zach Brown
There are some strange O_DIRECT corner cases in here such that the 'last writer' may actually be a 'last reader' and winning can mean have a copy of the page in page cache older than the copy on disk. As long as it is marked dirty so that it eventually gets synced to disk, it shouldn't ma

Re: [PATCH] kbuild: Add the code maturity levels DEPRECATED and OBSOLETE.

2007-02-20 Thread Bartlomiej Zolnierkiewicz
On Tuesday 20 February 2007 17:27, Tilman Schmidt wrote: > On Sun, 18 Feb 2007 19:35:07 +0100, Bartlomiej Zolnierkiewicz wrote: > > I think that the patch is useful and that the distinction between > > DEPRECATED and OBSOLETE options is quite clear: > > > > * DEPRECATED == new better code is avai

Re: freezer problems

2007-02-20 Thread Rafael J. Wysocki
On Tuesday, 20 February 2007 01:32, Rafael J. Wysocki wrote: > On Tuesday, 20 February 2007 01:12, Oleg Nesterov wrote: > > On 02/20, Rafael J. Wysocki wrote: > > > > > > On Monday, 19 February 2007 23:41, Oleg Nesterov wrote: > > > > On 02/19, Rafael J. Wysocki wrote: > > > > > > > > > > On Monday

Re: freezer problems

2007-02-20 Thread Rafael J. Wysocki
On Tuesday, 20 February 2007 01:50, Oleg Nesterov wrote: > On 02/20, Rafael J. Wysocki wrote: > > > > BTW, what do you think of the updated patch I sent two messages ago? > > Ah, sorry, I just forgot... I think it is nice. Thanks. :-) I've started to collect the refrigerator-related patches post

Re: [PATCH 2/2] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Zach Brown
On Feb 20, 2007, at 9:33 AM, Ananiev, Leonid I wrote: There is change in the patch which is uncommented in preface. Now aio_ring_insert_entry() is not called if req->ki_users>=1. Before was called. Could you comment it? It is described in the patch description, though perhaps not explicitly

Re: [PATCH] free swap space when (re)activating page

2007-02-20 Thread Christoph Lameter
On Tue, 20 Feb 2007, Rik van Riel wrote: > Nono, I try to remove the swap space occupied by pages that > go back onto the active list. Regardless of whether they > were already there, or whether they started out on the > inactive list. Ok then do it for all pages that go back not just for those

[git patches] net driver updates

2007-02-20 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/8139too.c | 40 ++--- drivers/net/hamradio/baycom_epp.c | 13 +-- drivers/net/

RE: LSI Logic 40919o fibre channel: scsi works ip not

2007-02-20 Thread Moore, Eric
On Saturday, February 17, 2007 9:04 AM, Mario Giammarco wrote: > Now regarding the whole thing surrounding mptlan, I don't think > that LSI officially supports that feature any more or willing to fix > any bugs for it in their firmware or driver. Is that right? > > If so, we might as well remov

Re: [PATCH 2/2] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Chris Mason
On Tue, Feb 20, 2007 at 08:17:51PM +0300, Ananiev, Leonid I wrote: > aio-stress command lines used for test > 1) mem=1G in kernel boot param if you have more > 2) mk2fs for test_file > 3) dd if=/dev/zero of= bs=1M count=1200 > 4) aiostress -s 1200m -o 2 -i 1 -r 16k > Sorry, this aio-stress comma

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Paul Menage
On 2/20/07, Eric W. Biederman <[EMAIL PROTECTED]> wrote: "Paul Menage" <[EMAIL PROTECTED]> writes: > On 2/12/07, Sam Vilain <[EMAIL PROTECTED]> wrote: >> >> I know I'm a bit out of touch, but AIUI the NSProxy *is* the container. >> We decided a long time ago that a container was basically just a

Re: Fwd: GPIO device class driver

2007-02-20 Thread Robert Schwebel
On Tue, Feb 20, 2007 at 10:54:05AM -0600, NZG wrote: > Sent this to the LKML, but forgot to CC you. > May I see you current work on the GPIO class? > > thank you, > Nathan Z. Gustavson > Systems Engineer > EMAC.Inc -www.emacinc.com > > -- Forwarded Message -- > > Subject: GPIO

Re: [RFC] [PATCH -mm] file caps: make on-disk capabilities future-proof

2007-02-20 Thread Serge E. Hallyn
Quoting Stephen Smalley ([EMAIL PROTECTED]): > On Mon, 2007-02-19 at 11:01 -0600, Serge E. Hallyn wrote: > > From: Serge E. Hallyn <[EMAIL PROTECTED]> > > Subject: [PATCH -mm] file caps: make on-disk capabilities future-proof > > > > Stephen Smalley has pointed out that the current file capabiliti

Re: [PATCH 00/44 take 2] [UBI] Unsorted Block Images

2007-02-20 Thread Josh Boyer
On Tue, 2007-02-20 at 09:52 -0500, John Stoffel wrote: > Artem> This patch-set contains UBI, which stands for Unsorted Block > Artem> Images. This is closely related to the memory technology > Artem> devices Linux subsystem (MTD), so this new piece of software is > Artem> from drivers/mtd/ubi. > >

Re: [PATCH 00/44 take 2] [UBI] Unsorted Block Images

2007-02-20 Thread Artem Bityutskiy
John, On Tue, 2007-02-20 at 09:52 -0500, John Stoffel wrote: > Can you define UBI in each and every file you create? This is a > completely unique acronym and I'm sure a bunch of people will be going > "wtf" when they read this, I know I was. Do you mean adding something like "This is file is a

Re: [PATCH 00/44 take 2] [UBI] Unsorted Block Images

2007-02-20 Thread John Stoffel
Artem> This patch-set contains UBI, which stands for Unsorted Block Artem> Images. This is closely related to the memory technology Artem> devices Linux subsystem (MTD), so this new piece of software is Artem> from drivers/mtd/ubi. Can you define UBI in each and every file you create? This is a

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-20 Thread Eric W. Biederman
"Paul Menage" <[EMAIL PROTECTED]> writes: > On 2/12/07, Sam Vilain <[EMAIL PROTECTED]> wrote: >> >> I know I'm a bit out of touch, but AIUI the NSProxy *is* the container. >> We decided a long time ago that a container was basically just a set of >> namespaces, which includes all of the subsystems

RE: [PATCH 2/2] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Ananiev, Leonid I
There is change in the patch which is uncommented in preface. Now aio_ring_insert_entry() is not called if req->ki_users>=1. Before was called. Could you comment it? Leonid -Original Message- From: Zach Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 12:39 AM To: [EMAIL P

Kernel oops in 2.6.18.3 with RAID5

2007-02-20 Thread Andrew Robinson
I can't seem to find sufficient information on what may have caused an oops. I am running a debian machine using kernel 2.6.18.3. Here is detailed information on the system: debian etch CPU: AMD athlon 2100+ kernel package: linux-image-2.6.18-3-686 raid5 array: 3 active, 1 spare on md0 raid fs: e

Re: [PATCH 2.6.21-rc1] ibmebus: Support dynamic addition and removal of adapters

2007-02-20 Thread John Rose
> If the probe operation succeeds, the respective device will show up > beneath > /sys/bus/ibmebus/devices. This approach is not particularly synchronous. Take the case of an add failure: how long would an application wait before deciding that the new device is not going to appear? It might be

Re: 2.6.20 kernel hang with USB drive and vfat doing ftruncate

2007-02-20 Thread OGAWA Hirofumi
Kumar Gala <[EMAIL PROTECTED]> writes: > On Feb 19, 2007, at 4:19 PM, OGAWA Hirofumi wrote: > >> Kumar Gala <[EMAIL PROTECTED]> writes: >> >>> Once the system locks up I dont have any ability to do anything. >> >> Ah, doesn't sysrq also work? If sysrq work, it can use to see IO >> request state wi

[PATCH] Turn on new termios for x86 32bit systems.

2007-02-20 Thread Alan
I've been running this way on my laptop for some time with no problems so it's time to turn it on for everyone. Unless you've got a hacked libc you shouldn't even notice this change. (Note to other platform maintainers: those who've not made changes for their platform soon after all the hints wil

RE: [PATCH 2/2] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Ananiev, Leonid I
aio-stress command lines used for test 1) mem=1G in kernel boot param if you have more 2) mk2fs for test_file 3) dd if=/dev/zero of= bs=1M count=1200 4) aiostress -s 1200m -o 2 -i 1 -r 16k Leonid -Original Message- From: Chris Mason [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Evgeniy Polyakov
On Tue, Feb 20, 2007 at 08:11:20PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > I would try it today - but it is a bit late in Moscow already - and > there are some things to complete yet. So, tomorrow I will create a patch > and run it, but I seriously doubt that there is _that_ high per-

Re: [PATCH] fix handling of SIGCHILD from reaped child

2007-02-20 Thread Oleg Nesterov
On 02/21, KAMEZAWA Hiroyuki wrote: > > On Tue, 20 Feb 2007 17:22:57 +0300 > Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > > > I'd suggest to make a separate function, but not complicate > > collect_signal(). > > > okay. I'll try again if people admit me to go ahead. Yes, it would be nice to kno

[PATCH]: pcmcia - spot slave decode flaws (for testing)

2007-02-20 Thread Alan
If you've got a CF adapter or PCMCIA disc which shows up twice in libata pata_pcmcia can you try this patch on top of the updates posted. It tries to spot when the slave is a mirror of the master and to fix up problems that causes. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --

Re: [PATCH] nfs: init req_lock in nfs_alloc_inode

2007-02-20 Thread Olof Johansson
On Tue, Feb 20, 2007 at 10:10:00AM -0500, Trond Myklebust wrote: > > Trond, is your MAINTAINERS entry up to date? Seems like you mostly post > > from @netapp.com these days. > > I tend to be easier to get hold of via the fys.uio.no address, since > that isn't hidden behind a VPN. I use the netapp.

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Evgeniy Polyakov
On Tue, Feb 20, 2007 at 06:02:32PM +0100, bert hubert ([EMAIL PROTECTED]) wrote: > On Tue, Feb 20, 2007 at 07:41:25PM +0300, Evgeniy Polyakov wrote: > > > It can be recvfrom only problem - syscall overhead on my p4 (core duo, > > debian testing) is bout 300 usec - to test I ran read('dev/zero', &d

[PATCH] libata: Use new id_to_dma_mode function to tidy reporting in more drivers (minimally tested)

2007-02-20 Thread Alan
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_it821x.c linux-2.6.20-mm2/drivers/ata/pata_it821x.c --- linux.vanilla-2.6.20-mm2/drivers/ata/pata_it821x.c 2007-02-20 13:37:58.0 + ++

[PATCH] ACPI driver support for pata

2007-02-20 Thread Alan
- Add a driver for motherboard ACPI method devices - Link it after normal drivers so ACPI is not preferred - Hook the AMD driver to prefer ACPI for the Nvidia devices if ACPI is active - While we are at it fix up the simplex clear the AMD driver. Depends upon the set_mode -> do_set_mode wrapper pa

[PATCH] net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff

2007-02-20 Thread Alan
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/net/de600.c linux-2.6.20-mm2/drivers/net/de600.c --- linux.vanilla-2.6.20-mm2/drivers/net/de600.c2007-02-20 12:32:34.0 + +++ linux-2.6.

Re: [PATCH 2/2] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Chris Mason
On Tue, Feb 20, 2007 at 07:57:49PM +0300, Ananiev, Leonid I wrote: > Zach> This addresses an oops reported by Leonid Ananiev > <[EMAIL PROTECTED]> > Zach> as archived at http://lkml.org/lkml/2007/2/8/337. > > Zach> This was tested by running O_DIRECT aio-stress concurrently with > buffered rea

[PATCH 3/3] UML - pte_mkread fix

2007-02-20 Thread Jeff Dike
Fix the fact that pte_mkread set _PAGE_RW instead of _PAGE_USER (the logic is copied from i386 in most place, so it is really as bad as you're thinking). Thus currently page tables are more permissive than they should. Such a change may trigger other latent bugs, so be careful with this. Signed-

[PATCH]: Expose set_mode method so it can be wrapped

2007-02-20 Thread Alan
This splits set_mode into do_set_mode and the wrapper so that a driver can call the standard method inside its own. This in theory also obsoletes ->post_set_mode(). Needed for ACPI driver. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude

[PATCH 2/3] UML - Host VDSO fix

2007-02-20 Thread Jeff Dike
This fixes a problem seen by a number of people running UML on newer host kernels. init would hang with an infinite segfault loop. It turns out that the host kernel was providing a AT_SYSINFO_EHDR of 0xe000, which faked UML into believing that the host VDSO page could be reused. However, AT_

[PATCH 1/3] UML - Enable RAW

2007-02-20 Thread Jeff Dike
From: Allan Graves <[EMAIL PROTECTED]> Date: Fri Jan 26 17:49:00 2007 [PATCH] Enable raw.ko in UML - This patch adds the RAW device driver options to the UML Kconfig.char file so that you may use them in UML. Signed-off-by: Allan Graves<[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[

[PATCH 0/3] UML - Three for 2.6.21

2007-02-20 Thread Jeff Dike
These patches are 2.6.21 material. I have a configuration change, a small bug fix, and a big one. Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PR

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread bert hubert
On Tue, Feb 20, 2007 at 07:41:25PM +0300, Evgeniy Polyakov wrote: > It can be recvfrom only problem - syscall overhead on my p4 (core duo, > debian testing) is bout 300 usec - to test I ran read('dev/zero', &data, > 0) in a loop. nsec I assume? The usec numbers for read(fd, &c, 0) where fd is /d

Re: [RFC] [PATCH -mm] file caps: make on-disk capabilities future-proof

2007-02-20 Thread Stephen Smalley
On Mon, 2007-02-19 at 11:01 -0600, Serge E. Hallyn wrote: > From: Serge E. Hallyn <[EMAIL PROTECTED]> > Subject: [PATCH -mm] file caps: make on-disk capabilities future-proof > > Stephen Smalley has pointed out that the current file capabilities > will eventually pose a problem. > > As the capabi

[PATCH]: Add id_to_dma_mode function for printing DMA modes

2007-02-20 Thread Alan
Also export dev_disable as this is needed by drivers doing slave decode filtering, which will follow shortly Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/libata-core.c linux-2.6.20-mm2/drivers/ata

Re: [PATCH] Eliminate user-selectable CONFIG_MV643XX_ETH_[012]

2007-02-20 Thread Ralf Baechle
On Tue, Feb 20, 2007 at 11:27:30AM -0500, Jeff Garzik wrote: > >It was a mis-feature that the supported ports were ever user-selectable. > >Which ports the hardware supports should be specified by platform-specific > >code, not by the user. > > > > arch/mips/momentum/jaguar_atx/platform.c | 21 -

[PATCH] slim: move file revocation into file_table.c and mprotect.c

2007-02-20 Thread Serge E. Hallyn
Here is a attempt at resolving some of the complaints against the slim security module. The file revocation is perceived as too intrusive to live in a security module itself, so it is moved into file_table.c. This patch retains the explicit file->f_mode tweaking to revoke FMODE_WRITE. That can b

RE: [PATCH 2/2] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Ananiev, Leonid I
Zach> This addresses an oops reported by Leonid Ananiev <[EMAIL PROTECTED]> Zach> as archived at http://lkml.org/lkml/2007/2/8/337. Zach> This was tested by running O_DIRECT aio-stress concurrently with buffered reads The oops was with aio-stress only running in the loop WITHOUT buffered or m

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Eric Dumazet
On Tuesday 20 February 2007 17:27, bert hubert wrote: > On Tue, Feb 20, 2007 at 11:50:13AM +0100, Andi Kleen wrote: > > P4s are pretty slow at taking locks (or rather doing atomical operations) > > and there are several of them in this path. You could try it with a UP > > kernel. Actually hotunplug

Re: [PATCH] siimage: DRAC4 note

2007-02-20 Thread Jeff Garzik
Alan wrote: The Dell DRAC4 has some interesting features including effectively hot unplugging/replugging the virtual CD interface when the DRAC is reset. This often causes drivers/ide/siimage to panic but is ok with the rather smarter code in libata. Just note this fact in the driver docs. Sign

Re: [PATCH] pata_sl82c105: remove un-needed code paths

2007-02-20 Thread Jeff Garzik
Alan wrote: Remove the DMA setup function. As pointed out by Sergey we set the actual DMA clock timing in set_dmamode so we don't actually need to do anything with it at set up time, but just leave the PIO timings loaded. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursiv

Re: [PATCH] pata_oldpiix: Call both PIO and DMA setup functions on switch as they are called on set up

2007-02-20 Thread Jeff Garzik
Alan wrote: Keeps the behaviour consistent and easier to understand. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_oldpiix.c linux-2.6.20-mm2/drivers/ata/pata_oldpiix.c --- linux.vanilla-2.6

Re: [PATCH] pata_sil680: Assorted fixes

2007-02-20 Thread Jeff Garzik
Alan wrote: Correct iordy handling and DMA bit flag handling. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_sil680.c linux-2.6.20-mm2/drivers/ata/pata_sil680.c --- linux.vanilla-2.6.20-mm2/d

Re: [PATCH] pata_ixp4xx: Fix up set_mode() function and display Configured for PIO info

2007-02-20 Thread Jeff Garzik
Alan wrote: Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_ixp4xx_cf.c linux-2.6.20-mm2/drivers/ata/pata_ixp4xx_cf.c --- linux.vanilla-2.6.20-mm2/drivers/ata/pata_ixp4xx_cf.c 2007-02-20

[PATCH] siimage: DRAC4 note

2007-02-20 Thread Alan
The Dell DRAC4 has some interesting features including effectively hot unplugging/replugging the virtual CD interface when the DRAC is reset. This often causes drivers/ide/siimage to panic but is ok with the rather smarter code in libata. Just note this fact in the driver docs. Signed-off-by: Ala

Re: [PATCH] pata_cs5520: suspend/resume

2007-02-20 Thread Jeff Garzik
Alan wrote: The CS5520 isn't just an ATA controller and we must not pci_disable_device it as it turns into pci_disable_computer. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PR

[PATCH] ide: remove a ton of pointless #undef REALLY_SLOW_IO

2007-02-20 Thread Alan
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/cris/ide-cris.c linux-2.6.20-mm2/drivers/ide/cris/ide-cris.c --- linux.vanilla-2.6.20-mm2/drivers/ide/cris/ide-cris.c2007-02-20 13:38:01.00

Re: [PATCH] free swap space when (re)activating page

2007-02-20 Thread Rik van Riel
Christoph Lameter wrote: On Tue, 20 Feb 2007, Rik van Riel wrote: It was the portion that modifies shrink_active_list. Why operate on the pagevec there? The pagevec only contains the leftovers to be released from scanning over the temporary inactive list. Why? Because the pages that were not

Re: [PATCH 05/44 take 2] [UBI] internal common header

2007-02-20 Thread David Woodhouse
On Tue, 2007-02-20 at 11:12 -0500, Theodore Tso wrote: > I thought it was a gcc attribute as well, but it looks like it > isn't. Indeed, which is why I've never really been tempted to switch JFFS2 to __[bl]e32 rather than the structures it currently uses. Sparse is all very nice and all, but n

[PATCH] pata_sl82c105: remove un-needed code paths

2007-02-20 Thread Alan
Remove the DMA setup function. As pointed out by Sergey we set the actual DMA clock timing in set_dmamode so we don't actually need to do anything with it at set up time, but just leave the PIO timings loaded. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-fr

[PATCH] pata_ixp4xx: Fix up set_mode() function and display Configured for PIO info

2007-02-20 Thread Alan
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_ixp4xx_cf.c linux-2.6.20-mm2/drivers/ata/pata_ixp4xx_cf.c --- linux.vanilla-2.6.20-mm2/drivers/ata/pata_ixp4xx_cf.c 2007-02-20 13:37:58.

[PATCH] pata_oldpiix: Call both PIO and DMA setup functions on switch as they are called on set up

2007-02-20 Thread Alan
Keeps the behaviour consistent and easier to understand. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_oldpiix.c linux-2.6.20-mm2/drivers/ata/pata_oldpiix.c --- linux.vanilla-2.6.20-mm2/driver

[PATCH] pata_sil680: Assorted fixes

2007-02-20 Thread Alan
Correct iordy handling and DMA bit flag handling. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_sil680.c linux-2.6.20-mm2/drivers/ata/pata_sil680.c --- linux.vanilla-2.6.20-mm2/drivers/ata/pat

GPIO device class driver

2007-02-20 Thread NZG
I am currently developing support for an ep9xx based SBC and want to export it's GPIO through sysfs in a simple and standard way, without adding yet another platform specific gpio driver to the kernel. As I understand it, a gpio class has already been begun by Robert Schwebel in but has not as of

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Evgeniy Polyakov
On Tue, Feb 20, 2007 at 05:27:14PM +0100, bert hubert ([EMAIL PROTECTED]) wrote: > I've done so, with some interesting results. Source on > http://ds9a.nl/tmp/recvtimings.c - be careful to adjust the '3000' divider > to your CPU frequency if you care about absolute numbers! > > These are two group

[PATCH] pata_cs5520: suspend/resume

2007-02-20 Thread Alan
The CS5520 isn't just an ATA controller and we must not pci_disable_device it as it turns into pci_disable_computer. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_cs5520.c linux-2.6.20-mm2/dri

Re: [PATCH] pata: Display Configuring .. lines for devices with private set_mode methods

2007-02-20 Thread Jeff Garzik
Alan wrote: We can't specify which mode in the cases below but we can at least say PIO and look consistent with the default. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTEC

Re: [PATCH] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Trond Myklebust
On Tue, 2007-02-20 at 11:30 -0500, Trond Myklebust wrote: > > One option is to have invalidate_inode_pages2_range continue if it can't > > toss a page but still return something that O_DIRECT ignores (living > > with the race), but it looks like I can make a launder_page op that does > > the right

Re: [PATCH] free swap space when (re)activating page

2007-02-20 Thread Christoph Lameter
On Tue, 20 Feb 2007, Rik van Riel wrote: > > It was the portion that modifies shrink_active_list. Why operate > > on the pagevec there? The pagevec only contains the leftovers to be released > > from scanning over the temporary inactive list. > > Why? Because the pages that were not referenced w

[PATCH]: remove __initdata from initkmem_list3

2007-02-20 Thread Prarit Bhargava
Remove __initdata from initkmem_list3 Resolves MODPOST warning similar to: WARNING: vmlinux - Section mismatch: reference to .init.data:initkmem_list3 from .text between 'set_up_list3s' (at offset 0xc046a3ed) and 's_start' Signed-off-by: Prarit Bhargava <[EMAIL PROTECTED]> diff --git a/mm/slab

[PATCH] pata: Display Configuring .. lines for devices with private set_mode methods

2007-02-20 Thread Alan
We can't specify which mode in the cases below but we can at least say PIO and look consistent with the default. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_platform.c linux-2.6.20-mm2/driv

Re: [PATCH] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Trond Myklebust
On Tue, 2007-02-20 at 11:08 -0500, Chris Mason wrote: > On Tue, Feb 20, 2007 at 11:01:50AM -0500, Trond Myklebust wrote: > > On Mon, 2007-02-19 at 19:21 -0500, Benjamin LaHaise wrote: > > > On Mon, Feb 19, 2007 at 04:50:48PM -0500, Chris Mason wrote: > > > > aio is not responsible for this particul

<    1   2   3   4   5   >