commit | 91c1c092f27da4164d55ca81e0a483108f8a3235 | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ardb@kernel.org> | Mon Dec 07 17:33:33 2020 +0100 |
committer | Ard Biesheuvel <ardb@kernel.org> | Mon Dec 07 19:31:43 2020 +0100 |
tree | 38f2f5ffc9240d401ac60e34d5c9b56cfdc8a5c7 | |
parent | b283477d394ac41ca59ee20eb9293ae9002eb1d7 [diff] |
efi: capsule: use atomic kmap for transient sglist mappings Don't use the heavy-weight kmap() API to create short-lived mappings of the scatter-gather list entries that are released as soon as the entries are written. Instead, use kmap_atomic(), which is more suited to this purpose. Signed-off-by: Ard Biesheuvel <ardb@kernel.org>