question about kernel/sched.c - 2.2.10

Alan Cox (linux1@siren.host4u.net)
Mon, 28 Jun 1999 05:57:19 -0500 (CDT)


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/