FreeBSD Bugzilla – Attachment 244283 Details for
Bug 273289
smartpqi: fix panic on removal of SAS drive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
move free out of spinlock
smartpqi.diff (text/plain), 733 bytes, created by
John F. Carr
on 2023-08-22 17:04:13 UTC
(
hide
)
Description:
move free out of spinlock
Filename:
MIME Type:
Creator:
John F. Carr
Created:
2023-08-22 17:04:13 UTC
Size:
733 bytes
patch
obsolete
>commit c4ee47a987b6e738f8f353403b4a5a22d82c7464 >Author: John F. Carr <jfc@mit.edu> >Date: Tue Aug 22 12:17:33 2023 -0400 > > Do not free memory with spinlock held > >diff --git a/sys/dev/smartpqi/smartpqi_discovery.c b/sys/dev/smartpqi/smartpqi_discovery.c >index cb08e5a09823..b5df728231c6 100644 >--- a/sys/dev/smartpqi/smartpqi_discovery.c >+++ b/sys/dev/smartpqi/smartpqi_discovery.c >@@ -1461,10 +1461,9 @@ pqisrc_free_device(pqisrc_softstate_t * softs,pqi_scsi_dev_t *device) > > softs->device_list[device->target][device->lun] = NULL; > >- pqisrc_device_mem_free(softs, device); >- > OS_RELEASE_SPINLOCK(&softs->devlist_lock); > >+ pqisrc_device_mem_free(softs, device); > } > > /* Update the newly added devices to the device list */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273289
: 244283 |
244386