Re: zalloc project

2021-05-27 Thread James Cook
Here's a small progress report, together with some long-winded notes. I don't necessarily expect anyone to read them, but advice or other comments are always appreciated! Summary: - I switched SWAPMETA over to kmalloc_obj with no deadlock mitigation, because I want to see that fail before I star

Re: zalloc project

2021-05-17 Thread James Cook
On Fri, May 14, 2021 at 02:58:30PM -0900, Matthew Dillon wrote: > SWAPMETA is used for configuring and paging to swap space, so there is no > boot dependency that is, the kernel can bootstrap completely without > ever having to use swap space. However, once the system is running, > paging to

Re: zalloc project

2021-05-14 Thread Matthew Dillon
SWAPMETA is used for configuring and paging to swap space, so there is no boot dependency that is, the kernel can bootstrap completely without ever having to use swap space. However, once the system is running, paging to swap typically occurs due to low-memory situations (if you think about i

Re: zalloc project

2021-05-14 Thread James Cook
On Fri, May 14, 2021 at 10:04:28AM -0900, Matthew Dillon wrote: > Hi James. Yes, I think removing zalloc is still worth doing as a > clean-up. Honestly I'd like to also get rid of objcache as well, replacing > both zalloc and objcache with the new kmalloc_obj() facility. I don't > think this wo

Re: zalloc project

2021-05-14 Thread Matthew Dillon
Hi James. Yes, I think removing zalloc is still worth doing as a clean-up. Honestly I'd like to also get rid of objcache as well, replacing both zalloc and objcache with the new kmalloc_obj() facility. I don't think this would be a beginner project, though, but you could take a look at it and s