> 1) dd if=/dev/zero of=swap bs=1024k count=10
> 2) losetup /dev/loop0 swap
> 3) mkswap /dev/loop0
> 4) swapon /dev/loop0
> 5) run the following program.
>
> then the machine stops to respond(no swap activities/no disk access)
> except that console switch is ok and keyboard input is still
> echoed.
Don't do it, then.
It is bad idea to swap onto
1) file on nfs system
2) loop device
3) raid device
4) network (without special patches), special patches allow swapping
over nbd
Don't try to swap over first thing you find. IT WILL NOT WORK. Maybe
this should be documented somewhere?
Pavel
-- I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel. Pavel Hi! I'm a .signature virus! Copy me into your ~/.signature, please!- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/