Page MenuHomeFreeBSD

D54153.id167821.diff
No OneTemporary

D54153.id167821.diff

diff --git a/sys/compat/linuxkpi/common/src/linux_page.c b/sys/compat/linuxkpi/common/src/linux_page.c
--- a/sys/compat/linuxkpi/common/src/linux_page.c
+++ b/sys/compat/linuxkpi/common/src/linux_page.c
@@ -345,10 +345,8 @@
page = vm_page_grab_iter(vm_obj, pindex, VM_ALLOC_NOCREAT, &pages);
if (page == NULL) {
page = PHYS_TO_VM_PAGE(IDX_TO_OFF(pfn));
- if (page == NULL) {
- pctrie_iter_reset(&pages);
+ if (page == NULL)
return (VM_FAULT_SIGBUS);
- }
if (!vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL)) {
pctrie_iter_reset(&pages);
goto retry;

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 25, 1:37 AM (2 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30288219
Default Alt Text
D54153.id167821.diff (575 B)

Event Timeline