[kernel-tests] branch master updated: /proc/sys/vm/drop_caches is write only now

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an automated email from the git hooks/post-receive script.

jforbes pushed a commit to branch master
in repository kernel-tests.

The following commit(s) were added to refs/heads/master by this push:
     new 80f6ce8  /proc/sys/vm/drop_caches is write only now
80f6ce8 is described below

commit 80f6ce8ce53ef7678151338b6478aabab0af6d6b
Author: Justin M. Forbes <jforbes@xxxxxxxxxxxxxxxxx>
AuthorDate: Wed May 12 15:33:25 2021 -0500

    /proc/sys/vm/drop_caches is write only now
    
    Signed-off-by: Justin M. Forbes <jforbes@xxxxxxxxxxxxxxxxx>
---
 default/cachedrop/drop_caches.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/default/cachedrop/drop_caches.sh b/default/cachedrop/drop_caches.sh
index b6f0bf5..306f9f3 100755
--- a/default/cachedrop/drop_caches.sh
+++ b/default/cachedrop/drop_caches.sh
@@ -43,7 +43,8 @@ function free_pagecache()
 
 	sync
 	echo 1 > ${TUNE_FILE}
-	verify_tune_value ${TUNE_FILE} 1
+	# /proc/sys/vm/drop_caches is write only now
+	# verify_tune_value ${TUNE_FILE} 1
 
 	sleep 1
 	new_pagecache=`vmstat | awk '{print $6}'| sed -n '3p'`
@@ -67,7 +68,8 @@ function free_dentries_inodes()
 	
 	sync
 	echo 2 > ${TUNE_FILE}
-	verify_tune_value ${TUNE_FILE} 2
+	# /proc/sys/vm/drop_caches is write only now
+	# verify_tune_value ${TUNE_FILE} 2
 	sleep 2
 
 	new_cache=`vmstat | awk '{print $6}'| sed -n '3p'`
@@ -93,7 +95,8 @@ function free_pagecache_dentries_inodes()
 
 	sync
 	echo 3 > ${TUNE_FILE}
-	verify_tune_value ${TUNE_FILE} 3
+	# /proc/sys/vm/drop_caches is write only now
+	# verify_tune_value ${TUNE_FILE} 3
 	sleep 1
 	
 	new_cache=`vmstat | awk '{print $6}'| sed -n '3p'`

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux