History log of /openbsd-src/sys/kern/subr_extent.c (Results 26 – 50 of 65)
Revision Date Author Comments
# 1f564073 18-Sep-2009 kettenis <kettenis@openbsd.org>

Make sure we handle all possible ways regions can overlap when EX_CONFLICTOK
is specified.

ok miod@


# f5a4b9cf 09-Jun-2009 oga <oga@openbsd.org>

Fix userland regression tests by providing a #define for pool_setipl()
(just a noop since that doesn't matter in userland).

Pointed out by a couple of people, thanks.


# 6c96ef40 04-Jun-2009 oga <oga@openbsd.org>

don't use splvm ourselves, use pool_setipl on the pool we're allocating
from and it will do it for us.

ok miod@


# 94bb0667 19-Apr-2009 kettenis <kettenis@openbsd.org>

Add a new EX_FILLED flag to make extent_create() create an extent map that
has all space allocated such that we can make holes in it using extent_free().

ok miod@


# 8fe70e86 10-Apr-2009 kettenis <kettenis@openbsd.org>

Add EX_CONFLICTOK flag that allows an allocation to conflict with existing
allocations, making sure that the union of all space is allocated.

ok deraadt@


# c159f5bc 04-Apr-2009 kettenis <kettenis@openbsd.org>

Make extent_print() use printf to avoid the pagination that db_printf
provides, while keeping this behaviour for extent_print_all() which is
only called by ddb. Based on a diff from deraadt@.


# d874cce4 26-Jun-2008 ray <ray@openbsd.org>

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code t

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

show more ...


# 10db7fa0 04-Jun-2006 miod <miod@openbsd.org>

In extent_destroy(), only remove the extent from the global extent list if
the list is really used, i.e. if option DIAGNOSTIC || option DDB.


# 551cd396 16-Mar-2006 miod <miod@openbsd.org>

Turn EXTENT_ALIGN into an inline function; shaves about 50 to 100 bytes
on RISC arches, but m68k loses a few bytes; ok deraadt@


# b15865f7 23-Feb-2006 miod <miod@openbsd.org>

Remove unused extent_find(). Then, we can keep the extent list only if
option DIAGNOSTIC || option DDB, saves some room on installation media.


# bf083c78 09-Dec-2005 jsg <jsg@openbsd.org>

ansi and deregister. No binary change.


# 6ae7cf23 08-Jul-2005 krw <krw@openbsd.org>

Remove unused extent_insert_and_optimize() parameter 'flags'. Spotted
by lint.

ok art@ miod@


# 54747caf 21-Apr-2005 miod <miod@openbsd.org>

Correctly handle allocations of size 1 at an extent boundary; from NetBSD.


# dbd6a145 21-Apr-2005 miod <miod@openbsd.org>

Make the non-_KERNEL compilation usable again, in order to add a regress test.


# 9d08f8e5 26-Dec-2004 miod <miod@openbsd.org>

Use list and queue macros where applicable to make the code easier to read;
no change in compiler assembly output.


# b814049f 08-Dec-2002 deraadt <deraadt@openbsd.org>

compile non-DIAGNOSTIC kernels


# 2a86633e 08-Dec-2002 art <art@openbsd.org>

- Use LIST_ macros.
- Make sure that extent_register is not called more than once on an extent.


# 64b13f23 28-Jun-2002 jason <jason@openbsd.org>

Use %b and print the bitmask of the flags in the debugging message for the extent.


# 16a54b9c 11-Jun-2002 art <art@openbsd.org>

splvm, not splimp.


# ab5c2356 21-Mar-2002 jason <jason@openbsd.org>

Two patches from NetBSD:
- 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 re

Two patches from NetBSD:
- 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.

show more ...


# c4071fd1 14-Mar-2002 millert <millert@openbsd.org>

First round of __P removal in sys


# c5790e3d 23-Jan-2002 art <art@openbsd.org>

Pool deals fairly well with physical memory shortage, but it doesn't deal
well (not at all) with shortages of the vm_map where the pages are mapped
(usually kmem_map).

Try to deal with it:
- group

Pool deals fairly well with physical memory shortage, but it doesn't deal
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.

show more ...


# b078b2ab 06-Aug-2001 art <art@openbsd.org>

Use pool to allocate extent region descriptors.


# ae1f2cca 26-Jul-2001 art <art@openbsd.org>

In extent_destroy, remove the extent from the list of
all extents.


# 98f5fe29 05-Jul-2001 art <art@openbsd.org>

Get rid of the wrapper macros around extent_alloc*1
Pass the right amount of arguments and rename them back to their right names.


123