On Thu, 24 Feb 2000, Ingo Molnar wrote:
> On Thu, 24 Feb 2000, William Montgomery wrote:
>
> > Sorry, I cant find your suggested method. Please resend.
>
> something like:
>
> + if (current->need_resched) {
> + INODE(tmp)->i_count++;
> + spin_unlock(&inode_lock);
> + schedule();
> + iput(tmp);
> + goto repeat;
>
> is there any problem with this?
>
Two questions:
1) where does repeat label go?
2) since there is a INODE(tmp)->i_count++ dont we also need a i_count--?
Wm
-
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/
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:09 EST