Abstract:
A hypervisor hosted by a computing system performs a method to allocate a contiguous physical memory space to a device. A given region of physical memory is marked as migratable. From an operating system (OS) kernel, the hypervisor receives a request for memory allocation to the device, the request indicating a first set of available virtualized pages in a virtualized memory. In response to the request, the hypervisor identifies a set of contiguous frames in the given region to be allocated to the device. The set of contiguous frames are mapped to a second set of virtualized pages. The hypervisor disables the mapping for the first set of available virtualized pages and the second set of virtualized pages. Then one or more occupied frames in the set of contiguous frames are migrated out of the given region to allow for allocation of the set of contiguous frames to the device.
Abstract:
A hypervisor hosted by a computing system performs a method to allocate a contiguous physical memory space to a device. A given region of physical memory is marked as migratable. From an operating system (OS) kernel, the hypervisor receives a request for memory allocation to the device, the request indicating a first set of available virtualized pages in a virtualized memory. In response to the request, the hypervisor identifies a set of contiguous frames in the given region to be allocated to the device. The set of contiguous frames are mapped to a second set of virtualized pages. The hypervisor disables the mapping for the first set of available virtualized pages and the second set of virtualized pages. Then one or more occupied frames in the set of contiguous frames are migrated out of the given region to allow for allocation of the set of contiguous frames to the device.
Abstract:
An apparatus for performing secure memory allocation control in an electronic device and an associated method are provided. The electronic device may include a plurality of bus master circuits, each of which has capability of accessing data through a bus of the electronic device, and may further include a plurality of master side memory address filters (MAFs) that are coupled between the bus and the bus master circuits, where the apparatus may include a control circuit that is coupled to the master side MAFs. In addition, the control circuit may be arranged for controlling secure memory allocation of the electronic device through the master side MAFs, to restrict any unauthorized access to any portion of secure data within the electronic device. Additionally, the master side MAFs may be arranged for selectively restricting data accessing activities of the bus master circuits through memory address filtering.