Re: Network slowdown due to CFS

2007-10-02 Thread Ingo Molnar
* David Schwartz [EMAIL PROTECTED] wrote: These are generic statements, but i'm _really_ interested in the specifics. Real, specific code that i can look at. The typical Linux distro consists of in execess of 500 millions of lines of code, in tens of thousands of apps, so there really

Re: Network slowdown due to CFS

2007-10-02 Thread Ingo Molnar
* David Schwartz [EMAIL PROTECTED] wrote: (user-space spinlocks are broken beyond words for anything but perhaps SCHED_FIFO tasks.) User-space spinlocks are broken so spinlocks can only be implemented in kernel-space? Even if you use the kernel to schedule/unschedule the tasks, you

x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andi Kleen
Andrew Morton [EMAIL PROTECTED] writes: revert-x86_64-mm-cpa-einval.patch fix-x86_64-mm-sched-clock-share.patch agp-fix-race-condition-between-unmapping-and-freeing-pages.patch x86_64-mce-poll-at-idle_start-and-printk-fix.patch fix-x86_64-mm-unwinder.patch

Re: nmi_watchdog fix for x86_64 to be more like i386

2007-10-02 Thread Thomas Gleixner
On Tue, 2 Oct 2007, Andi Kleen wrote: Agreed. I just got a x8664-hrt report, where I found the following oddity: 0: 1197 172881 IO-APIC-edge timer That's one of those infamous AMD C1E boxen. Strange, all my systems have IRQ#0 on CPU#0 and nowhere else. Any

Re: [PATCH RFC] paravirt: cleanup lazy mode handling

2007-10-02 Thread Jeremy Fitzhardinge
Avi Kivity wrote: The code doesn't support having both lazy modes active at once. Maybe that's not an issue, but aren't the two modes orthogonal? Hm, well, that's a good question. The initial semantics of the lazy mode calls were what VMI wants, and they're still not really nailed down. VMI

Re: Network slowdown due to CFS

