Changeset 271 for ksyslog/trunk/compat.h


Ignore:
Timestamp:
05/16/14 00:29:33 (10 years ago)
Author:
atzm
Message:

improve performance on multi-queue environment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ksyslog/trunk/compat.h

    r268 r271  
    77#ifndef KSYSLOG_COMPAT_H 
    88#define KSYSLOG_COMPAT_H 
    9  
    10 #ifndef __list_for_each_rcu 
    11 #define __list_for_each_rcu(pos, head) \ 
    12         for (pos = rcu_dereference_raw(list_next_rcu(head)); \ 
    13                 pos != (head); \ 
    14                 pos = rcu_dereference_raw(list_next_rcu(pos))) 
    15 #endif 
    169 
    1710#ifndef list_first_or_null_rcu 
Note: See TracChangeset for help on using the changeset viewer.