• KAMEZAWA Hiroyuki's avatar
    This patchset is for /proc/kcore. With this, · 491af660
    KAMEZAWA Hiroyuki authored
     - many per-arch hooks are removed.
    
     - /proc/kcore will know really valid physical memory area.
    
     - /proc/kcore will be aware of memory hotplug.
    
     - /proc/kcore will be architecture independent i.e.
       if an arch supports CONFIG_MMU, it can use /proc/kcore.
       (if the arch uses usual memory layout.)
    
    This patch:
    
    /proc/kcore uses its own list handling codes. It's better to use
    generic list codes.
    
    No changes in logic. just clean up.
    Signed-off-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: WANG Cong <xiyou.wangcong@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    491af660
kcore.c 9.22 KB