mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00

The demand paging test is currently a simple page access test which, while potentially useful, doesn't add much versus the existing dirty logging test. To improve the demand paging test, add a basic userfaultfd demand paging implementation. Signed-off-by: Ben Gardon <bgardon@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
19 lines
373 B
C
19 lines
373 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NR_userfaultfd
|
|
#define __NR_userfaultfd 282
|
|
#endif
|
|
#ifndef __NR_perf_event_open
|
|
# define __NR_perf_event_open 298
|
|
#endif
|
|
#ifndef __NR_futex
|
|
# define __NR_futex 202
|
|
#endif
|
|
#ifndef __NR_gettid
|
|
# define __NR_gettid 186
|
|
#endif
|
|
#ifndef __NR_getcpu
|
|
# define __NR_getcpu 309
|
|
#endif
|
|
#ifndef __NR_setns
|
|
#define __NR_setns 308
|
|
#endif
|