Messages in this thread | | | Date | Thu, 2 Jul 2015 13:27:48 +0300 | From | Sergei Zviagintsev <> | Subject | Re: [PATCH RFC 4/5] kdbus: handle WARN_ON cases properly when decrementing quota |
| |
Hi,
On Thu, Jul 02, 2015 at 10:37:05AM +0200, David Herrmann wrote: > Hi > > On Sun, Jun 28, 2015 at 3:17 PM, Sergei Zviagintsev <sergei@s15v.net> wrote: > > If we spotted inconsistency, fix it by setting values to zero. > > Why? > > I prefer doing nothing and just bailing out on programming errors. > Setting it to 0 just complicates debugging and drops possibly useful > information ('what was the counter value at that time?').
Thank you for commenting on this! Now it seems to be clear for me.
| |