• Maciej Lipinski's avatar
    [issue #201] moved update of age-time within mutex · 85a7069b
    Maciej Lipinski authored
    The problem was as follows:
    - there were two nodes with the same MAC address, sending traffic
      at high frequency
    - the above triggers a lot of learning requests to rtud, as a result
    - rtu HASH table representation in SHMEM is constantly udpated
    - the aging process runs in background (separate process) and updates
      the time the entry was last used.
    
    The update process could not the time of last access in the HASH
    table in SHMEM because the learing process was constantly occupying
    the SHMEM. The age out process was never aging out entry (even if this
    one is within mutex) since the access time was never updated.
    
    Thus, now both, update of last access time and age-out process are
    both within mutex that allows the learning and aging-out processes
    to both access SHMEM and HW.
    85a7069b
Name
Last commit
Last update
..
Documentation Loading commit data...
patches/2.6.35 Loading commit data...
COPYING Loading commit data...
Doxyfile Loading commit data...
Makefile Loading commit data...
README Loading commit data...
TODO Loading commit data...
rtu.h Loading commit data...
rtu_drv.c Loading commit data...
rtu_drv.h Loading commit data...
rtu_ext_drv.c Loading commit data...
rtu_ext_drv.h Loading commit data...
rtu_fd.c Loading commit data...
rtu_fd.h Loading commit data...
rtu_hash.c Loading commit data...
rtu_hash.h Loading commit data...
rtud.c Loading commit data...
rtud_exports.c Loading commit data...
rtud_exports.h Loading commit data...
utils.c Loading commit data...
utils.h Loading commit data...
wr_rtu.h Loading commit data...