On 17-Jul-20 3:40 PM, Burakov, Anatoly wrote:
On 15-Jul-20 2:31 PM, Sarosh Arif wrote:
Since mallock_socket() always calls malloc_heap_alloc() and
this check is present inside malloc_heap_alloc() so there is
no need to place it in mallock_socket().
Signed-off-by: Sarosh Arif <sarosh.a...@emumba.com>
---
Technically not a bug, so i don't think backporting this is necessary.
Acked-by: Anatoly Burakov <anatoly.bura...@intel.com>
Actually, now that i think of it, i agree with Lukasz - while this check
isn't necessary, it's an early exit to avoid memory locking. So, NACK.
--
Thanks,
Anatoly