Displaying 20 results from an estimated 65 matches for "vm_map".
2003 Oct 01
1
latest cvsup to stable kernel build fall down, go boom
GENERIC kernel build, cvsup as of 21:37 October 1 2003:
../../vm/vm_map.c: In function `vm_init2':
../../vm/vm_map.c:190: `maxfiles' undeclared (first use in this function)
../../vm/vm_map.c:190: (Each undeclared identifier is reported only once
../../vm/vm_map.c:190: for each function it appears in.)
*** Error code 1
Using the freebsd protector patch (anti st...
2004 May 07
0
Fwd: [Re: cvs commit: src/sys/vm vm_map.c]
...message from Tim Robbins <tjr@freebsd.org> -----
Date: Tue, 23 Mar 2004 21:53:10 +1100
From: Tim Robbins <tjr@freebsd.org>
To: Pawel Jakub Dawidek <pjd@FreeBSD.org>
cc: cvs-src@FreeBSD.org
cc: src-committers@FreeBSD.org
cc: cvs-all@FreeBSD.org
Subject: Re: cvs commit: src/sys/vm vm_map.c
Message-ID: <20040323105310.GA14855@cat.robbins.dropbear.id.au>
On Tue, Mar 23, 2004 at 11:33:00AM +0100, Pawel Jakub Dawidek wrote:
> On Tue, Mar 23, 2004 at 12:37:35AM -0800, Tim J. Robbins wrote:
> +> tjr 2004/03/23 00:37:34 PST
> +>
> +> FreeBSD src rep...
2013 Aug 16
2
FBSD 9.2 RC crashes running as virtualbox host
Hi,
after updating my freebsd amd64 box from 9.1 (r250841) to 9.2-RC
(r254276) virtualbox crashes the machine. Seconds after starting VBOX
the screen freezes and then reboots (probably a trap, cannot see it, as
screen is in graphics mode). The kernel modules of vbox have been
recompiled.
Going back to 9.1 kernel and matching vbox modules works.
In both cases VBOX 4.2.16 is used.
cheers, Thomas
2003 Oct 01
0
[releng_4 tinderbox] failure on alpha/alpha
...RELENG_4/alpha/alpha/src/sys -I/vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys/../include -I/vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 /vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys/vm/vm_map.c
/vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys/vm/vm_map.c: In function `vm_init2':
/vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys/vm/vm_map.c:190: `maxfiles' undeclared (first use in this function)
/vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys/vm/vm_m...
2003 Oct 01
0
[releng_4 tinderbox] failure on i386/i386
...86/src/sys/../include -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/contrib/dev/acpica -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 /vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/vm/vm_map.c
/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/vm/vm_map.c: In function `vm_init2':
/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/vm/vm_map.c:190: `maxfiles' undeclared (first use in this function)
/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/vm/vm_map.c:1...
2004 May 26
0
FreeBSD Security Advisory FreeBSD-SA-04:11.msync
...s of each file that was
corrected in FreeBSD.
Branch Revision
Path
- -------------------------------------------------------------------------
RELENG_4
src/sys/ufs/ufs/ufs_readwrite.c 1.65.2.16
src/sys/vm/vm_map.c 1.187.2.30
RELENG_4_10
src/sys/ufs/ufs/ufs_readwrite.c 1.65.2.14.4.1
src/sys/vm/vm_map.c 1.187.2.24.2.4
RELENG_4_9
src/UPDATING 1.73.2.89.2.10...
2004 May 26
0
FreeBSD Security Advisory FreeBSD-SA-04:11.msync
...s of each file that was
corrected in FreeBSD.
Branch Revision
Path
- -------------------------------------------------------------------------
RELENG_4
src/sys/ufs/ufs/ufs_readwrite.c 1.65.2.16
src/sys/vm/vm_map.c 1.187.2.30
RELENG_4_10
src/sys/ufs/ufs/ufs_readwrite.c 1.65.2.14.4.1
src/sys/vm/vm_map.c 1.187.2.24.2.4
RELENG_4_9
src/UPDATING 1.73.2.89.2.10...
2003 Aug 12
2
panic with today's stable
...age.c:462
#7 0xc02600ac in vm_page_free_toq (m=0xc1331138) at
/usr/src/sys/vm/vm_page.c:1104
#8 0xc025de22 in vm_object_terminate (object=0xe8f04da8) at
/usr/src/sys/vm/vm_page.h:514
#9 0xc025dce0 in vm_object_deallocate (object=0xe8f04da8) at
/usr/src/sys/vm/vm_object.c:399
#10 0xc025af21 in vm_map_entry_delete (map=0xe8b3e040, entry=0xe8906c60) at
/usr/src/sys/vm/vm_map.c:2054
#11 0xc025b0d2 in vm_map_delete (map=0xe8b3e040, start=0, end=3217031168)
at /usr/src/sys/vm/vm_map.c:2174
#12 0xc025b161 in vm_map_remove (map=0xe8b3e040, start=0, end=3217031168)
at /usr/src/sys/vm/vm_map.c:2199
#...
2003 Sep 09
1
Make installworld failure
...T.
No problems with buildworld or kernel build, but I am getting failures
during installworld
Error and output from uname -a are below.
vm/pmap.h -> vm/pmap.ph
vm/swap_pager.h -> vm/swap_pager.ph
vm/vm.h -> vm/vm.ph
vm/vm_extern.h -> vm/vm_extern.ph
vm/vm_kern.h -> vm/vm_kern.ph
vm/vm_map.h -> vm/vm_map.ph
vm/vm_object.h -> vm/vm_object.ph
vm/vm_page.h -> vm/vm_page.ph
vm/vm_pageout.h -> vm/vm_pageout.ph
vm/vm_pager.h -> vm/vm_pager.ph
vm/vm_param.h -> vm/vm_param.ph
vm/vm_zone.h -> vm/vm_zone.ph
vm/vnode_pager.h -> vm/vnode_pager.ph
*** Error code 1
Stop in...
2015 Nov 11
2
[PATCH] instmem/gk20a: use DMA API CPU mapping
...ry_size(memory) >> 12;
- struct page *pages[npages];
- int i;
-
- /* phys_to_page does not exist on all platforms... */
- pages[0] = pfn_to_page(dma_to_phys(dev, node->handle) >> PAGE_SHIFT);
- for (i = 1; i < npages; i++)
- pages[i] = pages[0] + i;
-
- return vmap(pages, npages, VM_MAP, pgprot_writecombine(PAGE_KERNEL));
-}
-
-static void __iomem *
-gk20a_instobj_cpu_map_iommu(struct nvkm_memory *memory)
-{
- struct gk20a_instobj_iommu *node = gk20a_instobj_iommu(memory);
- int npages = nvkm_memory_size(memory) >> 12;
-
- return vmap(node->pages, npages, VM_MAP,
- p...
2015 Nov 11
0
[PATCH] instmem/gk20a: use DMA API CPU mapping
...ge *pages[npages];
> - int i;
> -
> - /* phys_to_page does not exist on all platforms... */
> - pages[0] = pfn_to_page(dma_to_phys(dev, node->handle) >> PAGE_SHIFT);
> - for (i = 1; i < npages; i++)
> - pages[i] = pages[0] + i;
> -
> - return vmap(pages, npages, VM_MAP, pgprot_writecombine(PAGE_KERNEL));
> -}
> -
> -static void __iomem *
> -gk20a_instobj_cpu_map_iommu(struct nvkm_memory *memory)
> -{
> - struct gk20a_instobj_iommu *node = gk20a_instobj_iommu(memory);
> - int npages = nvkm_memory_size(memory) >> 12;
> -
> - return...
2013 Sep 27
1
9.2-RC4 amd64 panic: vm_page_unwire
...nwire: page 0xfffffe0233510578's wire count is zero
cpuid = 3
KDB: stack backtrace:
#0 0xffffffff80490268 at kdb_backtrace+0x68
#1 0xffffffff8045630a at panic+0x21a
#2 0xffffffff8068bbc2 at vm_page_unwire+0x102
#3 0xffffffff80678702 at vm_fault_unwire+0xd2
#4 0xffffffff80680841 at vm_map_delete+0x171
#5 0xffffffff80680abf at vm_map_remove+0x5f
#6 0xffffffff80683ee9 at vmspace_exit+0xc9
#7 0xffffffff8041f3ad at exit1+0x72d
#8 0xffffffff804203ae at sys_sys_exit+0xe
#9 0xffffffff806afd6f at amd64_syscall+0x3bf
#10 0xffffffff8069a817 at Xfast_syscall+0xf7
Uptime: 2d0h35m3...
2013 Mar 19
1
Panic : bad pte
...fffff8048c619 in panic (fmt=0x1 <Address 0x1 out of bounds>)
at /usr/src/sys/kern/kern_shutdown.c:636
#4 0xffffffff8065f88a in pmap_remove_pages (pmap=0xfffffe0005a2fa60)
at /usr/src/sys/amd64/amd64/pmap.c:4156
#5 0xffffffff8063d26b in vmspace_exit (td=0xfffffe0005a05470) at
/usr/src/sys/vm/vm_map.c:422
#6 0xffffffff8045d725 in exit1 (td=0xfffffe0005a05470, rv=Variable
"rv" is not available.
) at /usr/src/sys/kern/kern_exit.c:315
#7 0xffffffff8045e5ce in sys_sys_exit (td=Variable "td" is not available.
) at /usr/src/sys/kern/kern_exit.c:122
#8 0xffffffff8066737f in amd...
2008 Jul 22
4
"sleeping without queue" ?
Hello!
My attempt to build openoffice.org-3 seems to be hanging. Pressing
Ctrl-T produces:
load: 0.11 cmd: tcsh 79759 [sleeping without queue] 0.00u 0.00s 0% 0k
(tcsh is used by OOo's build-script). What is this "sleeping without
queue" state, and why is process in it for so long?
This is an 4-CPU amd64 system with 4Gb of RAM. Only 16% of the swap is
currently in use and
2013 Jul 22
2
stopping amd causes a freeze
Occasionally stopping amd freezes my system. It's a rare occurrence,
and I haven't found a reliable way to reproduce it.
It's also a real freeze, so there's no way to get into the debugger
or grab a core dump. I only can perform the 4 seconds hard shutdown to
revive the system.
I run amd through sysutils/automounter, which is a scripting solution
that generates an amd.map file
2020 Sep 29
0
[PATCH v3 3/7] drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends
...f, map);
+ if (!ret) {
+ if (WARN_ON(map->is_iomem)) {
+ ret = -EIO;
+ goto err_put_pages;
+ }
+ shmem->vaddr = map->vaddr;
+ }
} else {
pgprot_t prot = PAGE_KERNEL;
@@ -284,6 +290,8 @@ static void *drm_gem_shmem_vmap_locked(struct drm_gem_shmem_object *shmem)
VM_MAP, prot);
if (!shmem->vaddr)
ret = -ENOMEM;
+ else
+ dma_buf_map_set_vaddr(map, shmem->vaddr);
}
if (ret) {
@@ -291,7 +299,7 @@ static void *drm_gem_shmem_vmap_locked(struct drm_gem_shmem_object *shmem)
goto err_put_pages;
}
- return shmem->vaddr;
+ return 0;
err_pu...
2020 Oct 15
1
[PATCH v4 06/10] drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends
...f, map);
+ if (!ret) {
+ if (WARN_ON(map->is_iomem)) {
+ ret = -EIO;
+ goto err_put_pages;
+ }
+ shmem->vaddr = map->vaddr;
+ }
} else {
pgprot_t prot = PAGE_KERNEL;
@@ -284,6 +290,8 @@ static void *drm_gem_shmem_vmap_locked(struct drm_gem_shmem_object *shmem)
VM_MAP, prot);
if (!shmem->vaddr)
ret = -ENOMEM;
+ else
+ dma_buf_map_set_vaddr(map, shmem->vaddr);
}
if (ret) {
@@ -291,7 +299,7 @@ static void *drm_gem_shmem_vmap_locked(struct drm_gem_shmem_object *shmem)
goto err_put_pages;
}
- return shmem->vaddr;
+ return 0;
err_pu...
2020 Oct 15
0
[PATCH v4 06/10] drm/gem: Use struct dma_buf_map in GEM vmap ops and convert GEM backends
...em)) {
> + ret = -EIO;
> + goto err_put_pages;
> + }
> + shmem->vaddr = map->vaddr;
> + }
> } else {
> pgprot_t prot = PAGE_KERNEL;
>
> @@ -284,6 +290,8 @@ static void *drm_gem_shmem_vmap_locked(struct drm_gem_shmem_object *shmem)
> VM_MAP, prot);
> if (!shmem->vaddr)
> ret = -ENOMEM;
> + else
> + dma_buf_map_set_vaddr(map, shmem->vaddr);
> }
>
> if (ret) {
> @@ -291,7 +299,7 @@ static void *drm_gem_shmem_vmap_locked(struct drm_gem_shmem_object *shmem)
> goto err_put_pages;
&g...
2018 Dec 13
11
[PATCH net-next 0/3] vhost: accelerate metadata access through vmap()
Hi:
This series tries to access virtqueue metadata through kernel virtual
address instead of copy_user() friends since they had too much
overheads like checks, spec barriers or even hardware feature
toggling.
Test shows about 24% improvement on TX PPS. It should benefit other
cases as well.
Please review
Jason Wang (3):
vhost: generalize adding used elem
vhost: fine grain userspace memory
2018 Dec 13
11
[PATCH net-next 0/3] vhost: accelerate metadata access through vmap()
Hi:
This series tries to access virtqueue metadata through kernel virtual
address instead of copy_user() friends since they had too much
overheads like checks, spec barriers or even hardware feature
toggling.
Test shows about 24% improvement on TX PPS. It should benefit other
cases as well.
Please review
Jason Wang (3):
vhost: generalize adding used elem
vhost: fine grain userspace memory