From: "Nish Aravamudan" <nish.aravamudan@gmail.com>
To: "David Miller" <davem@davemloft.net>
Cc: greg@kroah.com, linux-kernel@vger.kernel.org, akpm@osdl.org,
torvalds@osdl.org, stable@kernel.org, sparclinux@vger.kernel.org
Subject: Re: Linux 2.6.20.3
Date: Tue, 13 Mar 2007 17:29:17 -0700 [thread overview]
Message-ID: <29495f1d0703131729y56a99d9cj15288e7c18e277a8@mail.gmail.com> (raw)
In-Reply-To: <29495f1d0703131551k5c06170bma138f8c1f1f9c84e@mail.gmail.com>
On 3/13/07, Nish Aravamudan <nish.aravamudan@gmail.com> wrote:
> On 3/13/07, David Miller <davem@davemloft.net> wrote:
> > From: "Nish Aravamudan" <nish.aravamudan@gmail.com>
> > Date: Tue, 13 Mar 2007 14:58:24 -0700
> >
> > > On 3/13/07, Nish Aravamudan <nish.aravamudan@gmail.com> wrote:
> > > > On 3/13/07, Greg KH <greg@kroah.com> wrote:
> > > > > We (the -stable team) are announcing the release of the 2.6.20.3 kernel.
> > > > > It contains a number of bugfixes and all 2.6.20 users are recommended to
> > > > > upgrade.
> > > > >
> > > > > The diffstat and short summary of the fixes are below.
> > > > >
> > > > > I'll also be replying to this message with a copy of the patch between
> > > > > 2.6.20.2 and 2.6.20.3.
> > > >
> > > > Compared to 2.6.20.1 (will try 2.6.20.2 as well), I now get:
> > >
> > > err, duh -- this is a Sun Ultra 60, debian testing install.
> >
> > Figure out if 2.6.20.2 does it too, then please try to git bisect
> > it down further.
>
> Yep, that's the plan, just wanted to make folks aware.
>
> > I took a quick look and the two sparc64 commits between 2.6.20.1
> > and 2.6.20.2 are benign, a fix for E450 interrupts and a kenvctrld
> > fix which is for a driver for hardware your ultra60 doesn't have. :)
> >
> > There is a decent amount of raid and nfs fixes in here, do you
> > use either?
>
> Neither.
>
> > Another commit that might be relevant is:
> >
> > commit 530b09160744a12450fdacb2b78779c9830a29c8
> > Author: Aristeu Sergio Rozanski Filho <aristeu.sergio@gmail.com>
> > Date: Thu Mar 1 19:02:55 2007 -0500
> >
> > tty_io: fix race in master pty close/slave pty close path
> >
> > Hmmm...
> >
> > Please let us know if you can narrow it down further.
>
> Building 2.6.20.2 right now, will let you know.
Ok, truly bizarre, I found that I was not running stock 2.6.20.3, but
had your small hugetlb patch on top.
So I went back and patched 2.6.20.1 with your patch, rebooted, got a
soft lockup. Went back to stock 2.6.20.1 and did not.
I don't see how your patch (C&P below for reference) could make any
difference...Especially because no hugepages were in use at the time.
On patched 2.6.20.1, I was just trying to check if my source tree had
your patch applied (by `patch -p1 < davem.patch`) and got the
soft-lockup I saw in 2.6.20.3 with the patch applied. I am going to
try a clean 2.6.20.3 as well, now.
diff --git a/arch/sparc64/mm/hugetlbpage.c b/arch/sparc64/mm/hugetlbpage.c
index 33fd0b2..00677b5 100644
--- a/arch/sparc64/mm/hugetlbpage.c
+++ b/arch/sparc64/mm/hugetlbpage.c
@@ -248,6 +248,7 @@ void set_huge_pte_at(struct mm_struct *mm,
unsigned long addr,
if (!pte_present(*ptep) && pte_present(entry))
mm->context.huge_pte_count++;
+ addr &= HPAGE_MASK;
for (i = 0; i < (1 << HUGETLB_PAGE_ORDER); i++) {
set_pte_at(mm, addr, ptep, entry);
ptep++;
@@ -266,6 +267,8 @@ pte_t huge_ptep_get_and_clear(struct mm_struct
*mm, unsigned long addr,
if (pte_present(entry))
mm->context.huge_pte_count--;
+ addr &= HPAGE_MASK;
+
for (i = 0; i < (1 << HUGETLB_PAGE_ORDER); i++) {
pte_clear(mm, addr, ptep);
addr += PAGE_SIZE;
next prev parent reply other threads:[~2007-03-14 0:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 18:33 Greg KH
2007-03-13 18:34 ` Greg KH
2007-03-13 21:57 ` Nish Aravamudan
2007-03-13 21:58 ` Nish Aravamudan
2007-03-13 22:20 ` David Miller
2007-03-13 22:51 ` Nish Aravamudan
2007-03-14 0:29 ` Nish Aravamudan [this message]
2007-03-14 5:40 ` Bill Irwin
2007-03-14 5:41 ` David Miller
2007-03-14 5:40 ` David Miller
2007-03-14 1:29 ` mdew .
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29495f1d0703131729y56a99d9cj15288e7c18e277a8@mail.gmail.com \
--to=nish.aravamudan@gmail.com \
--cc=akpm@osdl.org \
--cc=davem@davemloft.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=stable@kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®