Searched hist:"1 c9573a157f0d6d76ded5e651bb3f0b9f3a3c9ec" (Results 1 – 3 of 3) sorted by relevance
| /rk3399_ARM-atf/lib/locks/bakery/ |
| H A D | bakery_lock_coherent.c | 1c9573a157f0d6d76ded5e651bb3f0b9f3a3c9ec Thu Feb 19 16:23:51 UTC 2015 Soby Mathew <soby.mathew@arm.com> Optimize the bakery lock structure for coherent memory
This patch optimizes the data structure used with the bakery lock implementation for coherent memory to save memory and minimize memory accesses. These optimizations were already part of the bakery lock implementation for normal memory and this patch now implements it for the coherent memory implementation as well. Also included in the patch is a cleanup to use the do-while loop while waiting for other contenders to finish choosing their tickets.
Change-Id: Iedb305473133dc8f12126726d8329b67888b70f1
|
| H A D | bakery_lock_normal.c | 1c9573a157f0d6d76ded5e651bb3f0b9f3a3c9ec Thu Feb 19 16:23:51 UTC 2015 Soby Mathew <soby.mathew@arm.com> Optimize the bakery lock structure for coherent memory
This patch optimizes the data structure used with the bakery lock implementation for coherent memory to save memory and minimize memory accesses. These optimizations were already part of the bakery lock implementation for normal memory and this patch now implements it for the coherent memory implementation as well. Also included in the patch is a cleanup to use the do-while loop while waiting for other contenders to finish choosing their tickets.
Change-Id: Iedb305473133dc8f12126726d8329b67888b70f1
|
| /rk3399_ARM-atf/include/lib/ |
| H A D | bakery_lock.h | 1c9573a157f0d6d76ded5e651bb3f0b9f3a3c9ec Thu Feb 19 16:23:51 UTC 2015 Soby Mathew <soby.mathew@arm.com> Optimize the bakery lock structure for coherent memory
This patch optimizes the data structure used with the bakery lock implementation for coherent memory to save memory and minimize memory accesses. These optimizations were already part of the bakery lock implementation for normal memory and this patch now implements it for the coherent memory implementation as well. Also included in the patch is a cleanup to use the do-while loop while waiting for other contenders to finish choosing their tickets.
Change-Id: Iedb305473133dc8f12126726d8329b67888b70f1
|