Rik van Riel wrote: > On Wed, 28 Jun 2006, Nitin Gupta wrote: > >> - if (ch->count == 1) kfree (ch); >> + if (put_page_testzero(ch)) kfree(ch); > >> Right now? > > Yes, that looks right. I have not verified the rest > of the locking though :) > Please also have a look at Problem 1 and 2 also. I am stuck on them :)