lkml.org 
[lkml]   [1998]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: First snapshot of a proposed set of fixes to make 2.0.34
On Sun, 18 Jan 1998, Alan Cox wrote:

>
> 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--;

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.068 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site