• D
    ima: allocating iint improvements · bf2276d1
    Dmitry Kasatkin 提交于
    With IMA-appraisal's removal of the iint mutex and taking the i_mutex
    instead, allocating the iint becomes a lot simplier, as we don't need
    to be concerned with two processes racing to allocate the iint. This
    patch cleans up and improves performance for allocating the iint.
    
    - removed redundant double i_mutex locking
    - combined iint allocation with tree search
    
    Changelog v2:
    - removed the rwlock/read_lock changes from this patch
    Signed-off-by: NDmitry Kasatkin <dmitry.kasatkin@intel.com>
    Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
    bf2276d1
iint.c 3.7 KB