Re: pre7-1: linux/mm/vmscan.c weirdness

From: Rik van Riel (riel@conectiva.com.br)
Date: Sat Apr 29 2000 - 05:57:24 EST


On Sat, 29 Apr 2000, Manfred Spraul wrote:

> diff -u v2.3.99-pre6/linux/mm/vmscan.c linux/mm/vmscan.c
> --- v2.3.99-pre6/linux/mm/vmscan.c
> +++ linux/mm/vmscan.c
> @@ -387,8 +387,8 @@
> /* small processes are swapped out less */
> - while ((mm->swap_cnt << 2 * (i + 1) < max_cnt))
> - i++;
> + while ((mm->swap_cnt << 2 * (i + 1) < max_cnt)
> + && i++ < 10)
> mm->swap_cnt >>= i;
>
> Isn't a semicolon missing after the while loop?

Indeed it is. Somehow it slipped by (probably because I've
been staring myself blind on this code for the last week or
so).

regards,

Rik

--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies http://www.conectiva.com/ http://www.surriel.com/

- 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/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:16 EST