Kconfig style question

2007-03-15 Thread Kumar Gala
For source lines I've seen both: source "arch/powerpc/platforms/52xx/Kconfig" and source arch/powerpc/platforms/85xx/Kconfig Is there a preferred style? Quotes or not? - k - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Andrea Arcangeli
On Thu, Mar 15, 2007 at 05:44:01PM +, Hugh Dickins wrote: > who removed the !offset condition, he should be consulted on its > reintroduction. the !offset check looks a pretty broken heuristic indeed, it would break random I/O. The real fix is to add a ra.prev_offset along with ra.prev_page, a

Re: [PATCH] Fix COMPAT_VDSO regression bug

2007-03-15 Thread Leroy van Logchem
Andrew Morton linux-foundation.org> writes: > > Revert "[PATCH] Fix CONFIG_COMPAT_VDSO" > > This reverts commit a1f3bb9ae4497a2ed3eac773fd7798ac33a0371f. > > > > Several systems couldnt boot using CONFIG_HIGHMEM64G=y as > > reported in bug #8040. Reverting the above patch solved

Re: taskstats accounting info

2007-03-15 Thread Balbir Singh
Andrew Morton wrote: On Wed, 14 Mar 2007 17:48:32 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: Randy.Dunlap wrote: Hi, Documentation/accounting/delay-accounting.txt says that the getdelays program has a "-c cmd" argument, but that option does not seem to exist in Documentation/account/getdelay

Re: [BUG] Linux 2.6.20.2 - unable to handle kernel paging request - still accessing freed memory

2007-03-15 Thread Greg KH
On Wed, Mar 14, 2007 at 01:23:02PM +0200, Pekka Enberg wrote: > Hi Greg, > > I think there's some sort of reference counting problem with sysfs in > 2.6.20 kernels. Can you please help us debug it further? Is there any way you can use 'git bisect' to try to track down the root cause of this? tha

Re: Move to unshared VMAs in NOMMU mode?

2007-03-15 Thread David Howells
Hugh Dickins <[EMAIL PROTECTED]> wrote: > But if "the SYSV SHM problem" you mention at the beginning > is just the "nattch" problem you mention at the end, I doubt > that's worth such a redesign as you're considering here. Yes, as far as I know that's the problem. nattch is available to userspac

Re: thread stacks and strict vm overcommit accounting

2007-03-15 Thread Andrew Morton
On Thu, 15 Mar 2007 23:33:43 + Alan Cox <[EMAIL PROTECTED]> wrote: > > Stack RSS should certainly be included in Committed_AS, > > but RLIMIT_STACK merely limits how big the stack vma may grow to: > > at any moment the stack vma is probably very much smaller, > > and only its current size is a

Re: thread stacks and strict vm overcommit accounting

2007-03-15 Thread Alan Cox
> Stack RSS should certainly be included in Committed_AS, > but RLIMIT_STACK merely limits how big the stack vma may grow to: > at any moment the stack vma is probably very much smaller, > and only its current size is accounted in Committed_AS. With a typical size as a fuzz factor preaccounted in

Re: [BUGFIX][PATCH] fixing placement of register stack under ulimit -s

2007-03-15 Thread KAMEZAWA Hiroyuki
On Fri, 16 Mar 2007 06:20:47 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > On Thu, 15 Mar 2007 09:57:28 -0600 > "David Mosberger-Tang" <[EMAIL PROTECTED]> wrote: > > > But aren't you going to be limited to less than a page worth of > > register-backing store even with your patch applied be

[PATCH 07 of 33] IB/ipath - support larger IB_QP_MAX_DEST_RD_ATOMIC and IB_QP_MAX_QP_RD_ATOMIC

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Ralph Campbell <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID 02b57b02578b7ffb189de66f7886214e9d5f2045 # Parent 78ae7bddbd5e205adc12993ad2956e0402ca01d7 IB/ipath - support larger IB_QP_MAX_DEST_RD_ATOMIC and IB_QP_MAX_QP_RD_ATOMIC This patch adds support for mul

[PATCH 06 of 33] IB/ipath - NMI cpu lockup if local loopback used

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Ralph Campbell <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID 78ae7bddbd5e205adc12993ad2956e0402ca01d7 # Parent fa38a027a0853a80c4f7dfc50345c89f195bc85b IB/ipath - NMI cpu lockup if local loopback used If a post send is done in loopback and there is no receive q

[PATCH 19 of 33] IB/ipath - Discard multicast packets without a GRH

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID c96d13efde155eb60dc0eca0bd56e81ecd36281b # Parent 878b6054e9ca5327db9c9438f66265afaf88b055 IB/ipath - Discard multicast packets without a GRH This patch fixes a bug where multicast packets without a

[PATCH 15 of 33] IB/ipath - allow receive ports mapped into userspace to be shared

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Mark Debbage <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 5ff8f23d0e61169f598ab1d93aa6324d88c17921 # Parent 62da2fb770b66310ac06ba0190bf2bed2a5a764f IB/ipath - allow receive ports mapped into userspace to be shared Improve port-sharing performance by allowing

[PATCH 18 of 33] IB/ipath - Fix calculation for number of kernel PIO buffers

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 878b6054e9ca5327db9c9438f66265afaf88b055 # Parent a023ffe32d9df8cba7d8b15c24e7918eeb236a2c IB/ipath - Fix calculation for number of kernel PIO buffers If the module parameter "kpiobufs" is set too h

[PATCH 02 of 33] IB/ipath - fix user memory region creation when IOMMU present

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID 3337d450afeebc553a09fe5c18ed0b2444547c24 # Parent b1d05f3486f8bba1dd3c5cbca39f06a5e1b3d6fb IB/ipath - fix user memory region creation when IOMMU present The loop which initializes the user memory re

Re: [PATCH] blackfin: balance parenthesis in macros

2007-03-15 Thread Mike Frysinger
On 3/15/07, Mariusz Kozlowski <[EMAIL PROTECTED]> wrote: This patch (against 2.6.21-rc3-mm1) balances parenthesis in blackfin header files. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> thanks, added to our repo -mike - To unsubscribe from this list: send the line "unsubscribe l

[PATCH 00 of 33] Set of ipath patches for 2.6.22

2007-03-15 Thread Bryan O'Sullivan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 10/22 take 3] UBI: EBA unit

2007-03-15 Thread Randy Dunlap
On Thu, 15 Mar 2007 11:07:03 -0800 Andrew Morton wrote: > > There's way too much code here to expect it to get decently reviewed, alas. Yes. /me repeats wish that Not Everything Should Be Sent to lkml. :( > > On Wed, 14 Mar 2007 17:20:24 +0200 Artem Bityutskiy <[EMAIL PROTECTED]> > > wrote:

[PATCH 01 of 33] IB/ipath - add ability to set and clear IB local loopback

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID b1d05f3486f8bba1dd3c5cbca39f06a5e1b3d6fb # Parent 0d37971d4ab0c8b6f7a8f6e8222112321982498f IB/ipath - add ability to set and clear IB local loopback This is a sticky state. It is useful for diagnos

[PATCH 20 of 33] IB/ipath - call free_irq on chip specific initialization failure

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Arthur Jones <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 8a013b707785accfd71589334bbf8e4029ffa892 # Parent c96d13efde155eb60dc0eca0bd56e81ecd36281b IB/ipath - call free_irq on chip specific initialization failure In initialization, if we bailed at chip specif

Re: [PATCH 2/3] swsusp: Do not use page flags

2007-03-15 Thread Andrew Morton
On Thu, 15 Mar 2007 23:19:02 +0100 (CET) Jiri Kosina <[EMAIL PROTECTED]> wrote: > On Thu, 15 Mar 2007, Andrew Morton wrote: > > > > > And why _does_ suspend use GFP_ATOMIC all over the place? > > > Generally, because it cannot sleep. > > Why not? > > I guess it's simply beucase of kswapd being a

Description of the ipath patches I just sent

2007-03-15 Thread Bryan O'Sullivan
My patch mailer decided to send them without a summary. Oops. This series is a variety of bugfixes and cleanups for the ipath driver. It doesn't touch anything in IB-land. The patches apply cleanly and run happily against 2.6.21-rc3. ipath_common.h| 25 - ipath_cq.c| 38 +

[PATCH 03 of 33] IB/ipath - definitions of two of RXE parity error bits were reversed

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID e2eec96f356a7269b46a68f29fc5e711d2f5a7a4 # Parent 3337d450afeebc553a09fe5c18ed0b2444547c24 IB/ipath - definitions of two of RXE parity error bits were reversed The chip documentation on the expected

[PATCH 25 of 33] IB/ipath - On unrecoverable errors, force link dow, LEDs off

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID e9895e2ad504a2590b0943c037d1fa5f9568fda3 # Parent 3e81a6b18b42bbe6dffab382fb26d754dfdf83a1 IB/ipath - On unrecoverable errors, force link dow, LEDs off If the chip is no longer usable, LEDs should b

[PATCH 08 of 33] IB/ipath - fix up some debug messages

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID 187ff5af5e5dd2b1f2ca48ba6ad0056ce7fc7403 # Parent 02b57b02578b7ffb189de66f7886214e9d5f2045 IB/ipath - fix up some debug messages ipath_dbg doesn't need the same prefixes that printk does. Signed-of

[PATCH 21 of 33] IB/ipath - force PIOAvail update entry point

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Arthur Jones <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 68302e9dbd8803f937af9f02ca26a63ff43e9afa # Parent 8a013b707785accfd71589334bbf8e4029ffa892 IB/ipath - force PIOAvail update entry point. Due to a chip bug, the PIOAvail register is not always updated to

[PATCH 26 of 33] IB/ipath - prevent random program use of diags interface

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 284c34f2a16f7cb4fe48a2f6fbe9ad4beea5 # Parent e9895e2ad504a2590b0943c037d1fa5f9568fda3 IB/ipath - prevent random program use of diags interface To prevent random utility reads and writes of the

