Sultan Alsawaf 5da0bd5621 fscrypt: Avoid dynamic memory allocation during impl selection
When there's only one device, use an on-stack buffer to store the device
pointers in order to avoid dynamic memory allocation from this hot path.

Change-Id: Ib54e0a5de7f0168b6f246a85306a146d1384b39a
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
2024-12-13 00:13:33 -03:00
..
2020-08-13 13:44:59 -07:00
2020-08-13 13:44:59 -07:00