Re: copy_from_user / copy_to_user with no swap space

From: mfbaustx
Date: Mon Oct 16 2006 - 16:27:33 EST


pages and memory-mapped files may be "swapped-out" even *without* a swap device. As an example, when I first start /bin/bash (ignoring readahead

Fair enough. The kernel can reclaim pieces of RAM knowing that certain text sections will availble on the storage medium from which they were originally loaded. Right?

Also, I suppose one of the less obvious side-effects of using copy_to_user would be to cause a copy-on-write of a data section?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/