[PATCH 27 of 33] IB/ipath - cleaner shutdown at driver unload, disable IB link earlier

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID fddf5d03720ca586054b66d250d84233bdb3bf86 # Parent 284c34f2a16f7cb4fe48a2f6fbe9ad4beea5 IB/ipath - cleaner shutdown at driver unload, disable IB link earlier Moved the code that shuts down the IB

Re: [PATCH] oom fix: prevent oom from killing a process with children/sibling unkillable

2007-03-15 Thread William Lee Irwin III
On Thu, Mar 15, 2007 at 07:19:21PM +0530, Ankita Garg wrote: > Looking at oom_kill.c, found that the intention to not kill the selected > process if any of its children/siblings has OOM_DISABLE set, is not being met. > Signed-off-by: Ankita Garg <[EMAIL PROTECTED]> > Index: ankita/linux-2.6.20.1/mm

[PATCH 10 of 33] IB/ipath - fix PSN update for RC retries

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Ralph Campbell <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID 4050989280f08d81d06642e3d6cf5c3ea4397107 # Parent ec38d8f91d79a765cf53aaa7e8a59622418f2c9f IB/ipath - fix PSN update for RC retries This patch fixes a number of bugs with updating the PSN for retries

[PATCH 09 of 33] IB/ipath - fix QP error completion queue entries

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Ralph Campbell <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID ec38d8f91d79a765cf53aaa7e8a59622418f2c9f # Parent 187ff5af5e5dd2b1f2ca48ba6ad0056ce7fc7403 IB/ipath - fix QP error completion queue entries When switching to the QP error state, the completion queue e

[PATCH 24 of 33] IB/ipath - fix driver crash (in interrupt or during unload) after chip reset

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Michael Albaugh <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 3e81a6b18b42bbe6dffab382fb26d754dfdf83a1 # Parent 01cde17958018b5262570cd9ea399378f95051e7 IB/ipath - fix driver crash (in interrupt or during unload) after chip reset Re-init of the kernel structure

[PATCH 23 of 33] IB/ipath - Improve handling and reporting of parity errors, mostly cleanup

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 01cde17958018b5262570cd9ea399378f95051e7 # Parent fe719d50378ce70909f96bd5e7bc8e4f28a5031b IB/ipath - Improve handling and reporting of parity errors, mostly cleanup Signed-off-by: Dave Olson <[EMAI

Re: [PATCH 2/3] swsusp: Do not use page flags

2007-03-15 Thread Jiri Kosina
On Thu, 15 Mar 2007, Andrew Morton wrote: > > > And why _does_ suspend use GFP_ATOMIC all over the place? > > Generally, because it cannot sleep. > Why not? I guess it's simply beucase of kswapd being already frozen, so there is no chance that once GFP_KERNEL allocation goes to sleep, it is goin

[PATCH 12 of 33] IB/ipath - fix bad argument to clear_bit that trashed memory and/or crashed

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 84a9691cf7ff54ce76de402d2353a451ba9c555b # Parent c793dc8a526564b73018924a707bcb21052f8f36 IB/ipath - fix bad argument to clear_bit that trashed memory and/or crashed Code was converted from a &= ~m

[PATCH 11 of 33] IB/ipath - Change packet problems vs chip errors handling and reporting

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID c793dc8a526564b73018924a707bcb21052f8f36 # Parent 4050989280f08d81d06642e3d6cf5c3ea4397107 IB/ipath - Change packet problems vs chip errors handling and reporting Some types of packet errors are mod

[PATCH 28 of 33] IB/ipath - Don't allow QP's 0 and 1 to be opened multiple times

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID b436c73d4fe312c3cba092d5f642de5c0ff6aa91 # Parent fddf5d03720ca586054b66d250d84233bdb3bf86 IB/ipath - Don't allow QP's 0 and 1 to be opened multiple times Signed-off-by: Robert Walsh <[EMAIL PROTECT

[PATCH 14 of 33] IB/ipath - fix port sharing on powerpc

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Ralph Campbell <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 62da2fb770b66310ac06ba0190bf2bed2a5a764f # Parent aaee8124e3bc44ec423b5e1c46ef90ede9f21483 IB/ipath - fix port sharing on powerpc The port sharing feature mixed kernel virtual addresses as well as phy

[PATCH] powerpc: 8xx parenthesis balance

2007-03-15 Thread Mariusz Kozlowski
Hello, This patch (against 2.6.21-rc3-mm1) balances parenthesis in powerpc 8xx header files. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> arch/powerpc/platforms/8xx/mpc86xads.h |2 +- arch/powerpc/platforms/8xx/mpc885ads.h |2 +- 2 files changed, 2 insertions(+), 2 delet

[PATCH 16 of 33] IB/ipath - fix RDMA reads of length zero and error handling

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Ralph Campbell <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 4d22cec2265b606cecee72d5abca4436bb1e6cb7 # Parent 5ff8f23d0e61169f598ab1d93aa6324d88c17921 IB/ipath - fix RDMA reads of length zero and error handling Fix RDMA read response length checking for RDMA_R

[PATCH 30 of 33] IB/ipath - check reserved keys

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Robert Walsh <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID bf280d5f83d59788b58c17ff206bc3f54271a790 # Parent 8c4f730dbde3eed6e066ead5be4746d58840f24f IB/ipath - check reserved keys Don't let userspace use the direct-physical-map L-key or R-key. Signed-off-by:

[PATCH 32 of 33] IB/ipath - check that a UD work request's address handle is valid

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Robert Walsh <[EMAIL PROTECTED]> # Date 1173994466 25200 # Node ID c3b5b279bc90e5758da2ac382cbff4ee0245e84b # Parent 9f6468cddf59f26e087d100980a11ee9f1af4f56 IB/ipath - check that a UD work request's address handle is valid Signed-off-by: Bryan O'Sullivan <[EMAIL PROTE

[PATCH 31 of 33] IB/ipath - remove duplicate stuff from ipath_verbs.h

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Robert Walsh <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 9f6468cddf59f26e087d100980a11ee9f1af4f56 # Parent bf280d5f83d59788b58c17ff206bc3f54271a790 IB/ipath - remove duplicate stuff from ipath_verbs.h ipath_verbs.h has some duplicate stuff. Signed-off-by: Br

[PATCH 33 of 33] IB/ipath - fix drift between WCs in user and kernel space

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Robert Walsh <[EMAIL PROTECTED]> # Date 1173994466 25200 # Node ID e61b0123190cfbc01cc34d1c648d1752a89f8f3d # Parent c3b5b279bc90e5758da2ac382cbff4ee0245e84b IB/ipath - fix drift between WCs in user and kernel space The kernel ib_wc structure now uses a QP pointer, but

[PATCH 22 of 33] IB/ipath - print better error messages if kernel is misconfigured

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID fe719d50378ce70909f96bd5e7bc8e4f28a5031b # Parent 68302e9dbd8803f937af9f02ca26a63ff43e9afa IB/ipath - print better error messages if kernel is misconfigured Signed-off-by: Bryan O'Sullivan <[EMAIL P

[PATCH 04 of 33] IB/ipath - don't initialize port memory for subports

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Ralph Campbell <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID d90faa722f120e0896aff3643a623b1e0c0c69d0 # Parent e2eec96f356a7269b46a68f29fc5e711d2f5a7a4 IB/ipath - don't initialize port memory for subports A recent change was made to allocate memory for a port a

[PATCH 05 of 33] IB/ipath - fix case where SRQ limit event causes CQ entry to be dropped

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Ralph Campbell <[EMAIL PROTECTED]> # Date 1173994464 25200 # Node ID fa38a027a0853a80c4f7dfc50345c89f195bc85b # Parent d90faa722f120e0896aff3643a623b1e0c0c69d0 IB/ipath - fix case where SRQ limit event causes CQ entry to be dropped A silly programming error causes a CQ

[PATCH 13 of 33] IB/ipath - Fix CQ flushing when QP is modified to error state

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID aaee8124e3bc44ec423b5e1c46ef90ede9f21483 # Parent 84a9691cf7ff54ce76de402d2353a451ba9c555b IB/ipath - Fix CQ flushing when QP is modified to error state If a receive work request has been removed fr

[PATCH 17 of 33] IB/ipath - remove unused register read routine ipath_read_kreg64_port()

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID a023ffe32d9df8cba7d8b15c24e7918eeb236a2c # Parent 4d22cec2265b606cecee72d5abca4436bb1e6cb7 IB/ipath - remove unused register read routine ipath_read_kreg64_port() Signed-off-by: Dave Olson <[EMAIL P

[PATCH 29 of 33] IB/ipath - fix unit selection due to all cpu affinity bits set

2007-03-15 Thread Bryan O'Sullivan
# HG changeset patch # User Bryan O'Sullivan <[EMAIL PROTECTED]> # Date 1173994465 25200 # Node ID 8c4f730dbde3eed6e066ead5be4746d58840f24f # Parent b436c73d4fe312c3cba092d5f642de5c0ff6aa91 IB/ipath - fix unit selection due to all cpu affinity bits set At some point things changed so that all the

[PATCH] blackfin: balance parenthesis in macros

2007-03-15 Thread Mariusz Kozlowski
Hello, This patch (against 2.6.21-rc3-mm1) balances parenthesis in blackfin header files. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> include/asm-blackfin/mach-bf535/bf535.h |4 ++-- include/asm-blackfin/scatterlist.h |2 +- 2 files changed, 3 insertions(+), 3 dele

Loading both the pata_atiixp and the ahci driver causes problems

