MAXPHYS is to small for the modern program, it is not enough even
for print process memory map.
To avoid this, limit storage size of the sbuf buffer by tunable sysctl.
PR: 237883
Differential D20575
pseudofs: add sysctl to set sbuf buffer size dchagin on Jun 9 2019, 4:07 PM. Authored by Tags None Referenced Files
Details
MAXPHYS is to small for the modern program, it is not enough even PR: 237883
Diff Detail
Event TimelineComment Actions Why do you need a sysctl ? If bumping, simply increase to some larger but reasonable value, e.g. 2M. IOSIZE_MAX is definitely unreasonable. Comment Actions Some pn_fill() may writes to the sbuf under non-sleepable lock, so better to use some constant which will be > MAXPHYS like kib@ suggested |