Johannes Weiner writes:
Currently, the drop_caches proc file and sysctl read back the last value written, suggesting this is somehow a stateful setting instead of a one-time command. Make it write-only, like e.g. compact_memory. Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
Since we already have the kmsg notifier when it's used, this seems reasonable to me.
Acked-by: Chris Down <chris@xxxxxxxxxxxxxx>