Re: [PATCH v5 6/8] mempool: detect physical contiguous object in pool
From: Olivier MATZ <hidden>
Date: 2017-09-07 08:06:04
From: Olivier MATZ <hidden>
Date: 2017-09-07 08:06:04
On Wed, Sep 06, 2017 at 04:58:32PM +0530, Santosh Shukla wrote:
The memory area containing all the objects must be physically contiguous. Introducing MEMPOOL_F_CAPA_PHYS_CONTIG flag for such use-case. The flag useful to detect whether pool area has sufficient space to fit all objects. If not then return -ENOSPC. This way, we make sure that all object within a pool is contiguous. Signed-off-by: Santosh Shukla <redacted> Signed-off-by: Jerin Jacob <redacted>
Acked-by: Olivier Matz <redacted>