lkml.org 
[lkml]   [1999]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectquestion about kernel/sched.c - 2.2.10

i definitely have no clue about what is going on inside
the kernel, but i'm trying to learn...
i was digging around sched.c (2.2.10)in schedule(). i
noticed a few goto statements that only return below
where they were called: specifically; handle_bh,
move_rr_last, and still_running. it _seems_ to me
that these gotos are not necessary. am i missing the
point? or is there a benefit in saying 'goto' rather
than just putting the code right there? help me
understand.

thanks.
brent




-
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:52    [W:0.031 / U:2.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site