Nope, not at all. The kernel acquires and releases memory as it goes.
My statement is to the fact that we can reach a point where we have
exhausted all the memory resources by the time we start a particular
code path but in order to complete that code path we need more memory.
I.e. journaled filesystems. We have reached 0 memory but we need to
start down a code path to update data on the disk. That means we may
have to allocate memory to read and update the journal as we start
writing regular file data to disk.
This only occurs when we ride right on the very edge of OOM. This will
also be fixed when we implement all the desired bean counting.
David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/