Files
kernel_google_wahoo/include/linux/vm_event_item.h
Greg Kroah-Hartman 4de21d48fc Merge 4.4.157 into android-msm-wahoo-4.4-lts
Linux 4.4.157
  * mm: get rid of vmacache_flush_all() entirely
      include/linux/mm_types.h
      include/linux/sched.h
      include/linux/vm_event_item.h
      include/linux/vmacache.h
      mm/debug.c
      mm/vmacache.c
    x86/speculation/l1tf: Increase l1tf memory limit for Nehalem+
    autofs: fix autofs_sbi() does not check super block type
    mtd: ubi: wl: Fix error return code in ubi_wl_init()
    crypto: vmx - Fix sleep-in-atomic bugs
    ethernet: ti: davinci_emac: add missing of_node_put after calling of_parse_phandle
    net: ethernet: ti: cpsw: fix mdio device reference leak
    drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config
  * netfilter: x_tables: avoid stack-out-of-bounds read in xt_copy_counters_from_user
      net/netfilter/x_tables.c
    vmw_balloon: include asm/io.h
  * xhci: Fix use-after-free in xhci_free_virt_device
      drivers/usb/host/xhci.c
    RDMA/cma: Do not ignore net namespace for unbound cm_id
    MIPS: WARN_ON invalid DMA cache maintenance, not BUG_ON
  * f2fs: fix to do sanity check with {sit,nat}_ver_bitmap_bytesize
      fs/f2fs/super.c
    mfd: ti_am335x_tscadc: Fix struct clk memory leak
    iommu/ipmmu-vmsa: Fix allocation in atomic context
    partitions/aix: fix usage of uninitialized lv_info and lvname structures
    partitions/aix: append null character to print data from disk
    Input: atmel_mxt_ts - only use first T9 instance
    net: dcb: For wild-card lookups, use priority -1, not 0
    MIPS: Octeon: add missing of_node_put()
    net: mvneta: fix mtu change on port without link
    gpio: ml-ioh: Fix buffer underwrite on probe error path
    x86/mm: Remove in_nmi() warning from vmalloc_fault()
  * Bluetooth: hidp: Fix handling of strncpy for hid->name information
      net/bluetooth/hidp/core.c
    ath10k: disable bundle mgmt tx completion event support
    scsi: 3ware: fix return 0 on the error path of probe
    ata: libahci: Correct setting of DEVSLP register
    MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET
    ath10k: prevent active scans on potential unusable channels
    macintosh/via-pmu: Add missing mmio accessors
    NFSv4.0 fix client reference leak in callback
    perf tools: Allow overriding MAX_NR_CPUS at compile time
    f2fs: do not set free of current section
    tty: rocket: Fix possible buffer overwrite on register_PCI
  * uio: potential double frees if __uio_register_device() fails
      drivers/uio/uio.c
    misc: ti-st: Fix memory leak in the error path of probe()
    md/raid5: fix data corruption of replacements after originals dropped
  * scsi: target: fix __transport_register_session locking
      drivers/target/target_core_transport.c
    gpio: tegra: Move driver registration to subsys_init level
  * Bluetooth: h5: Fix missing dependency on BT_HCIUART_SERDEV
      drivers/bluetooth/Kconfig
  * ethtool: Remove trailing semicolon for static inline
      include/uapi/linux/ethtool.h
    misc: mic: SCIF Fix scif_get_new_port() error handling
    ARC: [plat-axs*]: Enable SWAP
  * locking/osq_lock: Fix osq_lock queue corruption
      kernel/locking/osq_lock.c
  * selinux: use GFP_NOWAIT in the AVC kmem_caches
      security/selinux/avc.c
  * locking/rwsem-xadd: Fix missed wakeup due to reordering of load
      kernel/locking/rwsem-xadd.c
  * block,blkcg: use __GFP_NOWARN for best-effort allocations in blkcg
      block/cfq-iosched.c
    staging/rts5208: Fix read overflow in memcpy
    staging: rt5208: Fix a sleep-in-atomic bug in xd_copy_page
    kthread: fix boot hang (regression) on MIPS/OpenRISC
  * kthread: Fix use-after-free if kthread fork fails
      kernel/fork.c
  * cfq: Give a chance for arming slice idle timer in case of group_idle
      block/cfq-iosched.c
  * ALSA: hda - Fix cancel_work_sync() stall from jackpoll work
      sound/pci/hda/hda_codec.c
    i2c: i801: fix DNV's SMBCTRL register offset
    i2c: xiic: Make the start and the byte count write atomic

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2018-12-09 11:41:03 +01:00

97 lines
2.5 KiB
C

