mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
persistent_ram_zone(=prz) structures are allocated by persistent_ram_new(), which includes vmap() or ioremap(). But they are currently freed by kfree(). This uses persistent_ram_free() for correct this asymmetry usage. Signed-off-by: Hiraku Toyooka <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Cc: Mark Salyzyn <[email protected]> Cc: Seiji Aguchi <[email protected]> Signed-off-by: Kees Cook <[email protected]>