Home
last modified time | relevance | path

Searched hist:d6e33310b68a97532b14f642d5a4c8ca14263186 (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/include/mm/
H A Dpgt_cache.hd6e33310b68a97532b14f642d5a4c8ca14263186 Wed Jun 22 18:56:44 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: pgt: rename to pgt_put_all() and pgt_get_all()

The two functions pgt_free() and pgt_alloc() has names which doesn't
match well what they do so rename them.

pgt_free() to pgt_put_all():
This matches better how page tables are managed since pgt_put_all()
doesn't free the tables, they are just put in a cache list from which
they later can be free or re-allocated.

pgt_alloc() to pgt_get_all():
pgt_get_all() may actually not allocate a new table, not if it can be
found in the cache list.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/core/mm/
H A Dvm.cd6e33310b68a97532b14f642d5a4c8ca14263186 Wed Jun 22 18:56:44 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: pgt: rename to pgt_put_all() and pgt_get_all()

The two functions pgt_free() and pgt_alloc() has names which doesn't
match well what they do so rename them.

pgt_free() to pgt_put_all():
This matches better how page tables are managed since pgt_put_all()
doesn't free the tables, they are just put in a cache list from which
they later can be free or re-allocated.

pgt_alloc() to pgt_get_all():
pgt_get_all() may actually not allocate a new table, not if it can be
found in the cache list.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
H A Dcore_mmu.cd6e33310b68a97532b14f642d5a4c8ca14263186 Wed Jun 22 18:56:44 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: pgt: rename to pgt_put_all() and pgt_get_all()

The two functions pgt_free() and pgt_alloc() has names which doesn't
match well what they do so rename them.

pgt_free() to pgt_put_all():
This matches better how page tables are managed since pgt_put_all()
doesn't free the tables, they are just put in a cache list from which
they later can be free or re-allocated.

pgt_alloc() to pgt_get_all():
pgt_get_all() may actually not allocate a new table, not if it can be
found in the cache list.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>