1 Dec 2007 01:51
Re: remplacing page mappings behind uvm
Manuel Bouyer <bouyer <at> antioche.eu.org>
2007-12-01 00:51:09 GMT
2007-12-01 00:51:09 GMT
On Fri, Nov 30, 2007 at 05:59:52PM +0100, Manuel Bouyer wrote:
> Now that I'm thinking about it, it should be possible to create a
> uvm_object backed mapping in the ioctl calls, isn't it ?
>
I played with this, it seems to work. See the attached privcmd.c
There is a wired entry accounting issue I still need to solve,
which I think is related to MMAPBATCH, but it looks promising.
--
Manuel Bouyer <bouyer <at> antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
/* $NetBSD: privcmd.c,v 1.21 2007/11/27 11:37:27 pooka Exp $ */ /*- * Copyright (c) 2004 Christian Limpach. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software(Continue reading)
RSS Feed