> I do not see anything in this email related to the issue at hand.
You solve a problem and introduce a potentially more serious one.
Strict overcommit is requisite but not satisfactory.
> Specifically, what livelock situation are you insinuating? If we only
> allow allocation that are met by the backing store, we cannot get
> anywhere near OOM.
This is what I would do first [make sure you don't hit any resource,
malloc, kernel memory mapping, etc limits -- this is a simulation that
must eat all available memory continually]:
main(){void *x;while(1)if(x=malloc(4096))memset(x,666,4096);}
When the above used up all the memory try to ssh/login to the box as
root and clean up the mess. Can you do it?
Szaka
-
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/