Re: [PATCH][FIX] Bluetooth: always send explicit hci_ll wake-up acks

2008-01-11 Thread Ohad Ben-Cohen
n 1/11/08, David Miller <[EMAIL PROTECTED]> wrote: > From: Ohad Ben-Cohen <[EMAIL PROTECTED]> > Date: Mon, 7 Jan 2008 18:22:48 +0200 (IST) > > > In the (rare) event of simultaneous mutual wake up requests, > > do send the chip an explicit wake-up ack. This is required > > for Texas Instruments's

Re: [PATCH][RFC] fast file mapping for loop

2008-01-11 Thread Mikulas Patocka
> So I looked at the code - it seems you build a full extent of the blocks > in the file, filling holes as you go along. I initally did that as well, > but that is to slow to be usable in real life. > > You also don't support sparse files, falling back to normal fs > read/write paths. Supporting

Re: [PATCH] ACPI: Add sysfs interface for acpi device wakeup

2008-01-11 Thread Zhang Rui
On Thu, 2008-01-10 at 09:43 +0200, Maxim Levitsky wrote: > On Thursday, 10 January 2008 00:21:46 Yi Yang wrote: > > Subject: ACPI: convert procfs to sysfs for /proc/acpi/wakeup > > From: Yi Yang <[EMAIL PROTECTED]> > > > > /proc/acpi/wakeup is deprecated but it has to exist because > > we haven't

Re: [PATCH 0 of 2] x86: a couple of misc patches

2008-01-11 Thread Jan Beulich
>2. I noticed the _PAGE_PCD|_PAGE_PWT combination being used a lot, so >I created _PAGE_NOCACHE to wrap them up. asm-x86/fb.h uses plain >_PAGE_PCD; should it be _PAGE_NOCACHE too? Setting PCD but not PWT (or the other way around) is yielding not fully defined behavior (model specific) as per

Re: [PATCH] x86-64: disable the GART early v2

