Query: release_mem_region_adjustable
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RELEASE_MEM_REGION_A(9) Hardware Interfaces RELEASE_MEM_REGION_A(9)NAMErelease_mem_region_adjustable - release a previously reserved memory regionSYNOPSISint release_mem_region_adjustable(struct resource * parent, resource_size_t start, resource_size_t size);ARGUMENTSparent parent resource descriptor start resource start address size resource region sizeDESCRIPTIONThis interface is intended for memory hot-delete. The requested region is released from a currently busy memory resource. The requested region must either match exactly or fit into a single busy resource entry. In the latter case, the remaining resource is adjusted accordingly. Existing children of the busy memory resource must be immutable in the request.NOTE- Additional release conditions, such as overlapping region, can be supported after they are confirmed as valid cases. - When a busy memory resource gets split into two entries, the code assumes that all children remain in the lower address entry for simplicity. Enhance this logic when necessary.COPYRIGHTKernel Hackers Manual 3.10 June 2014 RELEASE_MEM_REGION_A(9)