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

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 works for

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

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 ?

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

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 must make sure

[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

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

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 an OR

[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

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

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

[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

[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

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 another

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: #0:

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 from

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. snip You may want to check out the paper

[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

[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

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 caused

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 +++

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 @@ static int

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, also:

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 ns) Time: hpet

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 with

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/kernel/fork.c

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

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 mapping

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 them using

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 kernel I see

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 testing

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 boot:

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 in

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

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

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 currently

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 = *orig;

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

[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

[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.c |

[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.

[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

[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

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 with that.

[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

[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 PROTECTED]

[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

[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

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 option has

[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

[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

[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:

[PATCH 17/25] xen: Add early printk support via hvc console

2007-04-23 Thread Jeremy Fitzhardinge
Add early printk support via hvc console, enable using earlyprintk=xen on the kernel command line. From: Gerd Hoffmann [EMAIL PROTECTED] Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Acked-by: Ingo Molnar [EMAIL PROTECTED] --- arch/x86_64/kernel/early_printk.c |5 +

[PATCH 03/25] xen: Add nosegneg capability to the vsyscall page notes

2007-04-23 Thread Jeremy Fitzhardinge
Add the nosegneg fake capabilty to the vsyscall page notes. This is used by the runtime linker to select a glibc version which then disables negative-offset accesses to the thread-local segment via %gs. These accesses require emulation in Xen (because segments are truncated to protect the

[PATCH 15/25] xen: xen time fixups

2007-04-23 Thread Jeremy Fitzhardinge
1. make sure timer state is set up before bringing up CPU 2. make sure snapshot of 64-bit time values is atomic Be sure, however, that the clockevent source is registered on its home CPU. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/i386/xen/smp.c |4 +-

[PATCH 12/25] xen: Add support for preemption

2007-04-23 Thread Jeremy Fitzhardinge
Add Xen support for preemption. This is mostly a cleanup of existing preempt_enable/disable calls, or just comments to explain the current usage. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] --- arch/i386/xen/Kconfig |2 arch/i386/xen/enlighten.c | 93

[PATCH 14/25] xen: xen: deal with negative stolen time

2007-04-23 Thread Jeremy Fitzhardinge
Stolen time should never be negative; if it ever is, it probably indicates some other bug. However, if it does happen, then its better to just clamp it at zero, rather than trying to account for it as a huge positive number. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] ---

[PATCH 09/25] xen: Account for time stolen by Xen

2007-04-23 Thread Jeremy Fitzhardinge
This accounts for the time Xen steals from our VCPUs. This accounting gets run on each timer interrupt, just as a way to get it run relatively often, and when interesting things are going on. Stolen time is not really used by much in the kernel; it is reported in /proc/stats, and that's about

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

2007-04-23 Thread Jeremy Fitzhardinge
Hi Andi, This series of patches implements the Xen paravirt-ops interface. It applies to 2.6.21-rc7 + your patches + the last batch of pv_ops patches I posted. This patch generally restricts itself to Xen-specific parts of the tree, though it does make a few small changes elsewhere. These

[PATCH 02/25] xen: Allocate and free vmalloc areas

2007-04-23 Thread Jeremy Fitzhardinge
Allocate/destroy a 'vmalloc' VM area: alloc_vm_area and free_vm_area The alloc function ensures that page tables are constructed for the region of kernel virtual address space and mapped into init_mm. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Ian Pratt [EMAIL PROTECTED]

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

2007-04-23 Thread Oleg Nesterov
On 04/24, Rafael J. Wysocki wrote: 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

Re: [PATCH 03/25] xen: Add nosegneg capability to the vsyscall page notes

2007-04-23 Thread Roland McGrath
+ * It should contain: + * hwcap 0 nosegneg + * to match the mapping of bit to name that we give here. This needs to be hwcap 0 nosegneg to match: +NOTE_KERNELCAP_BEGIN(1, 2) +NOTE_KERNELCAP(1, nosegneg) +NOTE_KERNELCAP_END The actual bits you are using should be fine. (You're

Re: Loud pop coming from hard drive on reboot

2007-04-23 Thread Chuck Ebbert
Peter Zijlstra wrote: but I have an increasing seek error rate as well. I got the ST disk because thinkwiki suggested it. Apparently Seagate has their own definition of seek error rate. Large numbers are normal, or at least very common. Now I wonder if they have their own way of doing

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

2007-04-23 Thread Andrew Morton
On Mon, 23 Apr 2007 14:31:39 -0700 (PDT) Matt Ranon [EMAIL PROTECTED] wrote: (text reformatted to less than 80 cols. Please, we'll get along a lot better if you don't send 1000-column emails) The Jem team is pleased to announce the release of Kcli, an in-kernel command line interface. Kcli

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

2007-04-23 Thread Jeff Garzik
Karsten Vieth wrote: 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 Can you narrow down the options? Hopefully pci=nomsi or similar should do

Re: [PATCH] Return EPERM not ECHILD on security_task_wait failure

2007-04-23 Thread James Morris
On Thu, 15 Mar 2007, Roland McGrath wrote: This patch makes do_wait return -EPERM instead of -ECHILD if some children were ruled out solely because security_task_wait failed. What about using the return value from the security_task_wait hook (which should be -EACCES) ? - James -- James

Re: [REPORT] First glitch1 results, 2.6.21-rc7-git6-CFSv5 + SD 0.46

2007-04-23 Thread Ed Tomlinson
On Monday 23 April 2007 17:57, Bill Davidsen wrote: I am not sure a binary attachment will go thru, I will move to the web ste if not. I did a quick try of this script here. With SD 0.46 with X at nice 0 I was getting 1-2 frames per second. I decided to try cfs v5. The option disable auto

Re: [REPORT] First glitch1 results, 2.6.21-rc7-git6-CFSv5 + SD 0.46

2007-04-23 Thread Ed Tomlinson
On Monday 23 April 2007 19:45, Ed Tomlinson wrote: On Monday 23 April 2007 17:57, Bill Davidsen wrote: I am not sure a binary attachment will go thru, I will move to the web ste if not. I did a quick try of this script here. With SD 0.46 with X at nice 0 I was getting 1-2 frames per

Re: MODULE_MAINTAINER

2007-04-23 Thread Rusty Russell
On Mon, 2007-04-23 at 07:52 -0400, Robert P. J. Day wrote: On Mon, 23 Apr 2007, Rusty Russell wrote: On Mon, 2007-04-23 at 11:33 +0200, Rene Herman wrote: On 04/04/2007 06:38 PM, Rene Herman wrote: Rusty? Valid points have been made on both sides. I suggest: #define

Re: Question about Reiser4

2007-04-23 Thread H. Peter Anvin
Theodore Tso wrote: One of the big problems of using a filesystem as a DB is the system call overheads. If you use huge numbers of tiny files, then each attempt read an atom of information from the DB takes three system calls --- an open(), read(), and close(), with all of the overheads in

Re: [PATCH] Remove obsolete label from ISDN4Linux (v3)

2007-04-23 Thread Tilman Schmidt
Am 22.04.2007 17:17 schrieb Alan Cox: Well once it ends up BROKEN perhaps patches will appear, or before that. If not well the pain factor will resolve the problem. No risk of deadlock. It'll progress to BROKEN which will either cause sufficient pain for someone to get off their arse and

[patch 1/7] libata: check for AN support

2007-04-23 Thread Kristen Carlson Accardi
Check to see if an ATAPI device supports Asynchronous Notification. If so, enable it. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/drivers/ata/libata-core.c === --- 2.6-git.orig/drivers/ata/libata-core.c

[patch 5/7] genhd: send async notification on media change

2007-04-23 Thread Kristen Carlson Accardi
Send an uevent to user space to indicate that a media change event has occurred. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/block/genhd.c === --- 2.6-git.orig/block/genhd.c +++ 2.6-git/block/genhd.c @@

[patch 0/7] Asynchronous Notification for ATAPI devices (v2)

2007-04-23 Thread Kristen Carlson Accardi
This patch series implements Asynchronous Notification (AN) for SATA ATAPI devices as defined in SATA 2.5 and AHCI 1.1 and higher. Drives which support this feature will send a notification when new media is inserted and removed, preventing the need for user space to poll for new media. This

[patch 3/7] scsi: expose AN to user space

2007-04-23 Thread Kristen Carlson Accardi
Get media change notification capability from disk and pass this information to genhd by setting appropriate flag. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/drivers/scsi/sr.c === ---

[patch 4/7] libata: expose AN to user space

2007-04-23 Thread Kristen Carlson Accardi
If Asynchronous Notification of media change events is supported, pass that information up to the SCSI layer. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/drivers/ata/libata-scsi.c === ---

[patch 6/7] SCSI: save disk in scsi_device

2007-04-23 Thread Kristen Carlson Accardi
Give anyone who has access to scsi_device access to the genhd struct as well. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/drivers/scsi/sd.c === --- 2.6-git.orig/drivers/scsi/sd.c +++

[patch 7/7] libata: send event when AN received

2007-04-23 Thread Kristen Carlson Accardi
When we get an SDB FIS with the 'N' bit set, we should send an event to user space to indicate that there has been a media change. This will be done via the block device. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/drivers/ata/ahci.c

[patch 2/7] genhd: expose AN to user space

2007-04-23 Thread Kristen Carlson Accardi
Allow user space to determine if a disk supports Asynchronous Notification of media changes. This is done by adding a new sysfs file capability_flags, which is documented in (insert file name). This sysfs file will export all disk capabilities flags to user space. We also define a new flag to

Re: Question about Reiser4

2007-04-23 Thread Neil Brown
On Monday April 23, [EMAIL PROTECTED] wrote: Theodore Tso wrote: One of the big problems of using a filesystem as a DB is the system call overheads. If you use huge numbers of tiny files, then each attempt read an atom of information from the DB takes three system calls --- an open(),

Re: Question about Reiser4

2007-04-23 Thread Theodore Tso
On Mon, Apr 23, 2007 at 04:53:03PM -0700, H. Peter Anvin wrote: Theodore Tso wrote: One of the big problems of using a filesystem as a DB is the system call overheads. If you use huge numbers of tiny files, then each attempt read an atom of information from the DB takes three system calls

Re: Question about Reiser4

2007-04-23 Thread H. Peter Anvin
Neil Brown wrote: Our you could think outside the circle: Store all your small files as symlinks, then use symlink to create them and readlink to read them. (You would probably end up use symlinkat and readlinkat). Only one system call instead of three. I guess you don't get meaningful

Re: [PATCH]Fix parsing kernelcore boot option for ia64

2007-04-23 Thread KAMEZAWA Hiroyuki
On Mon, 23 Apr 2007 19:32:46 +0100 [EMAIL PROTECTED] (Mel Gorman) wrote: I wasn't even aware of this kernelcore thing. It's pretty nasty-looking. yet another reminder that this code hasn't been properly reviewed in the past year or three. Just now, I'm making memory-unplug patches

Re: [PATCH] Return EPERM not ECHILD on security_task_wait failure

2007-04-23 Thread Roland McGrath
On Thu, 15 Mar 2007, Roland McGrath wrote: This patch makes do_wait return -EPERM instead of -ECHILD if some children were ruled out solely because security_task_wait failed. What about using the return value from the security_task_wait hook (which should be -EACCES) ? As I said in

Re: Question about Reiser4

2007-04-23 Thread H. Peter Anvin
Theodore Tso wrote: Now, to be fair, there are probably a number of cases where open/lseek/readv/close and open/lseek/writev/close would be worth doing as a single system call. The big problem as far as I can see involves EINTR handling; such a system call has serious restartability

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

2007-04-23 Thread Neil Brown
On Monday April 23, [EMAIL PROTECTED] wrote: Would this work? Contains a solution somewhat along the lines of your thoughts on the subject. Concept seems sound. Code needs a kfree of the name returned by create_unique_id, and I think ID_STR_LENGTH needs to be at least 34. Maybe that should

Re: [PATCH] Return EPERM not ECHILD on security_task_wait failure

2007-04-23 Thread James Morris
On Mon, 23 Apr 2007, Roland McGrath wrote: As I said in some earlier discussion following my original patch, that would be fine with me. I haven't coded up that variant, but it's simple enough. Would you like to do it? Sure. -- James Morris [EMAIL PROTECTED] - To unsubscribe from this

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

2007-04-23 Thread Christoph Lameter
On Tue, 24 Apr 2007, Neil Brown wrote: On Monday April 23, [EMAIL PROTECTED] wrote: Would this work? Contains a solution somewhat along the lines of your thoughts on the subject. Concept seems sound. Code needs a kfree of the name returned by create_unique_id, and I think

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

2007-04-23 Thread Neil Brown
On Monday April 23, [EMAIL PROTECTED] wrote: On Tue, 24 Apr 2007, Neil Brown wrote: On Monday April 23, [EMAIL PROTECTED] wrote: Would this work? Contains a solution somewhat along the lines of your thoughts on the subject. Concept seems sound. Code needs a kfree of the name

<    3   4   5   6   7   8   9   >