Skip to content
Snippets Groups Projects
Select Git revision
  • b4819b593740a6d11db07b52e0fe35975b29a185
  • 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

pgtable.c

Blame
  • filemap.c 105.34 KiB
    // SPDX-License-Identifier: GPL-2.0-only
    /*
     *	linux/mm/filemap.c
     *
     * Copyright (C) 1994-1999  Linus Torvalds
     */
    
    /*
     * This file handles the generic file mmap semantics used by
     * most "normal" filesystems (but you don't /have/ to use this:
     * the NFS filesystem used to do this differently, for example)
     */
    #include <linux/export.h>
    #include <linux/compiler.h>
    #include <linux/dax.h>
    #include <linux/fs.h>
    #include <linux/sched/signal.h>
    #include <linux/uaccess.h>
    #include <linux/capability.h>
    #include <linux/kernel_stat.h>
    #include <linux/gfp.h>
    #include <linux/mm.h>
    #include <linux/swap.h>
    #include <linux/mman.h>
    #include <linux/pagemap.h>
    #include <linux/file.h>
    #include <linux/uio.h>
    #include <linux/error-injection.h>
    #include <linux/hash.h>
    #include <linux/writeback.h>
    #include <linux/backing-dev.h>
    #include <linux/pagevec.h>
    #include <linux/blkdev.h>
    #include <linux/security.h>
    #include <linux/cpuset.h>
    #include <linux/hugetlb.h>
    #include <linux/memcontrol.h>
    #include <linux/cleancache.h>
    #include <linux/shmem_fs.h>
    #include <linux/rmap.h>
    #include <linux/delayacct.h>
    #include <linux/psi.h>
    #include <linux/ramfs.h>
    #include <linux/page_idle.h>
    #include <asm/pgalloc.h>
    #include <asm/tlbflush.h>
    #include "internal.h"
    
    #define CREATE_TRACE_POINTS
    #include <trace/events/filemap.h>
    
    /*
     * FIXME: remove all knowledge of the buffer layer from the core VM
     */
    #include <linux/buffer_head.h> /* for try_to_free_buffers */
    
    #include <asm/mman.h>
    
    /*
     * Shared mappings implemented 30.11.1994. It's not fully working yet,
     * though.
     *
     * Shared mappings now work. 15.8.1995  Bruno.
     *
     * finished 'unifying' the page and buffer cache and SMP-threaded the
     * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com>
     *
     * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de>
     */