2007-10-02 Thread Ingo Molnar
* David Schwartz [EMAIL PROTECTED] wrote: at a quick glance this seems broken too - but if you show the specific code i might be able to point out the breakage in detail. (One underlying problem here appears to be fairness: a quick unlock/lock sequence may starve out other threads.

Re: [PATCH RFC] paravirt: cleanup lazy mode handling

2007-10-02 Thread Jeremy Fitzhardinge
Rusty Russell wrote: That's good, but this code does lose on native because we no longer simply replace the entire thing with noops. Perhaps inverting this and having (inline) helpers is the way to go? I'm thinking that the overhead will be unmeasurably small, and its not really worth any

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andrew Morton
On 02 Oct 2007 08:18:17 +0200 Andi Kleen [EMAIL PROTECTED] wrote: Andrew Morton [EMAIL PROTECTED] writes: revert-x86_64-mm-cpa-einval.patch fix-x86_64-mm-sched-clock-share.patch agp-fix-race-condition-between-unmapping-and-freeing-pages.patch

Re: [PATCH] Uninline fork.c/exit.c

2007-10-02 Thread Alexey Dobriyan
On Mon, Oct 01, 2007 at 11:08:14AM -0700, Arjan van de Ven wrote: On Mon, 1 Oct 2007 16:15:53 +0400 Alexey Dobriyan [EMAIL PROTECTED] wrote: Save ~650 bytes here. add/remove: 4/0 grow/shrink: 0/7 up/down: 430/-1088 (-658) function old new

Re: [uml-devel] [PATCH 1/3] UML - Fix stub address calculations

2007-10-02 Thread Geert Uytterhoeven
On Mon, 1 Oct 2007, Jeff Dike wrote: The Kconfig language seems not to allow calculation of hex constants, so I moved this to as-layout.h. CONFIG_STUB_CODE, CONFIG_STUB_DATA, and CONFIG_STUB_START are now gone. In their place are STUB_CODE, STUB_DATA, and STUB_START in as-layout.h. Hmm,

Re: yield API

2007-10-02 Thread Ingo Molnar
* David Schwartz [EMAIL PROTECTED] wrote: These are generic statements, but i'm _really_ interested in the specifics. Real, specific code that i can look at. The typical Linux distro consists of in execess of 500 millions of lines of code, in tens of thousands of apps, so there really

Re: Network slowdown due to CFS

2007-10-02 Thread Andi Kleen
Ingo Molnar [EMAIL PROTECTED] writes: * David Schwartz [EMAIL PROTECTED] wrote: These are generic statements, but i'm _really_ interested in the specifics. Real, specific code that i can look at. The typical Linux distro consists of in execess of 500 millions of lines of code, in

Re: [PATCH v2 2/6] Sysace: Use the established platform bus api

2007-10-02 Thread Jens Axboe
On Tue, Oct 02 2007, Benjamin Herrenschmidt wrote: On Mon, 2007-10-01 at 13:59 +0200, Jens Axboe wrote: On Sun, Sep 30 2007, Grant Likely wrote: On 9/30/07, Christoph Hellwig [EMAIL PROTECTED] wrote: On Sun, Sep 30, 2007 at 04:57:09PM -0600, Grant Likely wrote: + if ((rc =

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andi Kleen
These are fine to me, but should not all go through my tree because most changes are in other architectures. I assume you're referring to just convert-cpu_sibling_map-to-be-a-per-cpu-variable* here. All the *-to-*per-cpu* patches from Mike yes I have nothing pending currently. I

Re: [PATCH] firewire: adopt read cycle timer ABI from raw1394

2007-10-02 Thread Daniel Wagner
Pieter, do applications like yours need the cycle counter only for a few predetermined packets or for each and every packet? We need it for every packet for two reasons: 1) it's the only way to determine how many packets were dropped when packet drops are flagged in the callback Your

Re: [PATCH] Add Documentation/power/00-INDEX

2007-10-02 Thread Pavel Machek
Hi! From: Rob Landley [EMAIL PROTECTED] Add Documentation/power/00-INDEX Signed-off-by: Rob Landley [EMAIL PROTECTED] Looks mostly ok. +swsusp.txt + - Goals, implementation, and usage of software suspend (ACPI S3) But please delete (ACPI S3) remark. It is ACPI S4, if anything.

Re: [PATCH] Inconsistent mmap()/mremap() flags

2007-10-02 Thread Thayne Harbaugh
On Tue, 2007-10-02 at 07:15 +0200, Andi Kleen wrote: On Mon, Oct 01, 2007 at 08:57:10PM -0600, Thayne Harbaugh wrote: For mmap you can emulate it by passing a low hint != 0 (e.g. getpagesize()) in address but without MAP_FIXED and checking if the result is not beyond your range. Cool.

Re: [PATCH] mmc: Disabler for Ricoh MMC controller

2007-10-02 Thread Benjamin Herrenschmidt
On Mon, 2007-10-01 at 22:01 -0700, Philip Langdale wrote: Benjamin Herrenschmidt wrote: On Tue, 2007-10-02 at 14:44 +1000, Benjamin Herrenschmidt wrote: On Mon, 2007-10-01 at 20:23 -0700, Philip Langdale wrote: Thanks to Matt Domsch and Rezwanul Kabir at Dell, we know how to disable the

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andrew Morton
On Tue, 2 Oct 2007 09:01:10 +0200 Andi Kleen [EMAIL PROTECTED] wrote: These are fine to me, but should not all go through my tree because most changes are in other architectures. I assume you're referring to just convert-cpu_sibling_map-to-be-a-per-cpu-variable* here. All the

cann't dump info to user file from kernel

2007-10-02 Thread kernel coder
hi, I'm trying to dump some information from dev.c to user space file.Following is the code which i'm using to write to user spcae file.I'm using 2.6.22.x86_64 kernel. #define _write(f, buf, sz) (f-f_op-write(f, buf, sz, f-f_pos)) #define WRITABLE(f) (f-f_op f-f_op-write) int

[TOMOYO 05/15](repost) Domain transition handler functions.

2007-10-02 Thread Kentaro Takeda
Domain transition functions for TOMOYO Linux. Every process belongs to a domain in TOMOYO Linux. Domain transition occurs when execve(2) is called and the domain is expressed as 'process invocation history', such as 'kernel /sbin/init /etc/init.d/rc'. Domain information is stored in

[TOMOYO 06/15](repost) Auditing interface.

2007-10-02 Thread Kentaro Takeda
This patch makes access logs sent to auditing subsystem. TOMOYO Linux uses two channels for auditing. One is 'AUDIT_TMY_GRANTED', used for auditing accesses which are granted in the TOMOYO Linux policy. The other is 'AUDIT_TMY_REJECTED', used for auditing accesses which are not granted in the

[TOMOYO 07/15](repost) File access control functions.

2007-10-02 Thread Kentaro Takeda
File access control functions for TOMOYO Linux. TOMOYO Linux checks permission in open/creat/unlink/truncate/ftruncate/mknod/mkdir/ rmdir/symlink/link/rename/uselib/sysctl . Each permission can be automatically accumulated into the policy of each domain using 'learning mode'. Signed-off-by:

[TOMOYO 08/15](repost) Argv[0] access control functions.

2007-10-02 Thread Kentaro Takeda
argv[0] check functions for TOMOYO Linux. If the executed program name and argv[0] is different, TOMOYO Linux checks permission. Each permission can be automatically accumulated into the policy of each domain using 'learning mode'. Signed-off-by: Kentaro Takeda [EMAIL PROTECTED] Signed-off-by:

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread KAMEZAWA Hiroyuki
On Tue, 2 Oct 2007 00:18:09 -0700 Andrew Morton [EMAIL PROTECTED] wrote: How come? Memoryless node can and do occur in real-world machines. Kernel should support that? But a node is just defined by its memory? Don't think so. A node is a lump of circuitry which can have

[TOMOYO 09/15](repost) Networking access control functions.

2007-10-02 Thread Kentaro Takeda
Network access control functions for TOMOYO Linux. TOMOYO Linux checks permission by the following four parameters. * protocol type (TCP, UDP, RAW) * access type (bind, listen, connect, accept) * IP address (Both IPv4 and IPv6 are available) * port number In order to check 'TCP accept' and

Re: cann't dump info to user file from kernel

2007-10-02 Thread Denis V. Lunev
This will never work, as you call blocking (non-atomic) functions from atomic context. kernel coder wrote: hi, I'm trying to dump some information from dev.c to user space file.Following is the code which i'm using to write to user spcae file.I'm using 2.6.22.x86_64 kernel.

[TOMOYO 10/15](repost) Namespace manipulation control functions.

2007-10-02 Thread Kentaro Takeda
Mount access control functions for TOMOYO Linux. TOMOYO Linux checks permission according to device name, mount point, filesystem type and optional flags. TOMOYO Linux also checks permission in umount and pivot_root. Each permission can be automatically accumulated into the policy using 'learning

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Ingo Molnar
* Andrew Morton [EMAIL PROTECTED] wrote: On 02 Oct 2007 08:18:17 +0200 Andi Kleen [EMAIL PROTECTED] wrote: The clockevents patches are not included in this; but given the recent trouble i'm not 100% sure they are even ready yet. i'm curious, which recent trouble do you refer to? (The NMI

[PATCH] Fix blktrace setup 32-bit ioctl on 64-bit kernels

2007-10-02 Thread Jens Axboe
Hi, The layout of struct blk_user_trace_setup is a bit unfortunate, it gets padded differently on 32-bit and 64-bit archs. So right now it's not possible to trace 64-bit kernels with a 32-bit app. This patch fixes that up by adding a compat ioctl handler for BLKTRACESETUP. Signed-off-by: Jens

[TOMOYO 11/15](repost) Signal transmission control functions.

2007-10-02 Thread Kentaro Takeda
Signal control functions for TOMOYO Linux. TOMOYO Linux checks sending signal by signal number and the domain of target process. In order to check signal permission, LSM expansion patch [TOMOYO 14/15] is needed. Each permission can be automatically accumulated into the policy of each domain using

Re: XFS Fails Quality Assurance Tests on ARM

2007-10-02 Thread David Chinner
On Fri, Sep 28, 2007 at 07:40:48AM +1000, Nick Piggin wrote: On Sunday 02 September 2007 08:14, Andi Kleen wrote: David Miller [EMAIL PROTECTED] writes: From: Byron Bradley [EMAIL PROTECTED] Date: Fri, 31 Aug 2007 03:12:46 + (UTC) Anybody got any ideas of how we fix this? I

[TOMOYO 12/15](repost) LSM adapter for TOMOYO.

2007-10-02 Thread Kentaro Takeda
LSM wrapper functions for TOMOYO Linux access control. If bind mounts are used, TOMOYO requires all permissions for all possible pathnames (whereas AppArmor requires one of possible pathnames). If struct vfsmount is passed to LSM hooks as AppArmor proposes, this file will become more simpler and

[TOMOYO 13/15](repost) Conditional permission support.

2007-10-02 Thread Kentaro Takeda
This patch allows administrators use conditional permission. TOMOYO Linux supports conditional permission based on process's UID,GID etc. and/or requested pathname's UID/GID. Signed-off-by: Kentaro Takeda [EMAIL PROTECTED] Signed-off-by: Tetsuo Handa [EMAIL PROTECTED] ---

[TOMOYO 14/15](repost) LSM expansion for TOMOYO Linux.

2007-10-02 Thread Kentaro Takeda
LSM expansion for TOMOYO Linux. LSM hooks for sending signal: * task_kill_unlocked is added in sys_kill * task_tkill_unlocked is added in sys_tkill * task_tgkill_unlocked is added in sys_tgkill LSM hooks for network accept and recv: * socket_post_accept is modified to return int. *

[TOMOYO 15/15](repost) Kconfig and Makefile for TOMOYO Linux.

2007-10-02 Thread Kentaro Takeda
Kconfig and Makefile for TOMOYO Linux. TOMOYO Linux is placed in security/tomoyo . Signed-off-by: Kentaro Takeda [EMAIL PROTECTED] Signed-off-by: Tetsuo Handa [EMAIL PROTECTED] --- security/Kconfig |1 + security/Makefile|1 + security/tomoyo/Kconfig | 18

Re: [TOMOYO 00/15](repost) TOMOYO Linux - MAC based on process invocation history.

2007-10-02 Thread Kentaro Takeda
On 2007/08/27 21:11, Kyle Moffett wrote: This is probably not acceptable; I doubt there's a chance in hell that TOMOYO will get merged as long as it has text-based-language parsing in the kernel. You also have $NEW_RANDOM_ABUSE_OF_PROCFS and $PATH_BASED_LSM_ISSUES. See the long flamewars on

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andrew Morton
On Tue, 2 Oct 2007 16:36:24 +0900 KAMEZAWA Hiroyuki [EMAIL PROTECTED] wrote: On Tue, 2 Oct 2007 00:18:09 -0700 Andrew Morton [EMAIL PROTECTED] wrote: How come? Memoryless node can and do occur in real-world machines. Kernel should support that? But a node is just

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andi Kleen
On Tue, Oct 02, 2007 at 09:37:03AM +0200, Ingo Molnar wrote: * Andrew Morton [EMAIL PROTECTED] wrote: On 02 Oct 2007 08:18:17 +0200 Andi Kleen [EMAIL PROTECTED] wrote: The clockevents patches are not included in this; but given the recent trouble i'm not 100% sure they are even

Re: [PATCH] Fix blktrace setup 32-bit ioctl on 64-bit kernels

2007-10-02 Thread David Miller
From: Jens Axboe [EMAIL PROTECTED] Date: Tue, 2 Oct 2007 09:39:43 +0200 Hi, The layout of struct blk_user_trace_setup is a bit unfortunate, it gets padded differently on 32-bit and 64-bit archs. So right now it's not possible to trace 64-bit kernels with a 32-bit app. This patch fixes that

Re: [PATCH RFC] paravirt: cleanup lazy mode handling

2007-10-02 Thread Rusty Russell
On Mon, 2007-10-01 at 23:29 -0700, Jeremy Fitzhardinge wrote: Rusty Russell wrote: That's good, but this code does lose on native because we no longer simply replace the entire thing with noops. Perhaps inverting this and having (inline) helpers is the way to go? static inline void

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Matt Mackall
On Tue, Oct 02, 2007 at 12:18:09AM -0700, Andrew Morton wrote: If so, that might be OK - the app just needs a reliable way of working out whether it's on a 32- or 64-bit kernel? That would be ugly and a little error prone (would this case really be tested in user space normally?) but

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Thomas Gleixner
On Tue, 2 Oct 2007, Andi Kleen wrote: On Tue, Oct 02, 2007 at 09:37:03AM +0200, Ingo Molnar wrote: * Andrew Morton [EMAIL PROTECTED] wrote: On 02 Oct 2007 08:18:17 +0200 Andi Kleen [EMAIL PROTECTED] wrote: The clockevents patches are not included in this; but given the

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andi Kleen
Grumble. The options are: a) export it in the kernel's native size and have userspace figure it out b) add a header c) lie to 32-bit apps on 64-bit kernels d) always export 32 bits e) always export 64 bits I started with (a), switched to (b), and then Alan and Dave convinced me to

v4l-stk11xx* [Was: -mm merge plans for 2.6.24]

2007-10-02 Thread Jiri Slaby
On 10/01/2007 11:22 PM, Andrew Morton wrote: v4l-stk11xx-add-a-new-webcam-driver.patch v4l-stk11xx-use-array_size-in-another-2-cases.patch v4l-stk11xx-use-retval-from-stk11xx_check_device.patch v4l-stk11xx-add-static-to-tables.patch No, hold it please, until v4l extension will be developped

Re: kdump detection in SCSI drivers

2007-10-02 Thread Pavel Machek
Hi! How do we know when little memory is available? Kernel already scales its hash tables according to total RAM available, perhaps you can use similar mechanism? Other suggestion which came about was to parse the kernel command line and look for elfcorehdr=. Is this ok? Is kernel command

Re: clockevents: fix resume logic

2007-10-02 Thread Pavel Machek
On Mon, 2007-09-17 at 18:37 +, Pavel Machek wrote: That's a bit tricky because hitting the keyboard is what unsticks things. And the video is black after resume-from-RAM (has always been thus) and we Ok, can we try to fix the video issue for you? That should make the development

Re: [TOMOYO 04/15](repost) Utility functions and securityfs interface for policy manipulation.

2007-10-02 Thread Paul Mundt
On Tue, Oct 02, 2007 at 04:31:48PM +0900, Kentaro Takeda wrote: Common functions for TOMOYO Linux. TOMOYO Linux uses /sys/kernel/security/tomoyo interface for configuration. This seems like a bit of an abuse of sysfs. Isn't this precisely what configfs is for? - To unsubscribe from this

Re: Wireless damage [Was: -mm merge plans for 2.6.24]

2007-10-02 Thread Jiri Slaby
Huh, Cc back lkml. On 10/02/2007 10:08 AM, Jiri Slaby wrote: On 10/01/2007 11:22 PM, Andrew Morton wrote: git-net-vs-git-wireless.patch Hum, latest wireless-2.6?h=everything already had a proper fix when this patch was merged. But pull/push is stuck somewhere :(.

Re: - eepro100-avoid-potential-null-pointer-deref-in-speedo_init_rx_ring.patch removed from -mm tree

2007-10-02 Thread Jesper Juhl
On 01/10/2007, Kok, Auke [EMAIL PROTECTED] wrote: ... is this actually a problem? everybody should be running e100. I'm surprised to see a patch for eepro100, just before it gets removed... The patch is actually about a year old, it just never got merged. And IMHO, as long as the driver is

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread KAMEZAWA Hiroyuki
On Tue, 2 Oct 2007 00:43:24 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 2 Oct 2007 16:36:24 +0900 KAMEZAWA Hiroyuki [EMAIL PROTECTED] Don't think so. A node is a lump of circuitry which can have zero or more CPUs, IO and memory. It may initially have been conceived as a

Re: [PATCH] Fix blktrace setup 32-bit ioctl on 64-bit kernels

2007-10-02 Thread Arnd Bergmann
On Tuesday 02 October 2007, Jens Axboe wrote: The layout of struct blk_user_trace_setup is a bit unfortunate, it gets padded differently on 32-bit and 64-bit archs. So right now it's not possible to trace 64-bit kernels with a 32-bit app. This patch fixes that up by adding a compat ioctl

per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Peter Zijlstra
On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: nfs-remove-congestion_end.patch lib-percpu_counter_add.patch lib-percpu_counter_sub.patch lib-percpu_counter-variable-batch.patch lib-make-percpu_counter_add-take-s64.patch lib-percpu_counter_set.patch

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Fengguang Wu
On Tue, Oct 02, 2007 at 10:17:05AM +0200, Peter Zijlstra wrote: On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: nfs-remove-congestion_end.patch lib-percpu_counter_add.patch lib-percpu_counter_sub.patch lib-percpu_counter-variable-batch.patch

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Andrew Morton
On Tue, 02 Oct 2007 10:17:05 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: nfs-remove-congestion_end.patch lib-percpu_counter_add.patch lib-percpu_counter_sub.patch lib-percpu_counter-variable-batch.patch

Re: [PATCH] Fix blktrace setup 32-bit ioctl on 64-bit kernels

2007-10-02 Thread Jens Axboe
On Tue, Oct 02 2007, Arnd Bergmann wrote: On Tuesday 02 October 2007, Jens Axboe wrote: The layout of struct blk_user_trace_setup is a bit unfortunate, it gets padded differently on 32-bit and 64-bit archs. So right now it's not possible to trace 64-bit kernels with a 32-bit app. This

Re: [PATCH] Version 3 (2.6.23-rc8) Smack: Simplified Mandatory Access Control Kernel

2007-10-02 Thread Thomas Bleher
* Christoph Hellwig [EMAIL PROTECTED] [2007-10-02 10:14]: On Sun, Sep 30, 2007 at 01:16:18AM -0700, Andrew Morton wrote: reviewed the August thread from your version 1 submission and the message I take away is that the code has been well-received and looks good when considered on its own

writeback fixes

2007-10-02 Thread Fengguang Wu
On Mon, Oct 01, 2007 at 02:22:22PM -0700, Andrew Morton wrote: [...] writeback-fix-time-ordering-of-the-per-superblock-dirty-inode-lists.patch writeback-fix-time-ordering-of-the-per-superblock-dirty-inode-lists-2.patch writeback-fix-time-ordering-of-the-per-superblock-dirty-inode-lists-3.patch

Re: Serial ATA does not find partitions (Hitachi HD, new? ATI controller) where old SATA works

2007-10-02 Thread Tejun Heo
Hernan Gustavo Solari wrote: Tejun netconsole, pritty nice debunging system... but (yes, there is always a but) it does not get to run. the method was well implemented, adding the acpi=off it sends the information to the receiving machine (I can even see passing a netconsole probing

Re: [PATCH] Add Documentation/power/00-INDEX

2007-10-02 Thread Rob Landley
On Tuesday 02 October 2007 2:10:22 am Pavel Machek wrote: +swsusp.txt + - Goals, implementation, and usage of software suspend (ACPI S3) But please delete (ACPI S3) remark. It is ACPI S4, if anything. Pavel I got that from

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Peter Zijlstra
On Tue, 2007-10-02 at 01:31 -0700, Andrew Morton wrote: On Tue, 02 Oct 2007 10:17:05 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: nfs-remove-congestion_end.patch lib-percpu_counter_add.patch lib-percpu_counter_sub.patch

Re: Network slowdown due to CFS

2007-10-02 Thread Jarek Poplawski
On Mon, Oct 01, 2007 at 06:25:07PM +0200, Ingo Molnar wrote: * Jarek Poplawski [EMAIL PROTECTED] wrote: BTW, it looks like risky to criticise sched_yield too much: some people can misinterpret such discussions and stop using this at all, even where it's right. Really, i have never

[PATCH 1/5] revert check_dirty_inode_list.patch

2007-10-02 Thread Fengguang Wu
Revert the check_dirty_inode_list.patch. I'm pretty sure the time ordering problem has gone. Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c | 62 kernel/sysctl.c |8 - 2 files changed, 1 insertion(+), 69 deletions(-)

[PATCH 3/5] writeback: fix ntfs with sb_has_dirty_inodes()

2007-10-02 Thread Fengguang Wu
NTFS's if-condition on dirty inodes is not complete. Fix it with sb_has_dirty_inodes(). Cc: Anton Altaparmakov [EMAIL PROTECTED] Cc: Ken Chen [EMAIL PROTECTED] Cc: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- --- fs/fs-writeback.c | 10 +-

[PATCH 0/5] sluggish writeback fixes

2007-10-02 Thread Fengguang Wu
Andrew, The following patches fix the sluggish writeback behavior. They are well understood and well tested - but not yet widely tested. The first patch reverts the debugging -mm only check_dirty_inode_list.patch - which is no longer necessary. The following 4 patches do the real jobs: [PATCH

[PATCH 4/5] writeback: remove pages_skipped accounting in __block_write_full_page()

2007-10-02 Thread Fengguang Wu
Miklos Szeredi [EMAIL PROTECTED] and me identified a writeback bug: The following strange behavior can be observed: 1. large file is written 2. after 30 seconds, nr_dirty goes down by 1024 3. then for some time ( 30 sec) nothing happens (disk idle) 4. then nr_dirty again goes down by 1024

[PATCH 5/5] writeback: introduce writeback_control.more_io to indicate more io

2007-10-02 Thread Fengguang Wu
After making dirty a 100M file, the normal behavior is to start the writeback for all data after 30s delays. But sometimes the following happens instead: - after 30s:~4M - after 5s: ~4M - after 5s: all remaining 92M Some analyze shows that the internal io

[PATCH 2/5] writeback: fix time ordering of the per superblock inode lists 8

2007-10-02 Thread Fengguang Wu
Streamline the management of dirty inode lists and fix time ordering bugs. The writeback logic used to moving not-yet-expired dirty inodes from s_dirty to s_io, *only to* move them back. The move-inodes-back-and-forth thing is a mess, which is eliminated by this patch. The new scheme is: -

Re: [patch/backport] CFS scheduler, -v22, for v2.6.23-rc8, v2.6.22.8, v2.6.21.7, v2.6.20.20

2007-10-02 Thread Matthew
Try setting features to 14. That helps my similar issues. Hi Bill, thanks, but unfortunately that didn't help, with 2.6.23-rc8 it's already set to 29, it happens with 2.6.23-rc8 with the new scheduler what I found out so far: it definitely is using 3D acceleration: glxgears -info

Re: Promise SATA300 TX4: errors, oops in ext3 code

2007-10-02 Thread Clemens Koller
Alexander Sabourenkov schrieb: Have you checked your memory already (memtest86)? [...] Again... sounds like bad memory to me. Nightly memtest86 run : 11 hours, 23 passes, 0 errors. Okay, I have no idea about any bugs there. You have several options: Find a 100% working vanilla kernel for

[PATCH][RESEND] call free_init_pages() with irqs enabled in alternative_instructions()

2007-10-02 Thread Fengguang Wu
In alternative_instructions(), call free_init_pages() with irqs enabled. It fixes the warning message in smp_call_function*(), which should be called with irqs disabled. [0.31] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) [0.31] CPU: L2 Cache: 512K (64

Re: [PATCH] Add Documentation/power/00-INDEX

2007-10-02 Thread Pavel Machek
Hi! +swsusp.txt + - Goals, implementation, and usage of software suspend (ACPI S3) But please delete (ACPI S3) remark. It is ACPI S4, if anything. Pavel I got that from Documentation/power/video.txt, which starts Video

Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..

2007-10-02 Thread Thomas Gleixner
On Mon, 1 Oct 2007, Linus Torvalds wrote: This is also a good time to warn about the fact that we're doing the x86 merge very soon (as in the next day or two) after 2.6.23 is out, so if you have pending patches for the next series that touch arch/i386 or x86-64, you should get in touch with

Re: [15/17] SLUB: Support virtual fallback via SLAB_VFALLBACK

2007-10-02 Thread Peter Zijlstra
On Mon, 2007-10-01 at 14:30 -0700, Andrew Morton wrote: On Mon, 1 Oct 2007 13:55:29 -0700 (PDT) Christoph Lameter [EMAIL PROTECTED] wrote: On Sat, 29 Sep 2007, Andrew Morton wrote: atomic allocations. And with SLUB using higher order pages, atomic !0 order allocations will be very

Re: [PATCH] blacklist NCQ on Seagate Barracuda ST380817AS

2007-10-02 Thread Tejun Heo
Hello, Mark Lord wrote: Mmm.. $66 for open box. But the drive itself has been discontinued by Seagate, Couldn't find any in SUSE and I don't think I can't find any vendor who still carries the drive here. and once claimed to be World's first SATA desktop drive with NCQ.. Probably buggy

Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..

2007-10-02 Thread Andi Kleen
On Tuesday 02 October 2007 11:17:02 Thomas Gleixner wrote: This is also a good time to warn about the fact that we're doing the x86 merge very soon (as in the next day or two) after 2.6.23 is out, so if you have pending patches for the next series that touch arch/i386 or x86-64, you

Re: Network slowdown due to CFS

2007-10-02 Thread Jarek Poplawski
On Mon, Oct 01, 2007 at 10:43:56AM +0200, Jarek Poplawski wrote: ... etc., if we know (after testing) eg. average expedition time of such No new theory - it's only my reverse Polish translation. Should be: etc., if we know (after testing) eg. average dispatch time of such. Sorry, Jarek P. - To

Re: Promise SATA300 TX4: errors, oops in ext3 code

2007-10-02 Thread Clemens Koller
Alexander Sabourenkov schrieb: Hardware: Athlon64, Asus A8V, Promise SATA300 TX4, 2xSeagate 7200.10 320G, jumper-limited to SATA150. Kernel : 2.6.22.9 amd64 Problem: Heavy load causes errors and triggers oops. History: Problems were first encountered on kernel 2.6.19, both i686 (old

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Andy Whitcroft
On Tue, Oct 02, 2007 at 09:01:10AM +0200, Andi Kleen wrote: x86_64-sparsemem_vmemmap-2m-page-size-support.patch x86_64-sparsemem_vmemmap-vmemmap-x86_64-convert-to-new-helper-based-initialisation.patch Look like these two should be merged together Also I'm concerned about a third

Re: [PATCH] Fix blktrace setup 32-bit ioctl on 64-bit kernels

2007-10-02 Thread Jens Axboe
Hi Arnd, Updated patch below. I kept the code in compat_ioctl.c, to me it seems like the cleanest approach. I need the BLKTRACESETUP32 define both in compat_ioctl.c and blktrace.c if I move it, and I need to hard-core the struct size or define it in both places. And guard the code in blktrace.c

Re: F_DUPFD_CLOEXEC implementation

2007-10-02 Thread Denys Vlasenko
On Monday 01 October 2007 20:04, Davide Libenzi wrote: They don't even need to read in parallel, just having shared fd is enough. Think about pipes, sockets and terminals. A real-world scenario: * a process started from shell (interactive or shell script) * it sets O_NONBLOCK and does a

Re: RTC wakealarm write-only, still has 644 permissions

2007-10-02 Thread Pavel Machek
Hi! ...should they be changed to 200? Or perhaps file should be readable? No, mode 644 is fine. No reason to prevent other people from reading the alarm time (is there?) and if you write a legal value, that will work. So $SUBJECT is no problem at all. Yep, agreed. I was confused by

Re: cpu hotplug support broken in 2.6.23-rc3

2007-10-02 Thread Pavel Machek
Hi! Venki sent me an initial patch, but it has issues with the notify ordering. Find below my cache the broadcast flags version for testing. Hmmpf, the flag is still cleared when the cpu goes offline. Need to take a closer look. I finally tracked it down. There were several ways

Re: Promise SATA300 TX4: errors, oops in ext3 code

2007-10-02 Thread Alexander Sabourenkov
Clemens Koller wrote: Okay, I have no idea about any bugs there. You have several options: Find a 100% working vanilla kernel for your problem (minimal configuration, skip i.e. the sound stuff, ...). And then git bisect with a known bad kernel. I'm afraid there is no 100% working kernel.

Re: [PATCH 11/30] IGET: Stop EXT2 from using iget() and read_inode()

2007-10-02 Thread Jan Kara
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 0079b2c..d8fb795 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c ... + + raw_inode = ext2_get_inode(inode-i_sb, ino, bh); if (IS_ERR(raw_inode)) goto bad_inode; Hmm, why don't you use the return value from

Re: [patch] printk: add KERN_CONT annotation

2007-10-02 Thread Jörn Engel
On Tue, 2 October 2007 07:18:52 +0200, Ingo Molnar wrote: ah, this is even nicer than the raw_printk() thing i suggested, and it also nicely documents the intention of the author. Patch attached below. KERN_CONT was brought up in the linux-tiny discussion. Not sure if you want to get

Re: [PATCH 12/30] IGET: Stop EXT3 from using iget() and read_inode()

2007-10-02 Thread Jan Kara
diff --git a/fs/ext3/ialloc.c b/fs/ext3/ialloc.c index e45dbd6..c2f0a0d 100644 --- a/fs/ext3/ialloc.c +++ b/fs/ext3/ialloc.c @@ -646,7 +646,7 @@ struct inode *ext3_orphan_get(struct super_block *sb, unsigned long ino) unsigned long block_group; int bit; struct

Re: 2.6.23-rc8-mm2 - tcp_fastretrans_alert() WARNING

2007-10-02 Thread Ilpo Järvinen
On Mon, 1 Oct 2007, Cedric Le Goater wrote: got it ! r3-06.test.meiosys.com login: WARNING: at /home/legoater/linux/2.6.23-rc8-mm2/net/ipv4/tcp_input.c:2314 tcp_fastretrans_alert() Call Trace: IRQ [8040fdc3] tcp_ack+0xcd6/0x18af [...snip...] TCP 0 Hmm, so it's SACK

Re: [PATCH 12/30] IGET: Stop EXT3 from using iget() and read_inode()

2007-10-02 Thread Jan Kara
And one more thing... diff --git a/fs/ext3/ialloc.c b/fs/ext3/ialloc.c index e45dbd6..c2f0a0d 100644 --- a/fs/ext3/ialloc.c +++ b/fs/ext3/ialloc.c @@ -646,7 +646,7 @@ struct inode *ext3_orphan_get(struct super_block *sb, unsigned long ino) unsigned long block_group; int

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Kay Sievers
On 10/2/07, Peter Zijlstra [EMAIL PROTECTED] wrote: On Tue, 2007-10-02 at 01:31 -0700, Andrew Morton wrote: On Tue, 02 Oct 2007 10:17:05 +0200 Peter Zijlstra [EMAIL PROTECTED] wrote: On Mon, 2007-10-01 at 14:22 -0700, Andrew Morton wrote: nfs-remove-congestion_end.patch

Re: [TOMOYO 00/15](repost) TOMOYO Linux - MAC based on process invocation history.

2007-10-02 Thread James Morris
It seems that patches 1-3 are missing. I'd also suggest making all of the patches a reply to the first email, so they can be threaded. - James -- James Morris [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..

2007-10-02 Thread Jeff Garzik
Andi Kleen wrote: On Tuesday 02 October 2007 11:17:02 Thomas Gleixner wrote: This is also a good time to warn about the fact that we're doing the x86 merge very soon (as in the next day or two) after 2.6.23 is out, so if you have pending patches for the next series that touch arch/i386 or

Re: Serial ATA does not find partitions (Hitachi HD, new? ATI controller) where old SATA works

2007-10-02 Thread Hernan G Solari
netconsole, pritty nice debunging system... but (yes, there is always a but) it does not get to run. the method was well implemented, adding the acpi=off it sends the information to the receiving machine (I can even see passing a netconsole probing message in the machine under testing), but

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Peter Zijlstra
On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: What would be the point in another top-level tree for device information? All devices you are exporting information for, are already in the sysfs tree, right? Never did find NFS mounts/servers/superblocks or whatever constitutes a BDI for

[PATCH] Fallback to ipv4 if we try to add join IPv4 multicast group via ipv4-mapped address.

2007-10-02 Thread Dmitry Baryshkov
Signed-off-by: Dmitry Baryshkov [EMAIL PROTECTED] diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index ae98818..c70a87d 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @@ -38,6 +38,7 @@ #include linux/times.h #include linux/net.h #include linux/in.h +#include linux/igmp.h #include

Re: per BDI dirty limit (was Re: -mm merge plans for 2.6.24)

2007-10-02 Thread Fengguang Wu
On Tue, Oct 02, 2007 at 12:44:21PM +0200, Peter Zijlstra wrote: On Tue, 2007-10-02 at 12:31 +0200, Kay Sievers wrote: What would be the point in another top-level tree for device information? All devices you are exporting information for, are already in the sysfs tree, right? Never did

Re: Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..

2007-10-02 Thread Andi Kleen
On Tuesday 02 October 2007 12:37:55 Jeff Garzik wrote: Andi Kleen wrote: On Tuesday 02 October 2007 11:17:02 Thomas Gleixner wrote: This is also a good time to warn about the fact that we're doing the x86 merge very soon (as in the next day or two) after 2.6.23 is out, so if you have

shutdown -h now, 2.6.23-rc8 9

2007-10-02 Thread Gene Heskett
Greetings everybody; After seeing a message indicating that rc8 no longer did a powerdown, I thought I'd check that since I needed to, my tv card wasn't even showing up in the lspci report. It was partially backed out of the pci slot, this case seems to encourage that. Indeed it went to the

Re: x86 patches was Re: -mm merge plans for 2.6.24

2007-10-02 Thread Yasunori Goto
On Tue, 2 Oct 2007 00:43:24 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 2 Oct 2007 16:36:24 +0900 KAMEZAWA Hiroyuki [EMAIL PROTECTED] Don't think so. A node is a lump of circuitry which can have zero or more CPUs, IO and memory. It may initially have been

Re: [TOMOYO 00/15](repost) TOMOYO Linux - MAC based on process invocation history.

2007-10-02 Thread Kentaro Takeda
It seems that patches 1-3 are missing. I'd also suggest making all of the patches a reply to the first email, so they can be threaded. Thanks a lot for your suggestions. Actually we did just as you wrote, but somehow 0-3 parts are missing. Unfortunately, the parent message [00/15] is in

  1   2   3   4   5   6   7   8   9   >