Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MEMORY RELEASE METHOD
Document Type and Number:
WIPO Patent Application WO/2019/072093
Kind Code:
A1
Abstract:
The present invention provides a memory release method, which is used to release memory distributed by a memory continuous distributer, in which combine pages to be released and adjacent free pages into a memory block and obtain an order number k, that is k=1, of the current memory block, and output the current order number to the memory continuous distributer, including the following steps: Step S1, determining whether there are free page of 2 k pages adjacent to the current memory block; if YES, performing step S2; if NO, releasing the memory segment and exiting; Step S2, obtaining the free pages of 2 k pages adjacent to the current memory block; Step S3, combining the free pages obtained in Step S2 with the current memory block to form a memory block, increasing the order number of the formed memory block by 1, that is, k=k+1, and returning to Step S1. The technical solution has beneficial effects of overcoming the defects of time-consuming and low efficiency for a large number of memory release due to the fact that memory release of CMA is released one by one in the prior art.

Inventors:
ZENG TAO (CN)
Application Number:
PCT/CN2018/108099
Publication Date:
April 18, 2019
Filing Date:
September 27, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
AMLOGIC SHANGHAI CO LTD (CN)
International Classes:
G06F9/50
Foreign References:
CN107729146A2018-02-23
CN106294198A2017-01-04
CN102053916A2011-05-11
CN101221536A2008-07-16
US20160275009A12016-09-22
Attorney, Agent or Firm:
SHANGHAI SHENXIN LAW FIRM (CN)
Download PDF: