Date: Sun, 30 Nov 1997 00:33:40 -0800 From: Jonathan Mini <j_mini@efn.org> To: dyson@freebsd.org Cc: hackers@freebsd.org Subject: dirty bit in page allocations. Message-ID: <19971130003340.56477@micron.mini.net>
next in thread | raw e-mail | index | archive | help
I need to read and set the dirty bit on pages of allocated kernel memory. I allocate the memory via malloc, and then export it to the userland via mmap. What I need to do is clear and test the dirty bit on those pages. This way, I can dump only those pages which have been modified instead of the entire set of pages. What are the functions/macros/etc which will allow me to do this? -- Jonathan Mini Ingenious Productions Software Development P.O. Box 5693, Eugene, Or. 97405 "A child of five could understand this! Quick -- Fetch me a child of five."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971130003340.56477>