[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] LTTng-Xen Buffer shared between the hypervisor and a dom0 process
On 7/3/07 19:24, "Mathieu Desnoyers" <compudj@xxxxxxxxxxxxxxxxxx> wrote: > Then, I would like to release some kind of reference count of this > mapping from the hypervisor. I do the following which results in page > faults (probably because it tries to free memory still accessed by > lttd-xen) : What's the shutdown order you're looking for? It sounds like you want Xen to tell lttd-xen when it should quit, which seems to me the wrong way round. -- Keir > free_xenheap_pages( > rawbuf, > get_order_from_bytes(chan->alloc_size * num_possible_cpus())); > > > And then, when we are sure that no more data can be written in the > buffer, lttd-xen is ready to exit. It unmaps the buffer just before exit : > > err_ret = munmap(pair->mmap, pair->subbuf_size * pair->n_subbufs); > > Do you know any proper way to achieve what I am looking for ? _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |