Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160562351
D56725.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
709 B
Referenced Files
None
Subscribers
None
D56725.diff
View Options
diff --git a/sys/kern/uipc_shm.c b/sys/kern/uipc_shm.c
--- a/sys/kern/uipc_shm.c
+++ b/sys/kern/uipc_shm.c
@@ -829,12 +829,20 @@
* object lock might allowed mapping of them.
*/
while (object->size < newobjsz) {
+ error = sig_intr();
+ if (error != 0)
+ return (error);
m = vm_page_alloc_contig(object, object->size, aflags,
pagesizes[psind] / PAGE_SIZE, 0, ~0,
pagesizes[psind], 0,
VM_MEMATTR_DEFAULT);
if (m == NULL) {
VM_OBJECT_WUNLOCK(object);
+ error = sig_intr();
+ if (error != 0) {
+ VM_OBJECT_WLOCK(object);
+ return (error);
+ }
if (shmfd->shm_lp_alloc_policy ==
SHM_LARGEPAGE_ALLOC_NOWAIT ||
(shmfd->shm_lp_alloc_policy ==
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 26, 5:24 PM (6 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32544684
Default Alt Text
D56725.diff (709 B)
Attached To
Mode
D56725: uipc_shm.c: make large page allocation interruptible
Attached
Detach File
Event Timeline
Log In to Comment