1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/vm
Brian Feldman 076dab2983 When the SYSINIT() was removed, it was replaced with a make_dev on-demand
creation of /dev/drum via calling swapon. However, the make_dev has a
bogus (insofar that it hasn't been added yet) cdevsw, so later we end
up crashing with a null pointer dereference on the swap vp's specinfo.
The specinfo points to a dev_t with a major of 254 (uninitialized), and
we get a crash on its d_strategy being called.

The simple solution to this is to call cdevsw_add before the make_dev
is ever used. This fixes the panic which occurred upon swapping.
1999-08-24 05:58:35 +00:00
..
default_pager.c
default_pager.h
device_pager.c Casting handles from void * to uintptr_t on the way to dev_t became 1999-05-13 12:55:37 +00:00
pmap.h Fix the following problem: 1999-07-21 18:02:27 +00:00
swap_pager.c Use devtoname to print dev_t's instead of casting them to u_long for 1999-08-23 23:55:03 +00:00
swap_pager.h
vm_extern.h Add a function kmem_alloc_nofault() - same as kmem_alloc_pageable(), but 1999-06-08 17:03:28 +00:00
vm_fault.c Move the memory access behavior information provided by madvise 1999-08-01 06:05:09 +00:00
vm_glue.c Update for run queue code. 1999-08-19 00:15:27 +00:00
vm_inherit.h
vm_init.c
vm_kern.c Remove the declarations for "vm_map_t io_map". It's been unused 1999-08-15 23:55:46 +00:00
vm_kern.h Remove the declarations for "vm_map_t io_map". It's been unused 1999-08-15 23:55:46 +00:00
vm_map.c vm_map_madvise: 1999-08-13 17:45:34 +00:00
vm_map.h Correct the inconsistent formatting in struct vm_map. 1999-08-23 18:16:05 +00:00
vm_meter.c Add sysctl descriptions to many SYSCTL_XXXs 1999-05-03 23:57:32 +00:00
vm_mmap.c Decommision miscfs/specfs/specdev.h. Most of it goes into <sys/conf.h>, 1999-08-08 18:43:05 +00:00
vm_object.c Remove the declarations for "vm_map_t io_map". It's been unused 1999-08-15 23:55:46 +00:00
vm_object.h Move the memory access behavior information provided by madvise 1999-08-01 06:05:09 +00:00
vm_page.c vm_page_alloc and contigmalloc1: 1999-08-20 06:32:00 +00:00
vm_page.h Unbreak the nfs KLD_MODULE. It needs a bit more of vm_page.h than was 1999-08-17 22:48:10 +00:00
vm_pageout.c Remove two unused variable declarations. 1999-08-22 00:01:46 +00:00
vm_pageout.h
vm_pager.c Reformat previous fix to remove an uglier than average goto. 1999-07-05 12:50:54 +00:00
vm_pager.h The VFS/BIO subsystem contained a number of hacks in order to optimize 1999-05-02 23:57:16 +00:00
vm_param.h Remove (1) "extern" declarations for variables that were previously 1999-06-22 07:18:20 +00:00
vm_prot.h
vm_swap.c When the SYSINIT() was removed, it was replaced with a make_dev on-demand 1999-08-24 05:58:35 +00:00
vm_unix.c
vm_zone.c
vm_zone.h
vm.h
vnode_pager.c Add the (inline) function vm_page_undirty for clearing the dirty bitmask 1999-08-17 04:02:34 +00:00
vnode_pager.h