Rusty Russell wrote: >> Rusty, what say you to a 'struct page *module_to_page(void *kaddr)' >> which does the right thing? Attached an implementation. >> > > Hi Avi, > > Arch-specific, unfortunately: modules do not need to be allocated with > vmalloc (and for small modules probably shouldn't anyway). Luckily > vmalloc always page-aligns AFAICT, so you get that. > > So I think dynamic alloc is easier. > Rusty. > >
Okay, we'll go with that. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel