Re: THP bug and crash on sparc64 3.8

2013-06-26 Thread Meelis Roos
> Ok, I think this patch will fix the problem, at least it fixes > "git gc" crashes for me on UltraSPARC-IIIi: Continuing an old stability thread after THP fix. I had the following unfinished mail from February about my E420R: --- $ while true; do date; cp -a linux test; cd

Re: THP bug and crash on sparc64 3.8

2013-06-26 Thread Meelis Roos
Ok, I think this patch will fix the problem, at least it fixes git gc crashes for me on UltraSPARC-IIIi: Continuing an old stability thread after THP fix. I had the following unfinished mail from February about my E420R: --- $ while true; do date; cp -a linux test; cd test;

Re: THP bug and crash on sparc64 3.8

2013-02-20 Thread David Miller
From: Meelis Roos Date: Wed, 20 Feb 2013 15:35:52 +0200 (EET) > Works much better. aptitude worked fine, as did 5 times > cp -a linux test; rm -r linux > > However, "git gc" in a copy of the repository hung the machine hard, > nothing in the logs. > > 3.8.0 with THP disabled can run both

Re: THP bug and crash on sparc64 3.8

2013-02-20 Thread David Miller
From: Meelis Roos Date: Wed, 20 Feb 2013 15:35:52 +0200 (EET) >> Ok I've written an alternative version of the fix that I've been busy >> testing all evening. >> >> I think it's much better and it's about to be posted as a series of 3 >> patches. > > Works much better. aptitude worked fine, as

Re: THP bug and crash on sparc64 3.8

2013-02-20 Thread Meelis Roos
> Ok I've written an alternative version of the fix that I've been busy > testing all evening. > > I think it's much better and it's about to be posted as a series of 3 > patches. Works much better. aptitude worked fine, as did 5 times cp -a linux test; rm -r linux However, "git gc" in a copy

Re: THP bug and crash on sparc64 3.8

2013-02-20 Thread Meelis Roos
Ok I've written an alternative version of the fix that I've been busy testing all evening. I think it's much better and it's about to be posted as a series of 3 patches. Works much better. aptitude worked fine, as did 5 times cp -a linux test; rm -r linux However, git gc in a copy of the

Re: THP bug and crash on sparc64 3.8

2013-02-20 Thread David Miller
From: Meelis Roos mr...@linux.ee Date: Wed, 20 Feb 2013 15:35:52 +0200 (EET) Ok I've written an alternative version of the fix that I've been busy testing all evening. I think it's much better and it's about to be posted as a series of 3 patches. Works much better. aptitude worked fine,

Re: THP bug and crash on sparc64 3.8

2013-02-20 Thread David Miller
From: Meelis Roos mr...@linux.ee Date: Wed, 20 Feb 2013 15:35:52 +0200 (EET) Works much better. aptitude worked fine, as did 5 times cp -a linux test; rm -r linux However, git gc in a copy of the repository hung the machine hard, nothing in the logs. 3.8.0 with THP disabled can run both

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Miller
Ok I've written an alternative version of the fix that I've been busy testing all evening. I think it's much better and it's about to be posted as a series of 3 patches. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Miller
From: David Rientjes Date: Tue, 19 Feb 2013 11:37:30 -0800 (PST) > On Tue, 19 Feb 2013, David Miller wrote: > >> diff --git a/arch/sparc/mm/tsb.c b/arch/sparc/mm/tsb.c >> index 7f64743..338b406 100644 >> --- a/arch/sparc/mm/tsb.c >> +++ b/arch/sparc/mm/tsb.c >> @@ -288,14 +288,13 @@ static

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Rientjes
On Tue, 19 Feb 2013, David Miller wrote: > diff --git a/arch/sparc/mm/tsb.c b/arch/sparc/mm/tsb.c > index 7f64743..338b406 100644 > --- a/arch/sparc/mm/tsb.c > +++ b/arch/sparc/mm/tsb.c > @@ -288,14 +288,13 @@ static unsigned long tsb_size_to_rss_limit(unsigned > long new_size) > * the number

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Miller
From: Meelis Roos Date: Tue, 19 Feb 2013 14:05:42 +0200 (EET) >> Call Trace: >> [00488d9c] __might_sleep+0x13c/0x240 >> [0051204c] kmem_cache_alloc+0xcc/0x120 >> [0044bfc0] tsb_grow+0x80/0x480 >> [0044e814] hugetlb_setup+0x14/0xc0 >> [0044bcb0]

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Miller
From: Meelis Roos Date: Tue, 19 Feb 2013 14:05:42 +0200 (EET) > > (Resent to correct cparclinux address) Thanks for the report, I'll look into this. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread Meelis Roos
(Resent to correct cparclinux address) > I am receiving this with 3.8.0 on Sun E420R (4G RAM, 4 CPUs). System > hangs after logging this to syslog. It was busy running ap at the > moment of crash. > > CONFIG_TRANSPARENT_HUGEPAGE=y > CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y > #

THP bug and crash on sparc64 3.8

2013-02-19 Thread Meelis Roos
I am receiving this with 3.8.0 on Sun E420R (4G RAM, 4 CPUs). System hangs after logging this to syslog. It was busy running ap at the moment of crash. CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y # CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set BUG: sleeping function

THP bug and crash on sparc64 3.8

2013-02-19 Thread Meelis Roos
I am receiving this with 3.8.0 on Sun E420R (4G RAM, 4 CPUs). System hangs after logging this to syslog. It was busy running ap at the moment of crash. CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y # CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set BUG: sleeping function

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread Meelis Roos
(Resent to correct cparclinux address) I am receiving this with 3.8.0 on Sun E420R (4G RAM, 4 CPUs). System hangs after logging this to syslog. It was busy running ap at the moment of crash. CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y #

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Miller
From: Meelis Roos mr...@ut.ee Date: Tue, 19 Feb 2013 14:05:42 +0200 (EET) (Resent to correct cparclinux address) Thanks for the report, I'll look into this. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Miller
From: Meelis Roos mr...@ut.ee Date: Tue, 19 Feb 2013 14:05:42 +0200 (EET) Call Trace: [00488d9c] __might_sleep+0x13c/0x240 [0051204c] kmem_cache_alloc+0xcc/0x120 [0044bfc0] tsb_grow+0x80/0x480 [0044e814] hugetlb_setup+0x14/0xc0 [0044bcb0]

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Rientjes
On Tue, 19 Feb 2013, David Miller wrote: diff --git a/arch/sparc/mm/tsb.c b/arch/sparc/mm/tsb.c index 7f64743..338b406 100644 --- a/arch/sparc/mm/tsb.c +++ b/arch/sparc/mm/tsb.c @@ -288,14 +288,13 @@ static unsigned long tsb_size_to_rss_limit(unsigned long new_size) * the number of

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Miller
From: David Rientjes rient...@google.com Date: Tue, 19 Feb 2013 11:37:30 -0800 (PST) On Tue, 19 Feb 2013, David Miller wrote: diff --git a/arch/sparc/mm/tsb.c b/arch/sparc/mm/tsb.c index 7f64743..338b406 100644 --- a/arch/sparc/mm/tsb.c +++ b/arch/sparc/mm/tsb.c @@ -288,14 +288,13 @@

Re: THP bug and crash on sparc64 3.8

2013-02-19 Thread David Miller
Ok I've written an alternative version of the fix that I've been busy testing all evening. I think it's much better and it's about to be posted as a series of 3 patches. Thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to