drop_caches
Description:
drop kernel page cache, dentries and inodes
This instructs the guest kernel to drop its page cache, and/or dentries and inode caches. The parameter whattodrop
tells the
kernel what precisely to drop, see <ulink url='http://linux-mm.org/Drop_Caches'> http://linux-mm.org/Drop_Caches </ulink>
Setting whattodrop
to 3 should drop everything.
This automatically calls sync(2) before the operation, so that the maximum guest memory is freed.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |