The hardware reports a non fatal, correctable incident occurred on CPU 0

2008-01-29 Thread Badalian Vyacheslav
Hello all. Can anyone say to me that messages its normal =) [63617.120342] MCE: The hardware reports a non fatal, correctable incident occurred on CPU 0. [63617.120353] Bank 3: cc100100 [63632.092712] MCE: The hardware reports a non fatal, correctable incident occurred on CPU 0.

Re: [PATCH] x86: add PCI IDs to k8topology_64.c II

2008-01-29 Thread Yinghai Lu
On Jan 29, 2008 12:31 AM, Andi Kleen [EMAIL PROTECTED] wrote: On Mon, Jan 28, 2008 at 11:39:30PM -0800, Yinghai Lu wrote: On Jan 29, 2008 12:09 AM, Andi Kleen [EMAIL PROTECTED] wrote: SRAT is essentially just a two dimensional table with node distances. Sorry, that was actually SLIT.

Re: [RFC] Per-thread getrusage

2008-01-29 Thread Pavel Emelyanov
Andrew Morton wrote: On Mon, 28 Jan 2008 13:43:02 -0700 [EMAIL PROTECTED] (Eric W. Biederman) wrote: Pavel Emelyanov [EMAIL PROTECTED] writes: ... +asmlinkage long sys_thread_getrusage(int tid, struct rusage __user *ru) +{ + struct task_struct *tsk; + tsk = find_task_by_pid(tid); +

[PATCH 2.6.24] x86: add sysfs interface for cpuid module

2008-01-29 Thread Yi Yang
Current cpuid module will create a char device for every logical cpu, when a user cats /dev/cpu/*/cpuid, he/she will enter a limitless loop, the root cause is that cpuid module doesn't decide wether a cpuid level is valid, it just uses an offset to denote cpuid level and take it to cpuid

Re: [PATCH 2.6.24] x86: add sysfs interface for cpuid module

2008-01-29 Thread Sam Ravnborg
+ +static struct notifier_block __cpuinitdata cpuid_sysfs_cpu_notifier = { + .notifier_call = cpuid_sysfs_cpu_callback, +}; Data is annotated _cpuintidata but + Data is annotated _cpuintidata @@ -217,11 +445,14 @@ static void __exit cpuid_exit(void) { int cpu = 0; -

Re: [RFC] Per-thread getrusage

2008-01-29 Thread Pavel Emelyanov
Eric W. Biederman wrote: Pavel Emelyanov [EMAIL PROTECTED] writes: ... +asmlinkage long sys_thread_getrusage(int tid, struct rusage __user *ru) +{ + struct task_struct *tsk; + tsk = find_task_by_pid(tid); + return getrusage(tsk, RUSAGE_THREAD, ru); +} Well, the find_task_by_pid() is

scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Peter Zijlstra
Hi All, Some of the fancy new scheduler features such as the cgroup load balancer (load_balance_monitor) and the real-time load balancer are a bit of an scalability issue. They all seem to want a rather strong global bound to keep a global fairness (which is quite understandable). [ my own

[PATCH 1/2] hwmon: Define sysfs interface for energy consumption register

2008-01-29 Thread Darrick J. Wong
Expand the hwmon sysfs API to export energy consumption numbers. Signed-off-by: Darrick J. Wong [EMAIL PROTECTED] --- Documentation/hwmon/sysfs-interface |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/Documentation/hwmon/sysfs-interface

[PATCH 1/2] print out node_data addr and bootmap_start addr

2008-01-29 Thread Yinghai Lu
[PATCH 1/2] print out node_data addr and bootmap_start addr Signed-off-by: Yinghai Lu [EMAIL PROTECTED] Index: linux-2.6/arch/x86/mm/numa_64.c === --- linux-2.6.orig/arch/x86/mm/numa_64.c +++ linux-2.6/arch/x86/mm/numa_64.c @@

Re: [PATCH] documentation: Add desc of new cpu fields in /proc/stat

2008-01-29 Thread Laurent Vivier
Hi, good thing, but could you update too Table 1-3: Contents of the stat files with fields added by 9ac52315d4cf5f561f36dabaf0720c00d3553162 . Thank you, Laurent On mar, 2008-01-29 at 19:43 +1100, AP wrote: Today I noticed that a new field cropped up in /proc/stat. The git patch that made it

[0/2] make the early_node_mem align really for node0

2008-01-29 Thread Yinghai Lu
It make the NODE_DATA aligned to ZONE_ALIGN for node0. fix oops with 64g and 128 system YH -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

[PATCH 2/2] x86_64: make early_node_mem return align address

2008-01-29 Thread Yinghai Lu
[PATCH 2/2] x86_64: make early_node_mem return align address boot oops when system get 64g or 128g installed Calling initcall 0x80bc33b6: sctp_init+0x0/0x711() BUG: unable to handle kernel NULL pointer dereference at 005f IP: [802bfe55] proc_register+0xe7/0x10f PGD 0

Re: [2.6 patch] make gfs2_glock_hold() static

2008-01-29 Thread Steven Whitehouse
Hi, Now in the GFS2 -nmw git tree. Thanks, Steve. On Tue, 2008-01-29 at 00:11 +0200, Adrian Bunk wrote: gfs2_glock_hold() can now become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- fs/gfs2/glock.c |2 +- fs/gfs2/glock.h |1 - 2 files changed, 1 insertion(+), 2

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Paul Jackson
Peter wrote: Also the RT load-balance needs to become aware of such these sets, I think Paul J and Steven once talked about it, but can't quite remember where that ended See further the thread: http://lkml.org/lkml/2007/10/22/400 (I don't remember where it ended up either; probably

[PATCH] documentation: Add desc of new cpu fields in /proc/stat

2008-01-29 Thread AP
Today I noticed that a new field cropped up in /proc/stat. The git patch that made it is 5e84cfde51cf303d368fcb48f22059f37b3872de. I hope the following description is adequately accurate. I tried to keep it short. Signed-Off-By: Andrew P [EMAIL PROTECTED] diff -aur

[PATCH 2/2] ibmpex: Add energy consumption meters

2008-01-29 Thread Darrick J. Wong
Amend the ibmpex driver to report system energy consumption data. Signed-off-by: Darrick J. Wong [EMAIL PROTECTED] --- drivers/hwmon/ibmpex.c | 135 +--- 1 files changed, 127 insertions(+), 8 deletions(-) diff --git a/drivers/hwmon/ibmpex.c

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Paul Jackson
Peter wrote: Thanks for the link. Yes I think your last suggestion of creating rt-domains ( http://lkml.org/lkml/2007/10/23/419 ) is a good one. We now have a per-cpuset Boolean flag file called 'sched_load_balance'. In the default case, this flag is set on, and the kernel does its usual load

Re: 2.6.24 panics initializing ne2k in mips.

2008-01-29 Thread Ralf Baechle
On Mon, Jan 28, 2008 at 02:17:37AM -0600, Rob Landley wrote: The 2.6.23 kernel built for mips with the attached .config works fine for me under qemu (both big endian and little endian), but a 2.6.24 mips kernel segfaults initializing the ne2k driver (again when run under qemu). I've

[PATCH 2/2] MIPS: Mark all but i8259 interrupts as no-probe.

2008-01-29 Thread Ralf Baechle
Use set_irq_noprobe() to mark all MIPS interrupts as non-probe. Override that default for i8259 interrupts. Signed-off-by: Ralf Baechle [EMAIL PROTECTED] arch/mips/kernel/i8259.c |4 +++- arch/mips/kernel/irq.c |5 + 2 files changed, 8 insertions(+), 1 deletion(-) Index:

[PATCH 1/2] IRQ_NOPROBE helper functions

2008-01-29 Thread Ralf Baechle
Probing non-ISA interrupts using the handle_percpu_irq as their handle_irq method may crash the system because handle_percpu_irq does not check IRQ_WAITING. This for example hits the MIPS Qemu configuration. This patch provides two helper functions set_irq_noprobe and set_irq_probe to set rsp.

Analisys of CFS (Completely Fair Scheduler)

2008-01-29 Thread skorpio
Hi there! I'm a student of Computer Science at the University La Sapienza in Rome. As a student of Operating Systems I was particularly impressed by the last scheduler introduced into Linux 2.6.23, CFS. I've read a bit of documentation on-line but yet I can't find a complete analisys of the

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Peter Zijlstra
Here I go, talking to myself.. On Tue, 2008-01-29 at 10:53 +0100, Peter Zijlstra wrote: My thoughts were to make stronger use of disjoint cpu-sets. cgroups and cpusets are related, in that cpusets provide a property to a cgroup. However, load_balance_monitor()'s interaction with sched

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Peter Zijlstra
On Tue, 2008-01-29 at 04:01 -0600, Paul Jackson wrote: Peter wrote: Also the RT load-balance needs to become aware of such these sets, I think Paul J and Steven once talked about it, but can't quite remember where that ended See further the thread:

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Paul Jackson
vatsa wrote to Peter: After reading your explanation in the other mail abt what you mean here, I agree. Ah good - glad someone understood that. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson [EMAIL

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Srivatsa Vaddagiri
On Tue, Jan 29, 2008 at 11:57:22AM +0100, Peter Zijlstra wrote: On Tue, 2008-01-29 at 10:53 +0100, Peter Zijlstra wrote: My thoughts were to make stronger use of disjoint cpu-sets. cgroups and cpusets are related, in that cpusets provide a property to a cgroup. However,

Re: [BUG] 2.6.24-git usb reset problems

2008-01-29 Thread Boaz Harrosh
Greg KH wrote: On Mon, Jan 28, 2008 at 09:49:35PM +0100, Jens Axboe wrote: Hi, Running latest -git (head 91525300baf162e83e923b09ca286f9205e21522) and connecting my cf usb storage device yields and endless stream of: Initializing USB Mass Storage driver... scsi6 : SCSI emulation for USB

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Paul Jackson
Peter, replying to Paul: 3) you turn off sched_load_balance in that realtime cpuset. Ah, I don't think 3 is needed. Quite to the contrary, there is quite a large body of research work covering the scheduling of (hard and soft) realtime tasks on multiple cpus. Well, the way it's coded now,

Re: Pull request: TASK_KILLABLE

2008-01-29 Thread Linus Torvalds
On Mon, 28 Jan 2008, Matthew Wilcox wrote: I'd like you to pull the task_killable branch of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc.git Well, Andrew already pointed out some of this, but I do want more information. There's a git request-pull script that even comes with

Re: [PATCH 2.6.24] hda_intel: ALSA HD Audio patch for Intel ICH10 DeviceID's

2008-01-29 Thread Takashi Iwai
At Mon, 28 Jan 2008 17:31:00 -0800, Jason Gaston wrote: This patch adds the Intel ICH10 HD Audio Controller DeviceID's. Signed-off-by: Jason Gaston [EMAIL PROTECTED] Thanks, applied to ALSA tree now. Takashi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 0/2] Relax restrictions on setting CONFIG_NUMA on x86

2008-01-29 Thread Mel Gorman
On (27/01/08 15:54), KOSAKI Motohiro didst pronounce: Hi Mel my patch stack is 2.6.24-rc7 + http://lkml.org/lkml/2007/8/24/220 + Can you replace this patch with the patch below instead and try again please? This is the patch that is actually in git-x86. Out of curiousity,

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Peter Zijlstra
On Tue, 2008-01-29 at 05:53 -0600, Paul Jackson wrote: Peter wrote; So, I don't think we need that, I think we can do with the single flag, we just need to find these disjoint sets and stick our rt-domain there. Ah - perhaps you don't need that flag - but my other cpuset users do ;).

Re: Sending IOCTLs from 32-bit userland to 64-bit Kernel module

2008-01-29 Thread Yoav Artzi
Thanks. I am aware of these issues and we already have a pretty capable layer to deal with these issues (unfortunately, it was very necessary). My problem is not with the data carried by the IOCTL, but with IOCTL command code itself, which comes out wrong on the kernel side. And my problem is

Re: [PATCH 0/3][RFC] x86: Catch stray non-kprobe breakpoints

2008-01-29 Thread Ananth N Mavinakayanahalli
On Tue, Jan 29, 2008 at 04:10:58PM +0530, Abhishek Sagar wrote: On 1/29/08, Ananth N Mavinakayanahalli [EMAIL PROTECTED] wrote: Non kprobe breakpoints in the kernel might lie inside the .kprobes.text section. Such breakpoints can easily be identified by in_kprobes_functions and can be

Re: [BUG] 2.6.24-git usb reset problems

2008-01-29 Thread Oliver Neukum
Am Dienstag, 29. Januar 2008 15:11:08 schrieb Jens Axboe: On Tue, Jan 29 2008, Boaz Harrosh wrote: On Tue, Jan 29 2008 at 15:54 +0200, Jens Axboe [EMAIL PROTECTED] wrote: On Tue, Jan 29 2008, Boaz Harrosh wrote: Greg KH wrote: No difference, still just a lot of resets. Where

Re: [PATCH 6/12] gfs2: make gfs2_glock.gl_owner_pid be a struct pid *

2008-01-29 Thread Steven Whitehouse
Hi, Would you like me to take these two GFS2 patches into my git tree for the next merge window, or are you intending that these should go to Linus in this merge window? Either way I'm happy to add my: Signed-off-by: Steven Whitehouse [EMAIL PROTECTED] Steve. On Tue, 2008-01-29 at 16:55 +0300,

Re: [PATCH][ppc] logical/bitand typo in powerpc/boot/4xx.c

2008-01-29 Thread Valentine Barshak
Josh Boyer wrote: On Wed, 23 Jan 2008 23:37:33 +0100 Roel Kluin [EMAIL PROTECTED] wrote: logical/bitand typo Signed-off-by: Roel Kluin [EMAIL PROTECTED] --- diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c index ebf9e21..dcfb459 100644 --- a/arch/powerpc/boot/4xx.c +++

Re: Oops in touch_atime for kernel 2.6.23.12

2008-01-29 Thread Nai Xia
Hi, Sorry for the late reply, I was off for a few days. Saddly, I never reproduced the bug. I moved my main machine to an older kernel and let a virtual machine track down the bug, but it never appeared again --- possibly because of the simpler hardwares. And just as you say, I also think

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2008-01-29 Thread Arjan van de Ven
On Tue, 29 Jan 2008 09:15:02 -0500 Tony Camuso [EMAIL PROTECTED] wrote: Greg KH wrote: On Mon, Jan 28, 2008 at 08:18:04PM -0700, Matthew Wilcox wrote: I'm more optimistic because we've so severely restricted the use of mmconf after these patches that it's unlikely to cause problems. I

Re: [PATCH] Allocate pnp resources dynamically via krealloc - working version - Addon debug patch 4

2008-01-29 Thread Thomas Renninger
On Mon, 2008-01-28 at 22:12 +0100, Rene Herman wrote: On 28-01-08 20:12, Thomas Renninger wrote: This was more a step backward, hopefully this one (on top), gets the area bugfree? I'm afraid not. Next oops in pnp_check_port(). The attached lets it get past that point but _then_ things

[PATCH 10/12] ia64: fix ptrace inside a namespace

2008-01-29 Thread Pavel Emelyanov
The ia64 has its own sys_ptrace implementation and it was overlooked when the pid namespaces patches were sent. Use find_task_by_vpid() in it. Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] --- arch/ia64/kernel/ptrace.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 8/12] frv: use find_task_by_vpid in cxn_pin_by_pid

2008-01-29 Thread Pavel Emelyanov
The function is question gets the pid from sysctl table, so this one is a virtual pid, i.e. the pid of a task as it is seen from inside a namespace. So the find_task_by_vpid() must be used here. Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] --- arch/frv/mm/mmu-context.c |2 +- 1 files

Re: [patch 1/6] mmu_notifier: Core code

2008-01-29 Thread Andrea Arcangeli
On Mon, Jan 28, 2008 at 12:28:41PM -0800, Christoph Lameter wrote: +struct mmu_notifier_head { + struct hlist_head head; +}; + struct mm_struct { struct vm_area_struct * mmap; /* list of VMAs */ struct rb_root mm_rb; @@ -219,6 +223,8 @@ struct mm_struct {

[patch] vfs: create /proc/pid/mountinfo

2008-01-29 Thread Miklos Szeredi
From: Ram Pai [EMAIL PROTECTED] /proc/mounts in its current state fails to disambiguate bind mounts, especially when the bind mount is subrooted. Also it does not capture propagation state of the mounts(shared-subtree). The following patch addresses the problem. The patch adds

[PATCH 1/4] hotplug cpu move tasks in empty cpusets to parent node_online_map fix

2008-01-29 Thread Cliff Wickman
As of the October 2007 kernel/cpuset.c patch Memoryless nodes: Use N_HIGH_MEMORY for cpusets, cpuset nodes are relative to the nodes with (HIGH) memory, not relative to all nodes in node_online_map. Signed-off-by: Paul Jackson [EMAIL PROTECTED] Acked-by: Cliff Wickman [EMAIL PROTECTED] ---

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 -g8561b089

2008-01-29 Thread Florian Lohoff
On Tue, Jan 29, 2008 at 10:01:45PM +0800, Nai Xia wrote: Build environment: debian sid, gcc-4.2.3, i386. The bug is in lately git-pull from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git And it can be reproduced very easily on a machine with normal cdroms. It

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Gregory Haskins
On Tue, Jan 29, 2008 at 7:12 AM, in message [EMAIL PROTECTED], Paul Jackson [EMAIL PROTECTED] wrote: Peter, replying to Paul: 3) you turn off sched_load_balance in that realtime cpuset. Ah, I don't think 3 is needed. Quite to the contrary, there is quite a large body of research work

Re: High wake up latencies with FAIR_USER_SCHED

2008-01-29 Thread Guillaume Chazarain
On Jan 29, 2008 6:47 AM, Srivatsa Vaddagiri [EMAIL PROTECTED] wrote: IMHO this is expected results and if someone really needs to cut down this latency, they can reduce sysctl_sched_latency (which will be bad from perf standpoint, as we will cause more cache thrashing with that). Thank you

Re: Problem with ata layer in 2.6.24

2008-01-29 Thread Alan Cox
As slight change here, I was going to use the same .config as 2.6.24-rc8, but just discovered that neither rc8 nor final is finding the drivers for my If it is not finding a driver that is nothing to do with libata. It means it's not being loaded by the distribution, or the distribution kernel

[patch 3/6] mm: bdi: expose the BDI object in sysfs for NFS

2008-01-29 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Register NFS' backing_dev_info under sysfs with the name nfs-MAJOR:MINOR Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] CC: Peter Zijlstra [EMAIL PROTECTED] CC: Trond Myklebust [EMAIL PROTECTED] --- Index: linux/fs/nfs/super.c

[patch 1/6] mm: bdi: tweak task dirty penalty

2008-01-29 Thread Miklos Szeredi
From: Peter Zijlstra [EMAIL PROTECTED] Penalizing heavy dirtiers with 1/8-th the total dirty limit might be rather excessive on large memory machines. Use sqrt to scale it sub-linearly. Update the comment while we're there. Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Miklos

[patch 4/6] mm: bdi: expose the BDI object in sysfs for FUSE

2008-01-29 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Register FUSE's backing_dev_info under sysfs with the name fuse-MAJOR:MINOR Make the fuse control filesystem use s_dev instead of a fuse specific ID. This makes it easier to match directories under /sys/fs/fuse/connections/ with directories under

[patch 2/6] mm: bdi: export BDI attributes in sysfs

2008-01-29 Thread Miklos Szeredi
From: Peter Zijlstra [EMAIL PROTECTED] Provide a place in sysfs (/sys/class/bdi) for the backing_dev_info object. This allows us to see and set the various BDI specific variables. In particular this properly exposes the read-ahead window for all relevant users and

Re: [BUG] 2.6.24-git usb reset problems

2008-01-29 Thread Matthew Dharm
On Tue, Jan 29, 2008 at 02:15:15PM +0200, Boaz Harrosh wrote: Greg KH wrote: On Mon, Jan 28, 2008 at 09:49:35PM +0100, Jens Axboe wrote: Hi, Running latest -git (head 91525300baf162e83e923b09ca286f9205e21522) and connecting my cf usb storage device yields and endless stream of:

2.6.24-rc6-mm1 - iget-stop-isofs-from-using-read_inode-fix-2.patch

2008-01-29 Thread Valdis . Kletnieks
Sorry for the late notice - I hit the original issue with this code, and I tested the *first* patch, which addressed my immediate problem, but didn't test the subsequent flurry of better patches due to time issues here. I back up my laptop by doing one or more 'dump' commands into a $STAGE

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Paul Jackson
Gregory wrote: This is correct. We have the balance policy polymorphically associated with each sched_class, and the CFS load-balancer and RT load (really, priority) balancer can coexist together at the same time and across arbitrary #s of cores So ... we have the option of having all

Re: Problem with ata layer in 2.6.24

2008-01-29 Thread Mikael Pettersson
Gene Heskett writes: On Tuesday 29 January 2008, Alan Cox wrote: As slight change here, I was going to use the same .config as 2.6.24-rc8, but just discovered that neither rc8 nor final is finding the drivers for my If it is not finding a driver that is nothing to do with libata.

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Gregory Haskins
On Tue, Jan 29, 2008 at 11:28 AM, in message [EMAIL PROTECTED], Paul Jackson [EMAIL PROTECTED] wrote: Gregory wrote: I am a bit confused as to why you disable load-balancing in the RT cpuset? It shouldn't be strictly necessary in order for the RT scheduler to do its job (unless I am

Re: Default Linux Capabilities default in 2.6.24

2008-01-29 Thread Matt LaPlante
On Tue, 29 Jan 2008 07:08:25 -0600 Serge E. Hallyn [EMAIL PROTECTED] wrote: Quoting James Morris ([EMAIL PROTECTED]): On Mon, 28 Jan 2008, Matt LaPlante wrote: On Thu, 24 Jan 2008 19:12:01 -0600 Matt LaPlante [EMAIL PROTECTED] wrote: I'm doing a make oldconfig with the

[PATCH 4/4] hotplug cpu move tasks in empty cpusets - refinements

2008-01-29 Thread Cliff Wickman
Narrow the scope of callback_mutex in scan_for_empty_cpusets(). Avoid rewriting the cpus, mems of cpusets except when it is likely that we'll be changing them. Have remove_tasks_in_empty_cpuset() also check for empty mems. Signed-off-by: Paul Jackson [EMAIL PROTECTED]

[PATCH] fix tasklist + find_pid() with CONFIG_PREEMPT_RCU

2008-01-29 Thread Oleg Nesterov
With CONFIG_PREEMPT_RCU read_lock(tasklist_lock) doesn't imply rcu_read_lock(), but find_pid_ns()-hlist_for_each_entry_rcu() should be safe under tasklist. Usually it is, detach_pid() is always called under write_lock(tasklist_lock), but copy_process() calls free_pid() lockless. #ifdef

Re: [BUG] 2.6.24-git usb reset problems

2008-01-29 Thread James Bottomley
On Tue, 2008-01-29 at 10:36 -0500, Alan Stern wrote: On Tue, 29 Jan 2008, Boaz Harrosh wrote: --- a/drivers/usb/storage/transport.c +++ b/drivers/usb/storage/transport.c @@ -462,18 +462,24 @@ static int usb_stor_bulk_transfer_sglist(struct us_data *us, unsigned int pipe, * Common

Re: [patch 6/6] mmu_notifier: Add invalidate_all()

2008-01-29 Thread Robin Holt
What is the status of getting invalidate_all adjusted to indicate a need to also call _release? Thanks, Robin On Mon, Jan 28, 2008 at 12:28:46PM -0800, Christoph Lameter wrote: when a task exits we can remove all external pts at once. At that point the extern mmu may also unregister itself

Re: [PATCH] SELinux: Fix double free in selinux_netlbl_sock_setsid()

2008-01-29 Thread Paul Moore
On Monday 28 January 2008 10:51:24 pm David Miller wrote: From: Paul Moore [EMAIL PROTECTED] Date: Mon, 28 Jan 2008 21:20:26 -0500 As pointed out by Adrian Bunk, commit 45c950e0f839fded922ebc0bfd59b1081cc71b70 caused a double-free when security_netlbl_sid_to_secattr() fails. This patch

Re: inconsistent lock state (netconsole/net related)

2008-01-29 Thread Marcin Slusarz
On Sun, Jan 27, 2008 at 03:53:34PM +0100, Marcin Slusarz wrote: Hi My box is locking up on start of X.org so I enabled netconsole and at every boot I'm getting: (...) I'm on latest git (326e96b92306b7af24a3608ec01156cba17a3fc1: printk: revert ktime_get() timestamps). If you want more

Re: [2.6 patch] make stk_camera_cleanup() static

2008-01-29 Thread Jaime Velasco Juan
El mar. 29 de ene. de 2008, a las 00:11:01 +0200, Adrian Bunk escribió: stk_camera_cleanup() can become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Jaime Velasco Juan [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [2.6 patch] stk-sensor.c: make 2 functions static

2008-01-29 Thread Jaime Velasco Juan
El mar. 29 de ene. de 2008, a las 00:10:58 +0200, Adrian Bunk escribió: This patch makes the following needlessly global functions static: - stk_sensor_outb() - stk_sensor_inb() Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Jaime Velasco Juan [EMAIL PROTECTED] -- To unsubscribe

Re: [patch 0/6] mm: bdi: updates

2008-01-29 Thread Peter Zijlstra
On Tue, 2008-01-29 at 16:49 +0100, Miklos Szeredi wrote: This is a series from Peter Zijlstra, with various updates by me. The patchset mostly deals with exporting BDI attributes in sysfs. Should be in a mergeable state, at least into -mm. Thanks for picking these up Miklos! While they do

[PATCH] fix workqueue plist init to include a spinlock

2008-01-29 Thread Daniel Walker
The lock field in plist_head_init() is used for debugging the plist, and if a NULL is sent in it spews constant errors with debugging enabled .. So I added what looks like the correct spinlocks into the plist_head_init(). Signed-off-by: Daniel Walker [EMAIL PROTECTED] --- kernel/workqueue.c |

Re: [RFC/PATCH] Optimize zone allocator synchronization

2008-01-29 Thread Don Porter
I apologize again for the long delay in responding with the requested additional data needed to understand the performance of this patch. The complete information is available at: http://www.cs.utexas.edu/~porterde/kernel-patch.html#subsequent I instrumented the kernel within simics to determine

Re: Problem with ata layer in 2.6.24

2008-01-29 Thread Gene Heskett
On Tuesday 29 January 2008, Mikael Pettersson wrote: Gene Heskett writes: On Tuesday 29 January 2008, Alan Cox wrote: As slight change here, I was going to use the same .config as 2.6.24-rc8, but just discovered that neither rc8 nor final is finding the drivers for my If it is not

Thinkpad Docking Oops

2008-01-29 Thread Paul Martin
Hardware: IBM Thinkpad T30, Thinkpad Dock (Model 2631). When attempting to dock, the following oops occurs. The tainting is from the Atheros driver's non-free HAL. (I'm eagerly awaiting ath5k's inclusion.) Docking worked in 2.6.23 and earlier with the out-of-tree lt_hotswap module.

sections mismatches: How to mark new false positives?

2008-01-29 Thread Adrian Bunk
I'm getting the following in the latest -git: -- snip -- ... WARNING: arch/x86/kernel/built-in.o(.exit.text+0x1db): Section mismatch in reference from the function msr_exit() to the variable .cpuinit.data:msr_class_cpu_notifier ... -- snip -- That's obviously a false positive

Re: Problem with ata layer in 2.6.24

2008-01-29 Thread Jeff Garzik
Gene Heskett wrote: Does anyone know why my dvdwriter isn't being assigned a '/dev/sdx' number when dmesg says its found ok at ata2.00? I've turned on an option that says something about using the bios for device access this build, but I'll be surprised if that's it. :) I think you mean

Re: Problem with ata layer in 2.6.24

2008-01-29 Thread rgheck
Mark Lord wrote: Gene Heskett wrote: .. Does anyone know why my dvdwriter isn't being assigned a '/dev/sdx' number when dmesg says its found ok at ata2.00? I've turned on an option that says something about using the bios for device access this build, but I'll be surprised if that's it. :)

Re: Problem with ata layer in 2.6.24

2008-01-29 Thread Gene Heskett
On Tuesday 29 January 2008, Mark Lord wrote: Gene Heskett wrote: .. Does anyone know why my dvdwriter isn't being assigned a '/dev/sdx' number when dmesg says its found ok at ata2.00? I've turned on an option that says something about using the bios for device access this build, but I'll be

Re: [patch 1/6] mmu_notifier: Core code

2008-01-29 Thread Robin Holt
I am going to seperate my comments into individual replies to help reduce the chance they are lost. +void mmu_notifier_release(struct mm_struct *mm) ... + hlist_for_each_entry_safe_rcu(mn, n, t, + mm-mmu_notifier.head, hlist) { +

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Gregory Haskins
On Tue, Jan 29, 2008 at 6:50 AM, in message [EMAIL PROTECTED], Peter Zijlstra [EMAIL PROTECTED] wrote: On Tue, 2008-01-29 at 05:30 -0600, Paul Jackson wrote: Peter wrote, in reply to Peter ;): [ It looks to me it balances a group over the largest SD the current cpu has access to,

Re: [BUG] 2.6.24-git usb reset problems

2008-01-29 Thread Boaz Harrosh
On Tue, Jan 29 2008 at 17:36 +0200, Alan Stern [EMAIL PROTECTED] wrote: On Tue, 29 Jan 2008, Boaz Harrosh wrote: --- a/drivers/usb/storage/transport.c +++ b/drivers/usb/storage/transport.c @@ -462,18 +462,24 @@ static int usb_stor_bulk_transfer_sglist(struct us_data *us, unsigned int pipe,

Re: [BUG] 2.6.24-git usb reset problems

2008-01-29 Thread Boaz Harrosh
On Tue, Jan 29 2008 at 16:31 +0200, Oliver Neukum [EMAIL PROTECTED] wrote: Am Dienstag, 29. Januar 2008 15:11:08 schrieb Jens Axboe: On Tue, Jan 29 2008, Boaz Harrosh wrote: On Tue, Jan 29 2008 at 15:54 +0200, Jens Axboe [EMAIL PROTECTED] wrote: On Tue, Jan 29 2008, Boaz Harrosh wrote: Greg

[patch 5/6] mm: bdi: allow setting a minimum for the bdi dirty limit

2008-01-29 Thread Miklos Szeredi
From: Peter Zijlstra [EMAIL PROTECTED] Add min_ratio to /sys/class/bdi. This indicates the minimum percentage of the global dirty threshold allocated to this bdi. [EMAIL PROTECTED] - fix parsing in min_ratio_store() - document new sysfs attribute Signed-off-by: Peter Zijlstra [EMAIL

[patch 0/6] mm: bdi: updates

2008-01-29 Thread Miklos Szeredi
This is a series from Peter Zijlstra, with various updates by me. The patchset mostly deals with exporting BDI attributes in sysfs. Should be in a mergeable state, at least into -mm. -- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: Problem with ata layer in 2.6.24

2008-01-29 Thread Mark Lord
Gene Heskett wrote: .. Does anyone know why my dvdwriter isn't being assigned a '/dev/sdx' number when dmesg says its found ok at ata2.00? I've turned on an option that says something about using the bios for device access this build, but I'll be surprised if that's it. :) .. It should

Re: [Devel] LTP result output for container-init ( failure with 2.6.24 kernel )

2008-01-29 Thread Rishikesh K Rajak
Hi Pavel/Vitaliy, Pavel Emelyanov [EMAIL PROTECTED] wrote on 01/24/2008 03:29:01 PM: Rishikesh K. Rajak wrote: Hi All, Today i ran full LTP on kernel 2.6.24-rc6 inside container-init and also on parent namespace and got some observations. Here is the machine information:

[PATCH 2.6.24-rc8-mm1 00/15] IPC: code rewrite + new functionalities

2008-01-29 Thread pierre . peiffer
Hi, Here is a patchset about the IPC, which proposes to consolidate some part of the existing code and to add some functionalities. * Patches 1 to 8 don't change the existing behavior, but propose to rewrite some parts of the existing code. In fact, the three kinds of IPC (semaphores,

Re: Make_bad_sector

2008-01-29 Thread Mark Lord
Greg Freemyer wrote: On Jan 28, 2008 3:43 PM, Mark Lord [EMAIL PROTECTED] wrote: Gene Heskett wrote: On Monday 28 January 2008, Mark Lord wrote: .. Another way is to use the make_bad_sector utility that is included in the source tarball for hdparm-7.7, as follows: make_bad_sector

[PATCH 2.6.24-rc8-mm1 03/15] IPC/message queues: introduce msgctl_down

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] Currently, sys_msgctl is not easy to read. This patch tries to improve that by introducing the msgctl_down function to handle all commands requiring the rwmutex to be taken in write mode (ie IPC_SET and IPC_RMID for now). It is the equivalent function of

[PATCH 2.6.24-rc8-mm1 04/15] IPC/semaphores: move the rwmutex handling inside semctl_down

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] semctl_down is called with the rwmutex (the one which protects the list of ipcs) taken in write mode. This patch moves this rwmutex taken in write-mode inside semctl_down. This has the advantages of reducing a little bit the window during which this rwmutex

[PATCH 2.6.24-rc8-mm1 05/15] IPC/semaphores: remove one unused parameter from semctl_down()

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] semctl_down() takes one unused parameter: semnum. This patch proposes to get rid of it. Signed-off-by: Pierre Peiffer [EMAIL PROTECTED] Acked-by: Serge Hallyn [EMAIL PROTECTED] --- ipc/sem.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 2.6.24-rc8-mm1 07/15] IPC: introduce ipc_update_perm()

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] The IPC_SET command performs the same permission setting for all IPCs. This patch introduces a common ipc_update_perm() function to update these permissions and makes use of it for all IPCs. Signed-off-by: Pierre Peiffer [EMAIL PROTECTED] Acked-by: Serge

[PATCH] add support for dynamic ticks and preempt rcu

2008-01-29 Thread Steven Rostedt
[ Paul, you had your Signed-off-by in the RT patch, so I attached it here too ] The PREEMPT-RCU can get stuck if a CPU goes idle and NO_HZ is set. The idle CPU will not progress the RCU through its grace period and a synchronize_rcu my get stuck. Without this patch I have a box that will not

[PATCH 2.6.24-rc8-mm1 09/15] (RFC) IPC: new kernel API to change an ID

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] This patch provides three new API to change the ID of an existing System V IPCs. These APIs are: long msg_chid(struct ipc_namespace *ns, int id, int newid); long sem_chid(struct ipc_namespace *ns, int id, int newid); long

Re: scheduler scalability - cgroups, cpusets and load-balancing

2008-01-29 Thread Paul Jackson
Gregory wrote: I am a bit confused as to why you disable load-balancing in the RT cpuset? It shouldn't be strictly necessary in order for the RT scheduler to do its job (unless I am misunderstanding what you are trying to accomplish?). Do you do this because you *have* to in order

Re: [patch 2/6] mmu_notifier: Callbacks to invalidate address ranges

2008-01-29 Thread Andrea Arcangeli
On Mon, Jan 28, 2008 at 12:28:42PM -0800, Christoph Lameter wrote: Index: linux-2.6/mm/fremap.c === --- linux-2.6.orig/mm/fremap.c2008-01-25 19:31:05.0 -0800 +++ linux-2.6/mm/fremap.c 2008-01-25

