Files
Edgar Arriaga García 21086ef616 Revert "BACKPORT: pidfd: add P_PIDFD to waitid()"
Revert submission 1840387-backport-proc-madvise-v2

Reason for revert: Since we are putting it in 5.4 ACK kernel and we have the framework code that fallback to procfs for older kernels, we discussed that it was not necessary to maintain it for 4.14 since there is no extra value added as new kernels will be using 5.4+ anyways.

Reverted Changes:
I3624a8b06:FROMLIST: mm/madvise: replace ptrace attach requir...
I49b1a581d:UPSTREAM: mm/madvise: remove racy mm ownership che...
I8ae135a79:UPSTREAM: mm: validate pmd after splitting
I1efd9d7d7:Revert "mm: abort per-process reclaim"
Id1f7df48d:FROMLIST: mm/madvise: fix memory leak from process...
I9383bebe4:BACKPORT: pid: move pidfd_get_pid() to pid.c
Icfff940ab:BACKPORT: mm/madvise: introduce process_madvise() ...
I11b99220a:BACKPORT: mm/madvise: pass mm to do_madvise
I9e300af00:UPSTREAM: mm: check that mm is still valid in madv...
I125cdc841:UPSTREAM: mm: factor out common parts between MADV...
Id400fe311:UPSTREAM: mm: introduce MADV_PAGEOUT
I18d197e4b:UPSTREAM: mm: do not allow MADV_PAGEOUT for CoW pa...
I8f0f9d54e:BACKPORT: mm: introduce MADV_COLD
Id938f02c5:BACKPORT: pagewalk: separate function pointers fro...
Icc0a67859:UPSTREAM: mm: split out a new pagewalk.h header fr...
Ic8a6834b3:BACKPORT: pidfd: add P_PIDFD to waitid()
I6200af248:Revert "mm: per-process reclaim"
Ibeabf2538:Revert "mm: introduce deactivate_page"
I510535eff:Revert "mm: perproc-reclaim: do not discarding fil...
I8efddbaa1:Revert "mm: perproc-reclaim: do not scanning anony...
Ifae69b33d:Revert "floral: enable CONFIG_PROCESS_RECLAIM"

Change-Id: I5bb8e8cda5458fd1b38dca95d54c5b76154321c1
2021-02-17 02:57:26 +00:00

23 lines
678 B
C

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI_LINUX_WAIT_H
#define _UAPI_LINUX_WAIT_H
#define WNOHANG 0x00000001
#define WUNTRACED 0x00000002
#define WSTOPPED WUNTRACED
#define WEXITED 0x00000004
#define WCONTINUED 0x00000008
#define WNOWAIT 0x01000000 /* Don't reap, just poll status. */
#define __WNOTHREAD 0x20000000 /* Don't wait on children of other threads in this group */
#define __WALL 0x40000000 /* Wait on all children, regardless of type */
#define __WCLONE 0x80000000 /* Wait only on non-SIGCHLD children */
/* First argument to waitid: */
#define P_ALL 0
#define P_PID 1
#define P_PGID 2
#endif /* _UAPI_LINUX_WAIT_H */