Messages in this thread | | | Date | Tue, 10 Mar 1998 15:00:48 -0800 | From | "David S. Miller" <> | Subject | Re: [uPATCH] sched.c change; snappy_response++ |
| |
Date: Tue, 10 Mar 1998 19:01:55 +0100 (MET) From: Rik van Riel <H.H.vanRiel@fys.ruu.nl>
> - /* .. and a slight advantage to the current process */ > - if (p == prev) > + /* .. and a slight advantage to the current thread */ > + if (p->mm == prev->mm) > weight += 1; > }
But why remove the if (p == prev) test? It seems valid to me...
It isn't removed, if p==prev then p->mm == prev->mm too ;-)
Later, David S. Miller davem@dm.cobaltmicro.com
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |