Re: Plans for mISDN? Was: [PATCH 00/14] [ISDN] ...

2008-02-19 Thread Andi Kleen
On Tue, Feb 19, 2008 at 09:50:33AM +0100, Sam Ravnborg wrote: > Only issue seems that this large ISDN user base is not very active > in respect to Linux driver development. They don't need to because this stuff basically works and there isn't much new hardware anymore and no new standards and it a

Re: My system stops during startup with curretn git tree of 2.6.25-rc2

2008-02-19 Thread Jens Axboe
On Mon, Feb 18 2008, David Miller wrote: > From: Laszlo Attila Toth <[EMAIL PROTECTED]> > Date: Mon, 18 Feb 2008 18:03:47 +0100 > > > Hello, > > > > Rafael J. Wysocki wrote: > > > On Monday, 18 of February 2008, Laszlo Attila Toth wrote: > > > > > > > > > All in all, I gather you wanted me to te

Re: USB HID: Missing keys on Gyration Media Center Universal Remote Control

2008-02-19 Thread Jiri Kosina
On Tue, 12 Feb 2008, Adolfo R. Brandes wrote: > However, the TV key is still not seen by the X server (tested using > xev and evrouter). I'm attaching 3 files: > * hid-input.c.patch: your patch with compilation warnings and errors > fixed, against 2.6.24-rc6. > * kern0.log: hid-debug and evbug ou

Re: [RFC][PATCH 2/2] sched: fair-group: per root-domain load balancing

2008-02-19 Thread Gregory Haskins
Peter Zijlstra wrote: On Fri, 2008-02-15 at 11:46 -0500, Gregory Haskins wrote: but perhaps you can convince me that it is not needed? (i.e. I am still not understanding how the timer guarantees the stability). ok, let me try again. So we take rq->lock, at this point we know rd is va

Re: [PATCH 4/5] ide-generic: use ide_find_port()

2008-02-19 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> Index: b/drivers/ide/ide-generic.c ==

Re: notsc is ignored on common configurations

2008-02-19 Thread Ingo Molnar
* Pavel Machek <[EMAIL PROTECTED]> wrote: > notsc is ignored in 32-bit kernels if CONFIG_X86_TSC is on.. which is > bad, fix it. thanks, applied. > -static unsigned int ref_freq = 0; > -static unsigned long loops_per_jiffy_ref = 0; > -static unsigned long cpu_khz_ref = 0; > +static unsigned in

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread KAMEZAWA Hiroyuki
On Tue, 19 Feb 2008 09:58:38 +0100 Jens Axboe <[EMAIL PROTECTED]> wrote: > > when I inserted printk here > > == > > for (i = 0; i < nr; i++) > > func(ioc, cics[i]); > > printk("%d %lx\n", nr, index); > > == > > index was always "1" and nr was always 32. > > > > So, cics[31]->k

Re: [patch] my mmu notifiers

2008-02-19 Thread Robin Holt
On Tue, Feb 19, 2008 at 09:43:57AM +0100, Nick Piggin wrote: > So I implemented mmu notifiers slightly differently. Andrea's mmu notifiers > are rather similar. However I have tried to make a point of minimising the > impact the the core mm/. I don't see why we need to invalidate or flush > anythin

notsc is ignored on common configurations

2008-02-19 Thread Pavel Machek
notsc is ignored in 32-bit kernels if CONFIG_X86_TSC is on.. which is bad, fix it. Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> diff --git a/arch/x86/kernel/tsc_32.c b/arch/x86/kernel/tsc_32.c index fafd9dc..3804fbe 100644 --- a/arch/x86/kernel/tsc_32.c +++ b/arch/x86/kernel/tsc_32.c @@ -28,7

[WATCHDOG] v2.5.25-rc patches

2008-02-19 Thread Wim Van Sebroeck
Hi Linus, Please pull from 'master' branch of git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git or if master.kernel.org hasn't synced up yet: master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git This will update the following files: driv

Re: [PATCH 0/8] AMD opteron mm config numa etc

