summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2019-09-12 14:28:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-11 18:36:31 +0200
commitd78709c11d76dc7e1fbad99f939bed41672e5637 (patch)
tree3da43103982b7239399e2bf21e12a3fec3a4a6d5 /net/lapb/lapb_timer.c
parent7430555cdaee008e6b38465c6eddf2e5057c6805 (diff)
fuse: fix request limit
[ Upstream commit f22f812d5ce75a18b56073a7a63862e6ea764070 ] The size of struct fuse_req was reduced from 392B to 144B on a non-debug config, thus the sanitize_global_limit() helper was setting a larger default limit. This doesn't really reflect reduction in the memory used by requests, since the fields removed from fuse_req were added to fuse_args derived structs; e.g. sizeof(struct fuse_writepages_args) is 248B, thus resulting in slightly more memory being used for writepage requests overalll (due to using 256B slabs). Make the calculatation ignore the size of fuse_req and use the old 392B value. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions