Re: Fw: [PATCH][RFC] PCMCIA support for 8xx using platform devices

2007-04-23 Thread Scott Wood
On Sun, Apr 22, 2007 at 11:26:58PM +0400, Vitaly Bordug wrote: > diff --git a/arch/powerpc/boot/dts/mpc885ads.dts > b/arch/powerpc/boot/dts/mpc885ads.dts > index 90e047a..330ac91 100644 > --- a/arch/powerpc/boot/dts/mpc885ads.dts > +++ b/arch/powerpc/boot/dts/mpc885ads.dts > @@ -112,6 +112,18 @@ >

Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

2007-04-23 Thread Jeremy Fitzhardinge
Eric W. Biederman wrote: > If (cpu_has_pse) it may only be an additional two pages. > INIT_MAP_BEYOND is currently mapping a lot more then that. > Ah, yes. It allocates an extra two pages for pagetables, and then maps an extra 8MB or so. >> Would that be necessary? Is there any need to remap

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-23 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > but the point I'm trying to make is that X shouldn't get more CPU-time > because it's "more important" (it's not: and as noted earlier, > thinking that it's more important skews the problem and makes for too > *much* scheduling). X should get more

Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

2007-04-23 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: Why not? Er, except in the case where the page is needed to map itself - but that can be dealt with with a transient fixmap mapping. It would be *trivial* to make a certain number of page table slots available at the end of the head.S-generated map. -hpa

Re: [PATCH] ib_core: Add missing device link to class device

2007-04-23 Thread Roland Dreier
Hmm, I have links like this on my system already: $ ls -l /sys/class/infiniband/mlx4_0/device lrwxrwxrwx 1 root root 0 2007-04-23 12:14 /sys/class/infiniband/mlx4_0/device -> ../../../devices/pci:00/:00:06.0/:0d:00.0 the patch actually looks sane but I don't understand why i

Re: [RFC][PATCH][EXPERIMENTAL] CPU hotplug with frozen tasks

