Skip to contentSkip to conversation

Use of VM_IOREMAP in xenbus

DISCUSSION Christoph Hellwig 3 participants 3 messages Apr 9, 2020

lore
Share & tools
lore
#0 lore raw

Hi Wei,

commit ccc9d90a9a8b5 ("xenbus_client: Extend interface to support multi-page ring") addes a use of vmap in what is now xenbus_map_ring_valloc_hvm, and uses the VM_IOREMAP flag that is only really intended for implementing ioremap. Do you remember what the reason is that this flag was used?

#1 lore raw

Adjusting recipient list (dropping David, new mail addresses for Wei and Paul).

Quoted 8 lines · Christoph Hellwig

Hi Wei,

commit ccc9d90a9a8b5 ("xenbus_client: Extend interface to support multi-page ring") addes a use of vmap in what is now xenbus_map_ring_valloc_hvm, and uses the VM_IOREMAP flag that is only really intended for implementing ioremap. Do you remember what the reason is that this flag was used?

Juergen

#2 lore raw

Hi Christoph

Quoted 12 lines · Jürgen Groß

Adjusting recipient list (dropping David, new mail addresses for Wei and Paul).

Quoted 8 lines · Christoph Hellwig

Hi Wei,

commit ccc9d90a9a8b5 ("xenbus_client: Extend interface to support multi-page ring") addes a use of vmap in what is now xenbus_map_ring_valloc_hvm, and uses the VM_IOREMAP flag that is only really intended for implementing ioremap. Do you remember what the reason is that this flag was used?

I don't remember the reason. I can that flag can be dropped per your reasoning.

Wei.

Quoted 2 lines

Juergen