[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080711175916.GA6261@elf.ucw.cz>
Date: Fri, 11 Jul 2008 19:59:16 +0200
From: Pavel Machek <pavel@...e.cz>
To: David Howells <dhowells@...hat.com>
Cc: rjw@...k.pl, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix try_to_freeze_tasks()'s use of do_div()
On Fri 2008-07-11 14:21:46, David Howells wrote:
> Fix try_to_freeze_tasks()'s use of do_div() on an s64 by making elapsed_csecs64
> a u64 instead and dividing that.
>
> Possibly this should be guarded lest the interval calculation turn up negative,
> but the possible negativity of the result of the division is cast away anyway.
>
> This was introduced by patch 438e2ce68dfd4af4cfcec2f873564fb921db4bb5.
>
> Signed-off-by: David Howells <dhowells@...hat.com>
ACK.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists