Skip to content

Commit 554167e

Browse files
committed
lib: nr_free_buffer_pages() with a large size
when the return value of nr_free_buffer_pages() is small, the default socket buffer size of tcp socket (e.g., net.ipv4.tcp_rmem) never glows and socket application can increase cwnd value. increaseing this buffer pages solves this issue. Signed-off-by: Hajime Tazaki <[email protected]>
1 parent 24bc99a commit 554167e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/lib/fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ int dirtytime_interval_handler(struct ctl_table *table, int write,
6666

6767
unsigned int nr_free_buffer_pages(void)
6868
{
69-
return 1024;
69+
return 65535;
7070
}

0 commit comments

Comments
 (0)