Re: epoll and shared fd's

2008-01-25 Thread Michael Kerrisk
On Jan 25, 2008 12:57 AM, Davide Libenzi <[EMAIL PROTECTED]> wrote: > > On Thu, 24 Jan 2008, Pierre Habouzit wrote: > > > On Fri, Jan 18, 2008 at 09:10:18PM +, Davide Libenzi wrote: > > > On Fri, 18 Jan 2008, Pierre Habouzit wrote: > > > > > > > Hi, > > > > > > > > I just came across a

Re: threshold_init_device/kobject_uevent_env oops

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 11:24:55PM -0800, Greg KH wrote: > On Fri, Jan 25, 2008 at 11:08:53PM -0800, Yinghai Lu wrote: > > On Jan 25, 2008 10:14 PM, Greg KH <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, Jan 25, 2008 at 10:04:19PM -0800, Yinghai Lu wrote: > > > > On Jan 25, 2008 2:50 PM, Greg KH

Re: [PATCH 158/196] Driver core: convert block from raw kobjects

2008-01-25 Thread Greg KH
On Sat, Jan 26, 2008 at 12:23:18AM +0100, Alexander van Heukelum wrote: > Fix build with CONFIG_BLOCK off. > > Building git-2d94dfc with CONFIG_BLOCK turned off gives me: > > drivers/base/core.c: In function 'device_add_class_symlinks': > drivers/base/core.c:704: error: 'part_type' undeclared

[PATCH] remove duplicating priority setting in try_to_free_p

2008-01-25 Thread minchan kim
shrink_zones in try_to_free_pages already set zone through note_zone_scanning_priority. So, setting prev_priority in try_to_free_pages is needless. This patch is made by 2.6.24-rc8. Signed-off-by: barrios <[EMAIL PROTECTED]> --- mm/vmscan.c | 17 - 1 files changed, 0

Re: threshold_init_device/kobject_uevent_env oops

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 11:08:53PM -0800, Yinghai Lu wrote: > On Jan 25, 2008 10:14 PM, Greg KH <[EMAIL PROTECTED]> wrote: > > > > On Fri, Jan 25, 2008 at 10:04:19PM -0800, Yinghai Lu wrote: > > > On Jan 25, 2008 2:50 PM, Greg KH <[EMAIL PROTECTED]> wrote: > > > > On Fri, Jan 25, 2008 at

Re: [kvm-devel] [PATCH 3/8] SVM: add module parameter to disable NestedPaging

2008-01-25 Thread Joerg Roedel
On Fri, Jan 25, 2008 at 05:47:11PM -0800, Nakajima, Jun wrote: > Joerg Roedel wrote: > > To disable the use of the Nested Paging feature even if it is > available in > > hardware this patch adds a module parameter. Nested Paging can be > disabled by > > passing npt=off to the kvm_amd module. > >

Re: [PATCH] RUSAGE_THREAD

2008-01-25 Thread Michael Kerrisk
On Jan 19, 2008 2:14 AM, Roland McGrath <[EMAIL PROTECTED]> wrote: > > This adds the RUSAGE_THREAD option for the getrusage system call. > Solaris calls this RUSAGE_LWP and uses the same value (1). > That name is not a natural one for Linux, but we keep it as an alias. Hey Roland, Would you

Re: [PATCH] Fake NUMA emulation for PowerPC (Take 2)

2008-01-25 Thread Balbir Singh
* Michael Ellerman <[EMAIL PROTECTED]> [2008-01-18 16:44:58]: > > This fixes it, although I'm a little worried about some of the > removals/movings of node_set_online() in the patch. > > > diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c > index 1666e7d..dcedc26 100644 > ---

Re: threshold_init_device/kobject_uevent_env oops

2008-01-25 Thread Yinghai Lu
On Jan 25, 2008 10:14 PM, Greg KH <[EMAIL PROTECTED]> wrote: > > On Fri, Jan 25, 2008 at 10:04:19PM -0800, Yinghai Lu wrote: > > On Jan 25, 2008 2:50 PM, Greg KH <[EMAIL PROTECTED]> wrote: > > > On Fri, Jan 25, 2008 at 02:47:11PM -0800, Greg KH wrote: > > > > On Fri, Jan 25, 2008 at 11:35:56PM

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Arjan van de Ven
On Fri, 25 Jan 2008 11:11:48 -0800 (PST) Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Fri, 25 Jan 2008, Greg KH wrote: > > > > That's really wierd, I don't see that at all here just running with > > your 2.6.24 + my git tree and lots of USB drivers built into the > > kernel also (like

[PATCH] Moving spinlock to struct usb_hcd

2008-01-25 Thread Romit Dasgupta
Hi, This is an attempt to move the hcd_urb_list_lock to struct usb_hcd. The lock is taken on functions that try to add/delete/use urb against a given hcd. I have not seen any association of an urb with multiple hcds. Hence I thought this can be moved within usb_hcd. This should help reduce

Re: threshold_init_device/kobject_uevent_env oops

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 03:20:45PM -0800, Yinghai Lu wrote: > On Jan 25, 2008 3:08 PM, Greg KH <[EMAIL PROTECTED]> wrote: > > On Fri, Jan 25, 2008 at 11:35:56PM +0100, Ingo Molnar wrote: > .. > > Also, can someone enable CONFIG_KOBJECT_DEBUG and send me the output of > > the startup of this code?

Re: threshold_init_device/kobject_uevent_env oops

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 10:04:19PM -0800, Yinghai Lu wrote: > On Jan 25, 2008 2:50 PM, Greg KH <[EMAIL PROTECTED]> wrote: > > On Fri, Jan 25, 2008 at 02:47:11PM -0800, Greg KH wrote: > > > On Fri, Jan 25, 2008 at 11:35:56PM +0100, Ingo Molnar wrote: > > > > > > > > * Greg KH <[EMAIL PROTECTED]>

Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()

2008-01-25 Thread H. Peter Anvin
Andi Kleen wrote: so INVLPG makes sense for pagetable fault realated single-address flushes, but they rarely make sense for range flushes. (and that's how Linux uses it) I think it would be an interesting experiment to switch flush_tlb_range() over to INVLPG if the length is below some

Re: threshold_init_device/kobject_uevent_env oops

2008-01-25 Thread Yinghai Lu
On Jan 25, 2008 2:50 PM, Greg KH <[EMAIL PROTECTED]> wrote: > On Fri, Jan 25, 2008 at 02:47:11PM -0800, Greg KH wrote: > > On Fri, Jan 25, 2008 at 11:35:56PM +0100, Ingo Molnar wrote: > > > > > > * Greg KH <[EMAIL PROTECTED]> wrote: > > > > > > > On Fri, Jan 25, 2008 at 01:05:40PM -0800, Yinghai

Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()

2008-01-25 Thread Andi Kleen
On Saturday 26 January 2008 01:11:28 Ingo Molnar wrote: (plus > any add-on TLB miss costs - but those are amortized quite well as long > as the pagetables are well cached - which they usually are on today's > 2MB-ish L2 caches), Did you measure the cost of that amortizing too? My guess is

Re: [RFC] ext3 freeze feature

2008-01-25 Thread David Chinner
On Sat, Jan 26, 2008 at 04:35:26PM +1100, David Chinner wrote: > On Fri, Jan 25, 2008 at 07:59:38PM +0900, Takashi Sato wrote: > > The points of the implementation are followings. > > - Add calls of the freeze function (freeze_bdev) and > > the unfreeze function (thaw_bdev) in ext3_ioctl(). > >

Re: [PATCH 085/196] kset: convert s390 ipl.c to use kset_create

2008-01-25 Thread Greg KH
On Sat, Jan 26, 2008 at 12:11:33AM +0100, Heiko Carstens wrote: > On Fri, Jan 25, 2008 at 09:48:58AM -0800, Greg KH wrote: > > On Fri, Jan 25, 2008 at 01:20:53PM +0100, Heiko Carstens wrote: > > > On Thu, Jan 24, 2008 at 11:31:54PM -0800, Greg Kroah-Hartman wrote: > > > > Dynamically create the

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Greg KH
On Sat, Jan 26, 2008 at 03:50:57PM +1100, Rusty Russell wrote: > On Saturday 26 January 2008 06:42:19 Greg KH wrote: > > On Fri, Jan 25, 2008 at 10:44:59AM -0800, Linus Torvalds wrote: > > > On Thu, 24 Jan 2008, Greg KH wrote: > > > > Here are a pretty large number of kobject, documentation, and

Re: [RFC] ext3 freeze feature

2008-01-25 Thread David Chinner
On Fri, Jan 25, 2008 at 07:59:38PM +0900, Takashi Sato wrote: > The points of the implementation are followings. > - Add calls of the freeze function (freeze_bdev) and > the unfreeze function (thaw_bdev) in ext3_ioctl(). > > - ext3_freeze_timeout() which calls the unfreeze function (thaw_bdev)

Re: [RFC] ext3: per-process soft-syncing data=ordered mode

2008-01-25 Thread Al Boldi
Chris Snook wrote: > Al Boldi wrote: > > Greetings! > > > > data=ordered mode has proven reliable over the years, and it does this > > by ordering filedata flushes before metadata flushes. But this > > sometimes causes contention in the order of a 10x slowdown for certain > > apps, either due to

Re: [RFC] ext3: per-process soft-syncing data=ordered mode

2008-01-25 Thread Al Boldi
Jan Kara wrote: > > Greetings! > > > > data=ordered mode has proven reliable over the years, and it does this > > by ordering filedata flushes before metadata flushes. But this > > sometimes causes contention in the order of a 10x slowdown for certain > > apps, either due to the misuse of fsync

Re: [RFC] ext3: per-process soft-syncing data=ordered mode

2008-01-25 Thread Al Boldi
[EMAIL PROTECTED] wrote: > On Thu, 24 Jan 2008 23:36:00 +0300, Al Boldi said: > > This RFC proposes to introduce a tunable which allows to disable fsync > > and changes ordered into writeback writeout on a per-process basis like > > this: : : > But if you want to give them enough rope to shoot

Re: [RFC] ext3: per-process soft-syncing data=ordered mode

2008-01-25 Thread Al Boldi
Diego Calleja wrote: > El Thu, 24 Jan 2008 23:36:00 +0300, Al Boldi <[EMAIL PROTECTED]> escribió: > > Greetings! > > > > data=ordered mode has proven reliable over the years, and it does this > > by ordering filedata flushes before metadata flushes. But this > > sometimes causes contention in the

Re: [PATCH 063/196] kset: convert /sys/devices to use kset_create

2008-01-25 Thread Greg KH
On Fri, Jan 25, 2008 at 09:40:55PM -0600, Olof Johansson wrote: > On Thu, Jan 24, 2008 at 11:10:01PM -0800, Greg Kroah-Hartman wrote: > > Dynamically create the kset instead of declaring it statically. We also > > rename devices_subsys to devices_kset to catch all users of the > > variable. > >

Re: [PATCH 06/20 -v5] add notrace annotations for NMI routines

2008-01-25 Thread Steven Rostedt
On Wed, 23 Jan 2008, Mathieu Desnoyers wrote: > * Steven Rostedt ([EMAIL PROTECTED]) wrote: > > This annotates NMI functions with notrace. Some tracers may be able > > to live with this, but some cannot. So we turn off NMI tracing. > > > > One solution might be to make a notrace_nmi which would

Re: [RFC] ext3 freeze feature

2008-01-25 Thread David Chinner
On Fri, Jan 25, 2008 at 09:42:30PM +0900, Takashi Sato wrote: > >I am also wondering whether we should have system call(s) for these: > > > >On Jan 25, 2008 12:59 PM, Takashi Sato <[EMAIL PROTECTED]> wrote: > >>+ case EXT3_IOC_FREEZE: { > > > >>+ case EXT3_IOC_THAW: { > > > >And just

Re: 2.6.24-rt1

2008-01-25 Thread Steven Rostedt
On Fri, 25 Jan 2008, Steven Rostedt wrote: > > *** NOTICE *** > > This still has the old version of the latency tracer. I'll try to > release a -rt2 soon that has the new version. This way we can see what > kind of regressions the new version might give. > This is taking longer than expected.

Re: [UNIONFS] 00/29 Unionfs and related patches pre-merge review (v2)

2008-01-25 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Al Viro writes: > After grep for locking-related things: > > * lock_parent(): who said that you won't get dentry moved > before managing to grab i_mutex on parent? While we are at it, > who said that you won't get dentry moved between fetching d_parent > and

[PATCH 4/4] Unionfs: lock_rename related locking fixes

2008-01-25 Thread Erez Zadok
CC: Mike Halcrow <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/rename.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/fs/unionfs/rename.c b/fs/unionfs/rename.c index 9306a2b..5ab13f9 100644 --- a/fs/unionfs/rename.c

[PATCH 2/4] Unionfs: remove unnecessary call to d_iput

2008-01-25 Thread Erez Zadok
This old code was to fix a bug which has long since been fixed in our copyup_permission and unionfs_d_iput. Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/copyup.c | 13 - 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/fs/unionfs/copyup.c

[PATCH 3/4] Unionfs: d_parent related locking fixes

2008-01-25 Thread Erez Zadok
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/copyup.c |3 +-- fs/unionfs/union.h |4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/unionfs/copyup.c b/fs/unionfs/copyup.c index 8663224..9beac01 100644 --- a/fs/unionfs/copyup.c +++

[PATCH 1/4] Unionfs: use first writable branch (fix/cleanup)

2008-01-25 Thread Erez Zadok
Cleanup code in ->create, ->symlink, and ->mknod: refactor common code into helper functions. Also, this allows writing to multiple branches again, which was broken by an earlier patch. Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/inode.c | 395

[GIT PULL -mm] 0/4 Unionfs updates/fixes/cleanups

2008-01-25 Thread Erez Zadok
The following is a series of patchsets related to Unionfs. This is the fifth set of patchsets resulting from an lkml review of the entire unionfs code base, in preparation for a merge into mainline. The most significant changes here are a few locking related fixes, and a correction to broken

[PATCH] block: look up block device path in sysfs

2008-01-25 Thread Dan Williams
Given an fd on a block device, returns a string like /block/sda/sda1 which can be used to find related information in /sys. Ideally we should have an ioctl that works on char devices as well, but that seems far from trivial, so it seems reasonable to have this until the latter can be

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Rusty Russell
On Saturday 26 January 2008 06:42:19 Greg KH wrote: > On Fri, Jan 25, 2008 at 10:44:59AM -0800, Linus Torvalds wrote: > > On Thu, 24 Jan 2008, Greg KH wrote: > > > Here are a pretty large number of kobject, documentation, and driver > > > core patches against your 2.6.24 git tree. > > > > I've

[PATCH 19/23 -v6] Trace irq disabled critical timings

2008-01-25 Thread Steven Rostedt
This patch adds latency tracing for critical timings (how long interrupts are disabled for). "irqsoff" is added to /debugfs/tracing/available_tracers Note: tracing_max_latency also holds the max latency for irqsoff (in usecs). (default to large number so one must start latency tracing)

[PATCH 01/23 -v6] printk - dont wakeup klogd with interrupts disabled

2008-01-25 Thread Steven Rostedt
[ This patch is added to the series since the wakeup timings trace may lockup without it. ] I thought that one could place a printk anywhere without worrying. But it seems that it is not wise to place a printk where the runqueue lock is held. I just spent two hours debugging why some of my

[PATCH 11/23 -v6] mcount based trace in the form of a header file library

2008-01-25 Thread Steven Rostedt
This is a simple trace that uses the mcount infrastructure. It is designed to be fast and small, and easy to use. It is useful to record things that happen over a very short period of time, and not to analyze the system in general. An interface is added to the debugfs /debugfs/tracing/ This

[PATCH 18/23 -v6] mcount tracer for wakeup latency timings.

2008-01-25 Thread Steven Rostedt
This patch adds hooks to trace the wake up latency of the highest priority waking task. "wakeup" is added to /debugfs/tracing/available_tracers Also added to /debugfs/tracing tracing_max_latency holds the current max latency for the wakeup wakeup_thresh if set to other than

[PATCH 16/23 -v6] trace generic call to schedule switch

2008-01-25 Thread Steven Rostedt
This patch adds hooks into the schedule switch tracing to allow other latency traces to hook into the schedule switches. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- lib/tracing/trace_sched_switch.c | 123 +-- lib/tracing/tracer.h | 14

[PATCH 15/23 -v6] Generic command line storage

2008-01-25 Thread Steven Rostedt
Saving the comm of tasks for each trace is very expensive. This patch includes in the context switch hook, a way to store the last 100 command lines of tasks. This table is examined when a trace is to be printed. Note: The comm may be destroyed if other traces are performed. Later (TBD) patches

[PATCH 21/23 -v6] Add markers to various events

2008-01-25 Thread Steven Rostedt
This patch adds markers to various events in the kernel. (interrupts, task activation and hrtimers) Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86/kernel/apic_32.c |2 ++ arch/x86/kernel/irq_32.c |1 + arch/x86/kernel/irq_64.c |2 ++ arch/x86/kernel/traps_32.c |

[PATCH 22/23 -v6] Add event tracer.

2008-01-25 Thread Steven Rostedt
This patch adds a event trace that hooks into various events in the kernel. Although it can be used separately, it is mainly to help other traces (wakeup and preempt off) with seeing various events in the traces without having to enable the heavy mcount hooks. Here's an example:

[PATCH 13/23 -v6] Make the task State char-string visible to all

2008-01-25 Thread Steven Rostedt
The tracer wants to be able to convert the state number into a user visible character. This patch pulls that conversion string out the scheduler into the header. This way if it were to ever change, other parts of the kernel will know. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> ---

[PATCH 20/23 -v6] trace preempt off critical timings

2008-01-25 Thread Steven Rostedt
Add preempt off timings. A lot of kernel core code is taken from the RT patch latency trace that was written by Ingo Molnar. This adds "preemptoff" and "preemptirqsoff" to /debugfs/tracing/available_tracers Now instead of just tracing irqs off, preemption off can be selected to be recorded.

[PATCH 06/23 -v6] add notrace annotations for NMI routines

2008-01-25 Thread Steven Rostedt
This annotates NMI functions with notrace. Some tracers may be able to live with this, but some cannot. So we turn off NMI tracing. One solution might be to make a notrace_nmi which would only turn off NMI tracing if a trace utility needed it off. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL

[PATCH 05/23 -v6] add notrace annotations to vsyscall.

2008-01-25 Thread Steven Rostedt
Add the notrace annotations to some of the vsyscall functions. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86/kernel/vsyscall_64.c |3 ++- arch/x86/vdso/vclock_gettime.c | 15 --- arch/x86/vdso/vgetcpu.c|3 ++- include/asm-x86/vsyscall.h |3

[PATCH 08/23 -v6] initialize the clock source to jiffies clock.

2008-01-25 Thread Steven Rostedt
The latency tracer can call clocksource_read very early in bootup and before the clock source variable has been initialized. This results in a crash at boot up (even before earlyprintk is initialized). Since the clock->read variable points to NULL. This patch simply initializes the clock to use

[PATCH 10/23 -v6] add notrace annotations to timing events

2008-01-25 Thread Steven Rostedt
This patch adds notrace annotations to timer functions that will be used by tracing. This helps speed things up and also keeps the ugliness of printing these functions down. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86/kernel/apic_32.c |2 +- arch/x86/kernel/hpet.c

[PATCH 02/23 -v6] Add basic support for gcc profiler instrumentation

2008-01-25 Thread Steven Rostedt
If CONFIG_MCOUNT is selected and /proc/sys/kernel/mcount_enabled is set to a non-zero value the mcount routine will be called everytime we enter a kernel function that is not marked with the "notrace" attribute. The mcount routine will then call a registered function if a function happens to be

[PATCH 14/23 -v6] Add tracing of context switches

2008-01-25 Thread Steven Rostedt
This patch adds context switch tracing, of the format of: _--=> CPU# / _-=> irqs-off | / _=> need-resched || / _---=> hardirq/softirq ||| / _--=> preempt-depth

[PATCH 07/23 -v6] handle accurate time keeping over long delays

2008-01-25 Thread Steven Rostedt
Handle accurate time even if there's a long delay between accumulated clock cycles. Signed-off-by: John Stultz <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/powerpc/kernel/time.c|3 +- arch/x86/kernel/vsyscall_64.c |5 ++- include/asm-x86/vgtod.h

[PATCH 03/23 -v6] Annotate core code that should not be traced

2008-01-25 Thread Steven Rostedt
Mark with "notrace" functions in core code that should not be traced. The "notrace" attribute will prevent gcc from adding a call to mcount on the annotated funtions. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> ---

[PATCH 17/23 -v6] Add marker in try_to_wake_up

2008-01-25 Thread Steven Rostedt
Add markers into the wakeup code, to allow the tracer to record wakeup timings. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- kernel/sched.c |8 1 file changed, 8 insertions(+) Index: linux-mcount.git/kernel/sched.c

[PATCH 09/23 -v6] add get_monotonic_cycles

2008-01-25 Thread Steven Rostedt
The latency tracer needs a way to get an accurate time without grabbing any locks. Locks themselves might call the latency tracer and cause at best a slow down. This patch adds get_monotonic_cycles that returns cycles from a reliable clock source in a monotonic fashion. Signed-off-by: John

[PATCH 23/23 -v6] Critical latency timings histogram

2008-01-25 Thread Steven Rostedt
This patch adds hooks into the latency tracer to give us histograms of interrupts off, preemption off and wakeup timings. This code was based off of work done by Yi Yang <[EMAIL PROTECTED]> But heavily modified to work with the new tracer, and some clean ups by Steven Rostedt <[EMAIL PROTECTED]>

[PATCH 04/23 -v6] x86_64: notrace annotations

2008-01-25 Thread Steven Rostedt
Add "notrace" annotation to x86_64 specific files. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- arch/x86/kernel/head64.c |2 +- arch/x86/kernel/setup64.c|4 ++-- arch/x86/kernel/smpboot_64.c |2 +- 3 files

[PATCH 12/23 -v6] Add context switch marker to sched.c

2008-01-25 Thread Steven Rostedt
Add marker into context_switch to record the prev and next tasks. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- kernel/sched.c |2 ++ 1 file changed, 2 insertions(+) Index: linux-mcount.git/kernel/sched.c === ---

[PATCH 00/23 -v6] mcount and latency tracing utility -v6

2008-01-25 Thread Steven Rostedt
[ version 6 of mcount / trace patches: changes include: Ported to lastest git 99f1c97dbdb30e958edfd1ced0ae43df62504e07 Added the runqueue_is_locked schedule api to let others (printk) know if the runqueue is locked and if it is safe to call wake_up on klogd. Added

Re: [PATCH] Linux Kernel Markers Support for Proprierary Modules

2008-01-25 Thread Jon Masters
On Sat, 2008-01-26 at 14:27 +1100, Rusty Russell wrote: > 2) Unconditionally reject modules with a wrong module section size. > Currently > we have no such check, which means without KALLSYMS, anything goes. I favor the latter, since it's safest. Jon. -- To unsubscribe from this list: send

Re: [PATCH 36/49] ext4: Add EXT4_IOC_MIGRATE ioctl

2008-01-25 Thread Theodore Tso
On Thu, Jan 24, 2008 at 11:25:32AM +0530, Aneesh Kumar K.V wrote: > +static int free_ext_idx(handle_t *handle, struct inode *inode, > + struct ext4_extent_idx *ix) > +{ > + int i, retval = 0; > + ext4_fsblk_t block; > + struct buffer_head *bh; > +

Re: [Netatalk-admins] netatalk slow after system upgrade (possibly kernel problem?)

2008-01-25 Thread Didier
Hi, On Fri, 25 Jan 2008 12:55:42 +0100, Michael Monnerie wrote > Dear lists, > > I've been spending a LOT of time trying to find out where's the > problem, but can't find it and therefore seek urgent help now. We > have the following system: Did you try to force the server MTU to 1500 (it looks

Re: [PATCH 063/196] kset: convert /sys/devices to use kset_create

2008-01-25 Thread Olof Johansson
On Thu, Jan 24, 2008 at 11:10:01PM -0800, Greg Kroah-Hartman wrote: > Dynamically create the kset instead of declaring it statically. We also > rename devices_subsys to devices_kset to catch all users of the > variable. Guess what, you broke powerpc again! [EMAIL PROTECTED]:~/work/linux/k.org $

Re: [PATCH] Linux Kernel Markers Support for Proprierary Modules

2008-01-25 Thread Rusty Russell
On Saturday 26 January 2008 02:31:30 Jon Masters wrote: > On Fri, 2008-01-25 at 08:56 +0100, Jan Engelhardt wrote: > > So what is needed is an Oops with an explaining message > > if (kernel_tainted) "blame that proprietary module first", > > and make sure the user sees that oops even if in X. > >

Re: using LKML for subsystem development (was Re: Linux 2.6.24)

2008-01-25 Thread Valdis . Kletnieks
On Sat, 26 Jan 2008 01:42:43 +0100, Stefan Richter said: > Even if you only look at the Subject: and number of postings in a > thread, how to judge whether there is a stability risk for the next -rc > in the making, without experience or personal interest in the domain? My general rule of thumb

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Valdis . Kletnieks
On Sat, 26 Jan 2008 01:05:26 +0100, Ingo Molnar said: > all it takes for me on Fedora is to boot a modular distro kernel once, > then copy the /dev to the real (persistent) /dev: > >mkdir /tmp2 >mount /dev/sda1 /tmp2 >cp -a /dev/* /tmp2/dev/ > > and from that point on a

Re: Linux 2.6.24

2008-01-25 Thread Valdis . Kletnieks
On Sat, 26 Jan 2008 00:50:44 +0100, Stefan Richter said: > How often is "bisectability" being broken already before merge in > subsystem trees, and how often only in the context of the merge result? I don't bisect git trees often - but I'd say that at least half the time I have to bisect -mm,

Re: Hot (un)plugging of a SATA drive with sata_nv (CK8S) ?

2008-01-25 Thread Robert Hancock
Ignacy Gawedzki wrote: Hi everyone, I'm having trouble to determine the cause of the following behavior. I'm not even sure that I'm supposed to hot plug and unplug a SATA drive from a nForce3 Ultra (apparently CK8S, on a Gigabyte K8NS Ultra 939 mobo) SATA interface, to begin with. The

Re: [linux-pm] Q: x86 suspend/hibernation code consolidation

2008-01-25 Thread Len Brown
On Friday 25 January 2008 19:32, Rafael J. Wysocki wrote: > Hi, > > I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to > arch/x86/power, modify the names of the 32-bit files already in > arch/x86/power and update the Makefiles accordingly, but there are some > changes

[PATCH] x86_64: change aper valid checking sequence

2008-01-25 Thread Yinghai Lu
[PATCH] x86_64: change aper valid checking sequence old sequence: size ==> >4G ==> point to RAM changed to >4G ==> point to RAM ==> size some bios even leave aper to unclear, so check size at last. to avoid reporting that like Node 0: Aperture @ 4a4200 size 32 MB Aperture too small (32 MB)

RE: [kvm-devel] [PATCH][RFC] SVM: Add Support for Nested Paging in AMD Fam16 CPUs

2008-01-25 Thread Nakajima, Jun
Joerg Roedel wrote: > Hi, > > here is the first release of patches for KVM to support the Nested Paging > (NPT) feature of AMD QuadCore CPUs for comments and public testing. This > feature improves the guest performance significantly. I measured an > improvement of around 17% using kernbench in

Re: [RFC] Parallelize IO for e2fsck

2008-01-25 Thread Bryan Henderson
>> Incidentally, some context for the AIX approach to the OOM problem: a >> process may exclude itself from OOM vulnerability altogether. It places >> itself in "early allocation" mode, which means at the time it creates >> virtual memory, it reserves enough backing store for the worst case.

RE: [kvm-devel] [PATCH 3/8] SVM: add module parameter to disable NestedPaging

2008-01-25 Thread Nakajima, Jun
Joerg Roedel wrote: > To disable the use of the Nested Paging feature even if it is available in > hardware this patch adds a module parameter. Nested Paging can be disabled by > passing npt=off to the kvm_amd module. I think it's better to use a (common) parameter to qemu. That way you can

Re: CS5536 mfgpt timer setup register hangs board

2008-01-25 Thread Hasan Rashid
Jordan, Although, I am using TinyBios v.99 with MFGPT workaround disabled, and upon a subsequent write I still run in to that system hang problem. To try out that fix u mentioned, I thought I enable the workaround in the BIOS and then apply the fix, It still hangs. I am dumping this info from

Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()

2008-01-25 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: Now, all of this reminds me of something somewhat messy: if we share the kernel page tables for trampoline page tables, as discussed elsewhere, we HAVE to do a complete, all-tlb-including-global-pages flush after use, since the kernel pages are global and otherwise

Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()

2008-01-25 Thread Jeremy Fitzhardinge
H. Peter Anvin wrote: Keir Fraser wrote: On 25/1/08 22:54, "Jeremy Fitzhardinge" <[EMAIL PROTECTED]> wrote: The only possibly relevant comment I can find in vol3a is: Older IA-32 processors that implement the PAE mechanism use uncached accesses when loading page-directory-pointer

Re: [RFC] Parallelize IO for e2fsck

2008-01-25 Thread Zan Lynx
On Fri, 2008-01-25 at 04:09 -0700, Andreas Dilger wrote: > On Jan 24, 2008 17:25 -0700, Zan Lynx wrote: > > Have y'all been following the /dev/mem_notify patches? > > http://article.gmane.org/gmane.linux.kernel/628653 > > Having the notification be via poll() is a very restrictive processing >

[GIT PATCH] SCSI updates for 2.6.24 (part 1)

2008-01-25 Thread James Bottomley
We have a difficult merge this time; the SCSI tree is split between components that can go now and pieces that are waiting on other trees. Part 1 is the components that can go now ... you'll be getting part 2 towards the end of the merge window. There's misc driver updates, the accessor

[PATCH] 2.4: Back-port of pl2303.c from 2.6.23.14

2008-01-25 Thread David Newall
I experienced major major data loss on a PL-2303 USB-serial converter under 2.4.36, which I remedied by back-porting the pl2303.c from the latest 2.6 kernel tree. --- diff -u linux-2.4.36/drivers/usb/serial/pl2303.c.orig linux-2.4.36/drivers/usb/serial/pl2303.c --- pl2303.c.orig

using LKML for subsystem development (was Re: Linux 2.6.24)

2008-01-25 Thread Stefan Richter
(I already deleted the posting I'm going to reply to, therefore References and In-Reply-To are wrong. Sorry.) On 2008-01-25, Ingo Molnar wrote in http://lkml.org/lkml/2008/1/25/320: > * Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: >> As a tester, I'm not so happy. >> The last few merge

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Jon Masters
On Sat, 2008-01-26 at 01:27 +0100, Peter Zijlstra wrote: > On Sat, 2008-01-26 at 01:05 +0100, Ingo Molnar wrote: > > * Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > > My wish is that distros would just boot without requiring an initrd. I > > > know how to make them for redhat and debian

Re: Unpredictable performance

2008-01-25 Thread Nick Piggin
On Saturday 26 January 2008 02:03, Asbjørn Sannes wrote: > Asbjørn Sannes wrote: > > Nick Piggin wrote: > >> On Friday 25 January 2008 22:32, Asbjorn Sannes wrote: > >>> Hi, > >>> > >>> I am experiencing unpredictable results with the following test > >>> without other processes running (exception

Re: [PATCH] x86_32: trim memory by updating e820 v2

2008-01-25 Thread Justin Piszcz
On Fri, 25 Jan 2008, Yinghai Lu wrote: On Jan 25, 2008 4:01 PM, Justin Piszcz <[EMAIL PROTECTED]> wrote: ... Tried it, it worked successfully! With stock kernel, previous way I had to use it was mem=8832M and top showed this: top - 18:53:52 up 1 min, 2 users, load average: 1.03,

Q: x86 suspend/hibernation code consolidation

2008-01-25 Thread Rafael J. Wysocki
Hi, I'd like to move the 64-bit suspend/hibernation files from arch/x86/kernel to arch/x86/power, modify the names of the 32-bit files already in arch/x86/power and update the Makefiles accordingly, but there are some changes queued for merging that touch the files in question. When is the right

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Peter Zijlstra
On Sat, 2008-01-26 at 01:05 +0100, Ingo Molnar wrote: > * Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > My wish is that distros would just boot without requiring an initrd. I > > know how to make them for redhat and debian based distros, but the > > fact that you can't (easily) cross-build

Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()

2008-01-25 Thread H. Peter Anvin
Ingo Molnar wrote: * Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: Is there any guide about the tradeoff of when to use invlpg vs flushing the whole tlb? 1 page? 10? 90% of the tlb? i made measurements some time ago and INVLPG was quite uniformly slow on all important CPU types - on the

Re: CS5536 mfgpt timer setup register hangs board

2008-01-25 Thread Hasan Rashid
This is what TinyBios posts --- PC Engines ALIX.2 v0.99 640 KB Base Memory 130048 KB Extended Memory 01F0 Master 848A CF 128MB Phys C/H/S 1002/8/32 Log C/H/S 1002/8/32 BIOS setup: (9) 9600 baud (2) 19200 baud *3* 38400 baud (5) 57600 baud (1) 115200 baud

Re: [PATCH] x86_32: trim memory by updating e820 v2

2008-01-25 Thread Yinghai Lu
On Jan 25, 2008 4:01 PM, Justin Piszcz <[EMAIL PROTECTED]> wrote: > > ... > Tried it, it worked successfully! > > With stock kernel, previous way I had to use it was mem=8832M and top > showed this: > > top - 18:53:52 up 1 min, 2 users, load average: 1.03, 0.30, 0.10 > Tasks: 169 total, 1

Re: [PATCH 158/196] Driver core: convert block from raw kobjects

2008-01-25 Thread Alexander van Heukelum
Fix build with CONFIG_BLOCK off. Building git-2d94dfc with CONFIG_BLOCK turned off gives me: drivers/base/core.c: In function 'device_add_class_symlinks': drivers/base/core.c:704: error: 'part_type' undeclared (first use in this function) drivers/base/core.c:704: error: (Each undeclared

nfs server patches not in 2.6.25

2008-01-25 Thread J. Bruce Fields
Just some idea what we might be working on for 2.6.26, besides continued bug-fixing and cleanup: Work that we already have patches for and that I expect to be included in whole or in 2.6.26: - ipv6: Aurélien Charbon's patch to add ipv6 support to the server's export interface

Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()

2008-01-25 Thread H. Peter Anvin
Keir Fraser wrote: On 25/1/08 22:54, "Jeremy Fitzhardinge" <[EMAIL PROTECTED]> wrote: The only possibly relevant comment I can find in vol3a is: Older IA-32 processors that implement the PAE mechanism use uncached accesses when loading page-directory-pointer table entries. This

Re: [PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()

2008-01-25 Thread Ingo Molnar
* Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > Is there any guide about the tradeoff of when to use invlpg vs > flushing the whole tlb? 1 page? 10? 90% of the tlb? i made measurements some time ago and INVLPG was quite uniformly slow on all important CPU types - on the order of 100+

Re: [GIT PATCH] driver core patches against 2.6.24

2008-01-25 Thread Ingo Molnar
* Peter Zijlstra <[EMAIL PROTECTED]> wrote: > My wish is that distros would just boot without requiring an initrd. I > know how to make them for redhat and debian based distros, but the > fact that you can't (easily) cross-build them makes it a very tedious > construct. all it takes for me

Re: CS5536 mfgpt timer setup register hangs board

2008-01-25 Thread Jordan Crouse
On 25/01/08 15:50 -0800, Hasan Rashid wrote: > > Hi, > > I have been working on a watchdog timer using the mfgpt on AMD Geode > CS5536. I initialize the setup register MFGPT0_SETUP (0x6206) with hex > value 0x306 (110110b). However, after this first initialization if I > ever read/write to

Re: [PATCH] x86_32: trim memory by updating e820 v2

2008-01-25 Thread Justin Piszcz
On Tue, 22 Jan 2008, Yinghai Lu wrote: On Monday 21 January 2008 01:37:09 pm Justin Piszcz wrote: On Mon, 21 Jan 2008, Yinghai Lu wrote: On Monday 21 January 2008 11:14:02 am Justin Piszcz wrote: please get x86.git git clone

Re: [build bug] ./drivers/crypto/hifn_795x.c

2008-01-25 Thread Ingo Molnar
* Herbert Xu <[EMAIL PROTECTED]> wrote: > On Sat, Jan 26, 2008 at 12:51:31AM +0100, Ingo Molnar wrote: > > > > find a workaround below - but i'm not sure it's the right one. > > Thanks, but I've already checked in a fix :) hey, that's my punishment for not reading my email promptly :) Could

Re: [build bug] ./drivers/crypto/hifn_795x.c

2008-01-25 Thread Herbert Xu
On Sat, Jan 26, 2008 at 12:51:31AM +0100, Ingo Molnar wrote: > > find a workaround below - but i'm not sure it's the right one. Thanks, but I've already checked in a fix :) -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page:

Re: [build bug] ./drivers/crypto/hifn_795x.c

2008-01-25 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > randconfig testing found this (post-v2.6.24) build bug: > > drivers/built-in.o: In function `hifn_unregister_rng': > hifn_795x.c:(.text+0x17bbd9): undefined reference to `hwrng_unregister' > drivers/built-in.o: In function `hifn_probe': >

Re: Linux 2.6.24

2008-01-25 Thread Stefan Richter
Giacomo A. Catenazzi wrote: >> On Friday, 25 of January 2008, [EMAIL PROTECTED] wrote: [-mm] >>> should flush out most of the truly stupid mistakes, but those are >>> usually found and fixed literally within hours. Anyhow, the proper >>> time for test compiles is *before* it goes into the git

  1   2   3   4   5   6   7   8   9   10   >