Messages in this thread |  | | | Date | Sun, 24 Jan 1999 02:51:55 +0100 (CET) | | From | Andrea Arcangeli <> | | Subject | Re: 2.2.0-final |
| |
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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
|  |