2007-04-23 Thread Oleg Nesterov
On 04/16, Rafael J. Wysocki wrote: > > Appended is the updated version of the patch (in addition to the changes > mentioned above I've eliminated the magic constant 0x0008 from cpu.c by > changing the new definitions in notifier.h). Most sub-systems doesn't care about CPU_TASKS_FROZEN bit. Take fo

Re: [PATCH] eHCA: Add "Modify Port" verb

2007-04-23 Thread Roland Dreier
> +if (hipz_h_query_port(shca->ipz_hca_handle, port, rblock) != H_SUCCESS) > { > +ehca_err(&shca->ib_device, "Can't query port properties"); > +ret = -EINVAL; > +goto modify_port1; > +} > + > +cap = (rblock->capability_mask | props->set_port_

Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

2007-04-23 Thread Jeremy Fitzhardinge
H. Peter Anvin wrote: > It would be *trivial* to make a certain number of page table slots > available at the end of the head.S-generated map. Or you could use a fixmap. J - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [RFC 1/2] Input: ff, add FF_RAW effect

2007-04-23 Thread Jiri Slaby
Dmitry Torokhov napsal(a): > For devices that require tailored application (for example that glove > - I am not sure how a generic application could control it) old > phantom way of controlling via ioctl will suffice. The device may > still use input layer to report back coordinates. And how about

Re: [report] renicing X, cfs-v5 vs sd-0.46

2007-04-23 Thread Niel Lambrechts
Gene Heskett wrote: > This message prompted me to do some checking in re context switches myself, > and I've come to the conclusion that there could be a bug in vmstat itself. Perhaps. perhaps not. :) > Run singly the context switching is reasonable even for a -19 niceness of x, > its only show

Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

2007-04-23 Thread Eric W. Biederman
Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: > H. Peter Anvin wrote: >> It would be *trivial* to make a certain number of page table slots >> available at the end of the head.S-generated map. > > Or you could use a fixmap. That certain number of page table slots should be the fixmap slots. If

[patch -mm] cpusets: allow TIF_MEMDIE threads to allocate anywhere

2007-04-23 Thread David Rientjes
OOM killed tasks have access to memory reserves as specified by the TIF_MEMDIE flag in the hopes that it will quickly exit. If such a task has memory allocations constrained by cpusets, we may encounter a deadlock if a blocking task cannot exit because it cannot allocate the necessary memory. We

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-23 Thread Alan Stern
On Mon, 23 Apr 2007, Cornelia Huck wrote: > On Sun, 22 Apr 2007 10:40:51 -0700, > Greg KH <[EMAIL PROTECTED]> wrote: > > > > Looking some more, kobject_get_path() is used for kobject renaming, > > > uevent handling, and a little bit in the input core. None of these > > > things > > > should tr

Re: [report] renicing X, cfs-v5 vs sd-0.46

2007-04-23 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > > 4 0 0 475752 13492 17632000 0 0 107 1477 85 15 0 > > 0 0 > > 4 0 0 475752 13492 17632000 0 0 122 1498 84 16 0 > > 0 0 > > Did you even *look* at your own numbers? Maybe you looked at > "int

Re: [PATCH][RFC] PCMCIA support for 8xx using platform devices

2007-04-23 Thread Vitaly Bordug
On Mon, 23 Apr 2007 08:59:57 +0100 Christoph Hellwig wrote: > On Mon, Apr 23, 2007 at 10:14:27AM +0400, Vitaly Bordug wrote: > > On Sun, 22 Apr 2007 23:49:41 +0200 > > Arnd Bergmann wrote: > > > > > On Sunday 22 April 2007, Vitaly Bordug wrote: > > > > This utilizes PCMCIA on mpc885ads and mpc866

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Rafael J. Wysocki
On Monday, 23 April 2007 16:19, Gautham R Shenoy wrote: > Hi Satyam, > On Mon, Apr 23, 2007 at 09:39:30AM +0530, Satyam Sharma wrote: > > Hi Rafael, > > > > >+/* > > >+ * Per task flags used by the freezer > > >+ * > > >+ * They should not be referred to directly outside of this file. > >

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Rafael J. Wysocki
Hi, On Monday, 23 April 2007 06:09, Satyam Sharma wrote: > Hi Rafael, > [--snip--] > > Also, I do have several gripes against the naming of some of these functions: > > > static inline int freezing(struct task_struct *p) > > This could be called task_should_freeze(). > > > /* > > - * Someti

Re: [RFC][PATCH -mm 3/3] freezer: Fix problem with kthread_stop

2007-04-23 Thread Rafael J. Wysocki
Hi, On Monday, 23 April 2007 12:40, Pavel Machek wrote: > Hi! > > > Fix the problem with kthread_stop() that causes the freezer to fail if a > > freezable thread is attempting to stop a frozen one and that may cause the > > freezer to fail if the thread being stopped is freezable and > > try_to_f

Re: [RFC][PATCH -mm 3/3] freezer: Fix problem with kthread_stop

2007-04-23 Thread Rafael J. Wysocki
On Monday, 23 April 2007 14:35, Gautham R Shenoy wrote: > On Sun, Apr 22, 2007 at 09:40:59PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > > > Fix the problem with kthread_stop() that causes the freezer to fail if a > > freezable thread is attempting to stop a

Re: [RFC][PATCH -mm 3/3] freezer: Fix problem with kthread_stop

2007-04-23 Thread Rafael J. Wysocki
On Monday, 23 April 2007 21:03, Oleg Nesterov wrote: > On 04/23, Gautham R Shenoy wrote: > > > > On Sun, Apr 22, 2007 at 09:40:59PM +0200, Rafael J. Wysocki wrote: > > > /* > > > @@ -232,6 +233,14 @@ int kthread_stop(struct task_struct *k) > > > > > > /* Now set kthread_should_stop() to true, a

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Rafael J. Wysocki
On Monday, 23 April 2007 15:17, Gautham R Shenoy wrote: > On Sun, Apr 22, 2007 at 09:39:26PM +0200, Rafael J. Wysocki wrote: > > @@ -63,9 +100,9 @@ static inline int thaw_process(struct ta > > */ > > static inline void frozen_process(struct task_struct *p) > > { > > - p->flags |= PF_FROZEN; >

Re: [patch -mm] cpusets: allow TIF_MEMDIE threads to allocate anywhere

2007-04-23 Thread Andi Kleen
> +/* > + * Allow tasks that have access to memory reserves because they have > + * been OOM killed to get memory anywhere. > + */ > +if (unlikely(test_tsk_thread_flag(current, TIF_MEMDIE))) This should be test_thread_flag() -Andi - To unsubscribe from thi

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-23 Thread Linus Torvalds
On Mon, 23 Apr 2007, Ingo Molnar wrote: > > The "give scheduler money" transaction can be both an "implicit > transaction" (for example when writing to UNIX domain sockets or > blocking on a pipe, etc.), or it could be an "explicit transaction": > sched_yield_to(). This latter i've already im

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-23 Thread Willy Tarreau
Hi ! On Mon, Apr 23, 2007 at 09:11:43PM +0200, Ingo Molnar wrote: > > * Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > but the point I'm trying to make is that X shouldn't get more CPU-time > > because it's "more important" (it's not: and as noted earlier, > > thinking that it's more importan

Re: serial8250 lockdep report from 2.6.21-rc7

2007-04-23 Thread Jiri Kosina
On Mon, 23 Apr 2007, Dave Jones wrote: > = > [ INFO: inconsistent lock state ] > 2.6.20-1.3094.fc7 #1 > - > inconsistent {hardirq-on-W} -> {in-hardirq-W} usage. > swapper/0 [HC1[1]:SC0[0]:HE0:SE1] takes: > (&port_lock_key){++..}, at:

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-23 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > > The "give scheduler money" transaction can be both an "implicit > > transaction" (for example when writing to UNIX domain sockets or > > blocking on a pipe, etc.), or it could be an "explicit transaction": > > sched_yield_to(). This latter i've a

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-23 Thread Gautham R Shenoy
On Mon, Apr 23, 2007 at 10:39:56PM +0400, Oleg Nesterov wrote: > On 04/23, Gautham R Shenoy wrote: > > > > On Sat, Apr 21, 2007 at 01:12:09AM +0400, Oleg Nesterov wrote: > > > On 04/19, Gautham R Shenoy wrote: > > > > > > > > @@ -63,12 +74,16 @@ void refrigerator(void) > > > > recalc_sigpen

Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

2007-04-23 Thread H. Peter Anvin
Eric W. Biederman wrote: Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes: H. Peter Anvin wrote: It would be *trivial* to make a certain number of page table slots available at the end of the head.S-generated map. Or you could use a fixmap. That certain number of page table slots should be t

Re: [PATCH] dma_declare_coherent_memory wrong allocation

2007-04-23 Thread Guennadi Liakhovetski
On Mon, 23 Apr 2007, James Bottomley wrote: > On Mon, 2007-04-23 at 00:45 +0200, Guennadi Liakhovetski wrote: > > Right, thinko. How about using his: > > > > + int pages = DIV_ROUND_UP(size, PAGE_SIZE); > > Actually, no ... this has to be size >> PAGE_SHIFT. The reason being > that the alloc

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-23 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > (we obviously dont want to allow people to 'share' their loans with > others ;), nor do we want to allow a net negative balance. CFS is > really brutally cold-hearted, it has a strict 'no loans' policy - the > easiest economic way to manage 'inflation

2.6.21-rc7: BUG: sleeping function called from invalid context at net/core/sock.c:1523

2007-04-23 Thread Jeremy Fitzhardinge
I got this on resume; it looks like a Bluetooth and/or USB problem. PM: Removing info for No Bus:hci0 BUG: sleeping function called from invalid context at net/core/sock.c:1523 in_atomic():1, irqs_disabled():0 1 lock held by khubd/180: #0: (old_style_rw_init#2){-.-?}, at: [] hci_sock_dev_event+

Re: [RFC][PATCH -mm 3/3] freezer: Fix problem with kthread_stop

2007-04-23 Thread Oleg Nesterov
On 04/23, Rafael J. Wysocki wrote: > > On Monday, 23 April 2007 14:35, Gautham R Shenoy wrote: > > > + if (!freezer_should_exempt(current)) { > > task_lock(k); > > > + /* We are freezable, so we must make sure that the thread being > > > + * stopped is not frozen and wi

Re: SLUB: kmem_cache_destroy doesn't - version 2.

2007-04-23 Thread Christoph Lameter
Would this work? Contains a solution somewhat along the lines of your thoughts on the subject. SLAB: Fix sysfs directory handling This fixes the problem that SLUB does not track the names of aliased slabs by changing the way that SLUB manages the files in /sys/slab. If the slab that is being c

Re: [PATCH] powerpc pseries eeh: Convert to kthread API

2007-04-23 Thread Linas Vepstas
On Sun, Apr 22, 2007 at 01:31:55PM +0100, Christoph Hellwig wrote: > On Thu, Apr 19, 2007 at 01:58:45AM -0600, Eric W. Biederman wrote: > > From: Eric W. Biederman <[EMAIL PROTECTED]> > > > > This patch modifies the startup of eehd to use kthread_run > > not a combination of kernel_thread and daem

Re: ChunkFS - measuring cross-chunk references

2007-04-23 Thread Andreas Dilger
On Apr 23, 2007 15:04 +0530, Kalpak Shah wrote: > On Mon, 2007-04-23 at 12:49 +0530, Karuna sagar K wrote: > > The tool estimates the cross-chunk references from an extt2/3 file > > system. It considers a block group as one chunk and calcuates how many > > block groups does a file span across. So,

[patch -mm v2] cpusets: allow TIF_MEMDIE threads to allocate anywhere

2007-04-23 Thread David Rientjes
OOM killed tasks have access to memory reserves as specified by the TIF_MEMDIE flag in the hopes that it will quickly exit. If such a task has memory allocations constrained by cpusets, we may encounter a deadlock if a blocking task cannot exit because it cannot allocate the necessary memory. We

Re: [report] renicing X, cfs-v5 vs sd-0.46

2007-04-23 Thread Michael K. Edwards
On 4/23/07, Ingo Molnar <[EMAIL PROTECTED]> wrote: Basically this hack is bad on policy grounds because it is giving X an "legislated, unfair monopoly" on the system. It's the equivalent of a state-guaranteed monopoly in certain 'strategic industries'. It has some advantages but it is very much n

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-23 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > sorry, i was a bit imprecise here. There is a case where CFS can give > out a 'loan' to tasks. The scheduler tick has a low resolution, so it > is fundamentally inevitable [*] that tasks will run a bit more than > they should, and at a heavy context-s

Re: [ANNOUNCE] UidBind LSM 0.1

2007-04-23 Thread Roberto De Ioris
Il giorno lun, 23/04/2007 alle 14.38 -0400, Gerhard Mack ha scritto: > On Mon, 23 Apr 2007, Roberto De Ioris wrote: > > Hi all, > > this is a very simple module that allows bind() to tcp/udp port (>=1024) > > only for the uids defined in a configfs tree. > > > > It is a first version, it only work

Pagecache: find_or_create_page does not call a proper page allocator function

2007-04-23 Thread Christoph Lameter
The find_or_create function calls alloc_page with a local gfp mask instead of using page_cache_alloc. This means that the page allocation will not obey cpuset memory spreading and page allocation will not properly use the gfp flags in the address space. Highmem is not set correctly. It turns out t

Re: [RFC][PATCH] ChunkFS: fs fission for faster fsck

2007-04-23 Thread Amit Gud
Suparna Bhattacharya wrote: Could you send this out as a patch to ext2 codebase, so we can just look at the changes for chunkfs ? That might also make it small enough to inline your patch in email for review. What kind of results are you planning to gather to evaluate/optimize this ? Mainly

Re: [PATCH][RFC] PCMCIA support for 8xx using platform devices

2007-04-23 Thread Segher Boessenkool
That's a horrible argument. Please do it properly, and let arch/ppc die as it should. We shouldn't be adding anything to it anymore anyway. I understand your point, but we shouldn't trash existing bits either. Why not? The things that haven't been ported over yet obviously are unmaintained.

Re: [RFC][PATCH -mm 3/3] freezer: Fix problem with kthread_stop

2007-04-23 Thread Gautham R Shenoy
On Tue, Apr 24, 2007 at 12:46:37AM +0400, Oleg Nesterov wrote: > On 04/23, Rafael J. Wysocki wrote: > > > > On Monday, 23 April 2007 14:35, Gautham R Shenoy wrote: > > > > + if (!freezer_should_exempt(current)) { > > > task_lock(k); > > > > + /* We are freezable, so we

[git patch] IDE fix for 2.6.21-final (Revert "adjust legacy IDE resource setting (v2)")

2007-04-23 Thread Bartlomiej Zolnierkiewicz
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git/ to receive the following updates: drivers/pci/probe.c | 45 + 1 files changed, 13 insertions(+), 32 deletions(-) commit 01abc2aa0f447bce2f6beb06dd0607ba0f01c5bb Autho

Re: [RFC][PATCH -mm 3/3] freezer: Fix problem with kthread_stop

2007-04-23 Thread Rafael J. Wysocki
On Monday, 23 April 2007 23:16, Gautham R Shenoy wrote: > On Tue, Apr 24, 2007 at 12:46:37AM +0400, Oleg Nesterov wrote: > > On 04/23, Rafael J. Wysocki wrote: > > > > > > On Monday, 23 April 2007 14:35, Gautham R Shenoy wrote: > > > > > + if (!freezer_should_exempt(current)) { > > > >

Re: Pagecache: find_or_create_page does not call a proper page allocator function

2007-04-23 Thread Andrew Morton
On Mon, 23 Apr 2007 14:11:57 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > The find_or_create function calls alloc_page with a local gfp mask instead > of using page_cache_alloc. This means that the page allocation will not > obey cpuset memory spreading and page allocation will not p

Re: Pagecache: find_or_create_page does not call a proper page allocator function

2007-04-23 Thread Christoph Lameter
On Mon, 23 Apr 2007, Andrew Morton wrote: > > +static inline struct page *page_cache_alloc_mask(struct address_space *x, > > + gfp_t gfp) > > +{ > > + return __page_cache_alloc(mapping_gfp_mask(x) | gfp); > > +} > > Usually we use the term "mask" to imply an AND function, not

[ANNOUNCE][PATCH] Kcli - Kernel command line interface.

2007-04-23 Thread Matt Ranon
The Jem team is pleased to announce the release of Kcli, an in-kernel command line interface. Kcli is intended for a special class of embedded Linux applications. The Linux kernel has become the defacto standard OS for embedded applications. This means that Linux is getting bent in some ways tha

sendfile to nonblocking socket

2007-04-23 Thread voron
Hello I'm testing a web server nginx for films sharing in my LAN. And I've got some interesting results. When I tried to download film or another big file via gigabit link, I've got sendfile block with nonblocking socket. Strace log in attach. Some commens #enabling nonblock on fd 3 20:51:

Re: SATA SB600 works in 2.6.20.4 but not in 2.6.21-rc5 with irqpoll parameter

2007-04-23 Thread Karsten Vieth
I can't report this problem from a new kernel, but i have the same problem with the kernel 2.6.20.1-33x from f7-test3. I managed to boot with these options: linux noapic acpi=off pci=nomsi irqpoll Here is my lspci -tv -[:00]-+-00.0 ATI Technologies Inc Radeon Xpress 200 Host Bridge

[1/3] 2.6.21-rc7: known regressions (v2)

2007-04-23 Thread Adrian Bunk
This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly involv

[2/3] 2.6.21-rc7: known regressions (v2)

2007-04-23 Thread Adrian Bunk
This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly involv

[3/3] 2.6.21-rc7: known regressions (v2)

2007-04-23 Thread Adrian Bunk
This email lists some known regressions in Linus' tree compared to 2.6.20. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly involv

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-23 Thread Guillaume Chazarain
2007/4/23, Ingo Molnar <[EMAIL PROTECTED]>: p->wait_runtime >>= 1; p_to->wait_runtime += p->wait_runtime; I have no problem with clients giving some credit to X, I am more concerned with X giving half of its credit to a single client, a quarter of its credit to a

Re: 2.6.21-rc7: BUG: sleeping function called from invalid context at net/core/sock.c:1523

2007-04-23 Thread Jiri Kosina
On Mon, 23 Apr 2007, Jeremy Fitzhardinge wrote: > I got this on resume; it looks like a Bluetooth and/or USB problem. > PM: Removing info for No Bus:hci0 > BUG: sleeping function called from invalid context at net/core/sock.c:1523 > in_atomic():1, irqs_disabled():0 > 1 lock held by khubd/180: > #

Re: sendfile to nonblocking socket

2007-04-23 Thread David Miller
From: voron <[EMAIL PROTECTED]> Date: Tue, 24 Apr 2007 00:13:27 +0300 > As I see, nonblocking mode is enabled - sendfile sends less than asked. The socket is marked as non-blocking, but the disk I/O is not. It's blocking on the disk I/O not the socket part of the operation. - To unsubscribe fr

Re: [ANNOUNCE][PATCH] Kcli - Kernel command line interface.

2007-04-23 Thread H. Peter Anvin
Matt Ranon wrote: The Jem team is pleased to announce the release of Kcli, an in-kernel command line interface. Kcli is intended for a special class of embedded Linux applications. The Linux kernel has become the defacto standard OS for embedded applications. This means that Linux is getting bent

Re: Testing framework

2007-04-23 Thread Ric Wheeler
Avishay Traeger wrote: On Mon, 2007-04-23 at 02:16 +0530, Karuna sagar K wrote: For some time I had been working on this file system test framework. Now I have a implementation for the same and below is the explanation. Any comments are welcome. You may want to check out the paper "EXPLODE:

[RFC] another scheduler beater

2007-04-23 Thread Bill Davidsen
The small attached script does a nice job of showing animation glitches in the glxgears animation. I have run one set of tests, and will have several more tomorrow. I'm off to a poker game, and would like to let people draw their own conclusions. Based on just this script as load I would say r

[REPORT] First "glitch1" results, 2.6.21-rc7-git6-CFSv5

2007-04-23 Thread Bill Davidsen
I am not sure a binary attachment will go thru, I will move to the web ste if not. GL2.6.21-rc7-git6-CFSv5_nice0_jump Description: Binary data GL2.6.21-rc7-git6-CFSv5_nice0_nojump Description: Binary data GL2.6.21-rc7-git6-CFSv5_nice19_nojump Description: Binary data GL2.6.21-rc7-git6-CFSv

Re: [1/3] 2.6.21-rc7: known regressions (v2)

2007-04-23 Thread Greg KH
On Mon, Apr 23, 2007 at 11:48:47PM +0200, Adrian Bunk wrote: > This email lists some known regressions in Linus' tree compared to 2.6.20. > > If you find your name in the Cc header, you are either submitter of one > of the bugs, maintainer of an affectected subsystem or driver, a patch > of you ca

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Oleg Nesterov
On 04/22, Rafael J. Wysocki wrote: > > Move all of the freezer-related flags to a separate field in task_struct and > introduce functions to operate them using set_bit() etc. > > [...snip...] > > --- linux-2.6.21-rc6-mm1.orig/kernel/fork.c 2007-04-22 19:37:42.0 > +0200 > +++ linux-2.6.2

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

2007-04-23 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday 20 April 2007, Sergei Shtylyov wrote: > Hello, I wrote: > > Index: b/drivers/ide/pci/hpt366.c > === > --- a/drivers/ide/pci/hpt366.c > +++ b/drivers/ide/pci/hpt366.c > @@ -513,43 +513,31 @@ sta

Re: [PATCH pata-2.6 fix queue] aec62xx: fix PIO/DMA setup issues

2007-04-23 Thread Bartlomiej Zolnierkiewicz
On Sunday 22 April 2007, Sergei Shtylyov wrote: > Teach the driver's tuneproc() method to do PIO auto-runing properly since it > treated 5 instead of 255 as auto-tune request, and also passed the mode limit > of PIO5 to ide_get_best_pio_mode() despite supporting up to PIO4 only. > > While at it, a

Re: 2.6.21-rc7: HPET enabled freeze my machine at boot

2007-04-23 Thread john stultz
On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote: > john stultz wrote: > > On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> If i enable "High Resolution Timer Support", my machine stops here at > >> boot: > >> > >> Clocksource tsc unstable (delta = -297340790165 n

Re: Pagecache: find_or_create_page does not call a proper page allocator function

2007-04-23 Thread Christoph Lameter
On Mon, 23 Apr 2007, Andrew Morton wrote: > There are few calls to page_cache_alloc(). Would it not be simpler to just > add the additional argument to page_cache_alloc() (called "extra_gfp", > please) and to update all callers? And to remove page_cache_alloc_cold() > and replace all it callers

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Rafael J. Wysocki
On Tuesday, 24 April 2007 00:23, Oleg Nesterov wrote: > On 04/22, Rafael J. Wysocki wrote: > > > > Move all of the freezer-related flags to a separate field in task_struct and > > introduce functions to operate them using set_bit() etc. > > > > [...snip...] > > > > --- linux-2.6.21-rc6-mm1.orig/ke

Re: Pagecache: find_or_create_page does not call a proper page allocator function

2007-04-23 Thread Christoph Lameter
And the second fix (cleanup patch will follow) Pagecache: find_or_create_page does not spread memory. The find_or_create function calls alloc_page with the gfp_mask passed to it which is derived from the mappings gfp mask. So the allocation flags are right (assuming my bugfix to fs/buffer.c is ap

Re: Pagecache: find_or_create_page does not call a proper page allocator function

2007-04-23 Thread Andrew Morton
On Mon, 23 Apr 2007 15:33:07 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > Grow dev page simply passes GFP_NOFS to find_or_create_page. This means the > allocation of radix tree nodes is done with GFP_NOFS and the allocation > of a new page is done using GFP_NOFS as well. > > The map

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Gautham R Shenoy
On Tue, Apr 24, 2007 at 12:40:17AM +0200, Rafael J. Wysocki wrote: > On Tuesday, 24 April 2007 00:23, Oleg Nesterov wrote: > > On 04/22, Rafael J. Wysocki wrote: > > > > > > Move all of the freezer-related flags to a separate field in task_struct > > > and > > > introduce functions to operate the

Re: [patch] CFS scheduler, v4

2007-04-23 Thread Ingo Molnar
* Michael Gerdau <[EMAIL PROTECTED]> wrote: > > i'm pleased to announce release -v4 of the CFS patchset. The patch > > against v2.6.21-rc7 can be downloaded from: > > > > http://redhat.com/~mingo/cfs-scheduler/ > > I can't get 2.6.21-rc7-CFS-v4 to boot. Immediately after selecting > this

Remove open coded implementations of memclear_highpage flush

2007-04-23 Thread Christoph Lameter
There are a series of open coded reimplementation of memclear_highpage_flush all over the page cache code. Call memclear_highpage_flush in those locations. Consolidates code and eases maintenance. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/buffer.c | 77 --

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-23 Thread Jeremy Fitzhardinge
Linus Torvalds wrote: > The "perfect" situation would be that when somebody goes to sleep, any > extra points it had could be given to whoever it woke up last. Note that > for something like X, it means that the points are 100% ephemeral: it gets > points when a client sends it a request, but it

Re: [PATCH 00/25] xen: Xen implementation for paravirt_ops

2007-04-23 Thread Andi Kleen
On Monday 23 April 2007 23:56:38 Jeremy Fitzhardinge wrote: > Hi Andi, > > It applies to 2.6.21-rc7 + your patches + the last batch of pv_ops > patches I got most of those except for the broken sched_clock change. > I posted. How much testing outside Jeremylabs has it gotten? Some beta testin

RE: sendfile to nonblocking socket

2007-04-23 Thread David Schwartz
> As I see, nonblocking mode is enabled - sendfile sends less than asked. > But 2G via single 30 seconds sendfile call - this is blocking call. How > can I avoid that? I prefer sendfile as fastest way to send file > content to network socket. The problem with sendfile block on > nonblocking

Re: 2.6.21-rc7: HPET enabled freeze my machine at boot

2007-04-23 Thread john stultz
On Mon, 2007-04-23 at 15:30 -0700, john stultz wrote: > On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote: > > john stultz wrote: > > > On 4/19/07, guilherme <[EMAIL PROTECTED]> wrote: > > >> Hi, > > >> > > >> If i enable "High Resolution Timer Support", my machine stops here at > >

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Rafael J. Wysocki
On Tuesday, 24 April 2007 00:41, Gautham R Shenoy wrote: > On Tue, Apr 24, 2007 at 12:40:17AM +0200, Rafael J. Wysocki wrote: > > On Tuesday, 24 April 2007 00:23, Oleg Nesterov wrote: > > > On 04/22, Rafael J. Wysocki wrote: > > > > > > > > Move all of the freezer-related flags to a separate field

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Oleg Nesterov
On 04/24, Rafael J. Wysocki wrote: > > Should I clear it in dup_task_struct() or is there a better place? I personally think we should do this in dup_task_struct(). In fact, I believe it is better to replace the *tsk = *orig; with some helper (like setup_thread_stack() below), and that h

Re: Question about Reiser4

2007-04-23 Thread Theodore Tso
On Mon, Apr 23, 2007 at 06:52:16AM -0700, Eric Hopper wrote: > Oh, two things really interest me about Reiser4. First, I despise > having to care about how many tiny files I leave lying around when > writing a program. Berkeley DB and its ilk are evil, evil programs that > obscure data and make t

Re: 2.6.20.7 locking up hard on boot

2007-04-23 Thread Marcos Pinto
I'm honestly not sure how to try what you suggested to try, since I'm nothing even remotely close to a kernel geek and it was over my head. However, I'd gladly test anything that you think would be worth testing, if you would please put it in way that I could understand, such as "change line 'foo'

Re: [PATCH 04/25] xen: Add XEN config options

2007-04-23 Thread Andi Kleen
On Monday 23 April 2007 23:56:42 Jeremy Fitzhardinge wrote: > The XEN config option enables the Xen paravirt_ops interface, which is > installed when the kernel finds itself running under Xen. > > Xen is no longer a sub-architecture, so the X86_XEN subarch config > option has gone. > > Xen is cur

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-23 Thread Rafael J. Wysocki
On Tuesday, 24 April 2007 00:55, Oleg Nesterov wrote: > On 04/24, Rafael J. Wysocki wrote: > > > > Should I clear it in dup_task_struct() or is there a better place? > > I personally think we should do this in dup_task_struct(). In fact, I believe > it is better to replace the > > *tsk = *o

Re: Prevent softlockup triggering in nvidiafb

2007-04-23 Thread Antonino A. Daplas
> On Mon, Apr 23, 2007 at 04:55:05PM +0100, Alan Cox wrote: > > On Mon, 23 Apr 2007 11:36:30 -0400 > > Dave Jones <[EMAIL PROTECTED]> wrote: > > > > > If the chip locks up, we get into a long polling loop, > > > where the softlockup detector kicks in. > > > See https://bugzilla.redhat.com/bug

[PATCH 04/25] xen: Add XEN config options

2007-04-23 Thread Jeremy Fitzhardinge
The XEN config option enables the Xen paravirt_ops interface, which is installed when the kernel finds itself running under Xen. Xen is no longer a sub-architecture, so the X86_XEN subarch config option has gone. Xen is currently incompatible with PREEMPT, but this is fixed up later in the series

[PATCH 08/25] xen: xen: fix multicall batching

2007-04-23 Thread Jeremy Fitzhardinge
Disable interrupts between allocating a multicall entry and actually issuing it, to prevent an interrupt from coming in, allocating and initializing further multicall entries, and then issuing them all, including the partially completed one. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]>

[PATCH 10/25] xen: Implement xen_sched_clock

2007-04-23 Thread Jeremy Fitzhardinge
Implement xen_sched_clock, which returns the number of ns the current vcpu has been actually in the running state (vs blocked, runnable-but-not-running, or offline) since boot. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Cc: john stultz <[EMAIL PROTECTED]> --- arch/i386/xen/enlighten.

[PATCH 01/25] xen: Add apply_to_page_range() which applies a function to a pte range.

2007-04-23 Thread Jeremy Fitzhardinge
Add a new mm function apply_to_page_range() which applies a given function to every pte in a given virtual address range in a given mm structure. This is a generic alternative to cut-and-pasting the Linux idiomatic pagetable walking code in every place that a sequence of PTEs must be accessed. Alt

[PATCH 24/25] xen: xen: diddle netfront

2007-04-23 Thread Jeremy Fitzhardinge
Move things around a bit to match xen-unstable netfront. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> --- drivers/net/xen-netfront.c | 36 +--- 1 file changed, 17 insertions(+), 19 deletions(-) =

[PATCH 25/25] xen: Xen machine operations

2007-04-23 Thread Jeremy Fitzhardinge
Make the appropriate hypercalls to halt and reboot the virtual machine. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> --- arch/i386/xen/enlighten.c | 43 +++ arch/i386/xen/smp.c |4 +--- 2 files changed, 44 insertions(+), 3 deletions(-

[PATCH 21/25] xen: Add the Xen virtual network device driver.

2007-04-23 Thread Jeremy Fitzhardinge
The network device frontend driver allows the kernel to access network devices exported exported by a virtual machine containing a physical network device driver. Signed-off-by: Ian Pratt <[EMAIL PROTECTED]> Signed-off-by: Christian Limpach <[EMAIL PROTECTED]> Signed-off-by: Chris Wright <[EMAIL P

[PATCH 07/25] xen: Complete pagetable pinning for Xen

2007-04-23 Thread Jeremy Fitzhardinge
Xen has a notion of pinned pagetables, which are pagetables that remain read-only to the guest and are validated by the hypervisor. This makes context switches much cheaper, because the hypervisor doesn't need to revalidate the pagetable each time. This patch adds a PG_pinned flag for pagetable pa

Re: [PATCH 00/25] xen: Xen implementation for paravirt_ops

2007-04-23 Thread Jeremy Fitzhardinge
Andi Kleen wrote: > On Monday 23 April 2007 23:56:38 Jeremy Fitzhardinge wrote: > >> Hi Andi, >> >> It applies to 2.6.21-rc7 + your patches + the last batch of pv_ops >> patches >> > > I got most of those except for the broken sched_clock change. > Er, we had a bit of back-and-forward

[PATCH 18/25] xen: Add Xen grant table support

2007-04-23 Thread Jeremy Fitzhardinge
Add Xen 'grant table' driver which allows granting of access to selected local memory pages by other virtual machines and, symmetrically, the mapping of remote memory pages which other virtual machines have granted access to. This driver is a prerequisite for many of the Xen virtual device drivers

[PATCH 20/25] xen: Add Xen virtual block device driver.

2007-04-23 Thread Jeremy Fitzhardinge
The block device frontend driver allows the kernel to access block devices exported exported by a virtual machine containing a physical block device driver. Signed-off-by: Ian Pratt <[EMAIL PROTECTED]> Signed-off-by: Christian Limpach <[EMAIL PROTECTED]> Signed-off-by: Chris Wright <[EMAIL PROTECT

[PATCH 11/25] xen: Xen SMP guest support

2007-04-23 Thread Jeremy Fitzhardinge
This is a fairly straightforward Xen implementation of smp_ops. One thing this must to is carefully set up all the various sibling and core maps so that the smp scheduler setup works properly (the setup is very simple, since vcpus don't have any siblings or multiple cores). Xen has its own IPI me

[PATCH 22/25] xen: xen-netfront: use skb.cb for storing private data

2007-04-23 Thread Jeremy Fitzhardinge
Netfront's use of nh.raw and h.raw for storing page+offset is a bit hinky, and it breaks with upcoming network stack updates which reduce these fields to sub-pointer sizes. Fortunately, skb offers the "cb" field specifically for stashing this kind of info, so use it. Signed-off-by: Jeremy Fitzhar

Re: [PATCH 04/25] xen: Add XEN config options

2007-04-23 Thread Jeremy Fitzhardinge
Andi Kleen wrote: > On Monday 23 April 2007 23:56:42 Jeremy Fitzhardinge wrote: > >> The XEN config option enables the Xen paravirt_ops interface, which is >> installed when the kernel finds itself running under Xen. >> >> Xen is no longer a sub-architecture, so the X86_XEN subarch config >> opt

[PATCH 16/25] xen: Use the hvc console infrastructure for Xen console

2007-04-23 Thread Jeremy Fitzhardinge
Implement a Xen back-end for hvc console. From: Gerd Hoffmann <[EMAIL PROTECTED]> Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> --- arch/i386/xen/Kconfig |1 arch/i386/xen/events.c|3 - drivers/Makefile |3 + drivers/xen/Makefile |1 drivers/xen/h

[PATCH 23/25] xen: Lockdep fixes for xen-netfront

2007-04-23 Thread Jeremy Fitzhardinge
netfront contains two locking problems found by lockdep: 1. rx_lock is a normal spinlock, and tx_lock is an irq spinlock. This means that in normal use, tx_lock may be taken by an interrupt routine while rx_lock is held. However, netif_disconnect_backend takes them in the order tx_lock-

[PATCH 13/25] xen: xen: lazy-mmu operations

2007-04-23 Thread Jeremy Fitzhardinge
This patch uses the lazy-mmu hooks to batch mmu operations where possible. This is primarily useful for batching operations applied to active pagetables, which happens during mprotect, munmap, mremap and the like (mmap does not do bulk pagetable operations, so it isn't helped). Signed-off-by: Jer

<    1   2   3   4   5   >