Messages in this thread |  | | | Date | Thu, 24 Feb 2000 16:38:00 +0100 (CET) | | From | Ingo Molnar <> | | Subject | Re: lowlatency-2.2.14-B1 + 2.2.14aa7 fixes crash, but... |
| |
On Thu, 24 Feb 2000, William Montgomery wrote:
> > 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?
(to the place which reloads the list pointer from the global list head.)
> 2) since there is a INODE(tmp)->i_count++ dont we also need a i_count--?
it's implicit in iput().
-- mingo
- 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/
|  |