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
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <uskuzzo47jsebv7estk3vwiidygl3vybwxynwod76dwtbtim5i@4iyavbs3qgsi>
Date: Mon, 17 Mar 2025 20:41:38 +0100
From: Joel Granados <joel.granados@...nel.org>
To: Christian Brauner <brauner@...nel.org>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org, 
	linux-fsdevel@...r.kernel.org, Ruiwu Chen <rwchen404@...il.com>, 
	Luis Chamberlain <mcgrof@...nel.org>, Jonathan Corbet <corbet@....net>, 
	Alexander Viro <viro@...iv.linux.org.uk>, Jan Kara <jack@...e.cz>
Subject: Re: [PATCH] drop_caches: Allow re-enabling message after disabling

On Fri, Mar 14, 2025 at 11:48:43AM +0100, Christian Brauner wrote:
> On Thu, 13 Mar 2025 16:46:36 +0100, Joel Granados wrote:
> > After writing "4" to /proc/sys/vm/drop_caches there was no way to
> > re-enable the drop_caches kernel message. By removing the "or" logic for
> > the stfu variable in drop_cache_sysctl_handler, it is now possible to
> > toggle the message on and off by setting the 4th bit in
> > /proc/sys/vm/drop_caches.
> > 
> > 
> > [...]
> 
> Applied to the vfs-6.15.misc branch of the vfs/vfs.git tree.
> Patches in the vfs-6.15.misc branch should appear in linux-next soon.
> 
> Please report any outstanding bugs that were missed during review in a
> new review to the original patch series allowing us to drop it.
> 
> It's encouraged to provide Acked-bys and Reviewed-bys even though the
> patch has now been applied. If possible patch trailers will be updated.
> 
> Note that commit hashes shown below are subject to change due to rebase,
> trailer updates or similar. If in doubt, please check the listed branch.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
> branch: vfs-6.15.misc
> 
> [1/1] drop_caches: Allow re-enabling message after disabling
>       https://git.kernel.org/vfs/vfs/c/66c4cbae77e2

FYI, Sent out a V2 after discussion in [1]

[1]: https://lore.kernel.org/20250216100514.3948-1-rwchen404@gmail.com

-- 

Joel Granados

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