>
> I'd appreciate feedback on these - especially on the Alpha platform so I
> can fix any further problems they may have caused someone and submit
> this on to Linus for 2.0.34
Here's a two liner for mm/vmscan.c that I convinced Linus to put in 2.1.76
(or so) - fixes potentially large chunks of unswappable memory caused by
large processes fork()ing. Also, I'd like to see a newer version of our
(Spellcaster's) ISDN driver in too (we aren't the ones who put the
*really* old version in the tree).
-ben
--- 2.0.33/mm/vmscan.c.orig Mon Jan 19 10:27:58 1998
+++ 2.0.33/mm/vmscan.c Mon Jan 19 10:29:28 1998
@@ -120,8 +120,6 @@
if (vma->vm_ops->swapout(vma, address - vma->vm_start + vma->vm_offset, page_table))
kill_proc(pid, SIGBUS, 1);
} else {
- if (page_map->count != 1)
- return 0;
if (!(entry = get_swap_page()))
return 0;
vma->vm_mm->rss--;