Re: [RFC] security: smack: add hash table for smack for quick label searching

2013-06-08 Thread Casey Schaufler
On 4/11/2013 1:46 AM, Tomasz Stanislawski wrote: > This patch adds a hash table to quicken searching of a smack label by its > name. > > For a typical idle for TIZEN the CPU wastes circa 5-10% of its cycles for > processing the smk_find_entry function. This patch adds a hash map that should > spee

Re: [RFC] security: smack: add hash table for smack for quick label searching

2013-04-12 Thread Casey Schaufler
On 4/12/2013 8:12 AM, Łukasz Stelmach wrote: > It was <2013-04-11 czw 19:59>, when Casey Schaufler wrote: >> On 4/11/2013 1:46 AM, Tomasz Stanislawski wrote: >>> Hi everyone, >>> I am a developer working on optimization of the TIZEN system. >>> Recently, I've discovered a performance issue in SMACK

Re: [RFC] security: smack: add hash table for smack for quick label searching

2013-04-12 Thread Łukasz Stelmach
It was <2013-04-11 czw 19:59>, when Casey Schaufler wrote: > On 4/11/2013 1:46 AM, Tomasz Stanislawski wrote: >> Hi everyone, >> I am a developer working on optimization of the TIZEN system. >> Recently, I've discovered a performance issue in SMACK subsystem. >> I used the PERF tool to find perform

Re: [RFC] security: smack: add hash table for smack for quick label searching

2013-04-11 Thread Casey Schaufler
On 4/11/2013 1:46 AM, Tomasz Stanislawski wrote: > Hi everyone, > I am a developer working on optimization of the TIZEN system. > Recently, I've discovered a performance issue in SMACK subsystem. > I used the PERF tool to find performance bottlenecks. > > The test scenario was simple. Run multiple