• Gilles Chanteperdrix's avatar
    rtnet: rtskb_pool changes · 0888f326
    Gilles Chanteperdrix authored
    An rtskb_pool now has lock/unlock operations, called for the first dequeued
    buffer and the last queued one. At this chance, the struct rtskb_pool is
    introduced, and used everywhere a pool was used.
    
    rtskb_module_pool_init creates an rtskb_pool whose lock/unlock operations
    lock a module (the module from which rtskb_module_pool_init was called).
    
    The socket skb_pool lock/unlocks the socket rtdm_fd.
    
    Drivers pool not fixed yet.
    0888f326
rtdev.h 7.82 KB