Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Ian Campbell
On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: But I think changing this macro might run into issues. It is being used at few places in kernel, for example while loading module. This will essentially mean that we allow loading 64bit x86_64 modules on 32bit i386 systems? Yes,

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Vivek Goyal
On Thu, Mar 15, 2007 at 12:22:57PM +, Ian Campbell wrote: On Thu, 2007-03-15 at 11:17 +0530, Vivek Goyal wrote: But I think changing this macro might run into issues. It is being used at few places in kernel, for example while loading module. This will essentially mean that we

Re: [PATCH 1/1] Allow i386 crash kernels to handle x86_64 dumps

2007-03-15 Thread Ian Campbell
On Thu, 2007-03-15 at 18:56 +0530, Vivek Goyal wrote: Ideal place for this probably should have been arch dependent crash_dump.h file. But we don't have one and no point introducing one just for this macro. Agreed. This change looks good to me. Is there a kdump tree which you'll apply

Re: PCI DAC DMA APIs

2007-03-15 Thread Jesse Barnes
On Thursday, March 15, 2007 5:38 am Jan Beulich wrote: While the kernel headers provide for this, there don't appear to be any in-tree users (which seems contrary to general Linux policies). Would there be objections to remove all of these? It should be safe to kill them, but I remember

Re: PCI DAC DMA APIs

2007-03-15 Thread Christoph Hellwig
On Thu, Mar 15, 2007 at 12:38:13PM +, Jan Beulich wrote: While the kernel headers provide for this, there don't appear to be any in-tree users (which seems contrary to general Linux policies). Would there be objections to remove all of these? They should go away. Having them in for more

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 stack,

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: [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) +{ + struct memory_bitmap

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

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 of falsely

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; + +

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 condition is the

[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

[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

[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 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

[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

[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 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 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

[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:

[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

[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

[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

[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

[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

[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 [EMAIL

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 going to

[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 =

[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

[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 structures

[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:

[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 be

[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.

[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 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

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 already frozen,

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 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

[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

[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

[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 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

[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

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: 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 accounted

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

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?

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 userspace and

Re: [PATCH] Fix COMPAT_VDSO regression bug

2007-03-15 Thread Leroy van Logchem
Andrew Morton akpm at 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 the

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,

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

2007-03-15 Thread William Lee Irwin III
On Fri, Mar 16, 2007 at 07:25:53AM +1100, Nick Piggin wrote: I would just avoid the complexity and setup/teardown costs, and just use a vmalloc'ed global hash for NUMA. This patch is not the way to go, but neither are vmalloc()'d global hashtables. When you just happen to hash to the wrong

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 2/3] swsusp: Do not use page flags

2007-03-15 Thread Pavel Machek
Hi! 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_map || free_pages_map); + +

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

2007-03-15 Thread Davide Libenzi
On Thu, 15 Mar 2007, Thomas Gleixner wrote: 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; +

Re: thread stacks and strict vm overcommit accounting

2007-03-15 Thread Hugh Dickins
On Thu, 15 Mar 2007, Andrew Morton wrote: 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

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

2007-03-15 Thread William Lee Irwin III
On Tue, Mar 13, 2007 at 06:12:44PM -0700, William Lee Irwin III wrote: There are furthermore distinctions to make between fork() and execve(). fork() stomps over the entire process address space copying pagetables en masse. After execve() a process incrementally faults in PTE's one at a time.

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

2007-03-15 Thread Andrea Arcangeli
On Thu, Mar 15, 2007 at 03:06:01PM -0700, Andrew Morton wrote: 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:

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

2007-03-15 Thread Dave Kleikamp
On Thu, 2007-03-15 at 23:59 +0100, Andrea Arcangeli wrote: 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. I

Re: [PATCH] fix cyclades.h for x86_64 (and probably others)

2007-03-15 Thread Klaus Kudielka
On Thu, Mar 15, 2007 at 11:07:08AM -0800, Andrew Morton wrote: Looks OK, thanks. It would be nice as a followup patch to simply remove ucchar, uclong and all that gunk altogether from that driver and just use u8, u16 etc. But if you decide to do that, please fix your email client first -

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

2007-03-15 Thread Josh Boyer
On Thu, Mar 15, 2007 at 02:24:10PM -0700, Randy Dunlap wrote: 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. :( Just curious, but

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

2007-03-15 Thread Jeremy Fitzhardinge
Andrew Morton wrote: Hopeless, sorry. It's probably time to start thinking about raising x86 patches against the x86 tree (at least). How's this? J Subject: Simplify smp_call_function*() by using common implementation smp_call_function and smp_call_function_single are almost

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

2007-03-15 Thread Andrea Arcangeli
On Thu, Mar 15, 2007 at 06:15:45PM -0500, Dave Kleikamp wrote: On Thu, 2007-03-15 at 23:59 +0100, Andrea Arcangeli wrote: 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

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

2007-03-15 Thread H. Peter Anvin
Alon Bar-Lev wrote: 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

Re: thread stacks and strict vm overcommit accounting

2007-03-15 Thread Dan Aloni
On Thu, Mar 15, 2007 at 03:36:13PM -0700, Andrew Morton wrote: Is this the intended behaviour? That sounds like a bug to me. I'm suspecting it's an oddity rather than a bug. It is intended behaviour. Each instance of main() { sleep(100); } appears to

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

2007-03-15 Thread Rafael J. Wysocki
On Thursday, 15 March 2007 23:23, Andrew Morton wrote: 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?

[patch 1/13] signal/timer/event fds v6 - anonymous inode source ...

2007-03-15 Thread Davide Libenzi
This patch add an anonymous inode source, to be used for files that need and inode only in order to create a file*. We do not care of having an inode for each file, and we do not even care of having different names in the associated dentries (dentry names will be same for classes of file*).

[patch 2/13] signal/timer/event fds v6 - signalfd core ...

2007-03-15 Thread Davide Libenzi
This patch series implements the new signalfd() system call. I took part of the original Linus code (and you know how badly it can be broken :), and I added even more breakage ;) Signals are fetched from the same signal queue used by the process, so signalfd will compete with standard kernel

[patch 6/13] signal/timer/event fds v6 - timerfd core ...

2007-03-15 Thread Davide Libenzi
This patch introduces a new system call for timers events delivered though file descriptors. This allows timer event to be used with standard POSIX poll(2), select(2) and read(2). As a consequence of supporting the Linux f_op-poll subsystem, they can be used with epoll(2) too. The system call is

[patch 4/13] signal/timer/event fds v6 - signalfd wire up x86_64 arch ...

2007-03-15 Thread Davide Libenzi
This patch wire the signalfd system call to the x86_64 architecture. Signed-off-by: Davide Libenzi davidel@xmailserver.org - Davide Index: linux-2.6.21-rc3.quilt/include/asm-x86_64/unistd.h === ---

[patch 10/13] signal/timer/event fds v6 - eventfd core ...

2007-03-15 Thread Davide Libenzi
This is a very simple and light file descriptor, that can be used as event wait/dispatch by userspace (both wait and dispatch) and by the kernel (dispatch only). It can be used instead of pipe(2) in all cases where those would simply be used to signal events. Their kernel overhead is much lower

[patch 5/13] signal/timer/event fds v6 - signalfd compat code ...

2007-03-15 Thread Davide Libenzi
This patch implement the necessary compat code for the signalfd system call. Signed-off-by: Davide Libenzi davidel@xmailserver.org - Davide Index: linux-2.6.21-rc3.quilt/fs/compat.c === ---

[patch 7/13] signal/timer/event fds v6 - timerfd wire up i386 arch ...

2007-03-15 Thread Davide Libenzi
This patch wire the timerfd system call to the i386 architecture. Signed-off-by: Davide Libenzi davidel@xmailserver.org - Davide Index: linux-2.6.21-rc3.quilt/arch/i386/kernel/syscall_table.S === ---

[patch 3/13] signal/timer/event fds v6 - signalfd wire up i386 arch ...

2007-03-15 Thread Davide Libenzi
This patch wire the signalfd system call to the i386 architecture. Signed-off-by: Davide Libenzi davidel@xmailserver.org - Davide Index: linux-2.6.21-rc3.quilt/arch/i386/kernel/syscall_table.S === ---

[patch 9/13] signal/timer/event fds v6 - timerfd compat code ...

2007-03-15 Thread Davide Libenzi
This patch implement the necessary compat code for the timerfd system call. Signed-off-by: Davide Libenzi davidel@xmailserver.org - Davide Index: linux-2.6.21-rc3.quilt/fs/compat.c === ---

[patch 8/13] signal/timer/event fds v6 - timerfd wire up x86_64 arch ...

2007-03-15 Thread Davide Libenzi
This patch wire the timerfd system call to the x86_64 architecture. Signed-off-by: Davide Libenzi davidel@xmailserver.org - Davide Index: linux-2.6.21-rc3.quilt/arch/x86_64/ia32/ia32entry.S === ---

[patch 12/13] signal/timer/event fds v6 - eventfd wire up x86_64 arch ...

2007-03-15 Thread Davide Libenzi
This patch wire the eventfd system call to the x86_64 architecture. Signed-off-by: Davide Libenzi davidel@xmailserver.org - Davide Index: linux-2.6.21-rc3.quilt/arch/x86_64/ia32/ia32entry.S === ---

[patch 11/13] signal/timer/event fds v6 - eventfd wire up i386 arch ...

2007-03-15 Thread Davide Libenzi
This patch wire the eventfd system call to the i386 architecture. Signed-off-by: Davide Libenzi davidel@xmailserver.org - Davide Index: linux-2.6.21-rc3.quilt/arch/i386/kernel/syscall_table.S === ---

Re: thread stacks and strict vm overcommit accounting

2007-03-15 Thread Alan Cox
With a typical size as a fuzz factor preaccounted in later kernels. Where's that done? I don't know what Alan is referring to there. fs/exec.c - we add 20 pages to the stack vma size initially. We've no more committed to providing each instance with 8MB of stack, than we've

[patch 13/13] signal/timer/event fds v6 - KAIO eventfd support example ...

2007-03-15 Thread Davide Libenzi
This is an example about how to add eventfd support to the current KAIO code, in order to enable KAIO to post readiness events to a pollable fd (hence compatible with POSIX select/poll). The KAIO code simply signals the eventfd fd when events are ready, and this triggers a POLLIN in the fd. This

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

2007-03-15 Thread H. Peter Anvin
Bernhard Walle wrote: 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

Re: [PATCH take3 00/20] Make common x86 arch area for i386 and x86_64 - Take 3

2007-03-15 Thread Rusty Russell
On Thu, 2007-03-15 at 01:13 -0400, Steven Rostedt wrote: Once again here's an attempt to put the shared files of x86_64 and i386 into a separate directory. OK, that's fine, but the next step is to have make ARCH=x86 compile, with a config option as to whether to build 32 or 64 bit. This will

Re: sky2 PHY setup

2007-03-15 Thread Thomas Glanzmann
Hello Stephen, yesterday I pulled from Linus tree because I saw the sky2 updated and I tried to break it but it seems that my problems are gone. I let you know if anything pops up in the future. bad news. I today tried the sky2 driver which is in Linus Kernel Tree (HEAD) on a machine with

Re: [RFC][PATCH 2/7] RSS controller core

2007-03-15 Thread Eric W. Biederman
Alan Cox [EMAIL PROTECTED] writes: stuff is happening by comparing page-count and page-_mapcount, but it certainly wouldn't be conclusive. But, does this kind of nonsense even happen in practice? Is it useful for me as a bad guy to make it happen ? To create a DOS attack. - Allocate

[PATCH] Return EPERM not ECHILD on security_task_wait failure

2007-03-15 Thread Roland McGrath
wait* syscalls return -ECHILD even when an individual PID of a live child was requested explicitly, when security_task_wait denies the operation. This means that something like a broken SELinux policy can produce an unexpected failure that looks just like a bug with wait or ptrace or something.

core2 duo, interrupts: is this normal?

2007-03-15 Thread Norberto Bensa
Hello, is this output, normal? I meant, why counters on CPU1 is zero? Isn't this balanced? $ cat /proc/interrupts CPU0 CPU1 0:4180170 0 IO-APIC-edge timer 1: 8060 0 IO-APIC-edge i8042 7: 0 0 IO-APIC-edge

Re: XFS internal error xfs_da_do_buf(2) at line 2087 of file fs/xfs/xfs_da_btree.c. Caller 0xc01b00bd

2007-03-15 Thread David Chinner
On Wed, Mar 14, 2007 at 12:34:29PM +0100, Marco Berizzi wrote: Hello everybody. Since 2.6.19.2 + commit 7fbbb01dca7704d52ace6f45a805c98a5b0362f9 What commit is that? gitweb search tells me it's an nmi watchdog change. Doesn't seem likely to change XFS behaviour - can you post a url to the

Re: [PATCH 10/13] BLK_DEV_IDE_CELLEB dependency fix

2007-03-15 Thread Akira Iguchi
Hi, Bart wrote: Al wrote: So AFAICS the minimal fix for that sucker is dependency on BLK_DEV_IDE=y; however, I really wonder if * it needs to be linked into ide-core (as opposed to being a normal module of its own) AFAICS there are no legacy device ordering issues with scc_pata so it

Re: [PATCH 2/5] revoke: core code

2007-03-15 Thread Andrew Morton
On Sun, 11 Mar 2007 13:30:49 +0200 (EET) Pekka J Enberg [EMAIL PROTECTED] wrote: From: Pekka Enberg [EMAIL PROTECTED] The revokeat(2) and frevoke(2) system calls invalidate open file descriptors and shared mappings of an inode. After an successful revocation, operations on file descriptors

Re: AMD64 kernel oops

2007-03-15 Thread Parag Warudkar
Joerg Platte lists at naasa.net writes: Pid: 14, comm: events/0 Not tainted 2.6.18-4-amd64 #1 RIP: 0010:[802ec036] [802ec036] keyring_destroy+0x32/0x96 [Snip] Can this oops be caused by a known and already fixed problem in a newer kernel versions? In this case I would

Re: CONFIG_REORDER Kconfig help strange sentence.

2007-03-15 Thread Randy Dunlap
On Tue, 13 Mar 2007 17:37:35 +1100 Rusty Russell wrote: On Tue, 2007-03-13 at 00:56 +0100, Andi Kleen wrote: On Tue, Mar 13, 2007 at 10:18:03AM +1100, Rusty Russell wrote: OK, this confused me: Function reordering (REORDER) [N/y/?] (NEW) ? This option

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

2007-03-15 Thread Randy Dunlap
On Thu, 15 Mar 2007 18:29:51 -0500 Josh Boyer wrote: On Thu, Mar 15, 2007 at 02:24:10PM -0700, Randy Dunlap wrote: 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

<    1   2   3   4   5   6   7   8   >