diff options
author | 2017-08-01 16:05:53 +0530 | |
---|---|---|
committer | 2017-08-31 08:39:03 +0530 | |
commit | 1f7466c6b428fa52504e85c2df43aa8641f9294e (patch) | |
tree | c88a077d8702a59bede6083da96d059522badb22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mailbox: bcm-flexrm-mailbox: Fix mask used in CMPL_START_ADDR_VALUE() (diff) | |
download | wireguard-linux-1f7466c6b428fa52504e85c2df43aa8641f9294e.tar.xz wireguard-linux-1f7466c6b428fa52504e85c2df43aa8641f9294e.zip |
mailbox: bcm-flexrm-mailbox: Use bitmap instead of IDA
Currently, we are using IDA library for managing IDs
on a FlexRM ring. The IDA library dynamically allocates
memory for underlying data structures which can cause
potential locking issue when allocating/free IDs from
flexrm_new_request() and flexrm_process_completions().
To tackle this, we replace use of IDA with bitmap for
each FlexRM ring and also protect the bitmap with FlexRM
ring lock.
Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions