lkml.org 
[lkml]   [1999]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] set_blocksize() oddity.
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.056 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site