lkml.org 
[lkml]   [2000]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: lowlatency-2.2.14-B1 + 2.2.14aa7 fixes crash, but...

    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/

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