[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] credit: track residual from divisions done during accounting
>>> On 26.02.13 at 13:21, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
> On Tue, 2013-02-26 at 12:00 +0000, David Vrabel wrote:
>> On 26/02/13 11:52, Tim Deegan wrote:
>> > How about ASSERT(((typeof credits) val) == val) before the assignment?
>
> Why not just
> ASSERT(credits == val); /* Ensure we haven't truncated val */
I.e. just want em to add a comment? That's certainly fine with me.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|