The patch titled knfsd: fix auto-sizing of nfsd request/reply buffers has been removed from the -mm tree. Its filename is knfsd-fix-auto-sizing-of-nfsd-request-reply-buffers.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: knfsd: fix auto-sizing of nfsd request/reply buffers From: NeilBrown <neilb@xxxxxxx> totalram is measured in pages, not bytes, so PAGE_SHIFT must be used when trying to find 1/4096 of RAM. Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx> Signed-off-by: Neil Brown <neilb@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfsd/nfssvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/nfsd/nfssvc.c~knfsd-fix-auto-sizing-of-nfsd-request-reply-buffers fs/nfsd/nfssvc.c --- a/fs/nfsd/nfssvc.c~knfsd-fix-auto-sizing-of-nfsd-request-reply-buffers +++ a/fs/nfsd/nfssvc.c @@ -209,7 +209,7 @@ int nfsd_create_serv(void) * Of course, this is only a default. */ nfsd_max_blksize = NFSSVC_MAXBLKSIZE; - i.totalram >>= 12; + i.totalram <<= PAGE_SHIFT - 12; while (nfsd_max_blksize > i.totalram && nfsd_max_blksize >= 8*1024*2) nfsd_max_blksize /= 2; _ Patches currently in -mm which might be from neilb@xxxxxxx are origin.patch vfs-destroy-the-dentries-contributed-by-a-superblock-on-unmounting.patch knfsd-add-nfs-export-support-to-tmpfs.patch knfsd-add-nfs-export-support-to-tmpfs-fixes.patch md-dm-reduce-stack-usage-with-stacked-block-devices.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html