Race VT+X11 on -current

Hans Petter Selasky hps at selasky.org
Thu May 21 07:35:23 UTC 2015


On 05/11/15 21:52, Ed Maste wrote:
> On 10 May 2015 at 13:14, Hans Petter Selasky <hps at selasky.org> wrote:
>>
>> Your patch is correct from what I can see. Signed modulus can be creepy
>> sometimes! Better if VT_MAXWINDOWS was power of two and we used a bitwise
>> AND.
>
> The patch is correct, although signedness doesn't come into play. The
> unsigned vw_number just wraps to 2^32-1, which is 3 modulo 12.

FYI:

https://svnweb.freebsd.org/changeset/base/283187

--HPS


More information about the freebsd-current mailing list