|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 10 of 15] xenpaging: compare both token and path
On Tue, Oct 25, Ian Jackson wrote:
> Olaf Hering writes ("[Xen-devel] [PATCH 10 of 15] xenpaging: compare both
> token and path when checking for @releaseDomain event"):
> > xenpaging: compare both token and path when checking for @releaseDomain
> > event
> >
> > Subsequent patches will use xenstored to store the numbers of pages
> > xenpaging is suppose to page-out. A domain_id value could be
> > misinterpreted as number of pages. Compare both path and token to
> > recognize the @releaseDomain event.
>
> I'm not sure I understand. What are you currently using as the
> token ? The token as well as the path should be sufficient to be able
> to tell what the event is, so this patch makes me suspicious ...
I was under the impression there could be identical tokens for different
paths, and that the actual value of the watched path is part of
XS_WATCH_TOKEN. So this patch tries to make the detection of the
@releaseDomain event more robust.
But since the token seems to be unique (docs/misc/xenstore.txt has no
further description of 'token'), only the DPRINTF part of my patch
should be kept.
Please drop this change, I will add the DPRINTF in a separate patch.
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 00 of 15] tools/xenpaging fixes for xen-unstable, Olaf Hering
- [Xen-devel] [PATCH 13 of 15] xenpaging: retry unpageable gfns, Olaf Hering
- [Xen-devel] [PATCH 14 of 15] xenpaging: install into LIBEXEC dir, Olaf Hering
- [Xen-devel] [PATCH 04 of 15] xenpaging: simplify file_op, Olaf Hering
- [Xen-devel] [PATCH 08 of 15] xenpaging: track the number of paged-out pages, Olaf Hering
- [Xen-devel] [PATCH 02 of 15] xenpaging: remove obsolete comment in resume path, Olaf Hering
- [Xen-devel] [PATCH 01 of 15] xenpaging: remove filename from comment, Olaf Hering
- [Xen-devel] [PATCH 07 of 15] xenpaging: remove xc_dominfo_t from paging_t, Olaf Hering
- [Xen-devel] [PATCH 15 of 15] xenpaging: add XEN_PAGING_DIR / libxl_xenpaging_dir_path(), Olaf Hering
- [Xen-devel] [PATCH 09 of 15] xenpaging: move page add/resume loops into its own function, Olaf Hering
|
|
|
|
|