From: Andrea Arcangeli <andrea@e-mind.com>
To: "Stephen C. Tweedie" <sct@redhat.com>,
Rik van Riel <H.H.vanRiel@phys.uu.nl>
Cc: Kernel Mailing List <linux-kernel@vger.rutgers.edu>, linux-mm@kvack.org
Subject: Re: 2.2.0-final
Date: Sun, 24 Jan 1999 02:51:55 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.3.96.990124024902.199B-100000@laser.bogus> (raw)
In-Reply-To: <Pine.LNX.3.96.990123210422.2856A-100000@laser.bogus>
On Sat, 23 Jan 1999, Andrea Arcangeli wrote:
> where buffer_get() is this:
Just for the record, I cut-and-pasted a wrong buffer_get() (due a
last-minute wrong hack, I noticed it now when I powerup the machine now
;), the right one is this:
extern inline void buffer_get(struct buffer_head *bh)
{
struct page * page = mem_map + MAP_NR(bh->b_data);
switch (atomic_read(&page->count))
{
case 1:
nr_freeable_pages--;
default:
atomic_inc(&page->count);
break;
#if 1 /* PARANOID */
case 0:
printk(KERN_ERR "buffer_get: page was unused!\n");
#endif
}
}
Andrea Arcangeli
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org. For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/
next prev parent reply other threads:[~1999-01-24 1:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.95.990120224340.23558G-100000@penguin.transmeta.com>
1999-01-23 20:56 ` 2.2.0-final Andrea Arcangeli
1999-01-24 1:51 ` Andrea Arcangeli [this message]
1999-01-24 2:57 ` 2.2.0-final Eric W. Biederman
1999-01-24 12:49 ` 2.2.0-final Andrea Arcangeli
1999-01-24 13:16 ` 2.2.0-final Andrea Arcangeli
1999-01-24 13:28 ` 2.2.0-final Andrea Arcangeli
1999-01-24 18:41 ` 2.2.0-final Eric W. Biederman
1999-01-24 23:05 ` 2.2.0-final Andrea Arcangeli
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.3.96.990124024902.199B-100000@laser.bogus \
--to=andrea@e-mind.com \
--cc=H.H.vanRiel@phys.uu.nl \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux-mm@kvack.org \
--cc=sct@redhat.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