Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299019
b: refs/heads/master
c: 5fb84b1
h: refs/heads/master
i:
  299017: 77785d8
  299015: 296e88d
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Apr 10, 2012
1 parent 71b99c7 commit 824b91e
Show file tree
Hide file tree
Showing 2 changed files with 2 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: ecd159fc5f415fa742d5daa5b43200606e6ad493
refs/heads/master: 5fb84b1428b271f8767e0eb3fcd7231896edfaa4
3 changes: 1 addition & 2 deletions trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3302,8 +3302,7 @@ void __init tcp_init(void)

tcp_init_mem(&init_net);
/* Set per-socket limits to no more than 1/128 the pressure threshold */
limit = nr_free_buffer_pages() << (PAGE_SHIFT - 10);
limit = max(limit, 128UL);
limit = nr_free_buffer_pages() << (PAGE_SHIFT - 7);
max_share = min(4UL*1024*1024, limit);

sysctl_tcp_wmem[0] = SK_MEM_QUANTUM;
Expand Down

0 comments on commit 824b91e

Please sign in to comment.