Skip to content
Snippets Groups Projects
Select Git revision
  • 0ee930e6cafa048c1925893d0ca89918b2814f2c
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

memory.c

Blame
  • memory.c 124.00 KiB
    /*
     *  linux/mm/memory.c
     *
     *  Copyright (C) 1991, 1992, 1993, 1994  Linus Torvalds
     */
    
    /*
     * demand-loading started 01.12.91 - seems it is high on the list of
     * things wanted, and it should be easy to implement. - Linus
     */
    
    /*
     * Ok, demand-loading was easy, shared pages a little bit tricker. Shared
     * pages started 02.12.91, seems to work. - Linus.
     *
     * Tested sharing by executing about 30 /bin/sh: under the old kernel it
     * would have taken more than the 6M I have free, but it worked well as
     * far as I could see.
     *
     * Also corrected some "invalidate()"s - I wasn't doing enough of them.
     */
    
    /*
     * Real VM (paging to/from disk) started 18.12.91. Much more work and
     * thought has to go into this. Oh, well..
     * 19.12.91  -  works, somewhat. Sometimes I get faults, don't know why.
     *		Found it. Everything seems to work now.
     * 20.12.91  -  Ok, making the swap-device changeable like the root.
     */
    
    /*
     * 05.04.94  -  Multi-page memory management added for v1.1.
     *              Idea by Alex Bligh (alex@cconcepts.co.uk)
     *
     * 16.07.99  -  Support of BIGMEM added by Gerhard Wichert, Siemens AG
     *		(Gerhard.Wichert@pdb.siemens.de)
     *
     * Aug/Sep 2004 Changed to four level page tables (Andi Kleen)
     */
    
    #include <linux/kernel_stat.h>
    #include <linux/mm.h>
    #include <linux/sched/mm.h>
    #include <linux/sched/coredump.h>
    #include <linux/sched/numa_balancing.h>
    #include <linux/sched/task.h>
    #include <linux/hugetlb.h>
    #include <linux/mman.h>
    #include <linux/swap.h>
    #include <linux/highmem.h>
    #include <linux/pagemap.h>
    #include <linux/memremap.h>
    #include <linux/ksm.h>
    #include <linux/rmap.h>
    #include <linux/export.h>
    #include <linux/delayacct.h>
    #include <linux/init.h>
    #include <linux/pfn_t.h>
    #include <linux/writeback.h>
    #include <linux/memcontrol.h>
    #include <linux/mmu_notifier.h>
    #include <linux/swapops.h>
    #include <linux/elf.h>
    #include <linux/gfp.h>
    #include <linux/migrate.h>
    #include <linux/string.h>
    #include <linux/dma-debug.h>
    #include <linux/debugfs.h>
    #include <linux/userfaultfd_k.h>
    #include <linux/dax.h>