lkml.org 
[lkml]   [2009]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [patch 4a/4] ipc: sem optimise simple operations
On Sat, Aug 15, 2009 at 06:32:14PM +0200, Manfred Spraul wrote:
> It depends. After disabling inlining, including all helper functions
> that differ:
>
> My proposal: 301 bytes for update_queue.
>
> "simple", only negv: 226 bytes
> "simple, negv+zero: 354 bytes
> simple+complex: 526 bytes.
>
> Thus with only +-1 simple ops, your version uses less icache. If both
> +-1 and 0 ops are used, your version uses more icache.

Don't forget that in that case, your version is badly suboptimal
due to the algorithmic complexity.


\
 
 \ /
  Last update: 2009-08-16 12:33    [W:0.070 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site