habanalabs: set memory scrubbing to disabled by default
Scrubbing memory after every unmap is very costly in terms of performance. If a user wants it he can enable it but the default should prioritize performance. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
1dae12fe1b
commit
7fb2a1f5b7
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ static DEFINE_MUTEX(hl_devs_idr_lock);
|
|||
|
||||
static int timeout_locked = 30;
|
||||
static int reset_on_lockup = 1;
|
||||
static int memory_scrub = 1;
|
||||
static int memory_scrub;
|
||||
static ulong boot_error_status_mask = ULONG_MAX;
|
||||
|
||||
module_param(timeout_locked, int, 0444);
|
||||
|
|
@ -42,7 +42,7 @@ MODULE_PARM_DESC(reset_on_lockup,
|
|||
|
||||
module_param(memory_scrub, int, 0444);
|
||||
MODULE_PARM_DESC(memory_scrub,
|
||||
"Scrub device memory in various states (0 = no, 1 = yes, default yes)");
|
||||
"Scrub device memory in various states (0 = no, 1 = yes, default no)");
|
||||
|
||||
module_param(boot_error_status_mask, ulong, 0444);
|
||||
MODULE_PARM_DESC(boot_error_status_mask,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue