Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297424
b: refs/heads/master
c: 508f922
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Feb 3, 2012
1 parent f74958d commit 55675d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 87b0fc7deb5feccf93b022f6a976e8441152dbb2
refs/heads/master: 508f92275624fc755104b17945bdc822936f1918
2 changes: 1 addition & 1 deletion trunk/fs/nfsd/nfssvc.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ static int nfsd_get_default_max_blksize(void)
unsigned long ret;

si_meminfo(&i);
target = i.totalram << PAGE_SHIFT;
target = (i.totalram - i.totalhigh) << PAGE_SHIFT;
/*
* Aim for 1/4096 of memory per thread This gives 1MB on 4Gig
* machines, but only uses 32K on 128M machines. Bottom out at
Expand Down

0 comments on commit 55675d9

Please sign in to comment.