2008-02-19 Thread Ingo Molnar
* Yinghai Lu <[EMAIL PROTECTED]> wrote: > please check some amd opteron related mmconf and numa patches > > could make up for system that system have acpi problem or still can > mmconf and numa when acpi=off Greg, any deep objections against these patches? (other than that they need a good am

RE: [BUG][RFC][GENERIC IRQ] linux-2.6.24 (delayed) disable IRQ feature not functional for handle_simple_irq

2008-02-19 Thread Hennerich, Michael
>From: Thomas Gleixner, Dienstag, 19. Februar 2008 11:49 >Subject: Re: [BUG][RFC][GENERIC IRQ] linux-2.6.24 (delayed) disable IRQ >feature not functional for handle_simple_irq > >On Tue, 19 Feb 2008, Hennerich, Michael wrote: >> Thomas, >> >> I have reasonable doubt that the delayed disable featur

[PATCH 2/2] rculist.h: use the rcu API

2008-02-19 Thread Franck Bui-Huu
From: Franck Bui-Huu <[EMAIL PROTECTED]> This patch makes almost all list mutation primitives use rcu_assign_pointer(). The main point of this being readability improvement. Signed-off-by: Franck Bui-Huu <[EMAIL PROTECTED]> --- include/linux/rculist.h | 23 +-- 1 files cha

2.6.25-rc2 regression - hang on suspend

2008-02-19 Thread Soeren Sonnenburg
Hi, since 2.6.25-rc1 (first version I tried) and still in rc2 (and git), I see a hang on s2ram already when trying to suspend. This is on a macbookpro 1,1 - which steps should I do next to help isolating the problem? Soeren -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-19 Thread Clemens Koller
Andrew Morton schrieb: On Tue, 19 Feb 2008 12:27:54 +0100 Clemens Koller <[EMAIL PROTECTED]> wrote: Benjamin Herrenschmidt schrieb: On Tue, 2008-02-19 at 00:35 +0100, Clemens Koller wrote: [EMAIL PROTECTED] schrieb: On Mon, 18 Feb 2008 08:18:47 +0100, Krzysztof Helt said: I know two fb drive

Re: tsc breaks atkbd suspend

2008-02-19 Thread Pavel Machek
On Mon 2008-02-18 16:12:40, Thomas Gleixner wrote: > On Mon, 18 Feb 2008, Pavel Machek wrote: > > > I do not understand, what you mean. When exactly is "sleeppy test" > > > running ? > > > > from late_initcall(). > > Has the system already switched to highres/nohz mode at this point ? I guess so

Re: [patch] suspend/resume self-test

2008-02-19 Thread Pavel Machek
On Mon 2008-02-18 12:16:24, David Brownell wrote: > On Monday 18 February 2008, Ingo Molnar wrote: > > > > * David Brownell <[EMAIL PROTECTED]> wrote: > > > > > > >   - Includes a command line parameter, which needs work yet ... it > > > > >     currently turns this test off, but it should also l

Re: notsc is ignored on common configurations

2008-02-19 Thread Pavel Machek
On Tue 2008-02-19 12:26:32, Ingo Molnar wrote: > > * Pavel Machek <[EMAIL PROTECTED]> wrote: > > > notsc is ignored in 32-bit kernels if CONFIG_X86_TSC is on.. which is > > bad, fix it. > > thanks, applied. > > > -static unsigned int ref_freq = 0; > > -static unsigned long loops_per_jiffy_ref

Re: [RFC] ext3 freeze feature

2008-02-19 Thread t-sato
Hi, >#defineFS_IOC_GETFLAGS _IOR('f', 1, long) >#defineFS_IOC_SETFLAGS _IOW('f', 2, long) > >as generic vfs ioctls. These ioctls started out as >EXT2_IOC_SETFLAGS/EXT2_IOC_GETFLAGS but they were generically useful, >other filesystems picked them up

Re: tsc breaks atkbd suspend

2008-02-19 Thread Pavel Machek
TSC is used even on machines when CONFIG_X86_TSC is not set (X86_TSC means _require_ TSC), but it is not properly disabled when it is unusable, because acpi code understood the config switch as "may use TSC". This actually fixes suspend problems on my x60. Signed-off-by: Pavel Machek <[EMAIL PRO

Re: tsc breaks atkbd suspend

2008-02-19 Thread Pavel Machek
Hi! This is wrong: #ifdef CONFIG_X86_TSC static int __init tsc_setup(char *str) { printk(KERN_WARNING "notsc: Kernel compiled with CONFIG_X86_TSC, " "cannot disable TSC.\n"); return 1; } #else /* * disable flag for tsc. Takes effect by clearing the

Re: [PATCH] x86: define outb_pic and inb_pic to stop using outb_p and inb_p

2008-02-19 Thread Ingo Molnar
* David P. Reed <[EMAIL PROTECTED]> wrote: > x86: define outb_pic and inb_pic to stop using outb_p and inb_p > > The delay between io port accesses to the PIC is now defined using > outb_pic and inb_pic. This fix provides the next step, using > udelay(2) to define the *PIC specific* timing r

Re: Is Infineon PEB 3332 EL supported in Linux?

2008-02-19 Thread Clemens Koller
CIJOML schrieb: Hi there, I would like flash my D-link DVG-G1402S with linux ADM5120 port. It should be possible, but I would like still use it as a SIP gateway. There is Infineon PEB 3332 EL responsible for that job, so my question is if it is supported. BTW this router's internals photos ar

Re: [PATCH 6/8] net: use numa_node in net_devcice->dev instead of parent

2008-02-19 Thread David Miller
From: Ingo Molnar <[EMAIL PROTECTED]> Date: Tue, 19 Feb 2008 12:21:46 +0100 > > * Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > struct sk_buff *__netdev_alloc_skb(struct net_device *dev, > > unsigned int length, gfp_t gfp_mask) > > { > > - int node = dev->dev.parent ? dev_to_node(d

Re: [PATCH 4/4] ide-disk: fix issues found by checkpatch.pl

2008-02-19 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: There are no changes to the resulting drivers/ide/ide-disk.o binary file (md5sum-s after and before the patch match). Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]> MBR, Sergei -- To unsubscribe f

Re: USB HID: Missing keys on Gyration Media Center Universal Remote Control

2008-02-19 Thread Jiri Kosina
On Tue, 19 Feb 2008, Jiri Kosina wrote: > but only the "release" report, that is sent just afterwards, seems to have > reached HID layer, I don't know why. Could you please test the patch > below, and send me the output? BTW the patch is against 2.6.25-rc2, it won't apply to pre-2.6.25-rcX ker

Re: [PATCH 03/12] ide: add ide-4drives host driver

2008-02-19 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: CONFIG_BLK_DEV_4DRIVES deserves its own host driver: * Add drivers/ide/legacy/ide-4drives.c and move "4drives" support there. * Add ide-4drives.o in the link order after all other legacy host drivers enabled by "ide0=" options (they all are mutually exclu

Re: [PATCH, RFC] kthread: (possibly) a missing memory barrier in kthread_stop()

2008-02-19 Thread Dmitry Adamushko
On 19/02/2008, Andy Whitcroft <[EMAIL PROTECTED]> wrote: > [ ... ] > > > diff --git a/kernel/kthread.c b/kernel/kthread.c > > index 0ac8878..5167110 100644 > > --- a/kernel/kthread.c > > +++ b/kernel/kthread.c > > @@ -211,6 +211,10 @@ int kthread_stop(struct task_struct *k) > > > > /* Now set

Re: 2.6.25-rc1-sha1: WARNING: at lib/kref.c:43 kref_get+0x20/0x30()

2008-02-19 Thread Kay Sievers
On Tue, 2008-02-19 at 15:03 +0300, Alexey Dobriyan wrote: > On Tue, Feb 19, 2008 at 09:19:25AM +0100, Kay Sievers wrote: > > On Feb 18, 2008 1:59 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Fri, 15 Feb 2008 14:08:53 +0300 Alexey Dobriyan <[EMAIL PROTECTED]> > > > wrote: > > > > > > > Boo

Re: Linux 2.6.25-rc2

2008-02-19 Thread Mathieu Desnoyers
* Ingo Molnar ([EMAIL PROTECTED]) wrote: > > * Pekka Enberg <[EMAIL PROTECTED]> wrote: > > > Mathieu, Christoph is on vacation and I'm not at all that familiar > > with this cmpxchg_local() optimization, so if you could take a peek at > > this bug report to see if you can spot something obvious

Re: 2.6.25-rc2 regression - hang on suspend

2008-02-19 Thread Tino Keitel
On Tue, Feb 19, 2008 at 12:59:46 +0100, Soeren Sonnenburg wrote: > Hi, > > since 2.6.25-rc1 (first version I tried) and still in rc2 (and git), I > see a hang on s2ram already when trying to suspend. > > This is on a macbookpro 1,1 - which steps should I do next to help > isolating the problem?

Re: [PATCH, RFC] kthread: (possibly) a missing memory barrier in kthread_stop()

2008-02-19 Thread Andy Whitcroft
On Tue, Feb 19, 2008 at 12:03:37AM +0100, Dmitry Adamushko wrote: > > Hi, > > > [ description ] > > Subject: kthread: add a memory barrier to kthread_stop() > > 'kthread' threads do a check in the following order: > - set_current_state(TASK_INTERRUPTIBLE); > - kthread_should_stop(); > > and s

Where to put adapters

2008-02-19 Thread Karl Dahlke
Now that notifiers are in, (yay!), people are going to start writing adapters for visually and motor impaired individuals. I suggest we place them in drivers/adapters in the source tree, and I suggest they put their virtual files in the directory /proc/adapters, which would be created via fs/proc/r

Re: [patch 3/6] mmu_notifier: invalidate_page callbacks

2008-02-19 Thread Andrea Arcangeli
On Tue, Feb 19, 2008 at 07:46:10PM +1100, Nick Piggin wrote: > On Sunday 17 February 2008 06:22, Christoph Lameter wrote: > > On Fri, 15 Feb 2008, Andrew Morton wrote: > > > > > flush_cache_page(vma, address, pte_pfn(*pte)); > > > > entry = ptep_clear_flush(vma, add

Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bootup on powerpc

2008-02-19 Thread Kamalesh Babulal
Jens Axboe wrote: > On Tue, Feb 19 2008, KAMEZAWA Hiroyuki wrote: >> On Sun, 17 Feb 2008 20:29:13 +0100 >> Jens Axboe <[EMAIL PROTECTED]> wrote: >> >>> It's odd stuff. Could you perhaps try and add some printks to >>> block/cfq-iosched.c:call_for_each_cic(), like dumping the 'nr' return >>> from ra

Re: [PATCH, RFC] kthread: (possibly) a missing memory barrier in kthread_stop()

2008-02-19 Thread Dmitry Adamushko
btw., (a bit more of 'nit-picking' :-) to work properly, kthread_stop() should also impose one of the following requirements on a 'kthread' loop: - a loop can be interrupted _only_ as a result of 'kthread_should_stop() == true' and no concurrent kthread_stop() calls are possible; or - if it ca

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

2008-02-19 Thread Andrea Arcangeli
On Tue, Feb 19, 2008 at 07:54:14PM +1100, Nick Piggin wrote: > As far as sleeping inside callbacks goes... I think there are big > problems with the patch (the sleeping patch and the external rmap > patch). I don't think it is workable in its current state. Either > we have to make some big changes

Re: cpuset trivial documentation fix s/N_MEMORY/N_HIGH_MEMORY/

2008-02-19 Thread Paul Jackson
KOSAKI-san wrote: > +++ b/Documentation/cpusets.txt 2008-02-19 19:37:14.0 +0900 > ... > -automatically tracks the value of node_states[N_MEMORY]--i.e., > +automatically tracks the value of node_states[N_HIGH_MEMORY]--i.e., Thanks. Acked-by: Paul Jackson <[EMAIL PROTECTED]> --

git tree with VFS stuff

2008-02-19 Thread Miklos Szeredi
I've created a git tree with the following mounts related stuff: - read-only bind mounts - /proc//mountinfo - unprivileged mounts git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfsstuff.git master I guess, giving these a spin in linux-next wouldn't hurt? Thanks, Miklos Dave Hans

Improve init/Kconfig help descriptions [PATCH 0/9]

2008-02-19 Thread Nick Andrew
Here is a series of 9 patches to init/Kconfig intended to improve the usefulness and consistency of the help descriptions. The patches are against linux-2.6.24.2. Rationale: Even though I've been using Unix for 20+ years, I find it sometimes daunting to configure a linux kernel. The help descrip

Improve init/Kconfig help descriptions [PATCH 1/9]

2008-02-19 Thread Nick Andrew
On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: > Here is a series of 9 patches to init/Kconfig intended to improve the > usefulness and consistency of the help descriptions. The patches are > against linux-2.6.24.2. > [...] > Patch 1 > EXPERIMENTAL > LOCALVERSION > L

Re: 2.6.25-rc[12] Video4Linux Bttv Regression

2008-02-19 Thread Mauro Carvalho Chehab
On Tue, 19 Feb 2008 01:21:36 +0200 Bongani Hlope <[EMAIL PROTECTED]> wrote: > On Monday 18 February 2008 23:20:40 Bongani Hlope wrote: > > On Monday 18 February 2008 18:11:25 Mauro Carvalho Chehab wrote: > > > Have you tested Robert's patch? > > > > Sorry almost forgot, I have and it fixes the TV

Re: [RFC][PATCH] the proposal of improve page reclaim by throttle

2008-02-19 Thread Rik van Riel
On Tue, 19 Feb 2008 17:34:59 +1100 Nick Piggin <[EMAIL PROTECTED]> wrote: > On Tuesday 19 February 2008 16:44, KOSAKI Motohiro wrote: > > background > > > > current VM implementation doesn't has limit of # of parallel reclaim. > > when heavy workload, it br

Ideal Architecture for Linux

2008-02-19 Thread James Crosby
>From the point of view of one about to try to port the Linux kernel to a new architecture: I have recently been examining some of the existing ports of Linux to architectures like various ARMs, SuperH, MIPS, m68k and nios2, and I have realised that there are hardware features that are completely

Re: [patch] my mmu notifiers

2008-02-19 Thread Andrea Arcangeli
On Tue, Feb 19, 2008 at 09:43:57AM +0100, Nick Piggin wrote: > are rather similar. However I have tried to make a point of minimising the > impact the the core mm/. I don't see why we need to invalidate or flush I also tried hard to minimise the impact of the core mm/, I also argued with Christoph

Re: Linux 2.6.25-rc2

2008-02-19 Thread Ingo Molnar
* Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > Ingo, a comment in slub.c explains it : > > /* > * The SLUB_FASTPATH path is provisional and is currently disabled if the > * kernel is compiled with preemption or if the arch does not support > * fast cmpxchg operations. There are a couple of

[PATCH] lib: Handle failed malloc.

2008-02-19 Thread Jim Meyering
* lib/inflate.c (inflate_dynamic): Don't deref NULL upon failed malloc. Signed-off-by: Jim Meyering <[EMAIL PROTECTED]> --- diff --git a/lib/inflate.c b/lib/inflate.c index 845f91d..9762294 100644 --- a/lib/inflate.c +++ b/lib/inflate.c @@ -811,6 +811,9 @@ DEBG("http://vger.kernel.org/majordomo-i

Re: Linux 2.6.25-rc2

2008-02-19 Thread Pekka Enberg
Hi Mathieu, On Feb 19, 2008 4:02 PM, Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > > Since this shows mostly with network card drivers, I think the most > > plausible cause would be an IRQ nesting over kmem_cache_alloc_node and > > calling it. On Feb 19, 2008 4:21 PM, Pekka Enberg <[EMAIL PROTEC

Improve init/Kconfig help descriptions [PATCH 4/9]

2008-02-19 Thread Nick Andrew
On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: > Here is a series of 9 patches to init/Kconfig intended to improve the > usefulness and consistency of the help descriptions. The patches are > against linux-2.6.24.2. > [...] > Patch 4 > AUDIT > AUDITSYSCALL Changelog: Imp

Re: [patch] suspend/resume self-test

2008-02-19 Thread Ingo Molnar
* David Brownell <[EMAIL PROTECTED]> wrote: > > And, at least to me, there seems to be a rather apparent correlation > > between "suspend/resume regressions caught as early as possible" and > > the future, desired state of: "STR working sanely on x86" ;-) > > Thing is, this will catch not just

Re: [PATCH] wireless: Convert to list_for_each_entry_rcu()

2008-02-19 Thread Roel Kluin
Roel Kluin wrote: > Please verify, this patch was not yet tested. > --- > Convert list_for_each_rcu() to list_for_each_entry_rcu() > > Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> > --- Same mistake as in other patch, please ignore the previous patch and consider the patch below. --- Convert list

Intel Core2Duo mobile - how does the VID get set?

2008-02-19 Thread Brian Morrison
After a fair bit of Googling and reading around, I'm none the wiser about exactly how Linux 2.6.x sets the processor VID (or for that matter how it decides the FID settings) when using the ondemand governor and cpufreq stuff. Can anyone tell me a) whether this is obtained from the BIOS, someth

Improve init/Kconfig help descriptions [PATCH 3/9]

2008-02-19 Thread Nick Andrew
On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: > Here is a series of 9 patches to init/Kconfig intended to improve the > usefulness and consistency of the help descriptions. The patches are > against linux-2.6.24.2. > [...] > Patch 3 > USER_NS > PID_NS Changelog: Improve

[ANNOUNCE,RFC] rcuhashbash synchronization benchmark module

2008-02-19 Thread Josh Triplett
Some time ago, I developed a new algorithm for moving a hash table element to a new key and new bucket in an atomic fashion, without locking. This algorithm works with synchronization techniques like RCU, which allow writers to proceed without waiting for readers, and delay the visibility of some

Re: [PATCH] Make sysctl a separate filesystem

2008-02-19 Thread Stephen Smalley
On Fri, 2008-02-15 at 13:39 +0300, Pavel Emelyanov wrote: > Sysctl files/inodes now have their own readdir and lookup > methods, so there is one step left in turning this into a > separate filesystem. > > The benefits of this are: > > 1. this will allow to remove a fancy revalidation rules from

Re: Linux 2.6.25-rc2

2008-02-19 Thread Mathieu Desnoyers
* Pekka Enberg ([EMAIL PROTECTED]) wrote: > On Feb 19, 2008 8:54 AM, Torsten Kaiser <[EMAIL PROTECTED]> wrote: > > > > [ 5282.056415] [ cut here ] > > > > [ 5282.059757] kernel BUG at lib/list_debug.c:33! > > > > [ 5282.062055] invalid opcode: [1] SMP > > > > [ 5282.062

Re: [patch] my mmu notifiers

2008-02-19 Thread Jack Steiner
> On Tue, Feb 19, 2008 at 02:58:51PM +0100, Andrea Arcangeli wrote: > > understand the need for invalidate_begin/invalidate_end pairs at all. > > The need of the pairs is crystal clear to me: range_begin is needed > for GRU _but_only_if_ range_end is called after releasing the > reference that the

Re: ftrace and kexec

2008-02-19 Thread Ingo Molnar
* Dhaval Giani <[EMAIL PROTECTED]> wrote: > Hi, > > I've been running ftrace on the sched-devel tree. I just built a > kernel and tried rebooting using kexec and I get this, hm, it's not a good idea to keep using the data structures of the tracer while we kexec. Does the patch below resolve t

sun neptune driver

2008-02-19 Thread Omar Schiaratura
Hi all, i'm trying to write a back-porting of the Sun neptune NIC driver(niu module) in kernel 2.6.24 to the kernel 2.6.20 because i need that driver in a xen linux environment. The driver now compile and goes up clearly, NIC is configured, but doesn't work properly. If i send packets to another

Re: [PATCH] Fix building lguest as module.

2008-02-19 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > +#endif > > + > > +#if defined(CONFIG_LGUEST) || defined(CONFIG_LGUEST_MODULE) > > + BLANK(); > > hm. Rusty's original fix is now upstream. I've done a delta to your > patch, find the fix is below. the right one is below. There's no 'LGUEST_MODULE

[PATCH] dm raid1: bitops bug.

2008-02-19 Thread Heiko Carstens
From: Heiko Carstens <[EMAIL PROTECTED]> Commit 8f0205b798f926e2745de5fdebf0a8605c621de6 "dm raid1: handle recovery failures" introduces a test_bit on an integer. test_bit is only defined to do something useful on arrays of long. Remove the test_bit code and use hand coded test bit instead. Cc: J

Re: Improve init/Kconfig help descriptions [PATCH 2/9]

2008-02-19 Thread Nick Andrew
On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: > Here is a series of 9 patches to init/Kconfig intended to improve the > usefulness and consistency of the help descriptions. The patches are > against linux-2.6.24.2. > [...] > Patch 2 > TASKSTATS > TASK_DELAY_ACCT > T

Re: [PATCH] [MIPS] Enable the timerfd_*() o32 system calls

2008-02-19 Thread Ralf Baechle
On Tue, Feb 19, 2008 at 12:02:37AM +0300, Dmitri Vorobiev wrote: > This patch enables the system calls timerfd_create(), timerfd_settime() > and timerfd_gettime() for MIPS architecture. > > Please see the following Bugzilla entry for more details: > > http://bugzilla.kernel.org/show_bug.cgi?id=1

Re: [2.6 patch] mips: finish the Qemu platform removal

2008-02-19 Thread Ralf Baechle
On Sun, Feb 17, 2008 at 10:09:51PM +0200, Adrian Bunk wrote: > The following files can now be removed: > - arch/mips/configs/qemu_defconfig > - include/asm-mips/qemu.h Applied. Thanks, Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: "ide=reverse" do we still need this?

2008-02-19 Thread Ken Moffat
On Wed, Feb 13, 2008 at 03:32:49PM +, Ken Moffat wrote: > On Tue, Feb 12, 2008 at 08:43:04PM -0800, Greg KH wrote: > > > > Can't you just boot with /dev/disk/by-id/ and an initramfs to not have > > to worry about such a thing in the future? > > Initramfs isn't something I've ever tried, so

Re: [PATCH 2.6.24] block2mtd: removing a device and typo fixes

2008-02-19 Thread Jörn Engel
[ Just returned home. ] On Tue, 12 February 2008 16:10:34 +, Stephane Chazelas wrote: > > OK, I can do that. Would the "simple" fix go to the > [EMAIL PROTECTED] Trivial Patch Monkey? That or to me or to dwmw2... I'm not too picky about the path, as long as it gets merged eventually. > > T

Re: [PATCH] [RFC] Smack update for file capabilities

2008-02-19 Thread Stephen Smalley
On Mon, 2008-02-18 at 15:58 -0800, Casey Schaufler wrote: > From: Casey Schaufler <[EMAIL PROTECTED]> > > This patch assumes "Smack unlabeled outgoing ambient packets - v4" > which is one reason it's RFC. > > Update the Smack LSM to allow the registration of the capability > "module" as a second

Re: Improve init/Kconfig help descriptions [PATCH 3/9]

2008-02-19 Thread Nick Andrew
On Tue, Feb 19, 2008 at 05:42:07PM +0300, Pavel Emelyanov wrote: > Nick Andrew wrote: > > On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: > >> Here is a series of 9 patches to init/Kconfig intended to improve the > >> usefulness and consistency of the help descriptions. The patches are

[patch 08/13] qdio: fix qdio_activate timeout handling.

2008-02-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Current code in qdio_activate waits for at least 5 seconds until it returns. It may return earlier if an error occurs, but not if everything is ok. This large timeout value became visible with commit dfa77f611ff295598e218aa0eb6efa73a5cf26d0 "qdio: set QDIO_

[PATCH] ide-cd: remove the internal 64k buffer

2008-02-19 Thread Borislav Petkov
Hi Bart, here's one more item from my TODO list. The removal is straight forward, after testing it with all my cdrom drives they all seem even to rotate quieter due to the automatic speed adjustment of the drive to the continuous data stream bandwidth in contrast to the buffer-mode in which recurr

Re: [patch 07/13] Initialize per cpu lowcores on cpu hotplug.

2008-02-19 Thread Bastian Blank
On Tue, Feb 19, 2008 at 03:40:54PM +0100, Martin Schwidefsky wrote: > + /* > + * Only need to copy the first 512 bytes from address 0. But since > + * the compiler emits a warning if src == NULL for memcpy use copy_page > + * instead. Copies more than needed but this code is not

Re: Improve init/Kconfig help descriptions [PATCH 3/9]

2008-02-19 Thread Pavel Emelyanov
Nick Andrew wrote: > On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: >> Here is a series of 9 patches to init/Kconfig intended to improve the >> usefulness and consistency of the help descriptions. The patches are >> against linux-2.6.24.2. >> [...] >> Patch 3 >> USER_NS >> P

[patch 02/13] cio: Do timed recovery on workqueue.

2008-02-19 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> We can't do our recovery in softirq context, so we schedule it from our timer function. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/device.c | 13 - 1 file chang

Re: Linux 2.6.25-rc2

2008-02-19 Thread Ingo Molnar
* Pekka Enberg <[EMAIL PROTECTED]> wrote: > > Yes, this can happen. Are you saying it is not safe to be in the > > lockless path when an IRQ triggers? > > Hmm. The barrier() in slab_free() looks fishy. The comment says it's > there to make sure we've retrieved c->freelist before c->page but th

[patch 13/13] qdio: FCP/SCSI write I/O stagnates on LPAR

2008-02-19 Thread Martin Schwidefsky
From: Ursula Braun <[EMAIL PROTECTED]> If running on LPAR, qdio might overlook an incoming buffer in certain scenarios. The patch makes sure that incoming buffers are detected immediately in all situations. Signed-off-by: Ursula Braun <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL

Re: [spi-devel-general] atmel_spi clock polarity

2008-02-19 Thread Atsushi Nemoto
On Mon, 18 Feb 2008 23:49:18 +0100, Haavard Skinnemoen <[EMAIL PROTECTED]> wrote: > > > CLK __|~|___|~~~|___|~~~|___|~~~|___ > > > > ... and at T1 CPOL is changed?? That's wrong. There should > > never be a partial clock period while a chipselect is active. > > While it'

[patch 05/13] dasd: fix locking in __dasd_device_process_final_queue

2008-02-19 Thread Martin Schwidefsky
From: Stefan Weinhuber <[EMAIL PROTECTED]> After setting the status of the cqr and releasing the lock for the block cqr queue, we call the cqr callback function, which will usually just trigger the dasd_block_tasklet. But when the tasklet is already running the cqr might be processed before we inv

Re: [PATCH 0/8][for -mm] mem_notify v6

2008-02-19 Thread Paul Jackson
Kosaki-san wrote: > Thank you for wonderful interestings comment. You're most welcome. The pleasure is all mine. > you think kill the process just after swap, right? > but unfortunately, almost user hope receive notification before swap ;-) > because avoid swap. There is not much my customers H

Re: very poor ext3 write performance on big filesystems?

2008-02-19 Thread Chris Mason
On Tuesday 19 February 2008, Tomasz Chmielewski wrote: > Theodore Tso schrieb: > > (...) > > > The following ld_preload can help in some cases. Mutt has this hack > > encoded in for maildir directories, which helps. > > It doesn't work very reliable for me. > > For some reason, it hangs for me som

[patch 11/13] dcss: Fix Unlikely(x) != y

2008-02-19 Thread Martin Schwidefsky
From: Roel Kluin <[EMAIL PROTECTED]> Fix Unlikely(x) != y Cc: Gerald Schaefer <[EMAIL PROTECTED]> Cc: Stefan Weinhuber <[EMAIL PROTECTED]> Cc: Carsten Otte <[EMAIL PROTECTED]> Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Sch

[patch 09/13] etr: fix compile error on !SMP

2008-02-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Since a5fbb6d1064be885d2a6b82f625186753cf74848 "KVM: fix !SMP build error" smp_call_function isn't a define anymore that folds into nothing but a define that calls up_smp_call_function with all parameters. Hence we cannot #ifdef out the unused code anymore.

[patch 04/13] Make sure enabled wait psw is loaded in default_idle.

2008-02-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> If both NO_IDLE_HZ and VIRT_TIMER are disabled default_idle won't load an enabled wait psw and busy loop instead. This is because the idle_chain is empty and the return value of atomic_notifier_call_chain will be NOTIFY_DONE, which causes default_idle to re

Re: very poor ext3 write performance on big filesystems?

2008-02-19 Thread Tomasz Chmielewski
Theodore Tso schrieb: (...) The following ld_preload can help in some cases. Mutt has this hack encoded in for maildir directories, which helps. It doesn't work very reliable for me. For some reason, it hangs for me sometimes (doesn't remove any files, rm -rf just stalls), or segfaults.

[patch 03/13] Let NR_CPUS default to 32/64 on s390/s390x.

2008-02-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: quilt-2.6/arch/s390/Kconfig ==

Improve init/Kconfig help descriptions [PATCH 6/9]

2008-02-19 Thread Nick Andrew
On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: > Here is a series of 9 patches to init/Kconfig intended to improve the > usefulness and consistency of the help descriptions. The patches are > against linux-2.6.24.2. > [...] > Patch 6 > CGROUPS > CGROUP_DEBUG > CPUSET

Please pull git390 'for-linus' branch

2008-02-19 Thread Martin Schwidefsky
Please pull from 'for-linus' branch of git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus to receive the following updates: arch/s390/Kconfig|3 +- arch/s390/kernel/process.c | 15 ++ arch/s390/kernel/smp.c | 53 +

[patch 07/13] Initialize per cpu lowcores on cpu hotplug.

2008-02-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Just copy the first 512 read-only bytes of the current cpu lowcore if a new cpu gets onlined. The rest is zeroed out and must be explicitly initialized. Current code just copies the entire lowcore and initializes the needed fields. This should reveal bugs i

Re: [patch] suspend/resume self-test

2008-02-19 Thread Ingo Molnar
* Pavel Machek <[EMAIL PROTECTED]> wrote: > > Thing is, this will catch not just regressions ... but cases where > > STR never worked in the first place. Video problems, etc. Also > > various system startup races, as in the PCMCIA and MMC/SD/SDIO cases > > I noted. > > David is right here.

[patch 12/13] Fix futex_atomic_cmpxchg_std inline assembly.

2008-02-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Add missing exception table entry so that the kernel can handle proctection exceptions as well on the cs instruction. Currently only specification exceptions are handled correctly. The missing entry allows user space to crash the kernel. Cc: stable <[EMAIL

[patch 10/13] sclp: clean up send/receive naming scheme

2008-02-19 Thread Martin Schwidefsky
From: Peter Oberparleiter <[EMAIL PROTECTED]> Make state change events adjust the correct mask by cleaning up naming inconsistencies. Also remove chance for lockup by removing unnecessary mask related check before reading events. Signed-off-by: Peter Oberparleiter <[EMAIL PROTECTED]> Signed-off-b

Improve init/Kconfig help descriptions [PATCH 5/9]

2008-02-19 Thread Nick Andrew
On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: > Here is a series of 9 patches to init/Kconfig intended to improve the > usefulness and consistency of the help descriptions. The patches are > against linux-2.6.24.2. > [...] > Patch 5 > IKCONFIG > IKCONFIG_PROC > LOG_

Re: Linux 2.6.25-rc2

2008-02-19 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > If this (or my other patch) indeed solves the problem i'd still favor > a full revert of the SLUB_FASTPATH (commit 1f84260c8ce3b1ce26d4), it > looks quite un-cooked and quite un-tested for multiple independent > reasons. > > Sigh, why do i again have

[patch 06/13] find bit corner case.

2008-02-19 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Fix [ext2_]find_first_[zero_]bit for the corner case of an all clear or all set bit field by always handling that last word of the bit field with __ffz_word/__ffs_word. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- include/asm-s390/bitops

Re: Linux 2.6.25-rc2

2008-02-19 Thread Pekka Enberg
Hi Mathieu, On Feb 19, 2008 4:02 PM, Mathieu Desnoyers <[EMAIL PROTECTED]> wrote: > - stat(c, ALLOC_FASTPATH); seems to be using a var++, therefore > indicating it is not reentrant if IRQs are disabled. Since those are > only stats, I guess it's ok, but still weird. What is not re-entrant? O

[patch 01/13] cio: Remember to initialize recovery_lock.

2008-02-19 Thread Martin Schwidefsky
From: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/cio/device.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: quilt-2.6/drivers/s390/cio/device.c ==

tee(2) and SPLICE_F_NONBLOCK and can't find eof

2008-02-19 Thread Patrick McManus
[I initially sent this query inappropriately to an individual instead of the list. My apologies.] re: tee().. I was just playing around with the simple sample on the manpage (included below) - it uses SPLICE_F_NONBLOCK as a flag. on 2.6.22 X86_64 (ubuntu 7.10) when I run the sample. the tee() sy

USB OOPS 2.6.25-rc2-git1

2008-02-19 Thread Andre Tomt
Got this on a serial console today, using 2.6.25-rc2-git1. Machine was not doing anything interesting at the time, but has its / and kernel on a usb-storage device (usb pen drive). Intel ICH8R chipset (and USB controller), running x86_64 kernel. I'll post .config and some additional info when

Re: [PATCH] fs/ext4/mballoc.c: Convert to list_for_each_entry_rcu()

2008-02-19 Thread Roel Kluin
Aneesh Kumar K.V wrote: > On Tue, Feb 19, 2008 at 01:31:18AM +0100, Roel Kluin wrote: >> Please verify, this patch was not yet tested >> --- >> Convert list_for_each_rcu() to list_for_each_entry_rcu() >> >> Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> > > > NACK. This patch doesn't build. You ha

ftrace and kexec

2008-02-19 Thread Dhaval Giani
Hi, I've been running ftrace on the sched-devel tree. I just built a kernel and tried rebooting using kexec and I get this, Please stand by while rebooting the system... [11756.528997] Starting new kernel [11741.142898] BUG: unable to handle kernel paging request at 8d2ed42c [11741.142898] IP: []

Improve init/Kconfig help descriptions [PATCH 7/9]

2008-02-19 Thread Nick Andrew
On Wed, Feb 20, 2008 at 01:06:09AM +1100, Nick Andrew wrote: > Here is a series of 9 patches to init/Kconfig intended to improve the > usefulness and consistency of the help descriptions. The patches are > against linux-2.6.24.2. > [...] > Patch 7 > EMBEDDED > SYSCTL_SYSCALL > KAL

<    1   2   3   4   5   6   7   >