> From: Tim Newsham <[email protected]> > Date: Tue, 26 Jul 2016 08:57:12 -1000 > > > The following program triggers the crash on my small VM's (64M, amd64) as > > well as my medium VM (1G ram). When triggered, it reports > > "panic: malloc: out of space in kmem_map". > > > > I should have mentioned that this was with the -stable kernel pulled > yesterday, which includes the fixes for the earlier reported mmap > issues.
Right. The amap data structures were largely redone for 6.0, with the specific purpose of reducing memory usage. That work is not present in 5.9-stable. I won't rule out that root can still push it to the point where you exhaust the virtual memory space reserved for malloc(9), but it should be a lot harder.
