Re: Use km_alloc(9) in drm

2022-02-06 Thread Sebastien Marie
On Sat, Feb 05, 2022 at 11:44:03AM +0100, Mark Kettenis wrote: > We want to get rid of the uvm_km_valloc() interfaces in favour of > km_alloc(). This changes the calls in drm(4) over. The kv_physwait > struct is made static to prevent collission with a symbol in > vm_machdep.c on some

Re: Use km_alloc(9) in drm

2022-02-06 Thread Jonathan Gray
On Sat, Feb 05, 2022 at 02:26:48PM +0100, Mark Kettenis wrote: > > Date: Sat, 5 Feb 2022 22:34:10 +1100 > > From: Jonathan Gray > > > > On Sat, Feb 05, 2022 at 11:44:03AM +0100, Mark Kettenis wrote: > > > We want to get rid of the uvm_km_valloc() interfaces in favour of > > > km_alloc(). This

Re: Use km_alloc(9) in drm

2022-02-05 Thread Mark Kettenis
> Date: Sat, 5 Feb 2022 22:34:10 +1100 > From: Jonathan Gray > > On Sat, Feb 05, 2022 at 11:44:03AM +0100, Mark Kettenis wrote: > > We want to get rid of the uvm_km_valloc() interfaces in favour of > > km_alloc(). This changes the calls in drm(4) over. The kv_physwait > > struct is made static

Re: Use km_alloc(9) in drm

2022-02-05 Thread Jonathan Gray
On Sat, Feb 05, 2022 at 11:44:03AM +0100, Mark Kettenis wrote: > We want to get rid of the uvm_km_valloc() interfaces in favour of > km_alloc(). This changes the calls in drm(4) over. The kv_physwait > struct is made static to prevent collission with a symbol in > vm_machdep.c on some

Use km_alloc(9) in drm

2022-02-05 Thread Mark Kettenis
We want to get rid of the uvm_km_valloc() interfaces in favour of km_alloc(). This changes the calls in drm(4) over. The kv_physwait struct is made static to prevent collission with a symbol in vm_machdep.c on some architectures. The goal is to move this into uvm/uvm_km.c eventually. Just to