lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 27 Jun 2011 14:38:44 +0900 From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com> To: P@...igBrady.com CC: andrea@...terlinux.com, akpm@...ux-foundation.org, minchan.kim@...il.com, riel@...hat.com, peterz@...radead.org, hannes@...xchg.org, kamezawa.hiroyu@...fujitsu.com, aarcange@...hat.com, hughd@...gle.com, jamesjer@...terlinux.com, marcus@...ehost.com, matt@...ehost.com, linux-mm@...ck.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH RFC] fadvise: move active pages to inactive list with POSIX_FADV_DONTNEED > Hmm, What if you do want to evict it from the cache for testing purposes? > Perhaps this functionality should be associated with POSIX_FADV_NOREUSE? > dd has been recently modified to support invalidating the cache for a file, > and it uses POSIX_FADV_DONTNEED for that. > http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=5f311553 This change don't break dd. dd don't have a special privilege of file cache dropping if it's also used by other processes. if you want to drop a cache forcely (maybe for testing), you need to use /proc/sys/vm/drop_caches. It's ok to ignore other processes activity because it's privilege operation. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists