bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH gnumach 3/3] ipc: use fast modulo operation in local hash tab


From: Samuel Thibault
Subject: Re: [PATCH gnumach 3/3] ipc: use fast modulo operation in local hash table
Date: Tue, 30 Sep 2014 14:23:34 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Tue 30 Sep 2014 14:06:18 +0200, a écrit :
> @@ -45,6 +45,8 @@
>   *   an ipc_table_size structure.  These structures must
>   *   be elements of an array, ipc_table_entries.
>   *
> + *   Every its_size value must must be a power of two.

Perhaps add a runtime check which makes sure of that?

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]