Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a3630a5e
Commit
a3630a5e
authored
Aug 30, 2002
by
Thiemo Seufer
Committed by
David S. Miller
Aug 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/net/tcp.h: Use ____cacheline_aligned
parent
2842e79e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/net/tcp.h
include/net/tcp.h
+2
-2
No files found.
include/net/tcp.h
View file @
a3630a5e
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/tcp.h>
#include <linux/tcp.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/cache.h>
#include <net/checksum.h>
#include <net/checksum.h>
#include <net/sock.h>
#include <net/sock.h>
#if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
#if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
...
@@ -120,8 +121,7 @@ extern struct tcp_hashinfo {
...
@@ -120,8 +121,7 @@ extern struct tcp_hashinfo {
* Now align to a new cache line as all the following members
* Now align to a new cache line as all the following members
* are often dirty.
* are often dirty.
*/
*/
rwlock_t
__tcp_lhash_lock
rwlock_t
__tcp_lhash_lock
____cacheline_aligned
;
__attribute__
((
__aligned__
(
SMP_CACHE_BYTES
)));
atomic_t
__tcp_lhash_users
;
atomic_t
__tcp_lhash_users
;
wait_queue_head_t
__tcp_lhash_wait
;
wait_queue_head_t
__tcp_lhash_wait
;
spinlock_t
__tcp_portalloc_lock
;
spinlock_t
__tcp_portalloc_lock
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment