| CPC G06F 3/0656 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0673 (2013.01)] | 6 Claims |

|
1. A data storage device, comprising:
a memory device; and
a controller coupled to the memory device, wherein the controller comprises:
a volatile memory device, wherein the volatile memory device comprises a controller memory buffer (CMB), wherein the CMB is allocated to a host device for use by the host device; and
a CMB allocation module, wherein the CMB allocation module is configured to:
analyze a usage pattern of the CMB, wherein analyzing the usage pattern of the CMB comprises analyzing a number of past workloads of the CMB and a current workload of the CMB;
determine whether a portion of the CMB can be used by the controller based on the usage pattern; and
notify the controller of the portion of the CMB that can be used by the controller based on the determining; and
wherein the controller is configured to:
utilize the portion of the CMB for management data, responsive to the notifying, wherein the portion of the CMB remains allocated to the host device.
|