diff options
| author | Russell King <[email protected]> | 2016-08-08 18:05:24 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2016-08-09 18:47:28 +0800 |
| commit | 66d2e2028091a074aa1290d2eeda5ddb1a6c329c (patch) | |
| tree | a5decf16bd35101d031defcce9f9c095649c4e33 /scripts/stackusage | |
| parent | 65cf164a4afab86b9d26c063bc4cef5432b52021 (diff) | |
crypto: caam - get rid of tasklet
Threaded interrupts can perform the function of the tasklet, and much
more safely too - without races when trying to take the tasklet and
interrupt down on device removal.
With the old code, there is a window where we call tasklet_kill(). If
the interrupt handler happens to be running on a different CPU, and
subsequently calls tasklet_schedule(), the tasklet will be re-scheduled
for execution.
Switching to a hardirq/threadirq combination implementation avoids this,
and it also means generic code deals with the teardown sequencing of the
threaded and non-threaded parts.
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions