Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150052
b: refs/heads/master
c: 6a321cb
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Apr 28, 2009
1 parent 72ce198 commit 96f082b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8555a5948467e941acc34e8b1c30df4c1f2f5862
refs/heads/master: 6a321cb370ad3db4ba6e405e638b3a42c41089b0
10 changes: 8 additions & 2 deletions trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -447,12 +447,18 @@ enum netdev_queue_state_t
};

struct netdev_queue {
/*
* read mostly part
*/
struct net_device *dev;
struct Qdisc *qdisc;
unsigned long state;
spinlock_t _xmit_lock;
int xmit_lock_owner;
struct Qdisc *qdisc_sleeping;
/*
* write mostly part
*/
spinlock_t _xmit_lock ____cacheline_aligned_in_smp;
int xmit_lock_owner;
} ____cacheline_aligned_in_smp;


Expand Down

0 comments on commit 96f082b

Please sign in to comment.