Re: [uPATCH] sched.c change; snappy_response++

Wolfram Gloger (wmglo@dent.med.uni-muenchen.de)
12 Mar 1998 10:38:06 -0000


> Incidentally, the comments are backwards; the (p == prev) gives an
> advantage to the current *thread*, the (p->mm == prev->mm) gives an
> advantage to the current *process* (but possibly a different thread
> within the same process.)

You're right -- the comment was truncated, I meant to say `current
thread group', or perhaps simply

- /* .. and a slight advantage to the current thread */
+ /* .. and a slight advantage to the current memory mapping */
if (p->mm == prev->mm)

would be best.

Regards,
Wolfram.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu