Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178356595
D7417.1796567185.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
772 B
Referenced Files
None
Subscribers
None
D7417.1796567185.diff
View Options
Index: sys/vm/vm_kern.c
===================================================================
--- sys/vm/vm_kern.c
+++ sys/vm/vm_kern.c
@@ -183,7 +183,7 @@
if (tries < ((flags & M_NOWAIT) != 0 ? 1 : 3)) {
if (!vm_page_reclaim_contig(pflags, 1,
low, high, PAGE_SIZE, 0) &&
- (flags & M_WAITOK) != 0)
+ (flags & M_WAITOK) != 0 && !cold)
VM_WAIT;
VM_OBJECT_WLOCK(object);
tries++;
@@ -238,7 +238,8 @@
VM_OBJECT_WUNLOCK(object);
if (tries < ((flags & M_NOWAIT) != 0 ? 1 : 3)) {
if (!vm_page_reclaim_contig(pflags, npages, low, high,
- alignment, boundary) && (flags & M_WAITOK) != 0)
+ alignment, boundary) && (flags & M_WAITOK) != 0 &&
+ !cold)
VM_WAIT;
VM_OBJECT_WLOCK(object);
tries++;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 6, 2:26 PM (9 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42258659
Default Alt Text
D7417.1796567185.diff (772 B)
Attached To
Mode
D7417: Avoid sleeping after a failed vm_page_alloc_contig() call during boot.
Attached
Detach File
Event Timeline