#ifndef VM_EVENT_ITEM_H_INCLUDED
#define VM_EVENT_ITEM_H_INCLUDED
#ifdef CONFIG_ZONE_DMA
#define DMA_ZONE(xx) xx##_DMA,
#else
#define DMA_ZONE(xx)
#endif
#ifdef CONFIG_ZONE_DMA32
#define DMA32_ZONE(xx) xx##_DMA32,
#else
#define DMA32_ZONE(xx)
#endif
#ifdef CONFIG_HIGHMEM
#define HIGHMEM_ZONE(xx) xx##_HIGH,
#else
#define HIGHMEM_ZONE(xx)
#endif
#define FOR_ALL_ZONES(xx) DMA_ZONE(xx) DMA32_ZONE(xx) xx##_NORMAL, HIGHMEM_ZONE(xx) xx##_MOVABLE
enum vm_event_item { PGPGIN, PGPGOUT, PGPGOUTCLEAN, PSWPIN, PSWPOUT,
FOR_ALL_ZONES(PGALLOC),
PGFREE, PGACTIVATE, PGDEACTIVATE,
PGFAULT, PGMAJFAULT,
FOR_ALL_ZONES(PGREFILL),
FOR_ALL_ZONES(PGSTEAL_KSWAPD),
FOR_ALL_ZONES(PGSTEAL_DIRECT),
FOR_ALL_ZONES(PGSCAN_KSWAPD),
FOR_ALL_ZONES(PGSCAN_DIRECT),
PGSCAN_DIRECT_THROTTLE,
#ifdef CONFIG_NUMA
PGSCAN_ZONE_RECLAIM_FAILED,
#endif
PGINODESTEAL, SLABS_SCANNED, KSWAPD_INODESTEAL,
KSWAPD_LOW_WMARK_HIT_QUICKLY, KSWAPD_HIGH_WMARK_HIT_QUICKLY,
PAGEOUTRUN, ALLOCSTALL, PGROTATED,
DROP_PAGECACHE, DROP_SLAB,
#ifdef CONFIG_NUMA_BALANCING
NUMA_PTE_UPDATES,
NUMA_HUGE_PTE_UPDATES,
NUMA_HINT_FAULTS,
NUMA_HINT_FAULTS_LOCAL,
NUMA_PAGE_MIGRATE,
#endif
#ifdef CONFIG_MIGRATION
PGMIGRATE_SUCCESS, PGMIGRATE_FAIL,
#endif
#ifdef CONFIG_COMPACTION
COMPACTMIGRATE_SCANNED, COMPACTFREE_SCANNED,
COMPACTISOLATED,
COMPACTSTALL, COMPACTFAIL, COMPACTSUCCESS,
KCOMPACTD_WAKE,
#endif
#ifdef CONFIG_HUGETLB_PAGE
HTLB_BUDDY_PGALLOC, HTLB_BUDDY_PGALLOC_FAIL,
#endif
UNEVICTABLE_PGCULLED, /* culled to noreclaim list */
UNEVICTABLE_PGSCANNED, /* scanned for reclaimability */
UNEVICTABLE_PGRESCUED, /* rescued from noreclaim list */
UNEVICTABLE_PGMLOCKED,
UNEVICTABLE_PGMUNLOCKED,
UNEVICTABLE_PGCLEARED, /* on COW, page truncate */
UNEVICTABLE_PGSTRANDED, /* unable to isolate on unlock */
#ifdef CONFIG_TRANSPARENT_HUGEPAGE
THP_FAULT_ALLOC,
THP_FAULT_FALLBACK,
THP_COLLAPSE_ALLOC,
THP_COLLAPSE_ALLOC_FAILED,
THP_SPLIT,
THP_ZERO_PAGE_ALLOC,
THP_ZERO_PAGE_ALLOC_FAILED,
#endif
#ifdef CONFIG_MEMORY_BALLOON
BALLOON_INFLATE,
BALLOON_DEFLATE,
#ifdef CONFIG_BALLOON_COMPACTION
BALLOON_MIGRATE,
#endif
#endif
#ifdef CONFIG_DEBUG_TLBFLUSH
NR_TLB_REMOTE_FLUSH, /* cpu tried to flush others' tlbs */
NR_TLB_REMOTE_FLUSH_RECEIVED,/* cpu received ipi for flush */
NR_TLB_LOCAL_FLUSH_ALL,
NR_TLB_LOCAL_FLUSH_ONE,
#endif /* CONFIG_DEBUG_TLBFLUSH */
#ifdef CONFIG_DEBUG_VM_VMACACHE
VMACACHE_FIND_CALLS,
VMACACHE_FIND_HITS,
#endif
NR_VM_EVENT_ITEMS
};
#endif /* VM_EVENT_ITEM_H_INCLUDED */