CHROMIUM: change low-mem to chromeos-low-mem in /sys/kernel/mm.
authorLuigi Semenzato <semenzato@chromium.org>
Thu, 29 Mar 2012 18:37:43 +0000 (11:37 -0700)
committerGrant Grundler <grundler@google.com>
Thu, 24 May 2012 22:14:42 +0000 (15:14 -0700)
This is the same as CL 17543, which we missed during the 3.0->3.2 port.

BUG=chromium-os:20086
TEST=check that /sys/kernel/mm/chromeos-low-mem exists when CONFIG_LOW_MEM_NOTIFY is y.

Change-Id: Icbc1fb5ba91f7224b50a8cfea25f37ee7ea6db47
Signed-off-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/19309
Reviewed-by: Grant Grundler <grundler@chromium.org>
mm/low-mem-notify.c

index 985e7ed..5900c52 100644 (file)
@@ -133,7 +133,7 @@ static struct attribute *low_mem_attrs[] = {
 
 static struct attribute_group low_mem_attr_group = {
        .attrs = low_mem_attrs,
-       .name = "low_mem",
+       .name = "chromeos-low_mem",
 };
 
 static int __init low_mem_init(void)