summaryrefslogtreecommitdiffstats
path: root/mm/memremap.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2021-02-26 02:17:28 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2021-02-26 18:41:00 +0100
commita89107c0478137115c6647aa28caef75513b9f40 (patch)
treef291a47afedb4130ccb54b17995f250644da856c /mm/memremap.c
parentdrivers/base/memory: don't store phys_device in memory blocks (diff)
downloadlinux-a89107c0478137115c6647aa28caef75513b9f40.tar.xz
linux-a89107c0478137115c6647aa28caef75513b9f40.zip
Documentation: sysfs/memory: clarify some memory block device properties
In commit 53cdc1cb29e8 ("drivers/base/memory.c: indicate all memory blocks as removable") we changed the output of the "removable" property of memory devices to return "1" if and only if the kernel supports memory offlining. Let's update documentation, stating that the interface is legacy. Also update documentation of the "state" property and "valid_zones" properties. Link: https://lkml.kernel.org/r/20210201181347.13262-3-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: David Hildenbrand <david@redhat.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Ilya Dryomov <idryomov@gmail.com> Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Cc: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memremap.c')
0 files changed, 0 insertions, 0 deletions