Re: [PATCH v10 4/4] ipc: Add a cyclic mode for id generation

2018-11-08 Thread Waiman Long
On 11/06/2018 08:02 AM, Matthew Wilcox wrote: > On Mon, Nov 05, 2018 at 10:43:46AM -0500, Waiman Long wrote: >> The idea of using the cyclic mode to reduce id reuse came from Manfred >> Spraul . There may be a little bit of >> additional memory/performance overhead in doing cyclic id allocation, >>

Re: [PATCH v10 4/4] ipc: Add a cyclic mode for id generation

2018-11-06 Thread Matthew Wilcox
On Mon, Nov 05, 2018 at 10:43:46AM -0500, Waiman Long wrote: > The idea of using the cyclic mode to reduce id reuse came from Manfred > Spraul . There may be a little bit of > additional memory/performance overhead in doing cyclic id allocation, > but it is a slow path anyway and a bit of overhead

[PATCH v10 4/4] ipc: Add a cyclic mode for id generation

2018-11-05 Thread Waiman Long
The idea of using the cyclic mode to reduce id reuse came from Manfred Spraul . There may be a little bit of additional memory/performance overhead in doing cyclic id allocation, but it is a slow path anyway and a bit of overhead shouldn't be an issue. This patch differs from his as the cyclic mod