Skip to contentSkip to conversation

XC_PAGE_SIZE for Linux kernel

DISCUSSION Oleksandr Andrushchenko 2 participants 3 messages Nov 28, 2016

lore
Share & tools
lore
#0 lore raw

Hi, all!

I cannot find any definition of XC_PAGE_SIZE for Linux kernel.

Is it by intention or just missed?

I am writing a PV front drivers now and forced either to define

XC_PAGE_SIZE == PAGE_SIZE or use PAGE_SIZE directly. Strictly

speaking both workarounds are not correct.

Thank you,

Oleksandr

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#1 lore raw
Quoted 1 line · Oleksandr Andrushchenko

Hi, all!

Hi,

Quoted 9 lines

I cannot find any definition of XC_PAGE_SIZE for Linux kernel.

Is it by intention or just missed?

I am writing a PV front drivers now and forced either to define

XC_PAGE_SIZE == PAGE_SIZE or use PAGE_SIZE directly. Strictly

speaking both workarounds are not correct.

Give a look to XEN_PAGE_SIZE defined in include/xen/page.h

Regards,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw
Quoted 11 lines · Julien Grall
Quoted 1 line · Oleksandr Andrushchenko

Hi, all!

Hi,

Quoted 4 lines

I cannot find any definition of XC_PAGE_SIZE for Linux kernel.

Is it by intention or just missed?

Quoted 7 lines
Quoted 5 lines

I am writing a PV front drivers now and forced either to define

XC_PAGE_SIZE == PAGE_SIZE or use PAGE_SIZE directly. Strictly

speaking both workarounds are not correct.

Give a look to XEN_PAGE_SIZE defined in include/xen/page.h

Indeed, thank you

Quoted 3 lines

Regards,

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel