From: Thiago Rondon <maluco@mileniumnet.com.br>
To: linux mm <linux-mm@kvack.org>
Subject: [PATCH] mm/swap_stat.c
Date: Fri, 18 May 2001 13:20:06 -0400 (AMT) [thread overview]
Message-ID: <Pine.LNX.4.21.0105181319350.8753-100000@freak.mileniumnet.com.br> (raw)
Just change BUG to PAGE_BUG when necessary, Comments?
--- swap_state.c.orig Thu May 17 13:00:33 2001
+++ swap_state.c Thu May 17 13:01:30 2001
@@ -74,9 +74,9 @@
swap_cache_add_total++;
#endif
if (!PageLocked(page))
- BUG();
+ PAGE_BUG(page);
if (PageTestandSetSwapCache(page))
- BUG();
+ PAGE_BUG(page);
if (page->mapping)
BUG();
flags = page->flags & ~((1 << PG_error) | (1 << PG_arch_1));
@@ -122,7 +122,7 @@
void delete_from_swap_cache_nolock(struct page *page)
{
if (!PageLocked(page))
- BUG();
+ PAGE_BUG(bug);
if (block_flushpage(page, 0))
lru_cache_del(page);
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
reply other threads:[~2001-05-18 17:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.LNX.4.21.0105181319350.8753-100000@freak.mileniumnet.com.br \
--to=maluco@mileniumnet.com.br \
--cc=linux-mm@kvack.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