Skip to contentSkip to conversation

dm-crypt problems with swap

dm-crypt Philipp Deppenwiese 1 participant 1 message Jul 4, 2010

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Philipp Deppenwiese <[email protected]>