Re: [RFC] set_blocksize() oddity.

Andrea Arcangeli (andrea@e-mind.com)
Sun, 11 Apr 1999 03:29:54 +0200 (CEST)


On Sat, 10 Apr 1999, Chuck Lever wrote:

>bh->b_count = 0;
>remove_from_queues(bh);
>put_last_free(bh);

Don't forget bh->b_state = 0...

If you look at my last patch I posted on the list you'll notice that I
moved all the stuff in put_last_free() since it's perfectly legal to do
all the zeroing-unlinking stuff on a page that you are asking to go in the
freelist.

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/