[PATCH 2.6.24-rc8-mm1 14/15] (RFC) IPC/semaphores: prepare semundo code to work on another task than current

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] In order to modify the semundo-list of a task from procfs, we must be able to work on any target task. But all the existing code playing with the semundo-list, currently works only on the 'current' task, and does not allow to specify any target task. This

[PATCH 2.6.24-rc8-mm1 12/15] (RFC) IPC/semaphores: make use of RCU to free the sem_undo_list

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] Today, the sem_undo_list is freed when the last task using it exits. There is no mechanism in place, that allows a safe concurrent access to the sem_undo_list of a target task and protects efficiently against a task-exit. That is okay for now as we don't

[PATCH 2.6.24-rc8-mm1 13/15] (RFC) IPC/semaphores: per pid semundo file in procfs

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] This patch adds a new procfs interface to display the per-process semundo data. A new per-PID file is added, named semundo. It contains one line per semaphore IPC where there is something to undo for this process. Then, each line contains the semid followed

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2008-01-29 Thread Tony Camuso
Arjan van de Ven wrote: On Tue, 29 Jan 2008 10:15:45 -0500 Tony Camuso [EMAIL PROTECTED] wrote: specific to legacy x86 hardware is, IMNSHO, a kludge. in addition to pci_enable(), pci_enable_msi(), pci_enable_busmaster() they already need to do to enable various features? These calls

[PATCH 2.6.24-rc8-mm1 15/15] (RFC) IPC/semaphores: add write() operation to semundo file in procfs

2008-01-29 Thread pierre . peiffer
From: Pierre Peiffer [EMAIL PROTECTED] This patch adds the write operation to the semundo file. This write operation allows root to add or update the semundo list and their values for a given process. The user must provide some lines, each containing the semaphores ID followed by the semaphores

Re: DMA mapping on SCSI device?

2008-01-29 Thread James Bottomley
On Tue, 2008-01-29 at 05:28 +0100, Andi Kleen wrote: The ideal solution would be to do mapping against a different struct device for each port, so that we could maintain the proper DMA mask for each of them at all times. However I'm not sure if that's possible. I cannot imagine why it

Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in

2008-01-29 Thread Arjan van de Ven
On Tue, 29 Jan 2008 10:15:45 -0500 Tony Camuso [EMAIL PROTECTED] wrote: Arjan van de Ven wrote: On Tue, 29 Jan 2008 09:15:02 -0500 Tony Camuso [EMAIL PROTECTED] wrote: Greg, The problem with Arjan's patch, if I understand it correctly, is that it requires drivers to make a call to

  1   2   3   4   5   6   7   8   9   10   >