Minchan Kim
a95f164e8e
mm: support vector address ranges for process_madvise
...
This patch changes process_madvise interface:
a) support vector address ranges in a system call
b) support the vector address ranges to local process as well as
external process
c) remove pid but keep only pidfd in argument - [1][2]
d) change type of flags with unsgined int
Android app has thousands of vmas due to zygote so it's totally waste of
CPU and power if we should call the syscall one by one for each vma.
(With testing 2000-vma syscall vs 1-vector syscall, it showed 15%
performance improvement. I think it would be bigger in real practice
because the testing ran very cache friendly environment).
Another potential use case for the vector range is to amortize the cost of
TLB shootdowns for multiple ranges when using MADV_DONTNEED; this could
benefit users like TCP receive zerocopy and malloc implementations. In
future, we could find more usecases for other advises so let's make it
happens as API since we introduce a new syscall at this moment. With
that, existing madvise(2) user could replace it with process_madvise(2)
with their own pid if they want to have batch address ranges support
feature.
So finally, the API is as follows,
ssize_t process_madvise(int pidfd, const struct iovec *iovec,
unsigned long vlen, int advice, unsigned int flags);
DESCRIPTION
The process_madvise() system call is used to give advice or directions
to the kernel about the address ranges from external process as well as
local process. It provides the advice to address ranges of process
described by iovec and vlen. The goal of such advice is to improve system
or application performance.
The pidfd selects the process referred to by the PID file descriptor
specified in pidfd. (See pidofd_open(2) for further information)
The pointer iovec points to an array of iovec structures, defined in
<sys/uio.h> as:
struct iovec {
void *iov_base; /* starting address */
size_t iov_len; /* number of bytes to be advised */
};
The iovec describes address ranges beginning at address(iov_base)
and with size length of bytes(iov_len).
The vlen represents the number of elements in iovec.
The advice is indicated in the advice argument, which is one of the
following at this moment if the target process specified by pidfd is
external.
MADV_COLD
MADV_PAGEOUT
MADV_MERGEABLE
MADV_UNMERGEABLE
Permission to provide a hint to external process is governed by a
ptrace access mode PTRACE_MODE_ATTACH_FSCREDS check; see ptrace(2).
The process_madvise supports every advice madvise(2) has if target
process is in same thread group with calling process so user could
use process_madvise(2) to extend existing madvise(2) to support
vector address ranges.
RETURN VALUE
On success, process_madvise() returns the number of bytes advised.
This return value may be less than the total number of requested
bytes, if an error occurred. The caller should check return value
to determine whether a partial advice occurred.
[1] https://lore.kernel.org/linux-mm/20200509124817.xmrvsrq3mla6b76k@wittgenstein/
[2] https://lore.kernel.org/linux-mm/[email protected] /
Link: http://lkml.kernel.org/r/[email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Minchan Kim <[email protected] >
Reviewed-by: Suren Baghdasaryan <[email protected] >
Cc: David Rientjes <[email protected] >
Cc: Arjun Roy <[email protected] >
Cc: Tim Murray <[email protected] >
Cc: Daniel Colascione <[email protected] >
Cc: Sonny Rao <[email protected] >
Cc: Brian Geffon <[email protected] >
Cc: Shakeel Butt <[email protected] >
Cc: John Dias <[email protected] >
Cc: Joel Fernandes <[email protected] >
Cc: SeongJae Park <[email protected] >
Cc: Oleksandr Natalenko <[email protected] >
Cc: Sandeep Patil <[email protected] >
Cc: Michal Hocko <[email protected] >
Cc: Johannes Weiner <[email protected] >
Cc: Vlastimil Babka <[email protected] >
Cc: Christian Brauner <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Stephen Rothwell <[email protected] >
Git-Commit: cac63a8674fec9a9e288972475366896d706b53c
Git-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
From: Randy Dunlap <[email protected] >
Subject: mm-support-vector-address-ranges-for-process_madvise-fix-fix
fix process_madvise prototype.
[[email protected] ]: This is merged with cac63a8674fe ("mm:
support vector address ranges for process_madvise" to avoid the
compilation errors.
Cc: Minchan Kim <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Stephen Rothwell <[email protected] >
Git-Commit: beadf725ea3f41cc23c77aefcb3139c081ff528d
Git-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Change-Id: I8aa28294d56874f057779674337986dbbe7cf076
Signed-off-by: Charan Teja Reddy <[email protected] >
2020-06-18 18:51:10 +05:30
..
amba
avf
bcma
byteorder
can
can: can_dropped_invalid_skb(): ensure an initialized headroom in outgoing CAN sk_buffs
2020-01-14 20:08:28 +01:00
ceph
libceph: fix alloc_msg_with_page_vector() memory leaks
2020-04-02 15:11:02 +02:00
clk
clk: qcom: Add API to query corner voltage on given clk frequency
2020-06-02 18:37:48 -07:00
crush
decompress
dma
UPSTREAM: dmaengine: sprd: Add wrap address support for link-list mode
2020-02-12 17:11:38 +00:00
dsa
net: dsa: tag_8021q: replace dsa_8021q_remove_header with __skb_vlan_pop
2020-04-01 11:01:34 +02:00
extcon
firmware
fpga
fsl
gpio
gpio: add gpiod_toggle_active_low()
2020-02-19 19:53:09 +01:00
greybus
haven
haven: irq: Support lending from other domains
2020-06-05 13:48:40 -07:00
hsi
i3c
iio
input
includes: Make headers work with KERNEL_HEADER_TEST
2020-04-14 16:40:49 -06:00
irqchip
isdn
lockd
mailbox
mfd
This is the 5.4.19 stable release
2020-02-11 14:09:41 -08:00
mlx4
mlx5
net/mlx5: Deprecate usage of generic TLS HW capability bit
2020-02-11 04:35:51 -08:00
mmc
Merge android-5.4.30 ( 5cfdde5) into msm-5.4
2020-05-19 13:22:43 -07:00
mtd
mux
netfilter
This is the 5.4.24 stable release
2020-03-05 17:42:40 +01:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
perf
phy
phy: qcom-ufs: add 7nm UFS QMP PHY support on Lahaina
2019-12-17 18:37:36 -08:00
pinctrl
include: Fixup headers to pass KERNEL_HEADER_TEST
2020-01-15 09:01:08 -07:00
platform_data
Merge android-5.4.24 ( ce5de62) into msm-5.4
2020-04-14 08:25:29 -07:00
power
FROMGIT: power: supply: Allow charger manager can be built as a module
2020-03-10 23:34:32 +00:00
qed
qpnp
includes: Make headers work with KERNEL_HEADER_TEST
2020-04-14 16:40:49 -06:00
raid
raid6/test: fix a compilation warning
2020-02-24 08:36:47 +01:00
regulator
regulators: rpm-smd: Remove unused exported functions
2020-04-30 15:37:40 +05:30
remoteproc
reset
rpmsg
rtc
sched
sched: walt: Improve the scheduler
2020-06-11 15:57:54 +05:30
slimbus
slimbus: Add changes to make slimbus GKI compliant
2020-03-13 11:36:55 +05:30
soc
soc: qcom: smd-rpm: Support new clocks resources
2020-06-07 16:36:51 +05:30
soundwire
spi
include: Fixup headers to pass KERNEL_HEADER_TEST
2020-01-15 09:01:08 -07:00
ssb
sunrpc
ulpi
unaligned
usb
Merge android-5.4.30 ( 5cfdde5) into msm-5.4
2020-05-19 13:22:43 -07:00
wimax
8250_pci.h
a.out.h
acct.h
acpi.h
acpi_dma.h
acpi_iort.h
acpi_pmtmr.h
adb.h
adc-tm-clients.h
includes: Make headers work with KERNEL_HEADER_TEST
2020-04-14 16:40:49 -06:00
adfs_fs.h
adxl.h
aer.h
agp_backend.h
agpgart.h
ahci-remap.h
ahci_platform.h
ata: libahci_platform: Export again ahci_platform_<en/dis>able_phys()
2020-01-09 10:19:59 +01:00
aio.h
alarmtimer.h
alcor_pci.h
altera_jtaguart.h
altera_uart.h
amd-iommu.h
android_kabi.h
ANDROID: GKI: add android_kabi.h
2020-03-17 10:07:47 +01:00
anon_inodes.h
apm-emulation.h
apm_bios.h
apple-gmux.h
apple_bl.h
arch_topology.h
topology: Add snapshot of possible sibling cpu mask changes
2019-12-04 16:27:58 -08:00
arm-cci.h
arm-smccc.h
haven: add sysfs and debug interfaces
2020-04-24 15:34:56 -07:00
arm_sdei.h
armada-37xx-rwtm-mailbox.h
ascii85.h
asn1.h
asn1_ber_bytecode.h
asn1_decoder.h
assoc_array.h
assoc_array_priv.h
async.h
async_tx.h
ata.h
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_suni.h
atm_tcp.h
atmdev.h
atmel-mci.h
atmel-ssc.h
atmel_pdc.h
atomic-fallback.h
atomic.h
attribute_container.h
audit.h
auto_dev-ioctl.h
auto_fs.h
auxvec.h
average.h
b1pcmcia.h
backing-dev-defs.h
backing-dev.h
memcg: fix a crash in wb_workfn when a device disappears
2020-02-11 04:35:11 -08:00
backlight.h
badblocks.h
balloon_compaction.h
bcd.h
bch.h
bcm47xx_nvram.h
bcm47xx_sprom.h
bcm47xx_wdt.h
bcm963xx_nvram.h
bcm963xx_tag.h
binfmts.h
bio-crypt-ctx.h
Revert "BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series"
2020-03-07 13:06:47 -08:00
bio.h
This is the 5.4.9 stable release
2020-01-09 16:00:18 +01:00
bit_spinlock.h
bitfield.h
bitmap.h
bitops.h
bitrev.h
bits.h
blk-cgroup.h
blk-crypto.h
Revert "BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series"
2020-03-07 13:06:47 -08:00
blk-mq-pci.h
blk-mq-rdma.h
blk-mq-virtio.h
blk-mq.h
blk-pm.h
blk_types.h
Merge fbe changes from upstream 5.4
2020-02-25 13:27:21 -08:00
blkdev.h
This is the 5.4.24 stable release
2020-03-05 17:42:40 +01:00
blkpg.h
blktrace_api.h
blktrace: Protect q->blk_trace with RCU
2020-03-05 16:43:52 +01:00
blockgroup_lock.h
bma150.h
bottom_half.h
bpf-cgroup.h
bpf.h
bpf_lirc.h
bpf_trace.h
bpf_types.h
bpf_verifier.h
bpfilter.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btf.h
btpower.h
bluetooth: add support for retrieving power resource values
2020-05-27 09:49:46 -07:00
btree-128.h
btree-type.h
btree.h
btrfs.h
buffer_head.h
bug.h
build-salt.h
build_bug.h
bvec.h
c2port.h
cache.h
cacheinfo.h
capability.h
cb710.h
cciss_ioctl.h
ccp.h
cdev.h
cdrom.h
cfag12864b.h
cfi.h
cgroup-defs.h
cgroup.h
cgroup: Iterate tasks that did not finish do_exit()
2020-03-18 07:17:48 +01:00
cgroup_rdma.h
cgroup_subsys.h
circ_buf.h
cleancache.h
clk-provider.h
Merge android-5.4.9 ( 813bf83) into msm-5.4
2020-03-07 10:01:47 -08:00
clk.h
clk: Move clk_debug_print_enabled to linux clk header
2020-02-27 22:41:41 -08:00
clkdev.h
clock_cooling.h
clockchips.h
clockevents: Add NULL definition for tick_broadcast on UP
2020-05-02 10:35:32 -07:00
clocksource.h
cm4000_cs.h
cma.h
cmdline-parser.h
cn_proc.h
cnt32_to_63.h
coda.h
compaction.h
compat.h
compiler-clang.h
compiler-gcc.h
compiler-intel.h
compiler.h
compiler_attributes.h
compiler_types.h
completion.h
component.h
configfs.h
connector.h
console.h
console_struct.h
consolemap.h
const.h
container.h
context_tracking.h
context_tracking_state.h
cordic.h
coredump.h
coresight-cti.h
coresight: Add snapshot of Coresight cti driver
2019-12-15 21:12:58 -08:00
coresight-pmu.h
coresight-stm.h
coresight: stm: STM master side access control
2019-12-17 15:18:46 +08:00
coresight.h
include: linux: remove unused APIs when CORESIGHT is disabled
2020-06-05 12:15:31 -07:00
count_zeros.h
counter.h
counter_enum.h
cper.h
cpu.h
ANDROID: idle_notifier: Add generic idle notifiers
2020-01-31 18:28:45 -08:00
cpu_cooling.h
drivers: thermal: reintroduce notifier for max level transitions
2020-03-06 09:50:53 -08:00
cpu_pm.h
cpu_rmap.h
cpufeature.h
cpufreq.h
Merge android-5.4.24 ( ce5de62) into msm-5.4
2020-04-14 08:25:29 -07:00
cpufreq_times.h
ANDROID: cpufreq: times: Remove per-UID time in state tracking
2020-03-06 20:23:16 +00:00
cpuhotplug.h
drivers: lpm-levels: use correct CPUHP notifications for QoS
2020-04-27 08:32:39 -06:00
cpuidle.h
ANDROID: sched, cpuidle: Track cpuidle state index in the scheduler
2019-12-04 16:27:58 -08:00
cpuidle_haltpoll.h
cpumask.h
sched: Compile cpu_isolated_mask in SCHED_WALT only
2020-06-04 11:42:49 -07:00
cpuset.h
Revert "sched/core: Prevent race condition between cpuset and __sched_setscheduler()"
2020-03-30 04:49:04 +00:00
crash_core.h
crash_dump.h
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
crc4.h
crc7.h
crc8.h
crc16.h
crc32.h
crc32c.h
crc32poly.h
crc64.h
cred.h
crypto-qti-common.h
ufs: ice: add variant ops for ICE
2020-03-25 10:58:30 -07:00
crypto.h
cryptohash.h
cs5535.h
ctype.h
cuda.h
cyclades.h
davinci_emac.h
dax.h
dca.h
dcache.h
dccp.h
dcookies.h
debug_locks.h
debugfs.h
BACKPORT: debugfs: Fix !DEBUG_FS debugfs_create_automount
2020-01-23 09:54:45 +01:00
debugobjects.h
delay.h
delayacct.h
delayed_call.h
devcoredump.h
devfreq-event.h
devfreq.h
PM / devfreq: Introduce an event lock
2019-12-06 08:51:30 -08:00
devfreq_cooling.h
device-mapper.h
Merge fbe changes from upstream 5.4
2020-02-25 13:27:21 -08:00
device.h
sched: Compile cpu_isolated_mask in SCHED_WALT only
2020-06-04 11:42:49 -07:00
device_cgroup.h
devpts_fs.h
digsig.h
dim.h
dio.h
dirent.h
dlm.h
dlm_plock.h
dm-bufio.h
dm-dirty-log.h
dm-io.h
dm-kcopyd.h
dm-region-hash.h
dm9000.h
dma-buf-ref.h
includes: Make headers work with KERNEL_HEADER_TEST
2020-04-14 16:40:49 -06:00
dma-buf.h
dma-contiguous.h
dma-debug.h
dma-direct.h
dma-direct: check for overflows on 32 bit DMA addresses
2020-01-04 19:17:24 +01:00
dma-direction.h
dma-fence-array.h
dma-fence-chain.h
dma-fence.h
dma-iommu.h
iommu/iova: Support disabling domain iova alignment
2020-04-24 09:47:46 -07:00
dma-mapping-fast.h
dma-mapping-fast: reduce TLBI during map
2020-06-10 05:44:50 -07:00
dma-mapping.h
dma-mapping: add support for dma-coherent-hint-cached
2020-03-17 16:06:12 -07:00
dma-noncoherent.h
dma-mapping: add support for dma-coherent-hint-cached
2020-03-17 16:06:12 -07:00
dma-resv.h
dmaengine.h
dmaengine: Store module owner in dma_device struct
2020-02-24 08:36:40 +01:00
dmapool.h
dmar.h
iommu/vt-d: Silence RCU-list debugging warnings
2020-04-01 11:01:53 +02:00
dmi.h
dnotify.h
dns_resolver.h
dqblk_qtree.h
dqblk_v1.h
dqblk_v2.h
drbd.h
drbd_genl.h
drbd_genl_api.h
drbd_limits.h
ds2782_battery.h
dtlk.h
dw_apb_timer.h
dynamic_debug.h
dynamic_queue_limits.h
earlycpio.h
ecm_ipa.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
efi-bgrt.h
efi.h
efs_vh.h
eisa.h
elevator.h
elf-fdpic.h
elf-randomize.h
elf.h
elfcore-compat.h
elfcore.h
elfnote.h
enclosure.h
energy_model.h
PM / EM: Micro optimization in em_pd_energy
2019-12-10 12:50:58 -08:00
err.h
errno.h
error-injection.h
errqueue.h
errseq.h
etherdevice.h
ethtool.h
eventfd.h
eventfd: track eventfd_signal() recursion depth
2020-02-11 04:35:37 -08:00
eventpoll.h
evm.h
export.h
exportfs.h
ext2_fs.h
extable.h
extcon-provider.h
extcon.h
BACKPORT: extcon: Mark extcon_get_edev_name() function as exported symbol
2020-03-30 15:56:27 -07:00
f2fs_fs.h
FROMLIST: f2fs: Use generic casefolding support
2020-02-20 21:21:22 +00:00
f75375s.h
falloc.h
fanotify.h
fault-inject.h
fb.h
fbcon.h
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdtable.h
fec.h
file.h
filter.h
fips.h
firewire.h
firmware-map.h
firmware.h
fixp-arith.h
flat.h
flex_proportions.h
font.h
frame.h
freezer.h
frontswap.h
fs.h
ANDROID: GKI: fs.h: add Android ABI padding to some structures
2020-03-25 18:20:02 +01:00
fs_context.h
fs_enet_pd.h
fs_parser.h
fs_pin.h
fs_stack.h
fs_struct.h
fs_types.h
fs_uart_pd.h
fscache-cache.h
fscache.h
fscrypt.h
FROMLIST: fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctl
2020-03-19 11:29:02 -07:00
fsi-occ.h
fsi-sbefifo.h
fsi.h
fsl-diu-fb.h
fsl_devices.h
fsl_hypervisor.h
fsl_ifc.h
fsldma.h
fsnotify.h
fsnotify_backend.h
fsverity.h
fs-verity: implement readahead of Merkle tree pages
2020-02-13 15:02:43 -08:00
ftrace.h
ftrace_irq.h
futex.h
futex: Fix inode life-time issue
2020-03-25 08:25:58 +01:00
fwnode.h
gameport.h
gcd.h
genalloc.h
generic-radix-tree.h
genetlink.h
genhd.h
genl_magic_func.h
genl_magic_struct.h
getcpu.h
gfp.h
mm: Allow only __GFP_CMA allocations from Movable zone
2020-01-16 16:22:14 -08:00
glob.h
gnss.h
goldfish.h
gpio-pxa.h
gpio.h
gpio_keys.h
greybus.h
hardirq.h
hash.h
hashtable.h
hdcp_qseecom.h
include/linux: add HDCP QSEECOM header file
2020-02-05 18:47:55 -08:00
hdlc.h
hdlcdrv.h
hdmi.h
ANDROID: drm: fix HDR static metadata type field numbering
2020-02-06 21:16:52 +00:00
hid-debug.h
hid-roccat.h
hid-sensor-hub.h
hid-sensor-ids.h
hid.h
HID: core: increase HID report buffer size to 8KiB
2020-03-05 16:43:42 +01:00
hiddev.h
hidraw.h
highmem.h
cma: redirect page allocation to CMA
2020-01-16 13:23:12 -08:00
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hmm.h
host1x.h
hp_sdc.h
hpet.h
hrtimer.h
Merge android-5.4.8 ( de197c5) into msm-5.4
2020-03-06 19:19:20 -08:00
hrtimer_defs.h
htcpld.h
huge_mm.h
hugetlb.h
Merge android-5.4.24 ( ce5de62) into msm-5.4
2020-04-14 08:25:29 -07:00
hugetlb_cgroup.h
hugetlb_inline.h
hw_breakpoint.h
hw_random.h
hwkm.h
includes: Fix more headers to work with KERNEL_HEADER_TEST
2020-04-02 17:40:57 -06:00
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwspinlock.h
hyperv.h
hypervisor.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-dev.h
i2c-mux.h
i2c-pxa.h
i2c-smbus.h
i2c.h
i8042.h
i8253.h
icmp.h
icmpv6.h
ide.h
idle_inject.h
idr.h
ieee80211.h
ieee80211: fix HE SPR size calculation
2020-04-01 11:02:09 +02:00
ieee802154.h
if_arp.h
if_bridge.h
if_eql.h
if_ether.h
macvlan: do not assume mac_header is set in macvlan_broadcast()
2020-01-12 12:21:46 +01:00
if_fddi.h
if_frad.h
if_link.h
if_ltalk.h
if_macvlan.h
if_phonet.h
if_pppol2tp.h
if_pppox.h
if_rmnet.h
if_tap.h
if_team.h
if_tun.h
if_tunnel.h
if_vlan.h
igmp.h
ihex.h
ima.h
imx-media.h
in.h
in6.h
indirect_call_wrapper.h
inet.h
inet_diag.h
inet_diag: return classid for all socket types
2020-03-18 07:17:38 +01:00
inetdevice.h
init.h
RTIC: Move selinux_state to a separate 4k
2020-06-08 15:49:07 +05:30
init_ohci1394_dma.h
init_task.h
initrd.h
inotify.h
input-polldev.h
input.h
integrity.h
intel-iommu.h
iommu/vt-d: Fix debugfs register reads
2020-04-01 11:01:55 +02:00
intel-ish-client-if.h
intel-pti.h
intel-svm.h
iommu/vt-d: Fix compile warning from intel-svm.h
2020-02-28 17:22:26 +01:00
intel_rapl.h
intel_th.h
interconnect-provider.h
interconnect.h
interrupt.h
sched: avoid migrating when softint on tgt cpu should be short
2019-12-10 12:46:03 -08:00
interval_tree.h
interval_tree_generic.h
io-64-nonatomic-hi-lo.h
io-64-nonatomic-lo-hi.h
io-mapping.h
io-pgtable-fast.h
include: Fixup headers to pass KERNEL_HEADER_TEST
2020-01-15 09:01:08 -07:00
io-pgtable.h
iommu: arm-smmu: fix check for need for preallocate memory
2020-03-09 17:52:06 -07:00
io.h
ioc3.h
iocontext.h
iomap.h
iommu-helper.h
iommu.h
iommu: arm-smmu: Add support for new attributes
2020-06-05 15:19:42 -07:00
ion.h
ANDROID: staging: ion: Add an in-kernel interface to request heap info.
2020-03-06 19:16:52 +00:00
iopoll.h
ioport.h
ioprio.h
iova.h
iommu/iova: Support disabling domain iova alignment
2020-04-24 09:47:46 -07:00
ip.h
ipa.h
msm: ipa: enable SYSPIPE_ERR_DETECTION bit for deaggr_err
2020-05-11 12:27:13 -07:00
ipa_fmwk.h
includes: Fix more headers to work with KERNEL_HEADER_TEST
2020-04-02 17:40:57 -06:00
ipa_mhi.h
ipa_odu_bridge.h
ipa_uc_offload.h
ipa_usb.h
msm: ipa: create ipa framework
2020-02-26 01:27:47 -08:00
ipa_wdi3.h
ipa_wigig.h
ipack.h
ipc.h
ipc_logging.h
includes: Make headers work with KERNEL_HEADER_TEST
2020-04-14 16:40:49 -06:00
ipc_namespace.h
ipmi-fru.h
ipmi.h
ipmi_smi.h
ipmi: Don't allow device module unload when in use
2019-12-31 16:44:14 +01:00
ipv6.h
ipv6_route.h
irq.h
This is the 5.4.19 stable release
2020-02-11 14:09:41 -08:00
irq_cpustat.h
irq_poll.h
irq_sim.h
irq_work.h
irqbypass.h
irqchip.h
irqdesc.h
irqdomain.h
Merge android-5.4.24 ( ce5de62) into msm-5.4
2020-04-14 08:25:29 -07:00
irqflags.h
irqhandler.h
irqnr.h
irqreturn.h
isa.h
isapnp.h
iscsi_boot_sysfs.h
iscsi_ibft.h
isicom.h
iversion.h
jbd2.h
jbd2: Fix possible overflow in jbd2_log_space_left()
2019-12-13 08:42:53 +01:00
jhash.h
jiffies.h
journal-head.h
joystick.h
jump_label.h
jump_label_ratelimit.h
jz4740-adc.h
jz4780-nemc.h
kallsyms.h
kasan-checks.h
kasan.h
kbd_diacr.h
kbd_kern.h
kbuild.h
kconfig.h
kcore.h
kcov.h
UPSTREAM: kcov: remote coverage support
2020-01-13 18:54:56 +00:00
kd.h
kdb.h
kdebug.h
kdev_t.h
kern_levels.h
kernel-page-flags.h
kernel.h
kernel_stat.h
kernelcapi.h
kernfs.h
kernfs: fix ino wrap-around detection
2019-12-13 08:42:53 +01:00
kexec.h
key-type.h
key.h
keyboard.h
keyctl.h
keyslot-manager.h
Revert "BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series"
2020-03-07 13:06:47 -08:00
kfifo.h
kgdb.h
khugepaged.h
klist.h
kmemleak.h
kmod.h
kmsg_dump.h
kobj_map.h
kobject.h
kobject_ns.h
kprobes.h
kref.h
ks0108.h
ks8842.h
ks8851_mll.h
ksm.h
kthread.h
ktime.h
kvm_host.h
KVM: Use vcpu-specific gva->hva translation when querying host page size
2020-02-11 04:35:54 -08:00
kvm_irqfd.h
kvm_para.h
kvm_types.h
x86/kvm: Cache gfn to pfn translation
2020-02-11 04:35:40 -08:00
l2tp.h
lantiq.h
lapb.h
latencytop.h
lcd.h
lcm.h
led-class-flash.h
led-lm3530.h
leds-bd2802.h
leds-lp3944.h
leds-lp3952.h
leds-pca9532.h
leds-qti-flash.h
leds: qti-flash: Update camera flash client interface options
2020-04-03 14:49:31 +05:30
leds-regulator.h
leds-tca6507.h
leds-ti-lmu-common.h
leds.h
leds_pwm.h
libata.h
ata: ahci: Add shutdown to freeze hardware resources of ahci
2020-02-28 17:22:28 +01:00
libfdt.h
libfdt_env.h
libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h
2020-01-04 19:18:28 +01:00
libgcc.h
libnvdimm.h
libps2.h
license.h
lightnvm.h
limits.h
linkage.h
linkmode.h
linux_logo.h
lis3lv02d.h
list.h
list_bl.h
list_lru.h
list_nulls.h
rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
2020-02-24 08:36:45 +01:00
list_sort.h
livepatch.h
llc.h
llist.h
lockdep.h
lockref.h
log2.h
logic_pio.h
lp.h
lru_cache.h
lsm_audit.h
lsm_hooks.h
BACKPORT: perf_event: Add support for LSM and SELinux checks
2020-01-09 21:25:09 +00:00
lz4.h
lzo.h
mailbox_client.h
mailbox_controller.h
maple.h
marvell_phy.h
math64.h
max17040_battery.h
mbcache.h
mbus.h
mc6821.h
mc146818rtc.h
mcb.h
mdev.h
mdio-bitbang.h
mdio-gpio.h
mdio-mux.h
mdio.h
mei_cl_bus.h
mem-buf.h
soc: qcom: mem-buf: Add tracepoints and augment logging
2020-06-08 11:17:22 -07:00
mem_encrypt.h
memblock.h
soc: qcom: mem-offline: Clear page-table entries after offline
2020-01-03 15:44:35 -08:00
memcontrol.h
mm: fork: fix kernel_stack memcg stats for various stack implementations
2020-04-01 11:02:03 +02:00
memfd.h
memory.h
memory_hotplug.h
Merge android-5.4.9 ( 813bf83) into msm-5.4
2020-03-07 10:01:47 -08:00
mempolicy.h
mempool.h
memremap.h
memstick.h
mhi.h
Merge "mhi: core: Add support to re-try requesting firmware image"
2020-04-29 11:27:20 -07:00
mic_bus.h
micrel_phy.h
microchipphy.h
migrate.h
migrate_mode.h
mii.h
miscdevice.h
rfkill: allocate static minor
2019-12-13 08:43:18 +01:00
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm-arch-hooks.h
mm.h
Merge "mm/madvise: pass task and mm to do_madvise"
2020-06-11 21:35:29 -07:00
mm_inline.h
mm_types.h
ANDROID: GKI: mm: add Android ABI padding to some structures
2020-03-19 15:01:25 +01:00
mm_types_task.h
mm: add rss counter for unreclaimable pages
2020-06-05 14:38:06 +05:30
mman.h
mmdebug.h
mmiotrace.h
mmu_context.h
mmu_notifier.h
mmzone.h
mm: introduce NR_UNRECLAIMABLE_PAGES
2020-06-05 14:38:07 +05:30
mnt_namespace.h
mod_devicetable.h
Merge android-5.4.7 ( 861433ef) into msm-5.4
2020-02-21 14:12:55 -08:00
module.h
ANDROID: GKI: module.h: add Android ABI padding to some structures
2020-03-19 10:25:23 +00:00
module_signature.h
moduleloader.h
moduleparam.h
mount.h
ANDROID: GKI: mount.h: add Android ABI padding to some structures
2020-03-19 14:31:21 +01:00
moxtet.h
mpage.h
mpi.h
mpls.h
mpls_iptunnel.h
mroute.h
mroute6.h
mroute_base.h
msdos_fs.h
msg.h
msi.h
msm-geni-se.h
platform : msm-geni-se: fix voting unit for bus bandwidth
2020-04-24 17:44:13 +05:30
msm-sps.h
includes: Make headers work with KERNEL_HEADER_TEST
2020-04-14 16:40:49 -06:00
msm_dma_iommu_mapping.h
msm_ext_display.h
platform: msm: add support for external display module
2020-01-08 17:37:50 -08:00
msm_gpi.h
dma: gpi: Add support to assign static GPII for I2C Touch on Lahaina
2020-06-11 22:41:09 -07:00
msm_gsi.h
Merge "msm: gsi: Add support for EV RP DDR access feature"
2020-05-03 06:14:57 -07:00
msm_ion.h
ion: msm: Add support for dynamically preventing dma-buf mappings
2020-06-12 19:10:01 -07:00
msm_pcie.h
Merge "msm: pcie: add option to disable L1ss TO for DRV suspend"
2020-03-02 18:28:28 -08:00
msm_rtb.h
msm_show_resume_irq.h
irqchip: Declare the msm_show_resume_irq_mask in a header
2020-04-15 14:18:51 -07:00
mutex.h
mv643xx.h
mv643xx_eth.h
mv643xx_i2c.h
mvebu-pmsu.h
mxm-wmi.h
n_r3964.h
namei.h
nd.h
ndctl.h
net.h
netdev_features.h
netdevice.h
net: export netdev_next_lower_dev_rcu()
2020-03-05 16:43:35 +01:00
netfilter.h
netfilter_bridge.h
netfilter_defs.h
netfilter_ingress.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h
netpoll.h
neuron.h
net: Add Neuron Framework
2020-03-30 21:44:24 -07:00
neuron_block.h
includes: Fix more headers to work with KERNEL_HEADER_TEST
2020-04-02 17:40:57 -06:00
nfcinfo.h
NFC: Add NFC hardware check and get info ioctl
2020-01-13 10:08:55 +05:30
nfs.h
nfs3.h
nfs4.h
nfs_fs.h
nfs_fs_i.h
nfs_fs_sb.h
nfs_iostat.h
nfs_page.h
nfs_xdr.h
nfsacl.h
nl802154.h
nls.h
nmi.h
sched: Compile cpu_isolated_mask in SCHED_WALT only
2020-06-04 11:42:49 -07:00
node.h
nodemask.h
nospec.h
notifier.h
ns_common.h
nsc_gpio.h
nsproxy.h
ntb.h
ntb_transport.h
nubus.h
numa.h
nvme-fc-driver.h
nvme_fc: add module to ops template to allow module references
2020-01-09 10:19:41 +01:00
nvme-fc.h
nvme-rdma.h
nvme-tcp.h
nvme.h
nvme: introduce "Command Aborted By host" status code
2019-12-31 16:44:40 +01:00
nvmem-consumer.h
nvmem: core: fix nvmem_cell_write inline function
2019-12-31 16:44:43 +01:00
nvmem-provider.h
nvram.h
objagg.h
of.h
of_address.h
Merge android-5.4.24 ( ce5de62) into msm-5.4
2020-04-14 08:25:29 -07:00
of_clk.h
of_device.h
of_dma.h
of_fdt.h
of_gpio.h
of_graph.h
of_iommu.h
of_irq.h
of_mdio.h
of_net.h
of_pci.h
of_pdt.h
of_platform.h
of_reserved_mem.h
oid_registry.h
olpc-ec.h
omap-dma.h
omap-gpmc.h
omap-iommu.h
omap-mailbox.h
omapfb.h
once.h
oom.h
mm: oom_kill: Support further prioritization of OOM kills
2020-03-17 16:37:27 -07:00
openvswitch.h
oprofile.h
osq_lock.h
overflow.h
packing.h
padata.h
crypto: pcrypt - Avoid deadlock by using per-instance padata queues
2020-02-11 04:35:28 -08:00
page-flags-layout.h
page-flags.h
page-flags: fix a crash at SetPageError(THP_SWAP)
2020-03-25 08:25:58 +01:00
page-isolation.h
page_counter.h
page_ext.h
mm, page_owner: set page owner info for tail pages
2020-02-27 15:13:14 -08:00
page_idle.h
page_owner.h
page_ref.h
pageblock-flags.h
pagemap.h
pagevec.h
pagewalk.h
parman.h
parport.h
parport_pc.h
parser.h
pata_arasan_cf_data.h
patchkey.h
path.h
pch_dma.h
pci-acpi.h
pci-ats.h
pci-dma-compat.h
pci-ecam.h
pci-ep-cfs.h
pci-epc.h
pci-epf.h
pci-p2pdma.h
pci.h
pci: framework: disable auto suspend link
2020-05-26 22:03:44 -07:00
pci_hotplug.h
pci_ids.h
ANDROID: PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM
2019-12-20 09:57:36 -08:00
pda_power.h
pe.h
percpu-defs.h
percpu: Separate decrypted varaibles anytime encryption can be enabled
2020-02-11 04:35:44 -08:00
percpu-refcount.h
percpu-rwsem.h
percpu.h
percpu_counter.h
perf_event.h
Merge android-5.4.24 ( ce5de62) into msm-5.4
2020-04-14 08:25:29 -07:00
perf_regs.h
personality.h
pfk.h
qseecom: Add qseecom driver snapshot for Lahaina
2020-01-02 11:17:15 -08:00
pfn.h
pfn_t.h
phonet.h
phy.h
ANDROID: GKI: phy: add Android ABI padding to some structures
2020-03-18 10:51:31 +01:00
phy_fixed.h
phy_led_triggers.h
phylink.h
pid.h
pid: move pidfd_get_pid() to pid.c
2020-06-18 18:01:49 +05:30
pid_namespace.h
pim.h
pipe_fs_i.h
pkeys.h
pktcdvd.h
pl320-ipc.h
pl353-smc.h
platform_device.h
driver code: clarify and fix platform device DMA mask allocation
2020-03-18 07:17:56 +01:00
plist.h
pm-trace.h
pm.h
pm2301_charger.h
pm_clock.h
pm_domain.h
pm_opp.h
pm_qos.h
Revert "PM / QoS: Redefine FREQ_QOS_MAX_DEFAULT_VALUE to S32_MAX"
2020-02-04 08:04:56 -08:00
pm_runtime.h
pm_wakeirq.h
pm_wakeup.h
pmbus.h
pmic-voter.h
power: supply: Add snapshot of QPNP QG driver and its dependencies
2020-06-08 11:26:57 +05:30
pmu.h
pnfs_osd_xdr.h
pnp.h
poison.h
poll.h
posix-clock.h
ptp: fix the race between the release of ptp_clock and cdev
2020-01-04 19:18:48 +01:00
posix-timers.h
posix_acl.h
posix_acl_xattr.h
power_supply.h
Merge android-5.4.26 ( 0d3cca0c) into msm-5.4
2020-05-19 12:58:11 -07:00
powercap.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
pps-gpio.h
pps_kernel.h
pr.h
preempt.h
prefetch.h
prime_numbers.h
printk.h
proc_fs.h
Revert "ANDROID: proc: Add /proc/uid directory"
2020-03-06 20:23:08 +00:00
proc_ns.h
processor.h
profile.h
projid.h
property.h
psci.h
pseudo_fs.h
psi.h
psi_types.h
psp-sev.h
pstore.h
pstore_ram.h
pti.h
ptp_classify.h
ptp_clock_kernel.h
ptr_ring.h
ptrace.h
purgatory.h
pvclock_gtod.h
pwm.h
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qcom-geni-se.h
qcom_scm.h
firmware: qcom: add enlarged qsee log support
2020-05-08 16:17:38 -07:00
qcrypto.h
crypto: msm: Add QTI crypto drivers
2020-01-06 14:24:28 -08:00
qnx6_fs.h
qtee_shmbridge.h
shmbridge: get bridge mem pool's DMA address with dma_map_single
2019-12-18 15:31:51 -08:00
quota.h
fs/quota: handle overflows of sysctl fs.quota.* and report as unsigned long
2020-01-04 19:17:25 +01:00
quotaops.h
quota: Check that quota is not dirty before release
2019-12-17 19:56:43 +01:00
radix-tree.h
raid_class.h
ramfs.h
random.h
UPSTREAM: linux/random.h: Mark CONFIG_ARCH_RANDOM functions __must_check
2020-02-20 10:08:46 -08:00
range.h
ras.h
ratelimit.h
rational.h
rbtree.h
rbtree_augmented.h
rbtree_latch.h
rcu_node_tree.h
rcu_segcblist.h
rcu_sync.h
rculist.h
rculist_bl.h
rculist_nulls.h
rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
2020-02-24 08:36:45 +01:00
rcupdate.h
rcupdate_wait.h
rcutiny.h
rcutree.h
rcuwait.h
reboot-mode.h
reboot.h
reciprocal_div.h
refcount.h
regmap.h
regset.h
relay.h
remoteproc.h
reset-controller.h
reset.h
resource.h
resource_ext.h
restart_block.h
rfkill.h
rhashtable-types.h
rhashtable.h
ring_buffer.h
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h
mm: Enhance per process reclaim to consider shared pages
2020-06-02 21:31:03 -07:00
rmi.h
rndis.h
rndis_ipa.h
rodata_test.h
root_dev.h
rpmsg.h
rq_stats.h
includes: Fix more headers to work with KERNEL_HEADER_TEST
2020-04-02 17:40:57 -06:00
rslib.h
rtc.h
rtmutex.h
rtnetlink.h
rtsx_common.h
rtsx_pci.h
rtsx_usb.h
rwlock.h
rwlock_api_smp.h
rwlock_types.h
rwsem.h
s3c_adc_battery.h
sbitmap.h
scatterlist.h
scc.h
sched.h
sched: Improve the scheduler
2020-06-10 15:35:30 -07:00
sched_clock.h
scif.h
scmi_protocol.h
scpi_protocol.h
screen_info.h
scs.h
sctp.h
scx200.h
scx200_gpio.h
sdb.h
sdla.h
seccomp.h
securebits.h
security.h
BACKPORT: perf_event: Add support for LSM and SELinux checks
2020-01-09 21:25:09 +00:00
sed-opal.h
seg6.h
seg6_genl.h
seg6_hmac.h
seg6_iptunnel.h
seg6_local.h
selection.h
vt: selection, introduce vc_is_sel
2020-04-02 15:11:00 +02:00
sem.h
semaphore.h
seq_buf.h
seq_file.h
seq_file_net.h
seqlock.h
seqno-fence.h
serdev.h
ANDROID: serdev: restrict claim of platform devices
2020-04-15 09:59:14 +05:30
serial.h
serial_8250.h
serial_bcm63xx.h
serial_core.h
serial_max3100.h
serial_pnx8xxx.h
serial_s3c.h
serial_sci.h
serio.h
set_memory.h
sfi.h
sfi_acpi.h
sfp.h
sh_clk.h
sh_dma.h
sh_eth.h
sh_intc.h
sh_timer.h
shdma-base.h
shm.h
shmem_fs.h
show_mem_notifier.h
shrinker.h
signal.h
signal_types.h
signalfd.h
siox.h
siphash.h
sirfsoc_dma.h
sizes.h
skb_array.h
skbuff.h
net: Fix CONFIG_NET_CLS_ACT=n and CONFIG_NFT_FWD_NETDEV={y, m} build
2020-04-01 11:02:18 +02:00
skmsg.h
bpf: Sockmap/tls, push write_space updates through ulp updates
2020-01-23 08:22:45 +01:00
slab.h
slab_def.h
slimbus.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h
smpboot.h
smsc911x.h
smscphy.h
sock_diag.h
socket.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_types.h
spinlock_types_up.h
spinlock_up.h
splice.h
spmi.h
sram.h
srcu.h
srcutiny.h
srcutree.h
ssbi.h
stackdepot.h
stackleak.h
stackprotector.h
stacktrace.h
start_kernel.h
stat.h
statx: define STATX_ATTR_VERITY
2020-01-08 15:26:59 -08:00
statfs.h
static_key.h
stddef.h
stm.h
coresight: ost: Add snapshot of Coresight OST driver
2019-12-12 13:58:50 +08:00
stmmac.h
stmp3xxx_rtc_wdt.h
stmp_device.h
stop_machine.h
string.h
UPSTREAM: rss_stat: Add support to detect RSS updates of external mm
2019-12-17 19:53:46 +00:00
string_helpers.h
stringhash.h
stringify.h
sungem_phy.h
sunserialcore.h
sunxi-rsb.h
superhyway.h
suspend.h
This is the 5.4.21 stable release
2020-02-20 08:13:39 +01:00
svga.h
sw842.h
swab.h
swait.h
swap.h
swap_cgroup.h
swap_slots.h
swapfile.h
swapops.h
swiotlb.h
switchtec.h
sxgbe_platform.h
sync_core.h
sync_file.h
synclink.h
sys.h
sys_soc.h
syscalls.h
mm: support vector address ranges for process_madvise
2020-06-18 18:51:10 +05:30
syscore_ops.h
sysctl.h
sched: Add snapshot of sched_{up,down}migrate knobs
2019-12-10 12:45:24 -08:00
sysfs.h
syslog.h
sysrq.h
sysv_fs.h
t10-pi.h
task_io_accounting.h
task_io_accounting_ops.h
task_work.h
taskstats_kern.h
tboot.h
tc.h
tca6416_keypad.h
tcp.h
tee_drv.h
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h
drivers: thermal: Add QTI_THERMAL config
2019-12-12 17:29:52 -07:00
thread_info.h
uaccess: disallow > INT_MAX copy sizes
2020-01-04 19:18:42 +01:00
threads.h
thunderbolt.h
ti-emif-sram.h
ti_wilink_st.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time.h
tcp: fix rejected syncookies due to stale timestamps
2019-12-18 16:08:43 +01:00
time32.h
time64.h
timecounter.h
timekeeper_internal.h
timekeeping.h
timekeeping32.h
timer.h
timer: create timer_quiesce_cpu() to isolate CPU from timers
2019-12-04 16:27:51 -08:00
timerfd.h
timeriomem-rng.h
timerqueue.h
timex.h
tnum.h
bpf: Fix incorrect verifier simulation of ARSH under ALU32
2020-01-23 08:22:44 +01:00
topology.h
topology: Add snapshot of possible sibling cpu mask changes
2019-12-04 16:27:58 -08:00
torture.h
toshiba.h
tpm.h
tpm_command.h
tpm_eventlog.h
trace.h
trace_clock.h
trace_events.h
coresight: enable stm logging for trace events, marker and printk
2019-12-16 14:10:40 +08:00
trace_seq.h
tracefs.h
tracehook.h
tracepoint-defs.h
tracepoint.h
transport_class.h
ts-nbus.h
tsacct_kern.h
tty.h
serdev: ttyport: restore client ops on deregistration
2020-02-28 17:22:19 +01:00
tty_driver.h
tty_flip.h
tty_ldisc.h
typecheck.h
types.h
u64_stats_sync.h
uaccess.h
uaccess: Add non-pagefault user-space write function
2020-01-17 19:48:40 +01:00
ucb1400.h
ucs2_string.h
udp.h
uidgid.h
uio.h
uio_driver.h
umh.h
unicode.h
FROMLIST: unicode: Add utf8_casefold_hash
2020-02-20 21:21:02 +00:00
uprobes.h
usb.h
ANDROID: GKI: USB: add Android ABI padding to some structures
2020-03-20 09:27:54 +01:00
usb_bam.h
usb_usual.h
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
userfaultfd_k.h
util_macros.h
uts.h
utsname.h
uuid.h
vbox_utils.h
verification.h
vermagic.h
vexpress.h
vfio.h
vfs.h
vga_switcheroo.h
vgaarb.h
via-core.h
via-gpio.h
via.h
via_i2c.h
videodev2.h
virtio.h
virtio_byteorder.h
virtio_caif.h
virtio_config.h
virtio_console.h
virtio_net.h
virtio_ring.h
virtio_vsock.h
visorbus.h
vlynq.h
vm_event_item.h
mm: vmstat: add pageoutclean
2019-12-17 10:54:01 -08:00
vm_sockets.h
vmacache.h
vmalloc.h
x86/mm: split vmalloc_sync_all()
2020-03-25 08:25:58 +01:00
vme.h
vmpressure.h
vmstat.h
vmw_vmci_api.h
vmw_vmci_defs.h
vringh.h
vt.h
vt_buffer.h
vt_kern.h
vt: switch vt_dont_switch to bool
2020-04-02 15:11:00 +02:00
vtime.h
w1-gpio.h
w1.h
wait.h
wait_bit.h
wakeup_reason.h
watchdog.h
win_minmax.h
wireless.h
wkup_m3_ipc.h
wl12xx.h
wm97xx.h
wmi.h
workqueue.h
ANDROID: GKI: workqueue.h: add Android ABI padding to some structures
2020-03-26 14:56:22 +01:00
writeback.h
ww_mutex.h
xarray.h
xattr.h
xxhash.h
xz.h
yam.h
z2_battery.h
zbud.h
zconf.h
zlib.h
zorro.h
zpool.h
zsmalloc.h
zstd.h
zutil.h