NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/45618 CVS commit: src/sys/kern



The following reply was made to PR kern/45618; it has been noted by GNATS.

From: Motoyuki OHMORI <ohmori%chikushi-u.ac.jp@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: Motoyuki OHMORI <ohmori%chikushi-u.ac.jp@localhost>, 
gnats-bugs%NetBSD.org@localhost,
        kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: PR/45618 CVS commit: src/sys/kern
Date: Mon, 21 Nov 2011 10:39:00 +0900

 Dear Christos,
 
 > | BTW, I am curious about one trivial thing of your patch if there is a case
 > | where computed ticks can be negative.  I thought that `kn_sdata' is 
 > unsigned
 > | and computed ticks would be unsigned.  I then thought that `tticks == 0' 
 > was
 > | enough.
 > 
 > But ticks is signed so I checked against negative too.
 
 Okay, I agree with you.
 
 Best regards,
 --
 Motoyuki OHMORI <ohmori%chikushi-u.ac.jp@localhost>
 
 On Sun, Nov 20, 2011 at 12:12:59 -0500, Christos Zoulas wrote:
 > On Nov 20,  7:49pm, ohmori%chikushi-u.ac.jp@localhost (Motoyuki OHMORI) 
 > wrote:
 > -- Subject: Re: PR/45618 CVS commit: src/sys/kern
 > 
 > | Dear Christos,
 > | 
 > | # This is just reply because GNAT requests me to reply to close the ticket.
 > | 
 > | Thank you very much for your quick response.  Now, the problem has been 
 > solved.
 > | Please close the ticket.
 > | 
 > | BTW, I am curious about one trivial thing of your patch if there is a case
 > | where computed ticks can be negative.  I thought that `kn_sdata' is 
 > unsigned
 > | and computed ticks would be unsigned.  I then thought that `tticks == 0' 
 > was
 > | enough.
 > 
 > But ticks is signed so I checked against negative too.
 > 
 > christos
 


Home | Main Index | Thread Index | Old Index