diff options
author | Will Deacon <will@kernel.org> | 2020-05-15 14:43:11 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-05-18 17:47:33 +0100 |
commit | bee348fab099b0f551caa874663e82a7f3bb64b3 (patch) | |
tree | db1a964bc311bc58ad1f6ad54831825977ce80c8 /fs/crypto/hooks.c | |
parent | 51189c7a7ed1b4ed4493e27275d466ff60406d3a (diff) |
scs: Move accounting into alloc/free functions
There's no need to perform the shadow stack page accounting independently
of the lifetime of the underlying allocation, so call the accounting code
from the {alloc,free}() functions and simplify the code in the process.
Tested-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'fs/crypto/hooks.c')
0 files changed, 0 insertions, 0 deletions