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

memcontrol.c

Blame
  • memcontrol.c 155.30 KiB
    /* memcontrol.c - Memory Controller
     *
     * Copyright IBM Corporation, 2007
     * Author Balbir Singh <balbir@linux.vnet.ibm.com>
     *
     * Copyright 2007 OpenVZ SWsoft Inc
     * Author: Pavel Emelianov <xemul@openvz.org>
     *
     * Memory thresholds
     * Copyright (C) 2009 Nokia Corporation
     * Author: Kirill A. Shutemov
     *
     * Kernel Memory Controller
     * Copyright (C) 2012 Parallels Inc. and Google Inc.
     * Authors: Glauber Costa and Suleiman Souhlal
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     */
    
    #include <linux/page_counter.h>
    #include <linux/memcontrol.h>
    #include <linux/cgroup.h>
    #include <linux/mm.h>
    #include <linux/hugetlb.h>
    #include <linux/pagemap.h>
    #include <linux/smp.h>
    #include <linux/page-flags.h>
    #include <linux/backing-dev.h>
    #include <linux/bit_spinlock.h>
    #include <linux/rcupdate.h>
    #include <linux/limits.h>
    #include <linux/export.h>
    #include <linux/mutex.h>
    #include <linux/rbtree.h>
    #include <linux/slab.h>
    #include <linux/swap.h>
    #include <linux/swapops.h>
    #include <linux/spinlock.h>
    #include <linux/eventfd.h>
    #include <linux/poll.h>
    #include <linux/sort.h>
    #include <linux/fs.h>
    #include <linux/seq_file.h>
    #include <linux/vmpressure.h>
    #include <linux/mm_inline.h>
    #include <linux/page_cgroup.h>
    #include <linux/cpu.h>
    #include <linux/oom.h>
    #include <linux/lockdep.h>
    #include <linux/file.h>
    #include "internal.h"
    #include <net/sock.h>
    #include <net/ip.h>
    #include <net/tcp_memcontrol.h>
    #include "slab.h"
    
    #include <asm/uaccess.h>
    
    #include <trace/events/vmscan.h>
    
    struct cgroup_subsys memory_cgrp_subsys __read_mostly;
    EXPORT_SYMBOL(memory_cgrp_subsys);