mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tomas Szepe <szepe@pinerecords.com>
To: Studying MTD <studying_mtd@yahoo.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: kernel BUG at page_alloc.c
Date: Mon, 12 Aug 2002 02:46:45 +0200	[thread overview]
Message-ID: <20020812004645.GF24456@louise.pinerecords.com> (raw)
In-Reply-To: <20020812004151.479.qmail@web40301.mail.yahoo.com>

I reckon you'll have to get in touch with the SH port maintainers
and ask them directly. Have a peek in $linuxsrc/MAINTAINERS.

Have you tried any of the kernels available from
http://www.m17n.org/linux-sh/
?

T.


> I have noticed that difference in 2.4.1 and 2.5.25 is
> :-
> 
> (2.4.1)
> if (BAD_RANGE(zone,page))
> 	BUG();
> DEBUG_ADD_PAGE
> 
> (2.2.25)
> if (bad_range(zone, page))
>       BUG();
> prep_new_page(page);
> 
> 
> prep_new_page(page) is replaced with DEBUG_ADD_PAGE
> and prep_newpage is :-
> 
> /*
>  * This page is about to be returned from the page
> allocator
>  */
> static inline void prep_new_page(struct page *page)
> {
>         BUG_ON(page->mapping);
>         BUG_ON(PagePrivate(page));
>         BUG_ON(PageLocked(page));
>         BUG_ON(PageLRU(page));
>         BUG_ON(PageActive(page));
>         BUG_ON(PageDirty(page));
>         BUG_ON(PageWriteback(page));
>         page->flags &= ~(1 << PG_uptodate | 1 <<
> PG_error |
>                         1 << PG_referenced | 1 <<
> PG_arch_1 |
>                         1 << PG_checked);
>         set_page_count(page, 1);
> }
> 
> vs
> 
> #define DEBUG_ADD_PAGE \
> if (PageActive(page) || PageInactiveDirty(page) || \
> 	PageInactiveClean(page)) BUG();
> 
> Can i also replace DEBUG_ADD_PAGE with prep_new_page
> in 2.4.1. Is it OK ?
> 
> Thank you very much for your help.
> 
> 
> --- Tomas Szepe <szepe@pinerecords.com> wrote:
> > > I am using 2.4.1 on SH4 and using only 32 MB RAM
> > > without hard-disk, so only thing i am using is 32
> > MB
> > > RAM .
> > 
> > Could you try a more recent kernel?
> > 2.4.1 is now almost 2 years old.
> > 
> > T.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com

-- 
T.
       ,
    . ~ ~ .
  .'@ )) .. '..~
  > - ~`  '~\{   ejm'97

  reply	other threads:[~2002-08-12  0:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020812002223.GE24456@louise.pinerecords.com>
2002-08-12  0:27 ` Studying MTD
2002-08-12  0:41 ` Studying MTD
2002-08-12  0:46   ` Tomas Szepe [this message]
2004-09-15 12:25 Marcin Rożek
2004-09-15 11:21 ` Marcelo Tosatti
2004-09-15 13:33   ` Marcin Rożek
2004-09-15 12:44     ` Marcelo Tosatti
2004-09-17 11:02       ` Marcin Rożek
     [not found] <20020812000523.15F1D88BC@oscar.casa.dyndns.org>
2002-08-12  0:19 ` Studying MTD
  -- strict thread matches above, loose matches on Subject: below --
2002-08-11 23:35 Studying MTD

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=20020812004645.GF24456@louise.pinerecords.com \
    --to=szepe@pinerecords.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=studying_mtd@yahoo.com \
    /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

Powered by JetHome