lkml.org 
[lkml]   [1998]   [Mar]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
Date12 Mar 1998 10:38:06 -0000
FromWolfram Gloger <>
SubjectRe: [uPATCH] sched.c change; snappy_response++
> 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

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.106 / U:0.240 seconds]
©2003-2008 Jasper Spaans