Skip to content
Snippets Groups Projects
Forked from ffbs / ffbs-gluon
Source project has a limited visibility.
  • Sven Eckelmann's avatar
    6ac5b9cb
    gluon-status-page-api: Switch from debugfs to batadv netlink · 6ac5b9cb
    Sven Eckelmann authored
    
    The batadv debugfs requires large memory blocks to write the text debug
    tables. This is inefficient for large tables like the global translation
    table or the originators table.
    
    The memory requirement can be reduced by using netlink. It copies smaller
    packets in a binary format to the userspace program. gluon-status-page-api
    can therefore parse larger originator tables without causing an OOM on
    systems which are tight on memory.
    
    Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
    6ac5b9cb
    History
    gluon-status-page-api: Switch from debugfs to batadv netlink
    Sven Eckelmann authored
    
    The batadv debugfs requires large memory blocks to write the text debug
    tables. This is inefficient for large tables like the global translation
    table or the originators table.
    
    The memory requirement can be reduced by using netlink. It copies smaller
    packets in a binary format to the userspace program. gluon-status-page-api
    can therefore parse larger originator tables without causing an OOM on
    systems which are tight on memory.
    
    Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>