[PATCH openEuler-22.03-LTS-Ascend 08/79] mm/sharepool: Add an interface to obtain an id