Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-04 | In extent_destroy(), only remove the extent from the global extent list if | Miod Vallat | |
the list is really used, i.e. if option DIAGNOSTIC || option DDB. | |||
2006-03-16 | Turn EXTENT_ALIGN into an inline function; shaves about 50 to 100 bytes | Miod Vallat | |
on RISC arches, but m68k loses a few bytes; ok deraadt@ | |||
2006-02-23 | Remove unused extent_find(). Then, we can keep the extent list only if | Miod Vallat | |
option DIAGNOSTIC || option DDB, saves some room on installation media. | |||
2005-12-09 | ansi and deregister. No binary change. | Jonathan Gray | |
2005-07-08 | Remove unused extent_insert_and_optimize() parameter 'flags'. Spotted | Kenneth R Westerback | |
by lint. ok art@ miod@ | |||
2005-04-21 | Correctly handle allocations of size 1 at an extent boundary; from NetBSD. | Miod Vallat | |
2005-04-21 | Make the non-_KERNEL compilation usable again, in order to add a regress test. | Miod Vallat | |
2004-12-26 | Use list and queue macros where applicable to make the code easier to read; | Miod Vallat | |
no change in compiler assembly output. | |||
2002-12-08 | compile non-DIAGNOSTIC kernels | Theo de Raadt | |
2002-12-08 | - Use LIST_ macros. | Artur Grabowski | |
- Make sure that extent_register is not called more than once on an extent. | |||
2002-06-28 | Use %b and print the bitmask of the flags in the debugging message for the ↵ | Jason Wright | |
extent. | |||
2002-06-11 | splvm, not splimp. | Artur Grabowski | |
2002-03-21 | Two patches from NetBSD: | Jason Wright | |
- extent_alloc_subregion shouldn't allocate a region pasts the end of subregion. - extent_alloc_subregion1(): when a candidate region doesn't fit after being rounded up to respect boundary limits, adjust newstart and last before skiping to the next region. Otherwise we may check the same candidate region against the start of the next region, no the one immediatly following the hole, leading to corrupted map. | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-01-23 | Pool deals fairly well with physical memory shortage, but it doesn't deal | Artur Grabowski | |
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it. | |||
2001-08-06 | Use pool to allocate extent region descriptors. | Artur Grabowski | |
2001-07-26 | In extent_destroy, remove the extent from the list of | Artur Grabowski | |
all extents. | |||
2001-07-05 | Get rid of the wrapper macros around extent_alloc*1 | Artur Grabowski | |
Pass the right amount of arguments and rename them back to their right names. | |||
2001-06-22 | KNF | Theo de Raadt | |
2001-05-08 | correct 1 printf. | Federico G. Schwindt | |
2001-05-08 | In extent_alloc_subregion1, be sure that the region returned don't run | Federico G. Schwindt | |
past the end of the subregion; art@ok, deraadt@ok. | |||
2001-01-17 | do not call extent_print() unless DDB || DIAGNOSTIC | Theo de Raadt | |
2001-01-15 | update from netbsd: | Jason Wright | |
several fixes with regards to boundary cases and other fixes | |||
2000-09-20 | Off by one in a validity check | Niklas Hallqvist | |
2000-03-15 | prevent overflow in a diagnostic check; art@ ok | Michael Shalayeff | |
2000-02-15 | Add another argument to extent_alloc_subregion to allow specifing an offset | Artur Grabowski | |
to the alignment. rename the function to extent_alloc_subregion1 and add compatibility macros. From NetBSD. | |||
1999-02-17 | Always check that the start of our candidate region is within the | Federico G. Schwindt | |
bounds of "substart" and "subend". | |||
1999-01-11 | Adhere better to DIAGNOSTIC and DDB options | Niklas Hallqvist | |
1998-10-01 | Fix a serious bug in extent_alloc_subregion where the subregion start | Federico G. Schwindt | |
was ignored. This fix some problems in the pcmcia framework. | |||
1998-02-25 | Add command to print out extents. This helps in debugging PnP stuff, | Tobias Weingartner | |
and "it's just plain cool". | |||
1997-07-12 | Add some more extent stuff, in preperation of PnP. Huh? Did I | Tobias Weingartner | |
say PnP? Anyways, this stuff just adds the ability to register the extents on creation, etc, etc... Someone needs to add a DDB command "show extent", to make this really usefull... ;-) | |||
1996-12-09 | Import extent manager from NetBSD | Niklas Hallqvist | |
1996-08-07 | tiny extent manager by shawn | Theo de Raadt | |