public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "dada1" <dada1@cosmosbay.com>
To: "Andrew Morton" <akpm@digeo.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Kernel BUG linux-2.5.67
Date: Tue, 8 Apr 2003 11:24:22 +0200	[thread overview]
Message-ID: <037e01c2fdb0$a4a5b5b0$5600a8c0@edumazet> (raw)
In-Reply-To: 20030408020439.16c8322b.akpm@digeo.com

Yes... the futex was placed un a hugetlb page...

Thanks Andrew, I will test your patch very soon.

From: "Andrew Morton" <akpm@digeo.com>
> "dada1" <dada1@cosmosbay.com> wrote:
> >
> > Hello
> > 
> > I tried linux-2.5.67 this morning...
> > 
> > instant oops with a small multi-threaded program using futex()
> 
> Was the futex placed inside a hugetlb page?  Please say yes.
> 
> There is a stunning bug.
> 
> --- 25/include/linux/mm.h~a 2003-04-08 02:03:19.000000000 -0700
> +++ 25-akpm/include/linux/mm.h 2003-04-08 02:03:24.000000000 -0700
> @@ -231,8 +231,8 @@ static inline void get_page(struct page 
>  static inline void put_page(struct page *page)
>  {
>   if (PageCompound(page)) {
> + page = (struct page *)page->lru.next;
>   if (put_page_testzero(page)) {
> - page = (struct page *)page->lru.next;
>   if (page->lru.prev) { /* destructor? */
>   (*(void (*)(struct page *))page->lru.prev)(page);
>   } else {
> 
> _
> 

  reply	other threads:[~2003-04-08  9:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07 17:53 Linux 2.5.67 Linus Torvalds
2003-04-07 18:21 ` Ruslan U. Zakirov
2003-04-07 21:47 ` John Cherry
2003-04-07 22:36 ` [OOPS] : " Udo A. Steinberg
2003-04-08 22:25   ` Greg KH
2003-04-08  8:54 ` Kernel BUG linux-2.5.67 dada1
2003-04-08  8:59   ` dada1
2003-04-08  9:04   ` Andrew Morton
2003-04-08  9:24     ` dada1 [this message]
2003-04-09  9:08     ` dada1
2003-04-08 11:44 ` [2.5 patch] fix drivers/mtd/mtdblock.c compile Adrian Bunk
2003-04-08 11:46   ` Jens Axboe
2003-04-08 19:17 ` Linux 2.5.67 Paweł Gołaszewski
2003-04-08 20:18   ` Paweł Gołaszewski
2003-04-08 21:54 ` Matt Reppert
2003-04-09  8:47 ` [PATCH] z2ram fix (was: Re: Linux 2.5.67) Geert Uytterhoeven
2003-04-09 10:38   ` Jens Axboe

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='037e01c2fdb0$a4a5b5b0$5600a8c0@edumazet' \
    --to=dada1@cosmosbay.com \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.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