2008-01-11 Thread Ingo Molnar
* Yinghai Lu <[EMAIL PROTECTED]> wrote: > --- a/arch/x86/kernel/aperture_64.c > +++ b/arch/x86/kernel/aperture_64.c > @@ -218,6 +218,73 @@ static __u32 __init search_agp_bridge(u32 *order, int > *valid_agp) > return 0; > } > > +void __init early_gart_iommu_disable(void) > +{ > + /*

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-11 Thread Cornelia Huck
On Fri, 11 Jan 2008 10:33:16 +0800, "Dave Young" <[EMAIL PROTECTED]> wrote: > > > +struct device *class_find_device(struct class *class, void *data, > > > +int (*match)(struct device *, void *)) > > > +{ > > > + struct device *dev; > > > + > > > + if

PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Kumar Gala
Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is a PCIe host controller and an e1000 NIC card. It appears that pci_bus_assign_resources() is trying to call

Re: 2.6.24-rc2 libertas_sdio fails to initialize Marvell SD8686

2008-01-11 Thread Pierre Ossman
On Wed, 09 Jan 2008 14:53:58 -0500 Bill Gribble <[EMAIL PROTECTED]> wrote: > > Any other sage advice? I feel like the device is really close to > working, but I just can't get it there! > Since you're having problems with the very first part, I'm not sure I'd agree with your assessment. ;)

Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl

2008-01-11 Thread Pavel Machek
> Hi Andi, > I grepped and tried to do what you suggested. > The first file that git grep reported was: > arch/arm/common/rtctime.c:static const struct file_operations rtc_fops = { > > So I cooked up the following patch (probably mangled, just to give you > a rough idea of what I did): > diff

Re: [PATCH] x86-64: disable the GART early v2

2008-01-11 Thread Yinghai Lu
On Jan 11, 2008 12:14 AM, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > --- a/arch/x86/kernel/aperture_64.c > > +++ b/arch/x86/kernel/aperture_64.c > > @@ -218,6 +218,73 @@ static __u32 __init search_agp_bridge(u32 *order, int > > *valid_agp) > >

[PATCH 1/3] constify struct attribute_group uses

2008-01-11 Thread Jan Beulich
.. as all consumers of it don't require it to be modifiable. Unfortunately, due to the two-level constifications, this required touching quite many files, not all of which I am able to test - please bare with eventual mistakes or oversights. The patch doesn't change all instances where 'const'

[PATCH 2/3] constify struct kobj_type's default_attrs

2008-01-11 Thread Jan Beulich
In the EDAC code, I took the opportunity to replace the explicit cast initializer with a safer, cast-less mechanism (as used elsewhere), which makes this patch somewhat larger than it would have been otherwise. Again, the patch doesn't change all instances where 'const' could have been added as a

[PATCH 3/3] constify struct sysfs_ops

2008-01-11 Thread Jan Beulich
.. as again all consumers of it don't require it to be modifiable. As before, the patch doesn't change all instances where 'const' could have been added as a result of the base structure changes, only where either the change has a real effect (the module loader doesn't enforce read-only section

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-11 Thread Pierre Ossman
On Fri, 11 Jan 2008 14:17:01 +0800 "Bryan Wu" <[EMAIL PROTECTED]> wrote: > We were told this is an hardware design issue, so please help us to > workaround it in software side with Mike's patch. I'm afraid that's insufficient motivation for this change. All documentation and real world tests

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Jiri Slaby
On 01/11/2008 09:29 AM, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is a PCIe host controller and an e1000 NIC card. It appears that

2.6.22.15: kernel processes stuck in D state

2008-01-11 Thread CaT
I recently upgraded from an amd 64bit system to an intel one and changed my kernekl accordingly. Everything's great except this: root 6 0.0 0.0 00 ?D< 17:11 0:00 [migration/1] root 7 0.0 0.0 00 ?D< 17:11 0:00 [ksoftirqd/1] root

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Jiri Slaby
On 01/11/2008 05:10 AM, Daniel Walker wrote: A little feature addition to allow checkpatch.pl to check patches piped into it, in addition to specific file arguments. You can still add - as an argument to check stdin. In which way is this better? regards, -- Jiri Slaby Faculty of Informatics,

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-11 Thread Dave Young
On Jan 11, 2008 4:23 PM, Cornelia Huck <[EMAIL PROTECTED]> wrote: > On Fri, 11 Jan 2008 10:33:16 +0800, > "Dave Young" <[EMAIL PROTECTED]> wrote: > > > > > > +struct device *class_find_device(struct class *class, void *data, > > > > +int (*match)(struct device *,

[PATCH 0/4] __cpuinitconst and __devinitconst

2008-01-11 Thread Jan Beulich
Since __cpuinitdata/__devinitdata don't allow const to be specified with them (otherwise .init.data sections with and without the writeable attribute will be generated by the compiler), and since __devinitdata except for embedded systems evaluates to unconditionally and __cpuinitdata at least in

[PATCH 1/4] introduce __cpuinitconst

2008-01-11 Thread Jan Beulich
The patch doesn't change all instances where 'const' could have been added as a result of the base structure changes, only where the change has a real effect (the module loader doesn't enforce read-only section attributes at present, so only built-in files make a real difference). Signed-off-by:

[PATCH 2/4] use __cpuinitconst for x86

2008-01-11 Thread Jan Beulich
The patch probably doesn't change all instances where 'const' could have been added as a result of the base structure changes, only where the change has a real effect (the module loader doesn't enforce read-only section attributes at present, so only built-in files make a real difference).

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-11 Thread Jean Delvare
Hi Jon, On Wed, 19 Dec 2007 23:41:36 -0500, Jon Smirl wrote: > Since copying i2c-mpc.c to maintain support for the ppc architecture seems to > be an issue; instead rework i2c-mpc.c to use CONFIG_PPC_MERGE #ifdefs to > support both the ppc and powerpc architecture. When ppc is deleted in six >

[PATCH 3/4] introduce __devinitconst

2008-01-11 Thread Jan Beulich
The drivers picked just serve as examples (which I routinely build and hence am able to easily verify), i.e. as before he patch doesn't change all instances where 'const' could have been added as a result of the base change, only where the change has a real effect (the module loader doesn't

[PATCH 3/4] use __devinitconst on x86

2008-01-11 Thread Jan Beulich
The patch probably doesn't change all instances where 'const' could have been added as a result of the base structure changes, only where the change has a real effect (the module loader doesn't enforce read-only section attributes at present, so only built-in files make a real difference).

Re: [PATCH 2/3] ptrace_stop: remove the wrong ->group_stop_count bookkeeping

2008-01-11 Thread Petr Tesarik
Oleg Nesterov wrote: > On 01/10, Petr Tesarik wrote: >> I can actually see a bug which may be related: >> >> 1. a process creates a thread (or more threads) >> 2. I attach/detach to that thread with strace several times >> (each time pressing CTRL-C to quit strace) >> 3. the whole

Re: [PATCH][RFC] Simple tamper-proof device filesystem.

2008-01-11 Thread Tetsuo Handa
Hello. Indan Zupancic wrote: > > It seems to me that the alternatives you are proposing include > > modification of userland applications. But my assumption is > > that "Don't require modification of userland applications". > > If you want a secure system it isn't that unreasonable to expect >

Re: [PATCH] ACPI: Add sysfs interface for acpi device wakeup

2008-01-11 Thread Yi Yang
> > I think that it would be much much better to place wake-up attributes under > > corresponding PCI and PNP devices. > > Probably it is even better to link this code to PCI code, so PCI drivers > > will be aware of ACPI. > I like this idea, maxim. :) > And that's what we actually did about half

Re: Splice(): exports for module programmers

2008-01-11 Thread Jens Axboe
On Fri, Jan 11 2008, Chris Smowton wrote: > Just a couple of quick questions if anyone can shed light regarding > functions exported for modules relating to splice(): > > * Is there a particular reason why the useful helper __splice_from_pipe > is exported, but not the locking equivalent

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Jens Axboe
On Thu, Jan 10 2008, David Dillow wrote: > > On Thu, 2008-01-10 at 23:44 +0100, Guillaume Chazarain wrote: > > David Dillow <[EMAIL PROTECTED]> wrote: > > > > > At the moment, I'm not sure how to track this farther, or how to fix it > > > properly. Any advice would be appreciated. > > > > Just

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Kumar Gala
On Jan 11, 2008, at 2:41 AM, Jiri Slaby wrote: On 01/11/2008 09:29 AM, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0 The HW setup is a PCIe host controller

[PATCH] scripts/mkmakefile: dynamic determination of output directory

2008-01-11 Thread Jan Beulich
Rather than fixing the output directory in the generated Makefile, determine it from the placement of Makefile. This allows moving the build tree around or accessing it through different mount paths. (The lastword definition is a compatibility one for make prior to 3.81; newer make will simply

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-11 Thread Mike Frysinger
On Jan 11, 2008 3:40 AM, Pierre Ossman <[EMAIL PROTECTED]> wrote: > "Bryan Wu" <[EMAIL PROTECTED]> wrote: > > We were told this is an hardware design issue, so please help us to > > workaround it in software side with Mike's patch. > > So it's far more probable that you've misdiagnosed your error

Re: PCI Failed to allocate mem for PCI ROM

2008-01-11 Thread Jiri Slaby
On 01/11/2008 10:07 AM, Kumar Gala wrote: On Jan 11, 2008, at 2:41 AM, Jiri Slaby wrote: On 01/11/2008 09:29 AM, Kumar Gala wrote: Greg, I'm getting the following message from the kernel on an embedded ppc32 system: PCI: Failed to allocate mem resource #9:[EMAIL PROTECTED] for :00:00.0

[PATCH, ppc64] improve dedotify()

2008-01-11 Thread Jan Beulich
This completely untested patch is intended to be a suggestion only: Code inspection for an entirely different purpose made me stumble across this, and I think that modifying the string table of an ELF object is a bad idea, since there's nothing disallowing a linker to merge strings inside the

Re: [PATCH] Don't blatt first element of prv in sg_chain()

2008-01-11 Thread Jens Axboe
On Mon, Jan 07 2008, Rusty Russell wrote: > I realize that sg chaining is a ploy to make the rest of the kernel > devs feel the pain of the SCSI subsystem. But this was a little > unsubtle. > > Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> > > diff -r b3aec596b841 include/linux/scatterlist.h

[PATCH] make .tracedata a normal part of RODATA()

2008-01-11 Thread Jan Beulich
.. allowing it to be write-protected just as other read-only data under CONFIG_DEBUG_RODATA. Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> Cc: Linus Torvalds <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> --- arch/x86/kernel/vmlinux_32.lds.S |7 ---

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Daniel Walker
On Fri, 2008-01-11 at 09:52 +0100, Jiri Slaby wrote: > On 01/11/2008 05:10 AM, Daniel Walker wrote: > > A little feature addition to allow checkpatch.pl to check patches piped > > into it, in addition to specific file arguments. > > You can still add - as an argument to check stdin. In which way

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Jiri Slaby
On 01/11/2008 10:17 AM, Daniel Walker wrote: On Fri, 2008-01-11 at 09:52 +0100, Jiri Slaby wrote: On 01/11/2008 05:10 AM, Daniel Walker wrote: A little feature addition to allow checkpatch.pl to check patches piped into it, in addition to specific file arguments. You can still add - as an

[PATCH] adjust/fix LDT handling for Xen

2008-01-11 Thread Jan Beulich
Don't rely on kmalloc(PAGE_SIZE) returning PAGE_SIZE aligned memory (Xen requires GDT *and* LDT to be page-aligned). Using the page allocator interface also removes the (albeit small) slab allocator overhead. The same change being done for 64-bits for consistency. Further, the Xen hypercall

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Bernd Petrovitsch
On Fre, 2008-01-11 at 10:21 +0100, Jiri Slaby wrote: > On 01/11/2008 10:17 AM, Daniel Walker wrote: > > On Fri, 2008-01-11 at 09:52 +0100, Jiri Slaby wrote: > >> On 01/11/2008 05:10 AM, Daniel Walker wrote: > >>> A little feature addition to allow checkpatch.pl to check patches piped > >>> into

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Ingo Molnar
* Jens Axboe <[EMAIL PROTECTED]> wrote: > Thanks for reporting this. Guillaume, did you write this patch? We > need to get it into 2.6.24-rc7 asap. Let me know if I should take care > of that, or if it's already queued up elsewhere. they are from the scheduler git tree (except the first debug

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Jens Axboe
On Fri, Jan 11 2008, Ingo Molnar wrote: > > * Jens Axboe <[EMAIL PROTECTED]> wrote: > > > Thanks for reporting this. Guillaume, did you write this patch? We > > need to get it into 2.6.24-rc7 asap. Let me know if I should take care > > of that, or if it's already queued up elsewhere. > > they

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread nigel
Hi. Jens Axboe wrote: > On Thu, Jan 10 2008, David Dillow wrote: >> On Thu, 2008-01-10 at 23:44 +0100, Guillaume Chazarain wrote: >>> David Dillow <[EMAIL PROTECTED]> wrote: >>> At the moment, I'm not sure how to track this farther, or how to fix it properly. Any advice would be

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > Thanks for reporting this. Guillaume, did you write this patch? We > > need to get it into 2.6.24-rc7 asap. Let me know if I should take > > care of that, or if it's already queued up elsewhere. > > they are from the scheduler git tree (except the

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Daniel Walker
On Fri, 2008-01-11 at 10:23 +0100, Bernd Petrovitsch wrote: > On Fre, 2008-01-11 at 10:21 +0100, Jiri Slaby wrote: > > On 01/11/2008 10:17 AM, Daniel Walker wrote: > > > On Fri, 2008-01-11 at 09:52 +0100, Jiri Slaby wrote: > > >> On 01/11/2008 05:10 AM, Daniel Walker wrote: > > >>> A little

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > With those patches, CONFIG_NO_HZ works just fine. > > could you please try the two patches below, do they fix the problem as > well? They got a ton of testing in x86.git in the past ~2 months and > we could perhaps still push them into v2.6.24.

Re: INITIO scsi driver fails to work properly

2008-01-11 Thread Filippos Papadopoulos
On Jan 11, 2008 7:16 AM, James Bottomley <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-01-04 at 02:18 +0200, Filippos Papadopoulos wrote: > > First of all let me wish a happy new year. > > I come back from the vacations and i compiled the initio driver with > > > > #define DEBUG_INTERRUPT 1 > >

Re: [PATCH] adjust/fix LDT handling for Xen

2008-01-11 Thread Jiri Slaby
On 01/11/2008 10:22 AM, Jan Beulich wrote: Don't rely on kmalloc(PAGE_SIZE) returning PAGE_SIZE aligned memory (Xen requires GDT *and* LDT to be page-aligned). Using the page allocator interface also removes the (albeit small) slab allocator overhead. The same change being done for 64-bits for

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Ingo Molnar
* David Dillow <[EMAIL PROTECTED]> wrote: > Ingo, Thomas added as I think this is related to > sched.c:__update_rq_clock()'s checking for forward time warps. yep, we've got some fixes in this area. Do blktrace timestamps work fine in v2.6.23, with NOHZ? Ingo -- To unsubscribe from

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Jens Axboe
On Fri, Jan 11 2008, Ingo Molnar wrote: > > * Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > > Thanks for reporting this. Guillaume, did you write this patch? We > > > need to get it into 2.6.24-rc7 asap. Let me know if I should take > > > care of that, or if it's already queued up elsewhere. >

BUG: soft lockup with kernel 2.6.23.12 (x86-64)

2008-01-11 Thread Timo Jantunen
Heip! I did something like "dd if=/dev/sda1 bs=256M of=dump" and the whole system hanged after a while. Netconsole captured following soft lockup: ===cut BUG: soft lockup - CPU#3 stuck for 11s! [metalog:4767] CPU 3: Modules linked in: fglrx(P) cinergyT2 Pid: 4767, comm: metalog Tainted: P

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-11 Thread Bryan Wu
On Jan 11, 2008 6:05 PM, Pierre Ossman <[EMAIL PROTECTED]> wrote: > On Fri, 11 Jan 2008 04:47:44 -0500 > "Mike Frysinger" <[EMAIL PROTECTED]> wrote: > > > Cliff should be able to enumerate the cards he has tested and the > > issues he's run into. i'll see if i cant get more in depth > >

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Guillaume Chazarain
David Dillow <[EMAIL PROTECTED]> wrote: > Patched kernel, nohz=off: > .clock_underflows : 213887 A little bit of warning about these patches, they are WIP, that's why I did not send them earlier. It regress nohz=off. A bit of context: these patches aim at making sure cpu_clock()

Re: [patch] block: fix blktrace timestamps

2008-01-11 Thread Guillaume Chazarain
Ingo Molnar <[EMAIL PROTECTED]> wrote: > Correction: it was not a high res time source, it was "the scheduler's > per-cpu, non-exported, non-coherent, warps-and-jumps-like-hell high-res > timesource that was intentionally called the _sched_ clock" ;-) I think the warts of cpu_clock() are

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Ingo Molnar
* Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > David Dillow <[EMAIL PROTECTED]> wrote: > > > Patched kernel, nohz=off: > > .clock_underflows : 213887 > > A little bit of warning about these patches, they are WIP, that's why > I did not send them earlier. It regress

Re: [patch] block: fix blktrace timestamps

2008-01-11 Thread Ingo Molnar
* Guillaume Chazarain <[EMAIL PROTECTED]> wrote: > > Correction: it was not a high res time source, it was "the > > scheduler's per-cpu, non-exported, non-coherent, > > warps-and-jumps-like-hell high-res timesource that was intentionally > > called the _sched_ clock" ;-) > > I think the

[PATCH x86/mm] x86_64 save_i387_ia32 snafu

2008-01-11 Thread Roland McGrath
Sorry about this one, mea culpa. This should go right after the "x86 i387 user_regset" patch, or be rolled into it. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/x86/ia32/ia32_signal.c |5 ++--- arch/x86/kernel/ptrace.c|1 - include/asm-x86/fpu32.h | 10 --

Re: Query on lock protection in random number driver

2008-01-11 Thread Andi Kleen
Nikanth Karthikesan <[EMAIL PROTECTED]> writes: > > Also the globals random_read_wakeup_thresh and > random_write_wakeup_thresh are not at all protected by any locks! Why > locks are not needed for these? Reading variables sizeof <= native word size (32bit or 64bit depending on architecture) is

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Stefan Richter
Daniel Walker wrote: > On Fri, 2008-01-11 at 10:34 +0100, Jiri Slaby wrote: >> >> On Fre, 2008-01-11 at 10:21 +0100, Jiri Slaby wrote: >> >>> git show 9914cad54c79d0b89b1f066c0894f00e1344131c >> >> | ./scripts/checkpatch.pl - >> If somebody is hacking kernel, I think he should know the - trick

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-11 Thread Paul Mundt
On Fri, Jan 11, 2008 at 12:04:14PM +0100, Roel Kluin wrote: > Paul Mundt wrote: > > Take a look at how CONFIG_PCMCIA_DEBUG is handled. > > In drivers/pcmcia/Makefile, when CONFIG_PCMCIA_DEBUG=y, it gives > EXTRA_CFLAGS += -DDEBUG > which causes the definition of DEBUG as a macro, with definition

Re: Query on lock protection in random number driver

2008-01-11 Thread Nikanth Karthikesan
On Fri, 2008-01-11 at 12:12 +0100, Andi Kleen wrote: > Nikanth Karthikesan <[EMAIL PROTECTED]> writes: > > > > Also the globals random_read_wakeup_thresh and > > random_write_wakeup_thresh are not at all protected by any locks! Why > > locks are not needed for these? > > Reading variables sizeof

Re: 2.6.22.15: kernel processes stuck in D state

2008-01-11 Thread Stefan Richter
CaT wrote: > Not sure what other info to provide Is the bug present in 2.6.24-rc7? -- Stefan Richter -=-==--- ---= -=-== http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: CPA patchset

2008-01-11 Thread Andi Kleen
> It is perfectly possible to construct > fully written cachelines, without reading the cacheline first. MOVDQ is If you write a aligned full 64 (or 128) byte area and even then you can have occassional reads which can be either painfully slow or even incorrect. > but that's totally besides

Re: CPA patchset

2008-01-11 Thread Andi Kleen
> Write-Combining can be very useful for devices that are behind a slow or > a high-latency transport, such as PCI, and which are mapped UnCached That is what I wrote! If you meant the same we must have been spectacularly miscommunicating. -Andi -- To unsubscribe from this list: send the line

Query on lock protection in random number driver

2008-01-11 Thread Nikanth Karthikesan
A query on locks used to protect entropy_store struct entropy_store { /* mostly-read data: */ struct poolinfo *poolinfo; __u32 *pool; const char *name; int limit; struct entropy_store *pull; /* read-write data: */ spinlock_t lock

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Bernd Petrovitsch
On Fre, 2008-01-11 at 01:47 -0800, Daniel Walker wrote: > On Fri, 2008-01-11 at 10:41 +0100, Jiri Slaby wrote: > > On 01/11/2008 10:36 AM, Daniel Walker wrote: > > > On Fri, 2008-01-11 at 10:34 +0100, Jiri Slaby wrote: > > >> If somebody is hacking kernel, I think he should know the - trick used

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-11 Thread Roel Kluin
Paul Mundt wrote: > On Fri, Jan 11, 2008 at 04:09:45AM +0100, Peter Stuge wrote: >> On Thu, Jan 10, 2008 at 10:03:58PM +0100, Roel Kluin wrote: >>> -#define DEBUG(x,args...) printk(__FUNCTION__ ": " x,##args) >>> +#define DEBUG(x, args...) printk("%s: ", __func__, x, ##args) >> Can this really

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Ingo Molnar
* David Dillow <[EMAIL PROTECTED]> wrote: > > Just out of curiosity, could you try the appended cumulative patch > > and report .clock_warps, .clock_overflows and .clock_underflows as > > you did. > > With those patches, CONFIG_NO_HZ works just fine. could you please try the two patches

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Jiri Slaby
On 01/11/2008 10:36 AM, Daniel Walker wrote: On Fri, 2008-01-11 at 10:34 +0100, Jiri Slaby wrote: If somebody is hacking kernel, I think he should know the - trick used in many programs, but do not consider this as a nack. I'm hacking the kernel, and I didn't know the - trick .. So you have

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Daniel Walker
On Fri, 2008-01-11 at 10:34 +0100, Jiri Slaby wrote: > On 01/11/2008 10:30 AM, Daniel Walker wrote: > > On Fri, 2008-01-11 at 10:23 +0100, Bernd Petrovitsch wrote: > >> On Fre, 2008-01-11 at 10:21 +0100, Jiri Slaby wrote: > >>> git show 9914cad54c79d0b89b1f066c0894f00e1344131c > >> |

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Jiri Slaby
On 01/11/2008 10:30 AM, Daniel Walker wrote: On Fri, 2008-01-11 at 10:23 +0100, Bernd Petrovitsch wrote: On Fre, 2008-01-11 at 10:21 +0100, Jiri Slaby wrote: git show 9914cad54c79d0b89b1f066c0894f00e1344131c | ./scripts/checkpatch.pl - JftSoC: git show

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Ingo Molnar
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>> Just out of curiosity, could you try the appended cumulative patch > >>> and report .clock_warps, .clock_overflows and .clock_underflows as > >>> you did. > >> With those patches, CONFIG_NO_HZ works just fine. > > Could these patches also

Re: [PATCH 00/16] udf: cleanup

2008-01-11 Thread Christoph Hellwig
On Thu, Jan 10, 2008 at 11:06:16PM +0100, [EMAIL PROTECTED] wrote: > Hi > > This patchset contains various UDF fs cleanups. > It deprecates two patchsets I sent lately: > > http://lkml.org/lkml/2008/1/5/196 [PATCH 0/6] udf: improve code related to > super_block v3 >

Re: Netperf TCP_RR(loopback) 10% regression in 2.6.24-rc6, comparing with 2.6.22

2008-01-11 Thread Zhang, Yanmin
On Wed, 2008-01-09 at 17:35 +0800, Zhang, Yanmin wrote: > The regression is: > 1)stoakley with 2 qual-core processors: 11%; > 2)Tulsa with 4 dual-core(+hyperThread) processors:13%; I have new update on this issue and also cc to netdev maillist. Thank David Miller for pointing me the netdev

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-11 Thread Pierre Ossman
On Fri, 11 Jan 2008 04:08:53 -0500 "Mike Frysinger" <[EMAIL PROTECTED]> wrote: > On Jan 11, 2008 3:40 AM, Pierre Ossman <[EMAIL PROTECTED]> wrote: > > So it's far more probable that you've misdiagnosed your error than this > > being the actual problem. > > the guys who design the silicon are

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Ingo Molnar
* Jens Axboe <[EMAIL PROTECTED]> wrote: > > they are from the scheduler git tree (except the first debug patch), > > but queued up for v2.6.25 at the moment. > > So this means that blktrace will be broken with CONFIG_NO_HZ for > 2.6.24? That's clearly a regression. 64-bit CONFIG_NO_HZ is a

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-11 Thread Jens Axboe
On Fri, Jan 11 2008, Ingo Molnar wrote: > > * Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > they are from the scheduler git tree (except the first debug patch), > > > but queued up for v2.6.25 at the moment. > > > > So this means that blktrace will be broken with CONFIG_NO_HZ for > > 2.6.24?

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-11 Thread Mike Frysinger
On Jan 11, 2008 4:35 AM, Pierre Ossman <[EMAIL PROTECTED]> wrote: > "Mike Frysinger" <[EMAIL PROTECTED]> wrote: > > On Jan 11, 2008 3:40 AM, Pierre Ossman <[EMAIL PROTECTED]> wrote: > > > So it's far more probable that you've misdiagnosed your error than this > > > being the actual problem. > > >

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Daniel Walker
On Fri, 2008-01-11 at 10:41 +0100, Jiri Slaby wrote: > On 01/11/2008 10:36 AM, Daniel Walker wrote: > > On Fri, 2008-01-11 at 10:34 +0100, Jiri Slaby wrote: > >> If somebody is hacking kernel, I think he should know the - trick used in > >> many > >> programs, but do not consider this as a

Re: soft lockup - CPU#1 stuck for 15s! [swapper:0]

2008-01-11 Thread Thomas Gleixner
On Thu, 10 Jan 2008, Parag Warudkar wrote: > On Jan 9, 2008 6:56 AM, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > > Can you apply the patch below + the debug patch which prints the timer > > stats on softlockup and provide the output of this. > > Applied to today's git and running for 21

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-11 Thread Pierre Ossman
On Fri, 11 Jan 2008 04:47:44 -0500 "Mike Frysinger" <[EMAIL PROTECTED]> wrote: > Cliff should be able to enumerate the cards he has tested and the > issues he's run into. i'll see if i cant get more in depth > information from the hardware guys beyond the documentation on the sdh > already

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Bernd Petrovitsch
On Fre, 2008-01-11 at 01:30 -0800, Daniel Walker wrote: > On Fri, 2008-01-11 at 10:23 +0100, Bernd Petrovitsch wrote: > > On Fre, 2008-01-11 at 10:21 +0100, Jiri Slaby wrote: > > > On 01/11/2008 10:17 AM, Daniel Walker wrote: > > > > On Fri, 2008-01-11 at 09:52 +0100, Jiri Slaby wrote: > > > >> On

Re: [PATCH] adjust/fix LDT handling for Xen

