shm_alloc() can fail if swap reservation fails (i.e., vm.overcommit is
non-zero) or racct is imposing some limits on swap usage.
PR: 282994
Differential D47839
shm: Handle swap pager allocation failures markj on Fri, Nov 29, 3:21 PM. Authored by Tags None Referenced Files
Details
shm_alloc() can fail if swap reservation fails (i.e., vm.overcommit is PR: 282994
Diff Detail
Event Timeline
Comment Actions Apply reviewer suggestions, fix a couple of bugs.
Comment Actions I tend to agree with kib@ for both of its inline comments. The second comment is the second alternative I listed. I'm fine either way. |