Revision 32ffa4f71e10009498ae6b54da65ab316db967bd authored by Axel Rasmussen on 19 May 2021, 20:03:33 UTC, committed by Paolo Bonzini on 27 May 2021, 11:45:55 UTC
This is a preparatory commit needed before we can use different kinds of backing pages for guest memory. Previously, we used perf_test_args.host_page_size, which is the host's native page size (commonly 4K). For VM_MEM_SRC_ANONYMOUS this turns out to be okay, but in a follow-up commit we want to allow using different kinds of backing memory. Take VM_MEM_SRC_ANONYMOUS_HUGETLB for example. Without this change, if we used that backing page type, when we issued a UFFDIO_COPY ioctl we'd only do so with 4K, rather than the full 2M of a backing hugepage. In this case, UFFDIO_COPY returns -EINVAL (__mcopy_atomic_hugetlb checks the size). Signed-off-by: Axel Rasmussen <axelrasmussen@google.com> Message-Id: <20210519200339.829146-5-axelrasmussen@google.com> Reviewed-by: Ben Gardon <bgardon@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 25408e5
File | Mode | Size |
---|---|---|
aicasm | ||
.gitignore | -rw-r--r-- | 136 bytes |
Kconfig.aic79xx | -rw-r--r-- | 3.2 KB |
Kconfig.aic7xxx | -rw-r--r-- | 3.5 KB |
Makefile | -rw-r--r-- | 2.9 KB |
aic7770.c | -rw-r--r-- | 9.5 KB |
aic7770_osm.c | -rw-r--r-- | 4.3 KB |
aic79xx.h | -rw-r--r-- | 45.5 KB |
aic79xx.reg | -rw-r--r-- | 72.2 KB |
aic79xx.seq | -rw-r--r-- | 71.0 KB |
aic79xx_core.c | -rw-r--r-- | 289.8 KB |
aic79xx_inline.h | -rw-r--r-- | 5.9 KB |
aic79xx_osm.c | -rw-r--r-- | 77.0 KB |
aic79xx_osm.h | -rw-r--r-- | 18.7 KB |
aic79xx_osm_pci.c | -rw-r--r-- | 10.0 KB |
aic79xx_pci.c | -rw-r--r-- | 26.8 KB |
aic79xx_pci.h | -rw-r--r-- | 3.0 KB |
aic79xx_proc.c | -rw-r--r-- | 8.8 KB |
aic79xx_reg.h_shipped | -rw-r--r-- | 44.3 KB |
aic79xx_reg_print.c_shipped | -rw-r--r-- | 19.2 KB |
aic79xx_seq.h_shipped | -rw-r--r-- | 28.6 KB |
aic7xxx.h | -rw-r--r-- | 41.0 KB |
aic7xxx.reg | -rw-r--r-- | 37.2 KB |
aic7xxx.seq | -rw-r--r-- | 68.8 KB |
aic7xxx_93cx6.c | -rw-r--r-- | 9.4 KB |
aic7xxx_93cx6.h | -rw-r--r-- | 3.6 KB |
aic7xxx_core.c | -rw-r--r-- | 209.0 KB |
aic7xxx_inline.h | -rw-r--r-- | 3.7 KB |
aic7xxx_osm.c | -rw-r--r-- | 70.1 KB |
aic7xxx_osm.h | -rw-r--r-- | 19.0 KB |
aic7xxx_osm_pci.c | -rw-r--r-- | 11.7 KB |
aic7xxx_pci.c | -rw-r--r-- | 60.2 KB |
aic7xxx_pci.h | -rw-r--r-- | 5.2 KB |
aic7xxx_proc.c | -rw-r--r-- | 9.3 KB |
aic7xxx_reg.h_shipped | -rw-r--r-- | 22.6 KB |
aic7xxx_reg_print.c_shipped | -rw-r--r-- | 10.6 KB |
aic7xxx_seq.h_shipped | -rw-r--r-- | 32.1 KB |
aiclib.h | -rw-r--r-- | 5.7 KB |
cam.h | -rw-r--r-- | 4.5 KB |
queue.h | -rw-r--r-- | 16.7 KB |
scsi_iu.h | -rw-r--r-- | 1.0 KB |
scsi_message.h | -rw-r--r-- | 932 bytes |
Computing file changes ...