2007-03-15 Thread Chuck Ebbert
If you try to load both the pata_atiixp and the ahci driver (for the same ATI SB600 adapter), very strange things happen. The AHCI driver churns for three minutes or so, spewing messages like this, then nothing works: <6>ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300) <4>ata3.00: qc timeout

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Andrew Morton
On Thu, 15 Mar 2007 22:49:23 +0100 Andrea Arcangeli <[EMAIL PROTECTED]> wrote: > On Thu, Mar 15, 2007 at 11:07:35AM -0800, Andrew Morton wrote: > > > On Thu, 15 Mar 2007 01:22:45 -0400 (EDT) Ashif Harji <[EMAIL PROTECTED]> > > > wrote: > > > I still think the simple fix of removing the > > > con

Re: [PATCH] ACPI: ibm-acpi: allow module to load when acpi notifiers can't be set

2007-03-15 Thread Holger Macht
On Thu 15. Mar - 12:37:32, Kristen Carlson Accardi wrote: > On Thu, 15 Mar 2007 12:17:21 -0700 > Chris Wedgwood <[EMAIL PROTECTED]> wrote: > > > On Thu, Mar 15, 2007 at 02:51:14PM -0300, Henrique de Moraes Holschuh wrote: > > > > > This patch allows for ibm-acpi to coexist (with diminished > > >

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread Jiri Kosina
On Thu, 15 Mar 2007, linux-os (Dick Johnson) wrote: > Yes! I will try it in the morning. It's now past quitting time and, > following this thread, you will note that the ohci module needed to be > loaded for this AMD unit so the keyboard now works! I will remove the Oh I see, looks like I have

Re: [patch 6/13] signalfd/timerfd/asyncfd v5 - timerfd core ...

2007-03-15 Thread Thomas Gleixner
Davide, On Wed, 2007-03-14 at 15:19 -0700, Davide Libenzi wrote: > +static int timerfd_tmrproc(struct hrtimer *htmr) > +{ > + struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, tmr); > + int rval = HRTIMER_NORESTART; > + unsigned long flags; > + > + spin_lock_irqsave

Re: [PATCH 1/2] mm: move common segment checks to separate helper function (v6)

2007-03-15 Thread Christoph Hellwig
Actually thinking about this a little more I don't think we should put this in. Instead this loop should be moved up to fs/read_write.c because these are checks that we want for all filesystems/drivers that use vectored I/O. We'll still need tiny loops to calculate the total I/O length for now in

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Andrea Arcangeli
On Thu, Mar 15, 2007 at 11:07:35AM -0800, Andrew Morton wrote: > > On Thu, 15 Mar 2007 01:22:45 -0400 (EDT) Ashif Harji <[EMAIL PROTECTED]> > > wrote: > > I still think the simple fix of removing the > > condition is the best approach, but I'm certainly open to alternatives. > > Yes, the problem

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
On Thu, 15 Mar 2007, Jiri Kosina wrote: > On Thu, 15 Mar 2007, linux-os (Dick Johnson) wrote: > > [...] >> The initrd "linuxrc" file that loads the modules is here. One can see >> the order in which the modules are loaded. We had to make our own shell >> to replace 'nash' because the SCSI drivers

Re: [PATCH 10/13] sl82c105: add ->speedproc support

2007-03-15 Thread Bartlomiej Zolnierkiewicz
On Wednesday 14 March 2007, Sergei Shtylyov wrote: > Hello, I wrote: > > >>> Bartlomiej Zolnierkiewicz wrote: > > [PATCH] sl82c105: add ->speedproc support > > * add sl82c105_tunepio() wrapper for sl82c105_tune_drive() > (just to get the error value) > > * add sl82c105_tun

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
On Thu, 15 Mar 2007, Dmitry Torokhov wrote: > On 3/15/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: >> echo "Loading uhci-hcd.ko module" >> insmod /lib/uhci-hcd.ko >> echo "Loading ehci-hcd.ko module" >> insmod /lib/ehci-hcd.ko > > I don't see you loading OHCI and I thought AMD boxes use

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread Jiri Kosina
On Thu, 15 Mar 2007, linux-os (Dick Johnson) wrote: [...] > The initrd "linuxrc" file that loads the modules is here. One can see > the order in which the modules are loaded. We had to make our own shell > to replace 'nash' because the SCSI drivers spawned "children" that > confused nash with S

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread linux-os \(Dick Johnson\)
On Thu, 15 Mar 2007, Alan Stern wrote: > On Thu, 15 Mar 2007, Dmitry Torokhov wrote: > >> On 3/15/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: >>> echo "Loading uhci-hcd.ko module" >>> insmod /lib/uhci-hcd.ko >>> echo "Loading ehci-hcd.ko module" >>> insmod /lib/ehci-hcd.ko >> >> I don'

Re: NPTL patch for linux 2.4.28

2007-03-15 Thread Syed Ahemed
Hello Willy , As an afterthought , You had seamlessly backported 2.4.32 and other patches for me sometime back.Please see article below. http://lwn.net/Articles/169722/ I could provide you with patch rejects and any other help from the 2.4.20-8 patch (rpm2cpio'ed redhat source rpm) to see if we

Re: [PATCH 2/3] swsusp: Do not use page flags

2007-03-15 Thread Andrew Morton
On Thu, 15 Mar 2007 22:05:53 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Thursday, 15 March 2007 20:08, Andrew Morton wrote: > > > On Mon, 12 Mar 2007 22:19:20 +0100 "Rafael J. Wysocki" <[EMAIL > > > PROTECTED]> wrote: > > > +int create_basic_memory_bitmaps(void) > > > +{ > > > + st

Re: [PATCH 2/3] FUTEX : introduce private hashtables

2007-03-15 Thread Nick Piggin
Ulrich Drepper wrote: On 3/15/07, Nick Piggin <[EMAIL PROTECTED]> wrote: There should be little contention on the memory in the global hash anyway, because we can roughly reduce contention as a factor of hash-size/cacheline-size. What we will have are cache misses on the global table... but

Re: [linux-usb-devel] USB Keyboard

2007-03-15 Thread Alan Stern
On Thu, 15 Mar 2007, Dmitry Torokhov wrote: > On 3/15/07, linux-os (Dick Johnson) <[EMAIL PROTECTED]> wrote: > > echo "Loading uhci-hcd.ko module" > > insmod /lib/uhci-hcd.ko > > echo "Loading ehci-hcd.ko module" > > insmod /lib/ehci-hcd.ko > > I don't see you loading OHCI and I thought AMD boxes

Re: Move to unshared VMAs in NOMMU mode?

2007-03-15 Thread Hugh Dickins
On Fri, 9 Mar 2007, David Howells wrote: > > I've been considering how to deal with the SYSV SHM problem, and I think we > may have to move to unshared VMAs in NOMMU mode to deal with this. Currently, > what we have is each mm_struct has in its arch-specific context argument a > list of VMLs. Ta

Re: [BUGFIX][PATCH] fixing placement of register stack under ulimit -s

2007-03-15 Thread KAMEZAWA Hiroyuki
On Thu, 15 Mar 2007 09:57:28 -0600 "David Mosberger-Tang" <[EMAIL PROTECTED]> wrote: > But aren't you going to be limited to less than a page worth of > register-backing store even with your patch applied because the > backing store will end up overflowing the memory stack? > I think pthread's s

Re: [PATCH] [REPOST] x86_64, i386: Add command line length to boot protocol

2007-03-15 Thread Alon Bar-Lev
Hello, I really don' t understand why you insist that the boot protocol =2.02 had 255 limit! Please remove this from the description. You want to add size, that's OK, but please don't mess with previous definitions. Boot protocol 2.02 introduced the null terminated string truncated by kernel, w

Re: RSDL v0.30 cpu scheduler for mainline kernels

2007-03-15 Thread Siddha, Suresh B
On Thu, Mar 15, 2007 at 11:58:39AM -0700, Ray Lee wrote: > With more CPUs, the context switch period can be multiplied by that > number of CPUs while still allowing all tasks the same frequency of > access to the CPU. Are you assuming the other cpus might be idle? It depends on the load of the sy

Re: RSDL v0.30 cpu scheduler for mainline kernels

2007-03-15 Thread Con Kolivas
On Friday 16 March 2007 05:58, Ray Lee wrote: > On 3/15/07, Siddha, Suresh B <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 15, 2007 at 05:05:13PM +1100, Con Kolivas wrote: > > > On Thursday 15 March 2007 13:31, Siddha, Suresh B wrote: > > > > Just to see the % increase in number of context switches, I

Re: [PATCH 2/3] FUTEX : introduce private hashtables

2007-03-15 Thread Ulrich Drepper
On 3/15/07, Nick Piggin <[EMAIL PROTECTED]> wrote: There should be little contention on the memory in the global hash anyway, because we can roughly reduce contention as a factor of hash-size/cacheline-size. What we will have are cache misses on the global table... but we're going to get cache

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread STenyaK (Bruno González)
On 3/15/07, johann deneux <[EMAIL PROTECTED]> wrote: On 3/14/07, STenyaK (Bruno González) <[EMAIL PROTECTED]> wrote: > Ideally, afaik we should use: > -3 values for translation force (linear force): x,y,z components of > the force vector. > -4 values for rotation force (torque): x,y,z,w component

Re: [patch v2] Fixes and cleanups for earlyprintk aka boot console.

2007-03-15 Thread John Stoffel
Gerd> The console subsystem already has an idea of a boot console, Gerd> using the CON_BOOT flag. The implementation has some flaws Gerd> though. The major problem is that presence of a boot console Gerd> makes register_console() ignore any other console devices Gerd> (unless explicitly specifie

Re: PCI probing failure in 2.6.21-rc3

2007-03-15 Thread Francis Moreau
Hi On 3/15/07, Andrew Morton <[EMAIL PROTECTED]> wrote: Greg, could we please either a) start doing something about these reports or b) publish sufficient info to permit others to do something about these reports or c) remove the printk? Thanks Andrew for considering. I eventually tried

[PATCH] [REPOST] x86_64, i386: Add command line length to boot protocol

2007-03-15 Thread Bernhard Walle
Because the command line is increased to 2048 characters after 2.6.21, it's not possible for boot loaders and userspace tools to determine the length of the command line the kernel can understand. The benefit of knowing the length is that users can be warned if the command line size is too long whi

[PATCH 2/2] ide: remove CONFIG_IDEDMA_{ICS,PCI}_AUTO config options

2007-03-15 Thread Bartlomiej Zolnierkiewicz
[PATCH] ide: remove CONFIG_IDEDMA_{ICS,PCI}_AUTO config options All modern distributions have been setting these options to "y" for ages. (additionally "n" cases have been obsoleted for few years). Therefore use DMA by default and remove CONFIG_IDEDMA_{ICS,PCI}_AUTO (also remove no longer needed

Re: [PATCH 2/3] swsusp: Do not use page flags

2007-03-15 Thread Rafael J. Wysocki
On Thursday, 15 March 2007 20:08, Andrew Morton wrote: > > On Mon, 12 Mar 2007 22:19:20 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > > wrote: > > +int create_basic_memory_bitmaps(void) > > +{ > > + struct memory_bitmap *bm1, *bm2; > > + int error = 0; > > + > > + BUG_ON(forbidden_pages_ma

Re: thread stacks and strict vm overcommit accounting

2007-03-15 Thread Ulrich Drepper
On 3/15/07, Hugh Dickins <[EMAIL PROTECTED]> wrote: I'm guessing that the pthread stacks are mmap'ed as greatest extents (probably because that's the easiest way to keep them apart), rather than as small MAP_GROWSDOWN areas to be expanded later on fault. Please all, forget about MAP_GROWSDOWN.

Re: [QUICKLIST 1/4] Generic quicklist implementation

2007-03-15 Thread Christoph Lameter
On Tue, 13 Mar 2007, Paul Mundt wrote: > This doesn't work, and so CONFIG_QUICKLIST is always set. The NR_QUICK > thing seems a bit backwards anyways, perhaps it would make more sense to > have architectures set CONFIG_GENERIC_QUICKLIST in the same way that the > other GENERIC_xxx bits are defined

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread johann deneux
On 3/14/07, STenyaK (Bruno González) <[EMAIL PROTECTED]> wrote: On 3/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > I have a question: if the force is to be 3D, why only 3 possible values? > > What would they be, 3 torques or 3 forces? In the case of car sims (ff > > steering wheels), only

[PATCH 1/2] ide: don't allow DMA to be enabled if CONFIG_IDEDMA_{ICS,PCI}_AUTO=n

2007-03-15 Thread Bartlomiej Zolnierkiewicz
[PATCH] ide: don't allow DMA to be enabled if CONFIG_IDEDMA_{ICS,PCI}_AUTO=n For CONFIG_IDEDMA_{ICS,PCI}_AUTO=n and/or "ide=nodma" option the host/device are not programmed for DMA and it is also explicitly disabled by ide_set_dma() (->ide_dma_check returns "-1"). However the code responsible fo

Re: [patch 2/5] fs: introduce new aops and infrastructure

2007-03-15 Thread Mark Fasheh
On Thu, Mar 15, 2007 at 04:06:39PM -0400, Trond Myklebust wrote: > Hell no! Struct file carries information that is essential for those of > us that use strong authentication. It stays. Joel pointed this out yesterday for the nfs case. Not to worry, we'll keep struct file around :) --Mark

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread johann deneux
On 3/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: On 3/14/07, STenyaK (Bruno González) <[EMAIL PROTECTED]> wrote: > > > On 3/14/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: > > >> Do we have any idea if there any users of FF out there? > > > > > > At least me :). I'm using it for wheel and j

Re: [PATCH 0/4] coredump: core dump masking support v4

2007-03-15 Thread Andrew Morton
On Fri, 02 Mar 2007 13:41:30 +0900 "Kawai, Hidehiro" <[EMAIL PROTECTED]> wrote: > This patch series is version 4 of the core dump masking feature, > which provides a per-process flag not to dump anonymous shared > memory segments. First up, please convince us that this problem cannot be solved in

Re: thread stacks and strict vm overcommit accounting

2007-03-15 Thread Hugh Dickins
On Thu, 15 Mar 2007, Andrew Morton wrote: > > On Tue, 13 Mar 2007 18:33:20 +0200 Dan Aloni <[EMAIL PROTECTED]> wrote: > > > > This question is relevent to 2.6.20. > > > > I noticed that if the RSS for the stack size is say, 8MB, running I think you meant to say RLIMIT_STACK rather than RSS, didn

Re: Stolen and degraded time and schedulers

2007-03-15 Thread Dan Hecht
On 03/15/2007 01:14 PM, Rik van Riel wrote: Dan Hecht wrote: Yes, the part in the "i.e." above is describing available time. So, it is essentially is the same definition of stolen time VMI uses: stolen time == ready to run but not running available time == running or not ready to run

Re: [QUICKLIST 0/4] Arch independent quicklists V2

2007-03-15 Thread Christoph Lameter
On Tue, 13 Mar 2007, Andrew Morton wrote: > > 1. We need to support other states of pages other than zeroed. > > What does this mean? pgd are not completely zeroed. They contain mappings that are always present. Thus the state is not a zeroed state. > > 2. Prezeroing does not make much sense i

Re: [PATCH] mm/filemap.c: unconditionally call mark_page_accessed

2007-03-15 Thread Andreas Mohr
Hi, On Thu, Mar 15, 2007 at 09:07:39PM +0100, Nick Piggin wrote: > Well in general we like to help applications that help themselves. It > is actually a good heuristic, surprisingly. If an application randomly > accesses the same page (and there is no write activity going on), then > it would be b

Re: [QUICKLIST 0/4] Arch independent quicklists V2

2007-03-15 Thread Christoph Lameter
On Tue, 13 Mar 2007, Andrew Morton wrote: > > On Tue, 13 Mar 2007 04:20:48 -0700 (PDT) Christoph Lameter <[EMAIL > > PROTECTED]> wrote: > > On Tue, 13 Mar 2007, Andrew Morton wrote: > > > > > Yeah, prezeroing in idle is probably pointless. But I'm not aware of > > > anyone having tried it prope

[PATCH] Improve error recovery in serial mouse driver

2007-03-15 Thread Peter Osterlund
If bytes get lost in the communication with a serial mouse using the MS protocol, the kernel driver could do a better job getting back in sync. The first byte in a packet has bit 6 set, and no other bytes have that bit set. Therefore, if a byte is received with bit 6 cleared when the driver thinks

Re: [PATCH 2/3] FUTEX : introduce private hashtables

2007-03-15 Thread Nick Piggin
Eric Dumazet wrote: [PATCH 2/3] FUTEX : introduce private hashtables This patch introduces a separate hashtable per process to store _PRIVATE futexes. This hashtable is dynamically allocated on the first _PRIVATE futex syscall. If memory cannot be allocated, the process will use the global has

Re: [RFC] kernel/pid.c pid allocation wierdness

2007-03-15 Thread William Lee Irwin III
William Lee Irwin III <[EMAIL PROTECTED]> writes: >> Radix trees' space behavior is extremely poor in sparsely-populated >> index spaces. There is no way they would save space or even come close >> to the current space footprint. On Wed, Mar 14, 2007 at 10:54:07AM -0600, Eric W. Biederman wrote: >

[PATCH] Initialise SAK member for each virtual console to prevent oops

2007-03-15 Thread Bernhard Walle
This patch initialises the SAK member of the vc_cons variable on all virtual terminals, not only the first one. This prevents an oops when trying Sysrq-C on e.g. the second virtual terminal: kernel BUG at kernel/workqueue.c:212! invalid opcode: [1] SMP CPU 0 Modules linked in: i915

Re: Stolen and degraded time and schedulers

2007-03-15 Thread Rik van Riel
Dan Hecht wrote: Yes, the part in the "i.e." above is describing available time. So, it is essentially is the same definition of stolen time VMI uses: stolen time == ready to run but not running available time == running or not ready to run S390 too. We were quite careful to make sur

Re: [lm-sensors] Intel Core Duo/Solo Temperature Monitoring Working On Intel DG965 Motherboard

2007-03-15 Thread Jean Delvare
Hi Nicolas, On Thu, 15 Mar 2007 19:27:21 +0800, Nicolas Boichat wrote: > I ported this patch to the latest git, I hope this can help to get it > merged. > > I'm just wondering if it is right to export the functions msr_read and > msr_write from arch/i386/kernel/msr.c, or if it would be better to

Re: [PATCH] i386: Simplify smp_call_function*() by using common implementation

2007-03-15 Thread Jeremy Fitzhardinge
Andi Kleen wrote: > I already got that patch, but haven't synced it out yet. My patch? I just rebased it against Jan's patch (x86_64-mm-consolidate-smp_send_stop.patch) which was causing the conflict. Do you want that version instead? J - To unsubscribe from this list: send the line "unsub

Re: [PATCH 00/18] Make common x86 arch area for i386 and x86_64 - Take 2

2007-03-15 Thread Jan Engelhardt
On Mar 15 2007 08:59, Linus Torvalds wrote: >On Thu, 15 Mar 2007, Martin Bligh wrote: >> >> Can't we move the shared files into a new shared arch/ subdirectory >> (ia32_64 or whatever), and have them included from both places? > >That's *exactly* what the patches do (except it's called "arch/x86"

Re: [PATCH 0/3] FUTEX : new PRIVATE futexes, SMP and NUMA improvements

2007-03-15 Thread Nick Piggin
Eric Dumazet wrote: Hi I'm pleased to present these patches which improve linux futex performance and scalability, on both UP, SMP and NUMA configs. I had this idea last year but I was not understood, probably because I gave not enough explanations. Sorry if this mail is really long... Yes

<    1   2   3   4   5   >