summaryrefslogtreecommitdiff
path: root/sys/kern/subr_extent.c
AgeCommit message (Expand)Author
2024-01-19Implement extent_alloc_region_with_descr(9) which is the equivalent ofMark Kettenis
2022-12-05zap a pile of dangling tabsTheo de Raadt
2020-01-11Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2019-09-11Make it possible to free overlapping regions (effectively allowingMark Kettenis
2019-08-28If the EX_CONFLICTOK flag is given, allow operations that (partly)Mark Kettenis
2018-11-14Revert previous, it breaks regress.Martin Pieuchot
2018-11-14Userland malloc(3) & free(3) take only one argument.Martin Pieuchot
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-11-03pass size argument to free()Theo de Raadt
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2014-08-17i broke the userland shim used for the extent regress test when iDavid Gwynne
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-01-21Add extent_alloc_subregion_with_descr(9) which allows the caller to provideMark Kettenis
2014-01-21bzero -> memsetTed Unangst
2013-08-08Uncomment kprintf format attributes for sys/kernSylvestre Gallon
2013-02-17Comment out recently added __attribute__((__format__(__kprintf__))) annotationsMiod Vallat
2013-02-09Add explicit __attribute__ ((__format__(__kprintf__)))) to the functions andMiod Vallat
2011-01-05use __func__ where possible. shaves 4k and makes indentation much better.Federico G. Schwindt
2010-07-03explicitly specify flags to malloc and pool_get instead of relying on 0.Ted Unangst
2010-06-20Add some missing includes, so we do not have implicit functionPeter Hessler
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-10-13Make sure we do not loop when allocating an extent region with EX_CONFLICTOKMiod Vallat
2009-09-18Make sure we handle all possible ways regions can overlap when EX_CONFLICTOKMark Kettenis
2009-06-09Fix userland regression tests by providing a #define for pool_setipl()Owain Ainsworth
2009-06-04don't use splvm ourselves, use pool_setipl on the pool we're allocatingOwain Ainsworth
2009-04-19Add a new EX_FILLED flag to make extent_create() create an extent map thatMark Kettenis
2009-04-10Add EX_CONFLICTOK flag that allows an allocation to conflict with existingMark Kettenis
2009-04-04Make extent_print() use printf to avoid the pagination that db_printfMark Kettenis
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2006-06-04In extent_destroy(), only remove the extent from the global extent list ifMiod Vallat
2006-03-16Turn EXTENT_ALIGN into an inline function; shaves about 50 to 100 bytesMiod Vallat
2006-02-23Remove unused extent_find(). Then, we can keep the extent list only ifMiod Vallat
2005-12-09ansi and deregister. No binary change.Jonathan Gray
2005-07-08Remove unused extent_insert_and_optimize() parameter 'flags'. SpottedKenneth R Westerback
2005-04-21Correctly handle allocations of size 1 at an extent boundary; from NetBSD.Miod Vallat
2005-04-21Make the non-_KERNEL compilation usable again, in order to add a regress test.Miod Vallat
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2002-12-08compile non-DIAGNOSTIC kernelsTheo de Raadt
2002-12-08 - Use LIST_ macros.Artur Grabowski
2002-06-28Use %b and print the bitmask of the flags in the debugging message for the ex...Jason Wright
2002-06-11splvm, not splimp.Artur Grabowski
2002-03-21Two patches from NetBSD:Jason Wright
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
2001-08-06Use pool to allocate extent region descriptors.Artur Grabowski
2001-07-26In extent_destroy, remove the extent from the list ofArtur Grabowski
2001-07-05Get rid of the wrapper macros around extent_alloc*1Artur Grabowski