Re: const/C99 & locks for uvm_pagerops

2020-10-20 Thread Mark Kettenis
> Date: Tue, 20 Oct 2020 11:29:03 +0200 > From: Martin Pieuchot > > Diff below use C99 initializer and constify the various "struct uvm_pagerops" > in tree. > > While here add some KERNEL_ASSERT_LOCKED() to places where the `uobj' > locking has been removed and that should be revisited. This

const/C99 & locks for uvm_pagerops

2020-10-20 Thread Martin Pieuchot
Diff below use C99 initializer and constify the various "struct uvm_pagerops" in tree. While here add some KERNEL_ASSERT_LOCKED() to places where the `uobj' locking has been removed and that should be revisited. This is to help a future myself or another developer to look at what needs some