| commit | 8420c9aa009332e710a890105544b32bf6eba20f | [log] [tgz] |
|---|---|---|
| author | Yuji Mano <yuji.mano@am.sony.com> | Fri Mar 13 18:18:44 2009 -0700 |
| committer | Yuji Mano <yuji.mano@am.sony.com> | Tue Mar 17 11:09:37 2009 -0700 |
| tree | 20139a1948c94e20e7fc814961cfe645e1f01a84 | |
| parent | 74f5e0448c157e89fe1e7ac22e419b334ef82887 [diff] |
base: Workload num blocks reduce code size This patch makes MARS_WORKLOAD_PER_BLOCK 16 instead of 15 to reduce code size as much as possible by doing operations on power of 2 rather than not. The kernel and workload queue must assume index 0 of workload_queue_block bits array is reserved for the mutex lock. This change reduces kernel code size by 584 bytes. Signed-off-by: Yuji Mano <yuji.mano@am.sony.com> Acked-by: Kazunori Asayama <asayama@sm.sony.co.jp>