summaryrefslogtreecommitdiffstats
path: root/drivers/misc/atmel-ssc.c
diff options
context:
space:
mode:
authorOmer Shpigelman <oshpigelman@habana.ai>2019-11-14 18:23:57 +0000
committerOded Gabbay <oded.gabbay@gmail.com>2019-11-21 11:35:46 +0200
commit1b98d8b23f29e5ff82fe84ca0c8acffaa971b9d6 (patch)
treef2b043d52189f9c89106628f69faf5fc3c2f6027 /drivers/misc/atmel-ssc.c
parentbc75d799f9531fe112f7d78a5547ad549293fb7e (diff)
downloadlinux-1b98d8b23f29e5ff82fe84ca0c8acffaa971b9d6.tar.gz
linux-1b98d8b23f29e5ff82fe84ca0c8acffaa971b9d6.tar.bz2
linux-1b98d8b23f29e5ff82fe84ca0c8acffaa971b9d6.zip
habanalabs: optimize MMU unmap
Reduce context close time by skipping hash table lookup if possible in order to avoid hard reset with open contexts. Reset with open contexts can potentially lead to a kernel crash as the generic pool of the MMU hops is destroyed while it is not empty because some unmap operations are not done. This commit affect mainly when running on simulator. Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/atmel-ssc.c')
0 files changed, 0 insertions, 0 deletions