Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-17 Thread Andy Whitcroft
Ingo Molnar wrote: [announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] i'm pleased to announce the first release of the Modular Scheduler Core and Completely Fair Scheduler [CFS] patchset: http://redhat.com/~mingo/cfs-scheduler/sched-modular+cfs.patch This

[PATCH 2/3] lumpy: increase pressure at the end of the inactive list

2007-04-20 Thread Andy Whitcroft
pages within the target area are reclaimed, including both active and recently referenced pages. [EMAIL PROTECTED]: additionally apply pressure to referenced paged] Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c

[PATCH 3/3] introduce HIGH_ORDER delineating easily reclaimable orders

2007-04-20 Thread Andy Whitcroft
behaviour at this same boundary, more agressivly targetting pages in reclaim at higher order. This patch removes all these magical numbers and replaces with with a constant HIGH_ORDER. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git a/include

[PATCH 1/3] kswapd: use reclaim order in background reclaim

2007-04-20 Thread Andy Whitcroft
-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c index 428da1a..466435f 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1212,6 +1212,7 @@ static unsigned long balance_pgdat(pg_data_t *pgdat, int order) .may_swap = 1

[PATCH 0/3] Lumpy Reclaim V6

2007-04-20 Thread Andy Whitcroft
constant. Against: 2.6.21-rc6-mm1 -apw Changes in lumpy V5: Andy Whitcroft: lumpy: back out removal of active check in isolate_lru_pages lumpy: only count taken pages as scanned Changes in lumpy V4: Andy Whitcroft: lumpy: isolate_lru_pages wants to specifically take active

Re: [PATCH 3/3] introduce HIGH_ORDER delineating easily reclaimable orders

2007-04-23 Thread Andy Whitcroft
Andrew Morton wrote: On Sat, 21 Apr 2007 01:28:43 -0700 Andrew Morton [EMAIL PROTECTED] wrote: It would have been better to have patched page_alloc.c independently, then to have used HIGH_ORDER in lumpy: increase pressure at the end of the inactive list. Actually that doesn't matter,

[PATCH 0/3] Lumpy Reclaim V5

2007-03-12 Thread Andy Whitcroft
Following this email are three patches which represent the current state of the lumpy reclaim patches; collectively lumpy V5. This patch kit is against 2.6.21-rc3-mm2. This stack is split out to show the incremental changes in this version. This contains one fixup following on from Christoph

[PATCH 1/3] Lumpy Reclaim V4

2007-03-12 Thread Andy Whitcroft
Whitcroft [EMAIL PROTECTED] Acked-by: Peter Zijlstra [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- 8 Changes in lumpy V4: Andy Whitcroft: lumpy: isolate_lru_pages wants to specifically take active or inactive pages

[PATCH 2/3] lumpy: back out removal of active check in isolate_lru_pages

2007-03-12 Thread Andy Whitcroft
As pointed out by Christop Lameter it should not be possible for a page to change its active/inactive state without taking the lru_lock. Reinstate this safety net. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c

[PATCH 3/3] lumpy: only count taken pages as scanned

2007-03-12 Thread Andy Whitcroft
. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c index d7a0860..c3dc544 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -732,11 +732,11 @@ static unsigned long isolate_lru_pages(unsigned long nr_to_scan

Re: [PATCH 1/3] Lumpy Reclaim V4

2007-03-12 Thread Andy Whitcroft
Dave Hansen wrote: On Mon, 2007-03-12 at 18:23 +, Andy Whitcroft wrote: + /* The target page is in the block, ignore it. */ + if (unlikely(pfn == page_pfn)) + continue; +#ifdef CONFIG_HOLES_IN_ZONE

Re: [PATCH 0/3] Lumpy Reclaim V5

2007-03-17 Thread Andy Whitcroft
Andrew Morton wrote: On Mon, 12 Mar 2007 18:22:45 + Andy Whitcroft [EMAIL PROTECTED] wrote: Following this email are three patches which represent the current state of the lumpy reclaim patches; collectively lumpy V5. So where do we stand with this now?Does it make anything get

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

2007-03-19 Thread Andy Whitcroft
Martin Bligh wrote: Christoph Lameter wrote: On Fri, 16 Mar 2007, Martin Bligh wrote: You have to do some sort of lookup anyway, and Andy seemed to have them all folded into one. What lookup would you need to do? On x86_64 even the TLB use is hidden by the existing 2M entries for 1-1

2.6.21-rc3-mm2: PG_booked and PG_readahead

2007-03-19 Thread Andy Whitcroft
[applogies in advance if this has already been asked] I note that PG_booked and PG_readahead are both using bit 20 in 2.6.21-rc3-mm2. Is this intentional or perhaps a miss-merge. They do not sound obviously non-overlapping to my mind. -apw - To unsubscribe from this list: send the line

Re: 2.6.21-rc4-mm1

2007-03-20 Thread Andy Whitcroft
Andrew Morton wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.21-rc4-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc4/2.6.21-rc4-mm1/ [All of the below is from the pre hot-fix runs. The very few results which are

[PATCH 0/3] pfn_valid_within() HOLES_WITHIN_ZONES helper

2007-03-21 Thread Andy Whitcroft
The thought of having a helper for the holes within zones code has come up on two different threads in the last couple of days. So I took the pfn_valid_within() patch I had developed for the linear reclaim series and pulled it forward to 2.6.21-rc4-mm1. I have split it into a three patch series to

[PATCH 1/3] add pfn_valid_within helper for sub-MAX_ORDER hole detection

2007-03-21 Thread Andy Whitcroft
holes within a MAX_ORDER_NR_PAGES block of pages. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 7206c77..8c87d79 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h

[PATCH 2/3] anti-fragmentation: switch over to pfn_valid_within()

2007-03-21 Thread Andy Whitcroft
Move to using pfn_valid_within(). Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 695b5a6..3d7c29e 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -747,12 +747,10 @@ int move_freepages(struct

[PATCH 3/3] lumpy: move to using pfn_valid_within()

2007-03-21 Thread Andy Whitcroft
Switch to using pfn_valid_within() in lumpy reclaim. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Mel Gorman [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c index c3dc544..cf55c57 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -722,11 +722,10 @@ static unsigned long

Re: 2.6.21-rc4-mm1

2007-03-22 Thread Andy Whitcroft
Andy Whitcroft wrote: Andrew Morton wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.21-rc4-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc4/2.6.21-rc4-mm1/ [All of the below is from the pre hot-fix runs. The very few

Re: 2.6.21-rc4-mm1

2007-03-22 Thread Andy Whitcroft
Andy Whitcroft wrote: Andy Whitcroft wrote: Andrew Morton wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.21-rc4-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc4/2.6.21-rc4-mm1/ [All of the below is from the pre hot-fix

Re: 2.6.21-rc4-mm1

2007-03-22 Thread Andy Whitcroft
Con Kolivas wrote: On Thursday 22 March 2007 20:48, Andy Whitcroft wrote: Andy Whitcroft wrote: Andy Whitcroft wrote: Andrew Morton wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.21-rc4-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches

Re: 2.6.21-rc4-mm1

2007-03-22 Thread Andy Whitcroft
Andy Whitcroft wrote: Con Kolivas wrote: On Thursday 22 March 2007 20:48, Andy Whitcroft wrote: Andy Whitcroft wrote: Andy Whitcroft wrote: Andrew Morton wrote: Temporarily at http://userweb.kernel.org/~akpm/2.6.21-rc4-mm1/ Will appear later at ftp://ftp.kernel.org/pub/linux

Re: 2.6.21-rc4-mm1

2007-03-23 Thread Andy Whitcroft
Con Kolivas wrote: On Friday 23 March 2007 05:17, Andy Whitcroft wrote: Ok, I have yet a third x86_64 machine is is blowing up with the latest 2.6.21-rc4-mm1+hotfixes+rsdl-0.32 but working with 2.6.21-rc4-mm1+hotfixes-RSDL. I have results on various hotfix levels so I have just fired off

Re: 2.6.21-rc4-mm1

2007-03-23 Thread Andy Whitcroft
Andy Whitcroft wrote: Con Kolivas wrote: On Friday 23 March 2007 05:17, Andy Whitcroft wrote: Ok, I have yet a third x86_64 machine is is blowing up with the latest 2.6.21-rc4-mm1+hotfixes+rsdl-0.32 but working with 2.6.21-rc4-mm1+hotfixes-RSDL. I have results on various hotfix levels so I

Re: [PATCH] slab: NUMA kmem_cache diet

2007-03-23 Thread Andy Whitcroft
Eric Dumazet wrote: Some NUMA machines have a big MAX_NUMNODES (possibly 1024), but fewer possible nodes. This patch dynamically sizes the 'struct kmem_cache' to allocate only needed space. I moved nodelists[] field at the end of struct kmem_cache, and use the following computation in

Re: debug rsdl 0.33

2007-03-25 Thread Andy Whitcroft
Con Kolivas wrote: On Saturday 24 March 2007 08:45, Con Kolivas wrote: On Friday 23 March 2007 23:28, Andy Whitcroft wrote: Andy Whitcroft wrote: Con Kolivas wrote: On Friday 23 March 2007 05:17, Andy Whitcroft wrote: Ok, I have yet a third x86_64 machine is is blowing up with the latest

Re: debug rsdl 0.33

2007-03-26 Thread Andy Whitcroft
Con Kolivas wrote: This is about the only place I can see the run_list is looked at unlocked. Can you see if this simple patch helps? The debug patch is unnecessary now. Tests queued with this patch. Will let you know. -apw - To unsubscribe from this list: send the line unsubscribe

Re: debug rsdl 0.33

2007-03-26 Thread Andy Whitcroft
Andy Whitcroft wrote: Con Kolivas wrote: This is about the only place I can see the run_list is looked at unlocked. Can you see if this simple patch helps? The debug patch is unnecessary now. Tests queued with this patch. Will let you know. That patch had no effect on the problem

Re: [PATCH 1/4] Generic Virtual Memmap suport for SPARSEMEM V3

2007-04-10 Thread Andy Whitcroft
. CCing Andy Whitcroft who will hopefully merge this all of this together into sparsemem including the S/390 implementation. Yep grabbed this one and added it to the stack. Now to find a sparc to test it with! -apw - To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: 2.6.20-mm2

2007-02-20 Thread Andy Whitcroft
Andrew Morton wrote: - Judging by the number of times I get asked is there a git tree for -mm, nobody is reading the boilerplate. Here it is again: The git tree version of -mm seems to be sick. A fetch of the tag gives you something but it is significantly (200k lines of diff) away from

[PATCH 1/5] Lumpy Reclaim V3

2007-02-27 Thread Andy Whitcroft
reclaim V2 patch which forms the foundation. [EMAIL PROTECTED]: ia64 pfn_to_nid fixes and loop cleanup] [EMAIL PROTECTED]: static declarations for internal functions] Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] Acked-by: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL

[PATCH 2/5] lumpy: isolate_lru_pages wants to specifically take active or inactive pages

2007-02-27 Thread Andy Whitcroft
. This is no longer an error and we should simply ignore them. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c index f15ffcb..b878d54 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -663,12 +663,13 @@ static int __isolate_lru_page(struct page *page, int active

[PATCH 0/5] Lumpy Reclaim V4

2007-02-27 Thread Andy Whitcroft
Following this email are five patches which represent the current state of the lumpy reclaim patches; collectivly lumpy v4. This patch kit is designed as a complete drop-in replacement for the lumpy patches in 2.6.20-mm2. This stack is split out to show the incremental changes in this version.

[PATCH 3/5] lumpy: ensure that we compare PageActive and active safely

2007-02-27 Thread Andy Whitcroft
Now that we are passing in a boolean active flag we need to ensure that the result of PageActive(page) is comparible to that boolean. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c index b878d54..2bfad79 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c

[PATCH 4/5] lumpy: update commentry on subtle comparisons and rounding assumptions

2007-02-27 Thread Andy Whitcroft
We have a number of subtle comparisons when scanning a block, and we make use of a lot of buddy mem_map guarentees. Add commentary about each. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c index 2bfad79..bef7e92 100644 --- a/mm/vmscan.c +++ b/mm

[PATCH 5/5] lumpy: only check for valid pages when holes are present

2007-02-27 Thread Andy Whitcroft
We only need to check that each page is valid with pfn_valid when we are on an architecture which had holes within zones. Make this check conditional. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] --- diff --git a/mm/vmscan.c b/mm/vmscan.c index bef7e92..f249ad7 100644 --- a/mm/vmscan.c +++ b

Re: [PATCH 1/5] Lumpy Reclaim V3

2007-03-02 Thread Andy Whitcroft
Christoph Lameter wrote: On Tue, 27 Feb 2007, Andy Whitcroft wrote: +static int __isolate_lru_page(struct page *page, int active) +{ +int ret = -EINVAL; + +if (PageLRU(page) (PageActive(page) == active)) { +ret = -EBUSY; +if (likely(get_page_unless_zero

Re: [PATCH 2/5] lumpy: isolate_lru_pages wants to specifically take active or inactive pages

2007-03-02 Thread Andy Whitcroft
Christoph Lameter wrote: On Tue, 27 Feb 2007, Andy Whitcroft wrote: The caller of isolate_lru_pages specifically knows whether it wants to take either inactive or active pages. Currently we take the state of the LRU page at hand and use that to scan for matching pages in the order sized

[PATCH] i386 alternative_io implementation

2007-03-07 Thread Andy Whitcroft
Add an i386 implementation of alternative_io modelled on the x86_64 version. Signed-off-by: Andy Whitcroft [EMAIL PROTECTED] --- Ok, this seems to fix things up here. I have only boot tested this on an SMP so I'd not call that 'heavily tested' in any real sense

Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL

2007-04-05 Thread Andy Whitcroft
Christoph Lameter wrote: On Mon, 2 Apr 2007, Martin Bligh wrote: Its just the opposite. The vmemmap code is so efficient that we can remove lots of other code and gops of these alternate implementations. On x86_64 its even superior to FLATMEM since FLATMEM still needs a memory reference for

Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL

2007-04-05 Thread Andy Whitcroft
Andi Kleen wrote: On Monday 02 April 2007 23:56:08 Dave Hansen wrote: On Mon, 2007-04-02 at 14:28 -0700, Christoph Lameter wrote: I do not care what its called as long as it covers all the bases and is not a glaring performance regresssion (like SPARSEMEM so far). I honestly don't doubt

Re: Checkpatch.pl failure

2008-01-14 Thread Andy Whitcroft
On Mon, Jan 14, 2008 at 09:48:53AM -0600, James Bottomley wrote: This error: ERROR: no space before that close parenthesis ')' #501: FILE: drivers/scsi/dpt_i2o.c:2299: + if (dev_status == 0x02 /*CHECK_CONDITION*/) { Is definitely wrong. I think it's stripped the comments so

Re: [PATCH] checkpatch.pl: show how to read from stdin

2008-01-14 Thread Andy Whitcroft
On Fri, Jan 11, 2008 at 06:06:35PM +0100, Stefan Richter wrote: Signed-off-by: Stefan Richter [EMAIL PROTECTED] Acked-by: Jiri Slaby [EMAIL PROTECTED] As an absolute minimum this seems reasonable to me. I guess we could make no arguments default to '-' also. There are up and downsides to

Re: checkpatch: add filename before the summary line

2008-01-14 Thread Andy Whitcroft
On Sun, Jan 13, 2008 at 11:34:05PM +0100, Paolo Ciarrocchi wrote: With the patch applied the output of checkpatch.pl is as follow: ./arch/arm/mach-footbridge/ebsa285-pci.c total: 1 errors, 0 warnings, 48 lines checked Adding the file name allowed me to collects stats running: find .

Re: [PATCH] checkpatch.pl: show how to read from stdin

2008-01-14 Thread Andy Whitcroft
On Mon, Jan 14, 2008 at 09:35:15AM -0800, Daniel Walker wrote: On Mon, 2008-01-14 at 17:17 +, Andy Whitcroft wrote: On Fri, Jan 11, 2008 at 06:06:35PM +0100, Stefan Richter wrote: Signed-off-by: Stefan Richter [EMAIL PROTECTED] Acked-by: Jiri Slaby [EMAIL PROTECTED

Re: EXPORTS_SYMBOLs that are in assembly?

2008-01-14 Thread Andy Whitcroft
On Sun, Jan 13, 2008 at 08:41:20PM -0500, Steven Rostedt wrote: Hi guys, Just wondering what the proper way to export a symbol that is defined in assembly? Or is there some kind of annotation I can add in comment form that will let checkpatch know the variable is not in C? Here's what

[PATCH] update checkpatch.pl to version 0.10

2007-09-12 Thread Andy Whitcroft
line endings - detect redundant casts for kalloc() Andy Whitcroft (18): Version: 0.10 asmlinkage is also a storage type pull out inline specifiers allow only some operators before a unary operator parenthesised values may span line ends add additional

Re: Kernel Panic - 2.6.23-rc4-mm1 ia64 - was Re: Update: [Automatic] NUMA replicated pagecache ...

2007-09-12 Thread Andy Whitcroft
On Wed, Sep 12, 2007 at 11:09:47AM -0400, Lee Schermerhorn wrote: Interesting, I don't see a memory controller function in the stack trace, but I'll double check to see if I can find some silly race condition in there. right. I noticed that after I sent the mail. Also, config

Re: [2/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Andy Whitcroft
On Wed, Sep 12, 2007 at 06:58:54PM +0200, Michal Piotrowski wrote: FS Subject : hanging ext3 dbench tests References : http://lkml.org/lkml/2007/9/11/176 Last known good : ? Submitter : Andy Whitcroft [EMAIL PROTECTED] Caused-By : ? Handled-By : ? Status

Re: [patch] add some Blackfin specific checks to checkpatch.pl

2007-09-13 Thread Andy Whitcroft
On Tue, Aug 21, 2007 at 06:29:59PM -0400, Mike Frysinger wrote: Check for a few common errors in Blackfin-specific code wrt MMR loading in assembly and doing core/system syncs. If we are going to pull arch specific things into checkpatch I think we need to make sure we are pretty specific about

Re: 2.6.23-rc4-mm1

2007-09-13 Thread Andy Whitcroft
On Tue, Sep 11, 2007 at 04:10:47AM +0900, FUJITA Tomonori wrote: The only patch which touches qla1280 is git-block.patch. From a quick squizz the change looks OK, although it's tricky and something might have broken. Can you try this patch (against 2.6.23-rc4-mm1)? Yep this patch seems

Re: 2.6.23-rc4-mm1

2007-09-14 Thread Andy Whitcroft
On Tue, Sep 11, 2007 at 04:31:12AM +0900, FUJITA Tomonori wrote: [...] The only patch which touches qla1280 is git-block.patch. From a quick squizz the change looks OK, although it's tricky and something might have broken. (the dprintk at line 2929 needs to print remseg, not seg_cnt).

Re: 2.6.23-rc6: hanging ext3 dbench tests

2007-09-14 Thread Andy Whitcroft
On Tue, Sep 11, 2007 at 06:30:49PM +0100, Andy Whitcroft wrote: Annoyingly this seems to be intermittent, and I have not managed to get a machine into this state again yet. Will keep trying. Ok, I have been completly unsuccessful in reproducing this. Dispite having two distinct machines

Re: [BUG][2.6.23-rc6] Badness at arch/powerpc/kernel/smp.c:202

2007-09-14 Thread Andy Whitcroft
Anton, this seems a little reminicient of that bug which popped up in 2.6.23-rc3 so do with SLB loading (if memory serves), with machine checks and signal 7's. Of course that is _supposed_ to be fixed by this time ... I believe it was Paul who fixed up that one, and he is already copied. -apw

Re: 2.6.23-rc6-mm1

2007-09-18 Thread Andy Whitcroft
On Tue, Sep 18, 2007 at 02:43:48PM +0530, Kamalesh Babulal wrote: Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc6/2.6.23-rc6-mm1/ 2.6.23-rc6-mm1 is a 29MB diff against 2.6.23-rc6. snip Hi Andrew, The 2.6.23-rc6-mm1build fails at

2.6.23-rc6-mm1 -- powerpc link failure

2007-09-19 Thread Andy Whitcroft
I am seeing this strange link error from a PowerMac G5 (powerpc): [...] KSYM.tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux.o ld: dynreloc miscount for fs/built-in.o, section .opd ld: can not edit opd Bad value make: *** [vmlinux.o] Error 1 Compiler version

2.6.23-rc6-mm1 -- powerpc pSeries_log_error panic in rtas_call/early_enable_eeh

2007-09-19 Thread Andy Whitcroft
Seeing the following panic booting an old powerpc LPAR: Unable to handle kernel paging request for data at address 0x Faulting instruction address: 0xc0047b48 cpu 0x0: Vector: 300 (Data Access) at [c06a3750] pc: c0047b48: .pSeries_log_error+0x364/0x420 lr:

2.6.23-rc6-mm1 -- mkfs stuck in 'D'

2007-09-19 Thread Andy Whitcroft
Seems I have a case of a largish i386 NUMA (NUMA-Q) which has a mkfs stuck in a 'D' wait: === mkfs.ext2 D c10220f4 0 6233 6222 c344fc80 0082 0286 c10220f4 c344fc90 002ed099 c2963340 c2b9f640 c142bce0 c2b9f640 c344fc90 002ed099 c344fcfc

Re: 2.6.23-rc6-mm1 -- powerpc link failure

2007-09-19 Thread Andy Whitcroft
On Wed, Sep 19, 2007 at 06:36:29PM +0200, Segher Boessenkool wrote: I am seeing this strange link error from a PowerMac G5 (powerpc): [...] KSYM.tmp_kallsyms2.S AS .tmp_kallsyms2.o LD vmlinux.o ld: dynreloc miscount for fs/built-in.o, section .opd ld: can

Re: 2.6.23-rc6: hanging ext3 dbench tests

2007-09-19 Thread Andy Whitcroft
On Fri, Sep 14, 2007 at 10:49:05AM +0100, Andy Whitcroft wrote: On Tue, Sep 11, 2007 at 06:30:49PM +0100, Andy Whitcroft wrote: Annoyingly this seems to be intermittent, and I have not managed to get a machine into this state again yet. Will keep trying. Ok, I have been completly

Re: [Celinux-dev] [Announce] Linux-tiny project revival

2007-09-20 Thread Andy Whitcroft
On Thu, Sep 20, 2007 at 12:38:55AM +0200, Michael Opdenacker wrote: Andrew, you're completely right... The patches should all aim at being included into mainline or die. I'm finishing a sequence of crazy weeks and I will have time to send you patches one by one next week, starting with the

Re: Warning: commit message does not conform to UTF-8. (mmotm 10-Nov-2007 22:46)

2007-11-12 Thread Andy Whitcroft
On Sat, Nov 10, 2007 at 07:30:57PM -0500, Erez Zadok wrote: Andrew, I'm getting minor warnings when applying two patches from http://userweb.kernel.org/~akpm/mmotm/ It's probably not serious but I wonder if checkpatch catches this. Applying patch..git-net.patch Warning: commit message

Re: checkpatch.pl and no newline handling

2007-11-13 Thread Andy Whitcroft
On Mon, Nov 12, 2007 at 02:46:30PM -0500, Mike Frysinger wrote: the current checkpatch.pl does not reject new files that lack a newline, yet rejects patches that fix newlines in files ... quite the opposite of what we actually want Nice. Just what the world needs. I wonder what the heck that

Re: checkpatch.pl and no newline handling

2007-11-13 Thread Andy Whitcroft
On Mon, Nov 12, 2007 at 02:46:30PM -0500, Mike Frysinger wrote: the current checkpatch.pl does not reject new files that lack a newline, yet rejects patches that fix newlines in files ... quite the opposite of what we actually want [EMAIL PROTECTED] echo -n moo no-newline.c [EMAIL PROTECTED]

[PATCH] update checkpatch.pl to version 0.12

2007-11-13 Thread Andy Whitcroft
- handle patches which introduce or remove lines without newlines Andy Whitcroft (19): Version: 0.12 style fixes as spotted by checkpatch add a --terse options of a single line of output per report block brace checks should only apply for single line blocks all new bare

Re: 2.6.24-rc2-mm1 -- mkfs failing on variety of fs types

2007-11-14 Thread Andy Whitcroft
We seem to have some general problem with mkfs for all filesystems. I am seeing this across at least three test systems although most are unable to compile this kernel :(, even with the hotfix. Basically, all mkfs operations for any filsystem type are failing, ext2 reports this as short write,

Re: 2.6.24-rc2-mm1 (memory hotplug x86_64/vmemmap fix)

2007-11-15 Thread Andy Whitcroft
)); } Reviewed-by: Andy Whitcroft [EMAIL PROTECTED] -apw - 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: 2.6.24-rc2-mm1 -- strange apparent network failures

2007-11-15 Thread Andy Whitcroft
When testing some of the later 2.6.24-rc2-mm1+hotfix combinations on three of our test systems one job from each batch (1/4) failed. In each case the machine appears to have booted normally all the way to a login: prompt. However in the failed boots the networking though apparently initialised

Re: 2.6.24-rc2-mm1 -- QLogics ISP1020 gone missing

2007-11-15 Thread Andy Whitcroft
All of our machines with QLogics ISP1020 cards seem to have lost them on boot with 2.6.24-rc1-mm1+hotfixes. # lspci :00:0a.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 05) # lspci -n :00:0a.0 0100: 1077:1020 (rev 05) # lspci -v -v :00:0a.0 SCSI storage

Re: 2.6.24-rc2-mm1 -- strange apparent network failures

2007-11-17 Thread Andy Whitcroft
On Fri, Nov 16, 2007 at 09:16:58PM -0800, Andrew Morgan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, This warning is just saying that you might want to reconsider recompiling your dhclient with a newer libcap - which has native support for 64-bit capabilities. This is

Re: [PATCH] [RFC] Xilinx SystemACE: Add media hotplug support

2007-12-20 Thread Andy Whitcroft
On Wed, Dec 19, 2007 at 11:23:48PM -0700, Grant Likely wrote: + /* Make the sysace device 'live' */ + if (ace-fsm_state != ACE_FSM_STATE_INVALIDATE_MEDIA); + add_disk(ace-gd); checkpatch.pl reports the above if as suspect due to the trailing ;.

Re: Trailing periods in kernel messages

2007-12-20 Thread Andy Whitcroft
On Thu, Nov 29, 2007 at 06:35:28PM -0800, Joe Perches wrote: On Fri, 2007-11-30 at 09:54 +0800, Li Zefan wrote: So it doesn't deserve the effort to eliminate these periods, isn't it? I hope these will eventually disappear. Or we can add a check to checkpatch.pl to prevent new ones.

Re: [PATCH] SC26XX: New serial driver for SC2681 uarts

2007-12-21 Thread Andy Whitcroft
On Mon, Dec 03, 2007 at 03:53:17PM -0800, Andrew Morton wrote: +#define READ_SC(p, r)readb ((p)-membase + RD_##r) +#define WRITE_SC(p, r, v)writeb ((v), (p)-membase + WR_##r) No space before the (. checkpatch misses this. Yep, over careful in the special case for the

Re: [PATCH] scripts/checkpatch.pl: add a check for the patch level (patch -pnum)

2007-12-21 Thread Andy Whitcroft
On Tue, Dec 18, 2007 at 06:46:41AM +0100, Borislav Petkov wrote: On Mon, Dec 17, 2007 at 08:11:05AM +0100, Borislav Petkov wrote: A slightly microoptimized version 1.1: --- From: Borislav Petkov [EMAIL PROTECTED] Check the patch level of the single hunks in a patch file, however only

Re: bug in checkpath.pl

2007-11-29 Thread Andy Whitcroft
On Wed, Nov 28, 2007 at 12:07:38PM +0100, Holger Schurig wrote: I have a case where scripts/checkpatch.pl returns a false error. First, here is the code: static int lbs_scan_add_rates_tlv(u8 *tlv) { int i; struct mrvlietypes_ratesparamset *rate_tlv = (struct

Re: [PATCH] checkpatch: Print filenames of patches

2007-11-20 Thread Andy Whitcroft
On Sun, Nov 18, 2007 at 11:03:47AM +0100, Geert Uytterhoeven wrote: checkpatch: Print filenames of patches instead of the very uninformative `Your patch'. Well this isn't quite enough as we often use this thing checking its stdin. Which leads to an even less useful '- has no obvious ...'. I

Re: mm snapshot broken-out-2007-11-20-01-45.tar.gz -- powerpc panic

2007-11-20 Thread Andy Whitcroft
I have one powerpc machine which managed to compile this snapshot! It paniced on boot as below, might be nfs so copied them. General results are popping out on TKO. -apw Freeing initrd memory: 1224k freed Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]). Unable to handle kernel paging

Re: checkpatch false ERROR: trailing statements should be on next line

2007-12-26 Thread Andy Whitcroft
On Tue, Dec 25, 2007 at 04:50:04PM -0500, Erez Zadok wrote: Using v2.6.24-rc6-125-g5356f66, code such as this: if (is_file)/* dirs can be unlinked but chdir'ed to */ err = -ESTALE; produces this false checkpatch error: foo.c:947: ERROR: trailing statements

Re: [PATCH] checkpatch.pl: recognize the #elif preprocessor directive

2008-01-02 Thread Andy Whitcroft
On Tue, Jan 01, 2008 at 12:12:22PM +0200, Benny Halevy wrote: checkpatch.pl does not recognize #elif as a preprocessor directive causing it to print bogus errors for, e.g.: ERROR: need consistent spacing around '' (ctx:WxV) when the operator is not recognized as unary in this context. for

Re: WARNING: do not add new typedefs - is that for real?

2008-01-02 Thread Andy Whitcroft
On Tue, Jan 01, 2008 at 06:15:46PM +0200, Boaz Harrosh wrote: I have this code: c_code /* * osd-r10 4.12.5 Data-In and Data-Out buffer offsets * byte offset = mantissa * (2^(exponent+8)) */ typedef __be32 osd_cdb_offset; osd_cdb_offset __osd_encode_offset(u64 offset, unsigned

Re: [PATCH] teach checkpatch.pl about list_for_each

2008-01-03 Thread Andy Whitcroft
On Sun, Dec 02, 2007 at 01:03:35PM +0100, Christer Weinigel wrote: Hi Andy, you seem to be the last person messing around with checkpatch.pl so I'm addressing this to you. :-) checkpatch complains about the following: WARNING: no space between function name and open parenthesis '('

Re: Make checkpatch.pl's quiet option not print the summary on no errors

2008-01-03 Thread Andy Whitcroft
On Thu, Jan 03, 2008 at 01:54:42AM +0100, Arjan van de Ven wrote: Subject: Make checkpatch.pl's quiet option not print the summary on no errors From: Arjan van de Ven [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Right now, in quiet mode, checkpatch.pl still prints a summary line even if the

Re: [PATCH v2] bitops kernel-doc: inline instead of macro

2007-10-27 Thread Andy Whitcroft
On Thu, Oct 25, 2007 at 01:48:14PM -0700, Andrew Morton wrote: Andy, I thought we were going to whine about __inline__ and __inline, too? Hmmm, I don't remember that coming up, but I'll add it to the todo. I am assuming plain 'inline' is preferred over both of these -- yell if you meant

Re: [PATCH v2] bitops kernel-doc: inline instead of macro

2007-10-27 Thread Andy Whitcroft
On Sat, Oct 27, 2007 at 11:43:28AM +0100, Andy Whitcroft wrote: On Thu, Oct 25, 2007 at 01:48:14PM -0700, Andrew Morton wrote: Andy, I thought we were going to whine about __inline__ and __inline, too? Hmmm, I don't remember that coming up, but I'll add it to the todo. I am assuming

Re: [stable] 2.6.23 boot failures on x86-64.

2007-10-29 Thread Andy Whitcroft
-by? And/or ack/nack's on my half-arsed theory above? This code is definatly only used when SPARSEMEM is enabled, and VMEMMAP is not which is not a combination we see on x86_64. Acked-by: Andy Whitcroft [EMAIL PROTECTED] Linus -- From: Linus Torvalds [EMAIL PROTECTED] Revert x86_64

Re: checkpatch bug: space between left parenthesis and asterisk

2007-10-30 Thread Andy Whitcroft
On Tue, Oct 30, 2007 at 02:27:13PM -0500, Timur Tabi wrote: I'm running checkpatch.pl (dated 10/17), and it complains about this line: crc = __be32_to_cpu(* ((__be32 *) ((void *) firmware + calc_size))); the message I get is: ERROR: need space before that '*' (ctx:BxW) #721: FILE:

Re: [PATCH 5/6] fix typo in SubmittingPatches

2007-10-31 Thread Andy Whitcroft
On Tue, Oct 30, 2007 at 10:11:44PM -0700, Greg Kroah-Hartman wrote: From: Keiichi Kii [EMAIL PROTECTED] Fix typo. Signed-off-by: Keiichi Kii [EMAIL PROTECTED] Cc: Andy Whitcroft [EMAIL PROTECTED] Cc: Randy Dunlap [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED

s390x: getting ipv6 bugs on mainline since 2.6.23-git3

2007-10-18 Thread Andy Whitcroft
Seems we are getting some kind of bug out of our s390x partition (lnxabat1) when booting latest mainline releases, specifically since 2.6.23-git3. Kernel BUG at 0002 Ýverbose debug info unavailable¨ illegal operation: 0001 Ý#1¨ Modules linked in: dm_mod sit tunnel4 ipv6 qeth ccwgroup

Re: [PATCH][NET] gianfar: fix obviously wrong #ifdef CONFIG_GFAR_NAPI placement

2007-10-18 Thread Andy Whitcroft
The check then is to see if a non {}'d block has no statements in it if the ifdef is null. Hmmm. May be possible. Will think on it. if (err) +#ifdef CONFIG_GFAR_NAPI napi_disable(priv-napi); +#endif -apw - To unsubscribe from this list: send the line unsubscribe

Re: latest checkpatch

2007-10-18 Thread Andy Whitcroft
On Thu, Oct 18, 2007 at 01:13:52PM +0200, Ingo Molnar wrote: latest checkpatch.pl works really well on sched.c. there's only one problem left, this bogus false positive warning reappeared: WARNING: braces {} are not necessary for single statement blocks #5710: FILE: sched.c:5710:

Re: latest checkpatch

2007-10-18 Thread Andy Whitcroft
On Thu, Oct 18, 2007 at 08:25:21PM +0100, Andy Whitcroft wrote: On Thu, Oct 18, 2007 at 01:13:52PM +0200, Ingo Molnar wrote: latest checkpatch.pl works really well on sched.c. there's only one problem left, this bogus false positive warning reappeared: WARNING: braces

Re: latest checkpatch

2007-10-19 Thread Andy Whitcroft
On Thu, Oct 18, 2007 at 10:51:47PM +0200, Ingo Molnar wrote: * Avi Kivity [EMAIL PROTECTED] wrote: if (foo) bar(); baz(); one(); detecting that would be awesome - it's often the sign of a real bug because the intent is often to have bar() and

Re: [BUG] 2.6.23-git18 Kernel oops in sg helpers

2007-10-24 Thread Andy Whitcroft
On Tue, Oct 23, 2007 at 08:44:20PM +0200, Jens Axboe wrote: On Tue, Oct 23 2007, Kamalesh Babulal wrote: Hi, Kernel oops is triggered while running fsx-linux test, followed by cpu softlock over the AMD box Unable to handle kernel NULL pointer dereference at 0018 RIP:

2.6.23-git18: ext2_check_page: bad entry in directory

2007-10-24 Thread Andy Whitcroft
Seems that we are now getting strange errors mounting an ext2 root filesystem under 2.6.23-git18: EXT2-fs error (device sda1): ext2_check_page: bad entry in directory #2: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0 This seems to be occuring consistently since

Re: 2.6.23-git18: ext2_check_page: bad entry in directory

2007-10-24 Thread Andy Whitcroft
On Wed, Oct 24, 2007 at 03:59:00PM +0200, Jan Kara wrote: Hello, On Wed 24-10-07 14:15:40, Andy Whitcroft wrote: Seems that we are now getting strange errors mounting an ext2 root filesystem under 2.6.23-git18: EXT2-fs error (device sda1): ext2_check_page: bad entry in directory

Re: 2.6.23-git18: ext2_check_page: bad entry in directory

2007-10-24 Thread Andy Whitcroft
On Wed, Oct 24, 2007 at 05:03:03PM +0200, Jan Kara wrote: e2image -r /dev/sda1 - | gzip -dc root-image.gz This thing is 27MB, I'll try and find some space to hold it and let you know where it is offlist. -apw - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: bug in checkpatch (on pointers to typedefs?)

2008-02-11 Thread Andy Whitcroft
On Sun, Feb 10, 2008 at 03:33:02PM +0100, Marcin Slusarz wrote: Hi Checkpatch in current mainline outputs following errors: $ ./scripts/checkpatch.pl -q --file ./fs/udf/misc.c ERROR: need consistent spacing around '*' (ctx:WxV) #205: FILE: fs/udf/misc.c:205: + tag *tag_p;

Re: bug in checkpatch (on pointers to typedefs?)

2008-02-11 Thread Andy Whitcroft
On Mon, Feb 11, 2008 at 06:58:08PM +0200, Benny Halevy wrote: OK, but the return type doesn't have to be in the patched line, it could be in a synchronization line or even missing if the function has a long multi-line argument list. Ok, I guess thats fair criticism. Could you check out the

Re: bug in checkpatch (on pointers to typedefs?)

2008-02-11 Thread Andy Whitcroft
On Mon, Feb 11, 2008 at 06:05:48PM +0200, Benny Halevy wrote: I saw this too with checkpatch.pl version 0.12 It seems like checkpatch.pl knows only about types derived from @typeList by build_types. Example below... Benny $ cat EOF | scripts/checkpatch.pl - Signed-off-by: [EMAIL

  1   2   3   4   5   6   7   8   9   10   >