Subject: UVM - Kernel & User access question
To: None <tech-kern@netbsd.org>
From: Eric Circlaeys <eric.c@mac.com>
List: tech-kern
Date: 10/16/2003 15:13:59
Quick question from a french student...

I would like to use UVM to allocate large memory in kernel land.
I used uao_create, round_page, uvm_map to allocate virtual space.
But now I would like to write and read inside those pages still being 
in kernel land.
When I tried with copyout to write buffer inside it I got a page 
fault...

I learnt from der Mouse that at this step no backend physical pages are 
created in relation to my virtual space,
how do I have to force a page creation?

Is it the right way to use UVM like that concerning what I would like 
to do?

Thank you very much in advance.
Eric.