public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* MM bugs in 2.4.1-pre1 propogated to ac5?
@ 2001-01-10 16:54 Benjamin Redelings I
  0 siblings, 0 replies; only message in thread
From: Benjamin Redelings I @ 2001-01-10 16:54 UTC (permalink / raw)
  To: linux-kernel

Hi - can someone confirm or deny that these are bugs?
I compiled pre1 for a 256Mb machine with them both "fixed", and it
worked fine.

        Based on my quick reading of this patch:
+
+empty:
+       spin_lock(&mmlist_lock);
+       return 0;

The above should actually be spin_UNlock?

Also the test for !inactive_shortage() seems to be inverted?

+               /* If refill_inactive_scan failed, try to page stuff
out.. */
+               swap_out(priority, gfp_mask);
+       } while (!inactive_shortage());

-BenRI
-- 
"...assisted of course by pride, for we teach them to describe the
 Creeping Death, as Good Sense, or Maturity, or Experience." 
- "The Screwtape Letters"
Benjamin Redelings I      <><     http://www.bol.ucla.edu/~bredelin/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-10 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-10 16:54 MM bugs in 2.4.1-pre1 propogated to ac5? Benjamin Redelings I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox