[lkml]   [2013]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 6/9] random: simplify accounting logic
On Wed, Nov 13, 2013 at 03:08:21AM -0500, Greg Price wrote:
> This logic is exactly equivalent to the old logic, but it should
> be easier to see what it's doing.
> The equivalence depends on one fact from outside this function:
> when 'r->limit' is false, 'reserved' is zero. (Well, two facts;
> the other is that 'reserved' is never negative.)

Applied, thanks.

- Ted

 \ /
  Last update: 2013-11-30 02:21    [W:0.124 / U:4.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site