Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 1997 14:16:28 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        j_mini@efn.org
Cc:        dyson@freebsd.org, hackers@freebsd.org
Subject:   Re: dirty bit in page allocations.
Message-ID:  <199711301916.OAA01128@dyson.iquest.net>
In-Reply-To: <19971130003340.56477@micron.mini.net> from Jonathan Mini at "Nov 30, 97 00:33:40 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan Mini said:
>   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?
> 
What, exactly, are you trying to do?  (I am not trying to be snotty or anything,
but there are easy ways to do certain things, and more difficult ways :-)).  I
might be able to help you put something together that is easy.

-- 
John
dyson@freebsd.org
jdyson@nc.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711301916.OAA01128>