Re: drm(4) memory allocation diff

2021-01-01 Thread Mark Kettenis
> Date: Fri, 1 Jan 2021 20:10:45 +1100 > From: Jonathan Gray New diff at the end of this mail. Please test this one instead of the previous one. > On Thu, Dec 31, 2020 at 10:09:36PM +0100, Mark Kettenis wrote: > > The diff below changes the emulated Linux memory allocation functions > > a bit s

Re: drm(4) memory allocation diff

2021-01-01 Thread Mark Kettenis
> Date: Fri, 1 Jan 2021 09:51:27 +0100 > From: Otto Moerbeek > > On Thu, Dec 31, 2020 at 10:09:36PM +0100, Mark Kettenis wrote: > > > The diff below changes the emulated Linux memory allocation functions > > a bit such that they only use malloc(9) for allocations smaller than a > > page. This r

Re: drm(4) memory allocation diff

2021-01-01 Thread Jonathan Gray
On Thu, Dec 31, 2020 at 10:09:36PM +0100, Mark Kettenis wrote: > The diff below changes the emulated Linux memory allocation functions > a bit such that they only use malloc(9) for allocations smaller than a > page. This reduces pressure on the "interrupt safe" map and hopefully > will avoid the >

Re: drm(4) memory allocation diff

2021-01-01 Thread Otto Moerbeek
On Thu, Dec 31, 2020 at 10:09:36PM +0100, Mark Kettenis wrote: > The diff below changes the emulated Linux memory allocation functions > a bit such that they only use malloc(9) for allocations smaller than a > page. This reduces pressure on the "interrupt safe" map and hopefully > will avoid the

drm(4) memory allocation diff

2020-12-31 Thread Mark Kettenis
The diff below changes the emulated Linux memory allocation functions a bit such that they only use malloc(9) for allocations smaller than a page. This reduces pressure on the "interrupt safe" map and hopefully will avoid the uvm_mapent_alloc: out of static map entries messages that some peo