2008-01-11 Thread Jan Beulich
>> --- linux-2.6.24-rc7/arch/x86/kernel/ldt_32.c2008-01-10 >> 16:53:54.0 +0100 >> +++ 2.6.24-rc7-x86-xen-ldt/arch/x86/kernel/ldt_32.c 2008-01-09 >> 13:59:50.0 +0100 >[...] >> @@ -73,7 +72,7 @@ static int alloc_ldt(mm_context_t *pc, u >> if

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-11 Thread Paul Mundt
On Fri, Jan 11, 2008 at 10:45:30AM +0100, Roel Kluin wrote: > Paul Mundt wrote: > > On Fri, Jan 11, 2008 at 04:09:45AM +0100, Peter Stuge wrote: > >> On Thu, Jan 10, 2008 at 10:03:58PM +0100, Roel Kluin wrote: > >>> -#define DEBUG(x,args...) printk(__FUNCTION__ ": " x,##args) > >>> +#define

[patch] block: fix blktrace timestamps

2008-01-11 Thread Ingo Molnar
(David, could you try the patch further below - does it fix bkltrace timestamps too?) * Jens Axboe <[EMAIL PROTECTED]> wrote: > On Fri, Jan 11 2008, Ingo Molnar wrote: > > > > * Jens Axboe <[EMAIL PROTECTED]> wrote: > > > > > > they are from the scheduler git tree (except the first debug

Re: [RFC][PATCH] per-task I/O throttling

2008-01-11 Thread Andrea Righi
Bill Davidsen wrote: > Andrea Righi wrote: >> Allow to limit the bandwidth of I/O-intensive processes, like backup >> tools running in background, large files copy, checksums on huge files, >> etc. >> >> This kind of processes can noticeably impact the system responsiveness >> for some time and

Re: [2.6 patch] remove CONFIG_EXPERIMENTAL

2008-01-11 Thread Ralf Baechle
On Tue, Jan 01, 2008 at 03:48:09PM +0200, Adrian Bunk wrote: Definately NAK for the MIPS segments. Some of the EXPERIMENTAL dependencies should be removed but many options tagged with EXPERIMENTAL are still dangerous. Ralf -- To unsubscribe from this list: send the line "unsubscribe

Re: [BUG][PATCH] fix broken software reset for Malta board

2008-01-11 Thread Ralf Baechle
On Tue, Jan 08, 2008 at 06:44:00AM +0300, Dmitri Vorobiev wrote: > I noticed that the commit f197465384bf7ef1af184c2ed1a4e268911a91e3 > (MIPS Tech: Get rid of volatile in core code) broke the software > reset functionality for MIPS Malta boards in big-endian mode. Thanks, applied. Ralf -- To

Re: [patch 00/19] VM pageout scalability improvements

2008-01-11 Thread Balbir Singh
* Rik van Riel <[EMAIL PROTECTED]> [2008-01-08 15:59:39]: > On large memory systems, the VM can spend way too much time scanning > through pages that it cannot (or should not) evict from memory. Not > only does it use up CPU time, but it also provokes lock contention > and can leave large systems

Re: [2.6 patch] remove CONFIG_EXPERIMENTAL

2008-01-11 Thread Paul Mundt
On Thu, Jan 10, 2008 at 10:18:45PM +, Ralf Baechle wrote: > On Tue, Jan 01, 2008 at 03:48:09PM +0200, Adrian Bunk wrote: > > Definately NAK for the MIPS segments. Some of the EXPERIMENTAL > dependencies should be removed but many options tagged with EXPERIMENTAL > are still dangerous. >

Re: [PATCH x86/mm] x86_64 save_i387_ia32 snafu

2008-01-11 Thread Ingo Molnar
* Roland McGrath <[EMAIL PROTECTED]> wrote: > Sorry about this one, mea culpa. This should go right after the "x86 > i387 user_regset" patch, or be rolled into it. thanks, applied. Does this explain the crash/hang problems with 32-bit apps on 64-bit kernels? What was the exact failure mode?

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-11 Thread Roel Kluin
Paul Mundt wrote: > On Fri, Jan 11, 2008 at 10:45:30AM +0100, Roel Kluin wrote: >> Paul Mundt wrote: >>> On Fri, Jan 11, 2008 at 04:09:45AM +0100, Peter Stuge wrote: On Thu, Jan 10, 2008 at 10:03:58PM +0100, Roel Kluin wrote: > -#define DEBUG(x,args...) printk(__FUNCTION__ ": " x,##args)

Re: Serverworks Oops with the very latest git kernel...

2008-01-11 Thread Bartlomiej Zolnierkiewicz
On Friday 11 January 2008, Trond Myklebust wrote: > > On Thu, 2008-01-10 at 21:24 -0500, Jeff Garzik wrote: > > Trond Myklebust wrote: > > > Hi, > > > > > > I'm getting the following Oops on boot with kernel 2.6.24-rc7-g88fb61e4. > > > > > > Starting udev: BUG: unable to handle kernel paging

Re: [PATCH 001/001] ipv4: enable use of 240/4 address space

2008-01-11 Thread Andi Kleen
Vince Fuller <[EMAIL PROTECTED]> writes: > from Vince Fuller <[EMAIL PROTECTED]> > > This set of diffs modify the 2.6.20 kernel to enable use of the 240/4 > (aka "class-E") address space as consistent with the Internet Draft > draft-fuller-240space-00.txt. Wouldn't it be wise to at least wait

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-11 Thread Pierre Ossman
On Fri, 11 Jan 2008 18:22:14 +0800 "Bryan Wu" <[EMAIL PROTECTED]> wrote: > > I guess it is for MMC/SD card insert detection. Is it related with the > 4-bit MMC and 4-bit SD? > Actually, there are some issues about the card insert detection on > BF54x SDH. Following is some comments of our

Re: Make the 32 bit Frame Pointer backtracer fall back to traditional

2008-01-11 Thread Olaf Dietsche
Arjan van de Ven <[EMAIL PROTECTED]> writes: > I coded it, it's not all that bad, the output looks like: > > Pid: 0, comm: swapper Not tainted 2.6.24-rc7 #17 > [] show_trace_log_lvl+0x1a/0x2f > [] show_trace+0x12/0x14 > [] dump_stack+0x6a/0x70 > [] backtrace_test_timer+0x23/0x25

Re: [PATCH] checkpatch.pl: allow piping

2008-01-11 Thread Jiri Slaby
On 01/11/2008 12:16 PM, Stefan Richter wrote: Daniel Walker wrote: On Fri, 2008-01-11 at 10:34 +0100, Jiri Slaby wrote: On Fre, 2008-01-11 at 10:21 +0100, Jiri Slaby wrote: git show 9914cad54c79d0b89b1f066c0894f00e1344131c | ./scripts/checkpatch.pl - If somebody is hacking kernel, I think

Re: [patch 00/19] VM pageout scalability improvements

2008-01-11 Thread Balbir Singh
* Rik van Riel <[EMAIL PROTECTED]> [2008-01-08 15:59:39]: > Changelog: > - merge memcontroller split LRU code into the main split LRU patch, > since it is not functionally different (it was split up only to help > people who had seen the last version of the patch series review it) Hi, Rik,

[PATCH] Fix fakephp deadlock

2008-01-11 Thread Ian Abbott
From: Ian Abbott <[EMAIL PROTECTED]> If the fakephp driver is used to emulate removal of a PCI device by writing text string "0" to the "power" sysfs attribute file, this causes its parent directory and its contents (including the "power" file) to be deleted before the write operation returns.

[PATCH] Random number driver: make random_ioctl as an unlocked_ioctl function

2008-01-11 Thread Nikanth Karthikesan
The random_ioctl is registered as an ioctl function but it does not require BKL to be held when called. Changing it as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/random.c b/drivers/char/random.c index 5fee056..2446e14 100644

  1   2   3   4   5   6   7   8   >