Re: HPET timer broken using 2.6.23.13 / nanosleep() hangs

2008-01-16 Thread Thomas Gleixner
On Sun, 13 Jan 2008, Dhaval Giani wrote: > On Sun, Jan 13, 2008 at 08:10:46AM -0500, Andrew Paprocki wrote: > > I applied the patch to my 2.6.23.13 tree and upon reboot it stopped right > > after: > > > > Clocksource tsc unstable (delta = ... ns) > > Time: hpet clocksource has been installed. >

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-16 Thread Martin Knoblauch
- Original Message > From: Fengguang Wu <[EMAIL PROTECTED]> > To: Martin Knoblauch <[EMAIL PROTECTED]> > Cc: Mike Snitzer <[EMAIL PROTECTED]>; Peter Zijlstra <[EMAIL PROTECTED]>; > [EMAIL PROTECTED]; Ingo Molnar <[EMAIL PROTECTED]>; > linux-kernel@vger.kernel.org; "[EMAIL PROTECTED]"

Re: 2.6.24-rc7-rt2

2008-01-16 Thread Steven Rostedt
> > > On Tue, 15 Jan 2008 02:37:37 +0200, =?utf-8?q?S=2E=C3=87a=C4=9Flar?= Onur > > > said: > > > > And because of mcount-add-basic-support-for-gcc-profiler-instrum.patch, > > > > closed > > > > source nvidia-new module cannot be used with this release (mcount is > > > > exported > > > > GPL

Re: [PATCH 5/5] sound: fix caiaq section mismatches

2008-01-16 Thread Takashi Iwai
At Tue, 15 Jan 2008 13:25:46 -0800, Randy Dunlap wrote: > > From: Randy Dunlap <[EMAIL PROTECTED]> > > Fix section mismatch in caiaq: these __devinit functions can be > called at any time so they should not be __devinit. > > WARNING: vmlinux.o(.text+0x10a8dae): Section mismatch: reference to >

Re: [clocksource] jiffies as clocksource kills box

2008-01-16 Thread Thomas Gleixner
On Tue, 15 Jan 2008, Mike Galbraith wrote: > Greetings, > > Per $subject, echo jiffies > current_clocksource pretty thoroughly kills > my P4 box, and does so with every kernel I have (2.6.22->present). I > can drive the box via mouse clicks and poke around, but trying to select > another

[PATCH] IB/ipoib: Fix undefined symbol (priv->cm) if ipoib_cm disabled

2008-01-16 Thread Hoang-Nam Nguyen
Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- drivers/infiniband/ulp/ipoib/ipoib_main.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index e499626..0a58ac4 100644 ---

Re: non-choice related config entries within choice

2008-01-16 Thread Sam Ravnborg
On Wed, Jan 16, 2008 at 01:46:57PM +, Jan Beulich wrote: > >But one feature I really would like to see is named chocies so we can do > >stuff like: > > > >choice X86_PROCESSOR > > > >config GENERIC_PROCESSOR > > bool "A generic X86 processor" > >endchoice > > > > > >... > > > >choice

Re: TSC && HPET calibration

2008-01-16 Thread Thomas Gleixner
On Tue, 15 Jan 2008, Andrew Morton wrote: > On Thu, 10 Jan 2008 14:36:12 +0200 "Denys Fedoryshchenko" <[EMAIL PROTECTED]> > wrote: > > > Hi > > > > I have same issue, but it's never passed synchronization. > > > > Jan 10 12:59:44 visp-1 Time: tsc clocksource has been installed. > > Jan 10

Re: non-choice related config entries within choice

2008-01-16 Thread Jan Beulich
>But one feature I really would like to see is named chocies so we can do stuff >like: > >choice X86_PROCESSOR > >config GENERIC_PROCESSOR > bool "A generic X86 processor" >endchoice > > >... > >choice PPC_PROCESSOR > >config GENERIC_PROCESSOR > bool "A generic PowerPC processor >

Re: [PATCH 08/26] Add a secctx_to_secid() LSM hook to go along with the existing

2008-01-16 Thread Paul Moore
On Tuesday 15 January 2008 8:05:27 pm James Morris wrote: > On Tue, 15 Jan 2008, David Howells wrote: > > secid_to_secctx() LSM hook. This patch also includes the SELinux > > implementation for this hook. > > > > Signed-off-by: Paul Moore <[EMAIL PROTECTED]> > > Acked-by: Stephen Smalley <[EMAIL

[PATCH] Convert drivers/char/agp/frontend.c to use unlocked_ioctl

2008-01-16 Thread Mathieu Segaud
As of now, agp_compat_ioctl already runs without the BKL. Mutual exclusion is enforced by agp_fe.agp_mutex in agp_ioctl() and agp_compat_ioctl(). Apply the same locking rationale to the two functions allowing BKL cleanup. Signed-off-by: Mathieu Segaud <[EMAIL PROTECTED]> ---

[ANNOUNCE] util-linux-ng 2.13.1 (stable)

2008-01-16 Thread Karel Zak
Util-linux-ng 2.13.1 Release Notes == Fixed security issues: - CVE-2007-5191 - mount(8) doesn't drop privileges properly when calling helpers Changelog: - For more details see ChangeLog files at:

Re: 2.6.24-rc7-rt2

2008-01-16 Thread Alan Cox
> Playing devil's advocate here - the claim is that EXPORT_SYMBOL_GPL is to > indicate that code is getting too chummy with Linux internals. > > However, in *this* case, isn't it "code that is too chummy with *GCC* > internals", > and thus it isn't our place to say what can and can't be done

Re: [RFC PATCH 16/22 -v2] add get_monotonic_cycles

2008-01-16 Thread Steven Rostedt
[ CC'd Daniel Walker, since he had problems with this code ] On Tue, 15 Jan 2008, Mathieu Desnoyers wrote: > > I agree with you that I don't see how the compiler could reorder this. > So we forget about compiler barriers. Also, the clock source used is a > synchronized clock source

Re: pnpacpi : exceeded the max number of IO resources

2008-01-16 Thread Rene Herman
On 16-01-08 09:00, Rene Herman wrote: On 16-01-08 06:55, Dave Young wrote: I noticed the port number changed to 40 in 2.6.24-rc8, but it's not enough for me still. Yes, that's known. In .23 even more were (silently) ignored though. Since .24-rc8 you should at least get just 1 warning (per

[PATCH 2/2] Propagate the long_clone_arg up to the create_new_namespaces

2008-01-16 Thread Pavel Emelyanov
The first user for the long_clone_arg is the namespaces code, so pull the extended argument up to the namespaces creation function. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Signed-off-by: Cedric Le Goater <[EMAIL PROTECTED]> Reviewed-by: Serge Hallyn <[EMAIL PROTECTED]> --- diff --git

Re: [patch] Converting writeback linked lists to a tree based data structure

2008-01-16 Thread Fengguang Wu
On Wed, Jan 16, 2008 at 12:13:43AM -0800, Andrew Morton wrote: > On Wed, 16 Jan 2008 18:55:38 +1100 David Chinner <[EMAIL PROTECTED]> wrote: > > > On Tue, Jan 15, 2008 at 07:44:15PM -0800, Andrew Morton wrote: > > > On Wed, 16 Jan 2008 11:01:08 +0800 Fengguang Wu <[EMAIL PROTECTED]> wrote: > > >

[PATCH] hrtimer: remove hrtimer_clock_base::get_softirq_time

2008-01-16 Thread Peter Zijlstra
Subject: hrtimer: remove hrtimer_clock_base::get_softirq_time() When looking over the hrtimer code I noticed that hrtimer_clock_base::get_softirq_time() is currently unused in the entire tree, remove it. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/hrtimer.h |2 --

[PATCH 1/2] Extend sys_clone and sys_unshare system calls API

2008-01-16 Thread Pavel Emelyanov
There's only one bit in the clone_flags left, so we won't be able to create more namespaces after we make it busy. Besides, for checkpoint/restart jobs we might want to create tasks with given pids (virtual of course). And nobody knows for sure what else might be required from clone() in the

[PATCH] thinkpad_acpi: Define _sta() only when there are callsites

2008-01-16 Thread Johannes Weiner
With configs where neither the dock nor the bay subdriver is enabled, _sta() is defined but never used. Define it conditionally. Signed-off-by: Johannes Weiner <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH] thinkpad_acpi: Remove superfluous prototypes from internal header

2008-01-16 Thread Johannes Weiner
The helper functions are defined at the top of the C file so they are known within the definition of the callsites below anyway. Signed-off-by: Johannes Weiner <[EMAIL PROTECTED]> --- drivers/misc/thinkpad_acpi.h | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git

Re: [RFC on MODULE SUPPORT] hello, Rusty, Should we provide module information even if the kernel module compiled built-in with bzImage?

2008-01-16 Thread Sam Ravnborg
On Wed, Jan 16, 2008 at 06:02:22PM +0800, rae l wrote: > hello, Rusty: > I encountered a problem when modules compiled built-in with bzImage: > > open-iscsi is an iSCSI software, it has a userspace daemon(iscsid) and > a userspace mani tool(iscsiadm) and a kernel module > (scsi_transport_iscsi),

thinkpad_acpi: define _sta only when needed

2008-01-16 Thread Johannes Weiner
Define _sta() helper conditionally; also remove its prototype from the internal header and also some other unneeded ones. This function is only needed when the bay or the dock subdriver is enabled. Otherwise, gcc complains about an unused static function. -- To unsubscribe from this list: send

Re: [RFC][PATCH] per-uid/gid I/O throttling (was Re: [RFC][PATCH] per-task I/O throttling)

2008-01-16 Thread Andrea Righi
Balbir Singh wrote: > * Andrea Righi <[EMAIL PROTECTED]> [2008-01-15 17:49:36]: > >> Allow to limit the I/O bandwidth for specific uid(s) or gid(s) imposing >> additional delays on those processes that exceed the limits defined in a >> configfs tree. >> >> Examples: >> >> Limit the I/O bandwidth

[patch] util-linux-ng: unprivileged mounts support

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> This is an experimental patch for supporing unprivileged mounts and umounts. The following features are added: 1) If mount/umount are suid, first try without privileges. This is done by forking, dropping privileges in child, and redirecting stderr to

[patch 04/10] unprivileged mounts: account user mounts

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Add sysctl variables for accounting and limiting the number of user mounts. The maximum number of user mounts is set to 1024 by default. This won't in itself enable user mounts, setting a mount to be owned by a user is first needed. [akpm] - don't use

[patch 05/10] unprivileged mounts: allow unprivileged bind mounts

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Allow bind mounts to unprivileged users if the following conditions are met: - mountpoint is not a symlink - parent mount is owned by the user - the number of user mounts is below the maximum Unprivileged mounts imply MS_SETUSER, and will also have

[patch 03/10] unprivileged mounts: propagate error values from clone_mnt

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Allow clone_mnt() to return errors other than ENOMEM. This will be used for returning a different error value when the number of user mounts goes over the limit. Fix copy_tree() to return EPERM for unbindable mounts. Signed-off-by: Miklos Szeredi

[patch 01/10] unprivileged mounts: add user mounts to the kernel

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> This patchset adds support for keeping mount ownership information in the kernel, and allow unprivileged mount(2) and umount(2) in certain cases. The mount owner has the following privileges: - unmount the owned mount - create a submount under the

[patch 09/10] unprivileged mounts: propagation: inherit owner from parent

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> On mount propagation, let the owner of the clone be inherited from the parent into which it has been propagated. If the parent has the "nosuid" flag, set this flag for the child as well. This is needed for the suid-less namespace (use case #2 in the

[patch 00/10] mount ownership and unprivileged mount syscall (v7)

2008-01-16 Thread Miklos Szeredi
Thanks to everyone for the comments on the previous submission. Christoph, could you please look through the patches if they are acceptable from the VFS point of view? Thanks, Miklos v6 -> v7: - add '/proc/sys/fs/types//usermount_safe' tunable (new patch) - do not make FUSE safe by default,

[patch 10/10] unprivileged mounts: add "no submounts" flag

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Add a new mount flag "nosubmnt", which denies submounts for the owner. This would be useful, if we want to support traditional /etc/fstab based user mounts. In this case mount(8) would still have to be suid-root, to check the mountpoint against the

[patch 07/10] unprivileged mounts: add sysctl tunable for "safe" property

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Add the following: /proc/sys/fs/types/${FS_TYPE}/usermount_safe Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]> --- Index: linux/fs/filesystems.c === --- linux.orig/fs/filesystems.c

[patch 06/10] unprivileged mounts: allow unprivileged mounts

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> For "safe" filesystems allow unprivileged mounting and forced unmounting. A filesystem type is considered "safe", if mounting it by an unprivileged user may not cause a security problem. This is somewhat subjective, so setting this property is left to

[patch 08/10] unprivileged mounts: make fuse safe

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Don't require the "user_id=" and "group_id=" options for unprivileged mounts, but if they are present, verify them for sanity. Disallow the "allow_other" option for unprivileged mounts. FUSE was designed from the beginning to be safe for unprivileged

[patch 02/10] unprivileged mounts: allow unprivileged umount

2008-01-16 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> The owner doesn't need sysadmin capabilities to call umount(). Similar behavior as umount(8) on mounts having "user=UID" option in /etc/mtab. The difference is that umount also checks /etc/fstab, presumably to exclude another mount on the same mountpoint.

Re: mtime updates for mmapped files.

2008-01-16 Thread Rogier Wolff
On Wed, Jan 16, 2008 at 02:22:49PM +0300, Anton Salikhmetov wrote: > Unfortunately, this issue has not been fully fixed yet. > > My last attempt (http://lkml.org/lkml/2008/1/15/202) to solve > this problem has a couple of drawbacks: > > 1) calling a possibly sleeping function from atomic context

assigning a line discipline to a serial device from inside the kernel

2008-01-16 Thread Tilman Schmidt
The Siemens Gigaset M101 driver (drivers/isdn/gigaset/ser_gigaset.ko) is implemented as a serial line discipline N_GIGASET_M101, much like the better-known N_SLIP and N_PPP LDs. It must therefore be "pushed" onto a serial device in order to be used. The classic approach is a trivial userspace

Re: [REGRESSION] 2.6.24-rc7: e1000: Detected Tx Unit Hang

2008-01-16 Thread David Miller
From: Badalian Vyacheslav <[EMAIL PROTECTED]> Date: Wed, 16 Jan 2008 12:02:28 +0300 > Also have regression after apply patch. BTW, if you are using the e1000e driver then this initial patch will not work. My more recent patch posting for this problem, will. I include it again below for you:

Re: [REGRESSION] 2.6.24-rc7: e1000: Detected Tx Unit Hang

2008-01-16 Thread David Miller
From: Badalian Vyacheslav <[EMAIL PROTECTED]> Date: Wed, 16 Jan 2008 12:02:28 +0300 > applied to 2.6.24-rc7-git2 > Have messages > Also have regression after apply patch. > System may do above 800mbs traffic before patch. After its "exit polling > mode?" (4 CPU, 1 cpu get 100% si (process

Re: [RFC on MODULE SUPPORT] hello, Rusty, Should we provide module information even if the kernel module compiled built-in with bzImage?

2008-01-16 Thread Rusty Russell
On Wednesday 16 January 2008 21:02:22 rae l wrote: > hello, Rusty: Hi Denis. > Should we provide module information under > /sys/module//... even if the module compiled built-in > with bzImage? Absolutely. Module parameters (should) already do that, for example. > Or just this

Re: [RFC][PATCH] per-uid/gid I/O throttling (was Re: [RFC][PATCH] per-task I/O throttling)

2008-01-16 Thread Valdis . Kletnieks
On Wed, 16 Jan 2008 17:35:33 +0530, Balbir Singh said: > Control groups is derived from cpusets and for those interested in > grouping tasks for control, is the preferred method of providing > control. Ahh, that's why I didn't notice it - "cpusets" didn't seem to do much for the 1 and 2 CPU

Re: [Patch] document ext3 requirements (was Re: [RFD] Incremental fsck)

2008-01-16 Thread Valdis . Kletnieks
On Wed, 16 Jan 2008 12:51:44 +0100, Pavel Machek said: > I guess I should try to measure it. (Linux already does writeback > caching, with 2GB of memory. I wonder how important disks's 2MB of > cache can be). It serves essentially the same purpose as the 'async' option in /etc/exports (i.e. we

Re: [RFC][PATCH] per-uid/gid I/O throttling (was Re: [RFC][PATCH] per-task I/O throttling)

2008-01-16 Thread Balbir Singh
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2008-01-16 06:30:31]: > On Wed, 16 Jan 2008 16:15:41 +0530, Balbir Singh said: > > > Thanks for doing this. I am going to review the patches in greater > > detail and also test them. Why do you use configfs when we have a > > control group filesystem

Re: 2.6.24-rc7-rt2 [PATCH] latency tracer fix for ppc32

2008-01-16 Thread Luotao Fu
Hi Steve, I found out that the tracer got stuck on ppc32 platforms because some early functions call _mcount before mcount_enabled is initialized at all. I made a patch, which marks these functions as notrace to solve this problem. With this patch I can successfully boot up our mpc5200b platform

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-16 Thread Fengguang Wu
On Wed, Jan 16, 2008 at 01:26:41AM -0800, Martin Knoblauch wrote: > > For those interested in using your writeback improvements in > > production sooner rather than later (primarily with ext3); what > > recommendations do you have? Just heavily test our own 2.6.24 + your > > evolving "close, but

Re: [RFC on MODULE SUPPORT] hello, Rusty, Should we provide module information even if the kernel module compiled built-in with bzImage?

2008-01-16 Thread Mathieu SEGAUD
Vous m'avez dit récemment : > hello, Rusty: > I encountered a problem when modules compiled built-in with bzImage: > > open-iscsi is an iSCSI software, it has a userspace daemon(iscsid) and > a userspace mani tool(iscsiadm) and a kernel module > (scsi_transport_iscsi), > recently the kernel

Re: where to maintain userspace daemon for line discipline

2008-01-16 Thread Tilman Schmidt
H. Peter Anvin schrieb: Andrew Morton wrote: Is there an appropriate place in or near the kernel tree for stuff like that? Nope. The requirement arises regularly. util-linux would seem to be a suitable place, but apparently there are, umm, isues surrounding that. util-linux-ng is already

Re: non-choice related config entries within choice

2008-01-16 Thread Sam Ravnborg
On Wed, Jan 16, 2008 at 11:18:38AM +, Jan Beulich wrote: > Roman, > > now that I finally found time to look into the problems that caused the > patch changing boolean/tristate choice behavior to be reverted I find > that due to the way things worked in the past there are a couple of > cases

Re: [Patch] document ext3 requirements (was Re: [RFD] Incremental fsck)

2008-01-16 Thread Pavel Machek
On Tue 2008-01-15 18:44:26, Daniel Phillips wrote: > On Jan 15, 2008 6:07 PM, Pavel Machek <[EMAIL PROTECTED]> wrote: > > I had write cache enabled on my main computer. Oops. I guess that > > means we do need better documentation. > > Writeback cache on disk in iteself is not bad, it only gets

Re: [RFC][PATCH 3/5] add /dev/mem_notify device

2008-01-16 Thread Daniel Spång
On 1/16/08, Pavel Machek <[EMAIL PROTECTED]> wrote: > On Wed 2008-01-16 02:13:32, Marcelo Tosatti wrote: > > On Wed, Jan 16, 2008 at 10:57:16AM +0900, KOSAKI Motohiro wrote: > > > Hi Pavel > > > > > > > > err = poll(, 1, -1); // wake up at low memory > > > > > > > > > > ... > > > >

Re: [Patch] document ext3 requirements (was Re: [RFD] Incremental fsck)

2008-01-16 Thread Pavel Machek
Hi! > Along with this effort, could you let me know if the world actually > cares about online fsck? I'm not the world's spokeperson (yet ;-). > Now we know how to do it I think, but is it > worth the effort. ext3's "lets fsck on every 20 mounts" is good idea, but it can be annoying when

RE: [PATCH 0/3] UCC TDM driver for MPC83xx platforms

2008-01-16 Thread Kalra Ashish
Hello All, I am sure that the TDM bus driver model/framework will make us put a lot more programming effort without any assurance of the code being accepted by the Linux community, especially as there are many Telephony/VoIP stack implementations in Linux such as the Sangoma WANPIPE Kernel suite

Re: [RFC][PATCH 3/5] add /dev/mem_notify device

2008-01-16 Thread Pavel Machek
On Wed 2008-01-16 02:13:32, Marcelo Tosatti wrote: > On Wed, Jan 16, 2008 at 10:57:16AM +0900, KOSAKI Motohiro wrote: > > Hi Pavel > > > > > > err = poll(, 1, -1); // wake up at low memory > > > > > > > > ... > > > > > > > > > > Nice, this is really needed for openmoko, zaurus,

Re: [RFC][PATCH] per-uid/gid I/O throttling (was Re: [RFC][PATCH] per-task I/O throttling)

2008-01-16 Thread Valdis . Kletnieks
On Wed, 16 Jan 2008 16:15:41 +0530, Balbir Singh said: > Thanks for doing this. I am going to review the patches in greater > detail and also test them. Why do you use configfs when we have a > control group filesystem available for grouping tasks and providing a > file system based interface for

Re: mtime updates for mmapped files.

2008-01-16 Thread Anton Salikhmetov
2008/1/16, Rogier Wolff <[EMAIL PROTECTED]>: > > Hi, > > I wrote a small app yesterday that updates a file by mmapping the > file (RW), changing the thing around, and then exiting. > > This did not trigger a change in the mtime of the file. Thus rsync > didn't pick up that the file had changed. >

non-choice related config entries within choice

2008-01-16 Thread Jan Beulich
Roman, now that I finally found time to look into the problems that caused the patch changing boolean/tristate choice behavior to be reverted I find that due to the way things worked in the past there are a couple of cases where config options not really belonging to the choice are inside the

Re: Make checkpatch.pl's quiet option not print the summary on no errors

2008-01-16 Thread Ingo Molnar
btw, just found a checkpatch.pl buglet, it gets confused on zero-sized files: $ echo -n > /tmp/1.c $ scripts/checkpatch.pl --file /tmp/1.c ERROR: Does not appear to be a unified-diff format patch total: 1 errors, 0 warnings, 0 lines checked Your patch has style problems, please review.

Re: [RFC][PATCH 4/5] memory_pressure_notify() caller

2008-01-16 Thread Daniel Spång
On 1/16/08, KOSAKI Motohiro <[EMAIL PROTECTED]> wrote: > Hi Daniel > > > > > The notification fires after only ~100 MB allocated, i.e., when page > > > > reclaim is beginning to nag from page cache. Isn't this a bit early? > > > > Repeating the test with swap enabled results in a notification

ppc: 4xx: sysctl table check failed: /kernel/l2cr .1.31 Missing strategy

2008-01-16 Thread Stefan Roese
I'm seeing this error message when booting an recent arch/ppc kernel on 4xx platforms (tested on Ocotea and other 4xx platforms). Booting NFS rootfs still works fine, but this message kind of makes me "nervous". This is not seen on 4xx arch/powerpc platforms. Here the bootlog: Linux version

Re: [RFC][PATCH] per-uid/gid I/O throttling (was Re: [RFC][PATCH] per-task I/O throttling)

2008-01-16 Thread Balbir Singh
* Andrea Righi <[EMAIL PROTECTED]> [2008-01-15 17:49:36]: > Allow to limit the I/O bandwidth for specific uid(s) or gid(s) imposing > additional delays on those processes that exceed the limits defined in a > configfs tree. > > Examples: > > Limit the I/O bandwidth for user www-data (UID 33) to

Re: [REGRESSION] 2.6.24-rc7: e1000: Detected Tx Unit Hang

2008-01-16 Thread David Miller
From: Frans Pop <[EMAIL PROTECTED]> Date: Wed, 16 Jan 2008 09:56:08 +0100 > On Wednesday 16 January 2008, David Miller wrote: > > Ok, here is the patch I'll propose to fix this. The goal is to make > > it as simple as possible without regressing the thing we were trying > > to fix. > > Looks

Re: [PATCH] mmu notifiers #v2

2008-01-16 Thread Andrea Arcangeli
On Wed, Jan 16, 2008 at 10:01:32AM +0100, Brice Goglin wrote: > One of the difference with my patch is that you attach the notifier list to > the mm_struct while my code attached it to vmas. But I now don't think it > was such a good idea since it probably didn't reduce the number of notifier >

Re: What's in sh-2.6.git for 2.6.25?

2008-01-16 Thread Sam Ravnborg
On Wed, Jan 16, 2008 at 06:37:18PM +0900, Paul Mundt wrote: > On Wed, Jan 16, 2008 at 08:38:44AM +0100, Sam Ravnborg wrote: > > On Wed, Jan 16, 2008 at 04:04:03PM +0900, Paul Mundt wrote: > > > This is a brief summary of the changes that are sitting in the sh queue > > > for 2.6.25. > > > > > >

Re: mtime updates for mmapped files.

2008-01-16 Thread Valdis . Kletnieks
On Wed, 16 Jan 2008 18:03:17 +0800, Dave Young said: > On Jan 16, 2008 5:46 PM, Rogier Wolff <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I wrote a small app yesterday that updates a file by mmapping the > > file (RW), changing the thing around, and then exiting. > > > > This did not trigger a

Re: mtime updates for mmapped files.

2008-01-16 Thread Miklos Szeredi
> > > > Hi, > > > > I wrote a small app yesterday that updates a file by mmapping the > > file (RW), changing the thing around, and then exiting. > > > > This did not trigger a change in the mtime of the file. Thus rsync > > didn't pick up that the file had changed. > > > > I understand that

Re: 2.6.24-rc7-rt2

2008-01-16 Thread S.Çağlar Onur
Hi Again; 16 Oca 2008 Çar tarihinde, S.Çağlar Onur şunları yazmıştı: > 16 Oca 2008 Çar tarihinde, Steven Rostedt şunları yazmıştı: > > On Tue, 15 Jan 2008, [utf-8] S.Ã^GaÄ^_lar Onur wrote: > > > 2.6.24-rc7-rt2 (-rt2 patchset on top of Linus's current git commit > > >

Re: [PATCH] rlim in proc//status (2nd rev.)

2008-01-16 Thread Clifford Wolf
Hi, On Wed, Jan 16, 2008 at 04:33:12PM +0900, KOSAKI Motohiro wrote: > Hi Clifford, > > > +static inline char *task_rlim(struct task_struct *p, char *buffer) > > +{ > > + unsigned long flags; > > + struct rlimit rlim[RLIM_NLIMITS]; > > + int i; > > + > > + rcu_read_lock(); > > + if

Re: mtime updates for mmapped files.

2008-01-16 Thread Dave Young
On Jan 16, 2008 5:46 PM, Rogier Wolff <[EMAIL PROTECTED]> wrote: > > Hi, > > I wrote a small app yesterday that updates a file by mmapping the > file (RW), changing the thing around, and then exiting. > > This did not trigger a change in the mtime of the file. Thus rsync > didn't pick up that the

[RFC on MODULE SUPPORT] hello, Rusty, Should we provide module information even if the kernel module compiled built-in with bzImage?

2008-01-16 Thread rae l
hello, Rusty: I encountered a problem when modules compiled built-in with bzImage: open-iscsi is an iSCSI software, it has a userspace daemon(iscsid) and a userspace mani tool(iscsiadm) and a kernel module (scsi_transport_iscsi), recently the kernel module has been accepted into the official

Re: [Btrfs-devel] [ANNOUNCE] Btrfs v0.10 (online growing/shrinking, ext3 conversion, and more)

2008-01-16 Thread Christian Hesse
On Tuesday 15 January 2008, Chris Mason wrote: > Hello everyone, > > Btrfs v0.10 is now available for download from: It does not even compile for me, tested with 2.6.24-rc{7,8}. I will look at that later. fs/built-in.o: In function `btrfs_xattr_set_acl': acl.c:(.text+0x68f33): undefined

mtime updates for mmapped files.

2008-01-16 Thread Rogier Wolff
Hi, I wrote a small app yesterday that updates a file by mmapping the file (RW), changing the thing around, and then exiting. This did not trigger a change in the mtime of the file. Thus rsync didn't pick up that the file had changed. I understand that tracking every change to a RW mmapped

Re: [patch 9/9] unprivileged mounts: add "no submounts" flag

2008-01-16 Thread Miklos Szeredi
> > > Why not "nosubmnt"? > > > > Why not indeed. Maybe I should try to use my brain sometime. > > Well it really should have 'user' or 'unpriv' in the name > somewhere. 'nosubmnt' is more confusing than 'nomnt' because > it no submounts really sounds like a reasonable thing in > itself... I

Re: What's in sh-2.6.git for 2.6.25?

2008-01-16 Thread Paul Mundt
On Wed, Jan 16, 2008 at 08:38:44AM +0100, Sam Ravnborg wrote: > On Wed, Jan 16, 2008 at 04:04:03PM +0900, Paul Mundt wrote: > > This is a brief summary of the changes that are sitting in the sh queue > > for 2.6.25. > > > > The main points to note are as follows: > > > > - sh64->sh

Re: [PATCH]PCIE ASPM support - takes 2

2008-01-16 Thread Valdis . Kletnieks
On Wed, 16 Jan 2008 13:26:14 +0800, Shaohua Li said: > On Tue, 2008-01-15 at 22:56 -0500, [EMAIL PROTECTED] wrote: > > Do you have any numbers on what the added latency is for powersave mode, and > > a rough idea of how quickly chipsets will drop to low-power? It may affect > > usability a lot if

Re: 2.6.23-git Kconfig regression

2008-01-16 Thread Jan Beulich
>>> Randy Dunlap <[EMAIL PROTECTED]> 20.10.07 05:21 >>> Sorry for only now getting back to this. >On Fri, 19 Oct 2007 19:55:35 -0700 Randy Dunlap wrote: > >> On Fri, 19 Oct 2007 19:01:09 -0700 Randy Dunlap wrote: >> >> > >>> I noticed a regression, visible in the drivers/usb/gadget Kconfig; >>

[GIT PULL] lockdep updates

2008-01-16 Thread Peter Zijlstra
Linus, please pull a few lockdep patches from: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-lockdep.git v2.6.24-rc7-lockdep These patches have had a fair amount of testing. --- Johannes Berg (1): lockdep: fix workqueue creation API lockdep interaction Nick Piggin

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-16 Thread Martin Knoblauch
- Original Message > From: Mike Snitzer <[EMAIL PROTECTED]> > To: Fengguang Wu <[EMAIL PROTECTED]> > Cc: Peter Zijlstra <[EMAIL PROTECTED]>; [EMAIL PROTECTED]; Ingo Molnar > <[EMAIL PROTECTED]>; linux-kernel@vger.kernel.org; "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]>; Linus Torvalds

[PATCH] alpha: fix conversion from denormal float to double

2008-01-16 Thread Ivan Kokshaysky
The trap handler does properly update the fraction, but not the exponent... Thanks to Paolo Bonzini <[EMAIL PROTECTED]> for the bug report and the testcase. Signed-off-by: Ivan Kokshaysky <[EMAIL PROTECTED]> --- arch/alpha/math-emu/math.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [patch] Converting writeback linked lists to a tree based data structure

2008-01-16 Thread Fengguang Wu
On Tue, Jan 15, 2008 at 09:51:49PM -0800, Andrew Morton wrote: > On Wed, 16 Jan 2008 12:55:07 +0800 Fengguang Wu <[EMAIL PROTECTED]> wrote: > > > On Tue, Jan 15, 2008 at 08:42:36PM -0800, Andrew Morton wrote: > > > On Wed, 16 Jan 2008 12:25:53 +0800 Fengguang Wu <[EMAIL PROTECTED]> wrote: > > >

Re: [rfc][patch] reimplement nopfn callers with fault

2008-01-16 Thread Nick Piggin
On Mon, Jan 14, 2008 at 10:14:46AM +0100, Jes Sorensen wrote: > Nick Piggin wrote: > >On Fri, Jan 11, 2008 at 03:40:10PM +0100, Jes Sorensen wrote: > >>Nick, > >> > >>Is this supposed to apply to the latest Linus tree? I applied it here > >>and the mspec driver lights up in beautiful fireworks :-(

Re: [REGRESSION] 2.6.24-rc7: e1000: Detected Tx Unit Hang

2008-01-16 Thread Badalian Vyacheslav
applied to 2.6.24-rc7-git2 Have messages Also have regression after apply patch. System may do above 800mbs traffic before patch. After its "exit polling mode?" (4 CPU, 1 cpu get 100% si (process ksoftirqd/0), 3 CPU is IDLE) After patch system was go to "exit polling mode" at above 600mbs.

Re: [PATCH] mmu notifiers #v2

2008-01-16 Thread Brice Goglin
Andrea Arcangeli wrote: This patch is last version of a basic implementation of the mmu notifiers. In short when the linux VM decides to free a page, it will unmap it from the linux pagetables. However when a page is mapped not just by the regular linux ptes, but also from the shadow

Re: [REGRESSION] 2.6.24-rc7: e1000: Detected Tx Unit Hang

2008-01-16 Thread Frans Pop
On Wednesday 16 January 2008, David Miller wrote: > Ok, here is the patch I'll propose to fix this. The goal is to make > it as simple as possible without regressing the thing we were trying > to fix. Looks good to me. Tested with -rc8. Cheers, FJP -- To unsubscribe from this list: send the

Re: [PATCH 04/27] kill filp_open()

2008-01-16 Thread Andrew Morton
On Thu, 01 Nov 2007 16:08:31 -0700 Dave Hansen <[EMAIL PROTECTED]> wrote: > Replace all callers with open_namei() directly, and move the > nameidata stack allocation into open_namei(). ftp://ftp.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/dm-loop.patch is using filp_open() and

Re: [PATCH for -mm] Fix ARM to play nicely with generic Instrumentation menu

2008-01-16 Thread Russell King
On Tue, Jan 15, 2008 at 09:53:41PM -0500, Mathieu Desnoyers wrote: > This patch cleans up the fix from Linus so it does not conflict with the > following patches in -mm. What following patches? -- Russell King Linux kernel2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: -- To

Re: [patch 2/4] x86: PAT followup - Remove KERNPG_TABLE from pte entry

2008-01-16 Thread Mika Penttilä
[EMAIL PROTECTED] kirjoitti: KERNPG_TABLE was a bug in earlier patch. Remove it from pte. pte_val() check is redundant as this routine is called immediately after a ptepage is allocated afresh. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Signed-off-by: Suresh Siddha <[EMAIL

Re: [RFC/PATCH 4/8] revoke: core code V7

2008-01-16 Thread Pekka J Enberg
Hi, On Tue, 15 Jan 2008, Christoph Hellwig wrote: > Something like the loop above is not going to go in for sure. Once we > get rid of the sb->s_files we can put the list_head in struct file to > new use eventually if we don't want to get rid of it. E.g. and > per-inode list would be much

Re: [PATCH 7/7] driver-core : convert semaphore to mutex in struct class

2008-01-16 Thread Jarek Poplawski
On Wed, Jan 16, 2008 at 09:03:03AM +0800, Dave Young wrote: ... > The lockdep warining was posted in the below thread, actually, I have > built and run this patced kernel for several days, there's no more > warnings. > http://lkml.org/lkml/2008/1/3/2 Right... But, with something like this: ...

Re: hpet_late_init hang

2008-01-16 Thread Balaji Rao
On Wednesday 16 January 2008 12:21:33 pm Ingo Molnar wrote: Hi Ingo, > * Yinghai Lu <[EMAIL PROTECTED]> wrote: > > " > > commit e5ed385fa0d6f35406e3e3ed75e5eb9adeb811df > > Author: Balaji Rao <[EMAIL PROTECTED]> > > Date: Tue Jan 15 16:53:29 2008 +0100 > > > > Assign IRQs to HPET Timers > >

Re: [PATCH 2.6.24-rc7 2/2] sysfs: fix bugs in sysfs_rename/move_dir()

2008-01-16 Thread Cornelia Huck
On Wed, 16 Jan 2008 15:47:11 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > Linus Torvalds wrote: > > > > On Wed, 16 Jan 2008, Tejun Heo wrote: > >> * sysfs_move_dir() has an extra dput() on success path. > > > > Are you sure? How did this ever work? > > I'm pretty sure. I've seen dentry

Re: [PATCH] block2mtd lockdep_init_map warning

2008-01-16 Thread Peter Zijlstra
On Tue, 2008-01-08 at 11:47 +1100, Rusty Russell wrote: > On Monday 07 January 2008 21:05:26 Peter Zijlstra wrote: > > On Sun, 2008-01-06 at 14:11 -0500, Erez Zadok wrote: > > > > Ingo, Peter, does either of you actually care about this problem? In > > > > the last round when I debugged this

Re: [patch] Converting writeback linked lists to a tree based data structure

2008-01-16 Thread Andrew Morton
On Wed, 16 Jan 2008 18:55:38 +1100 David Chinner <[EMAIL PROTECTED]> wrote: > On Tue, Jan 15, 2008 at 07:44:15PM -0800, Andrew Morton wrote: > > On Wed, 16 Jan 2008 11:01:08 +0800 Fengguang Wu <[EMAIL PROTECTED]> wrote: > > > > > On Tue, Jan 15, 2008 at 09:53:42AM -0800, Michael Rubin wrote: > >

Re: [PATCH 09/13] writeback: requeue_io() on redirtied inode

2008-01-16 Thread David Chinner
On Tue, Jan 15, 2008 at 08:36:46PM +0800, Fengguang Wu wrote: > Redirtied inodes could be seen in really fast writes. > They should really be synced as soon as possible. > > redirty_tail() could delay the inode for up to 30s. > Kill the delay by using requeue_io() instead. That's actually bad

Re: 2.6.24-rc7 lockdep warning when poweroff

2008-01-16 Thread Ingo Molnar
* Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > The patch looks ok, one important thing to note is that it means > > > that all workqueues instantiated by the same __create_workqueue() > > > call-site share lock dependency chains - I'm unsure if that might > > > get us into trouble or not.

Re: pnpacpi : exceeded the max number of IO resources

2008-01-16 Thread Rene Herman
On 16-01-08 06:55, Dave Young wrote: I noticed the port number changed to 40 in 2.6.24-rc8, but it's not enough for me still. Yes, that's known. In .23 even more were (silently) ignored though. Since .24-rc8 you should at least get just 1 warning (per resource type) and if all's well .25

Re: [PATCH 2.6.24-rc7 2/2] sysfs: fix bugs in sysfs_rename/move_dir()

2008-01-16 Thread Tejun Heo
Hello. Al Viro wrote: > No ACK is coming until we get something resembling analysis of locking > scheme. Which won't happen until we at least get the "what callers are > allowed to do" written down, damnit. I agree that sysfs needs further clean up. As I wrote in the earlier thread, sysfs has

Re: [PATCH 2.6.24-rc7 2/2] sysfs: fix bugs in sysfs_rename/move_dir()

2008-01-16 Thread Tejun Heo
Hello. Al Viro wrote: No ACK is coming until we get something resembling analysis of locking scheme. Which won't happen until we at least get the what callers are allowed to do written down, damnit. I agree that sysfs needs further clean up. As I wrote in the earlier thread, sysfs has been

Re: pnpacpi : exceeded the max number of IO resources

2008-01-16 Thread Rene Herman
On 16-01-08 06:55, Dave Young wrote: I noticed the port number changed to 40 in 2.6.24-rc8, but it's not enough for me still. Yes, that's known. In .23 even more were (silently) ignored though. Since .24-rc8 you should at least get just 1 warning (per resource type) and if all's well .25

Re: [PATCH 09/13] writeback: requeue_io() on redirtied inode

2008-01-16 Thread David Chinner
On Tue, Jan 15, 2008 at 08:36:46PM +0800, Fengguang Wu wrote: Redirtied inodes could be seen in really fast writes. They should really be synced as soon as possible. redirty_tail() could delay the inode for up to 30s. Kill the delay by using requeue_io() instead. That's actually bad for

<    1   2   3   4   5   6   7   8   9   10   >