lkml.org 
[lkml]   [2003]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kernel BUG linux-2.5.67
Date
Hello Andrew

Sorry for the delay...

I confirm that your patch corrects the problem for me.

Thanks

Eric

From: "Andrew Morton" <akpm@digeo.com>
> > instant oops with a small multi-threaded program using futex() & hugetlb
>
> 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 {
>
> _
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.051 / U:44.608 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site