[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BIG FAT BUG with free_memory_available()



Hi Linus,

it seems like I ran into some big fat bug with
the free_memory_available() test in kswapd.

My system turned into a swap loop with no change
in the amount of free memory and no 128k area free.
Probably this is because there's not one single
128k area without an unswappable page in it.

The only way I see around this is to disallow kernel
memory allocation and locked pages in a certain part
of physical memory, but maybe there's another way...

grtz,

Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page          | Scouting       webmaster |
|        - kswapd ask-him & complain-to guy | Vries    cubscout leader |
|     http://www.fys.ruu.nl/~riel/          | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+