[dm-crypt] dm-crypt problems with swap

Philipp Deppenwiese deppepgk at rub.de
Sun Jul 4 21:36:48 CEST 2010


Hi,

i noticed a problem with dm-crypt. If you allocate ram in a loop and you use an encrypted swap partition, the pc freeze for 4 minutes until the kernel kill the proccess.

Normally without an encrypted swap partition you can use the pc and it dont freeze the whole system.

Do a test by yourself:

#include <stdio.h>

int main()
{
	while(1)
	{
		malloc(4096);
	}
}

Greets Philipp

-- 
Philipp Deppenwiese <deppepgk at rub.de>


More information about the dm-crypt mailing list