History log of /src/sys/external/bsd/common/include/linux/slab.h |
Revision | | Date | Author | Comments |
1.13 |
| 22-Dec-2021 |
thorpej | Reduce code duplication: kmem_cache_create() is now exactly the same as kmem_cache_create_dtor() except for the dtor argument, so implement the former in terms of the latter.
|
1.12 |
| 22-Dec-2021 |
thorpej | Do the last change differently:
Instead of having a pre-destruct hook, put knowledge of passive serialization into the pool allocator directly, enabled by PR_PSERIALIZE when the pool / pool_cache is initialized. This will guarantee that a passive serialization barrier will be performed before the object's destructor is called, or before the page containing the object is freed back to the system (in the case of no destructor). Note that the internal allocator overhead is different when PR_PSERIALIZE is used (it implies PR_NOTOUCH, because the objects must remain in a valid state).
In the DRM Linux API shim, this allows us to remove the custom page allocator for SLAB_TYPESAFE_BY_RCU.
|
1.11 |
| 21-Dec-2021 |
thorpej | - For kmem_cache_create_dtor(), use a pre-destructor to issue the synchronize_rcu() if the caller uses SLAB_TYPESAFE_BY_RCU. A special pool allocator is not required in this case. - Now that SLAB_TYPESAFE_BY_RCU does the right thing, no need to call synchronize_rcu() in __i915_request_dtor().
|
1.10 |
| 19-Dec-2021 |
riastradh | linux: Side-load linux/overflow.h in linux/slab.h.
|
1.9 |
| 19-Dec-2021 |
riastradh | linux: Allow GFP_NOWAIT too.
|
1.8 |
| 19-Dec-2021 |
riastradh | linux: Use kmem directly for Linux kmalloc.
Take advantage of this to do LOCKDEBUG_MEM_CHECK at the point of kfree_rcu rather than in the RCU GC thread.
|
1.7 |
| 19-Dec-2021 |
riastradh | i915: Defer destroying request lock and fence until page destruction.
|
1.6 |
| 19-Dec-2021 |
riastradh | kmem_cache is used at IPL_VM
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
1.5 |
| 19-Dec-2021 |
riastradh | Fix inverted notion of whether to wait for allocation
Author: Maya Rashish <maya@NetBSD.org> Committer: Taylor R Campbell <riastradh@NetBSD.org>
|
1.4 |
| 19-Dec-2021 |
riastradh | Define kinda bogus ARCH_KMALLOC_MINALIGN that's probably enough.
|
1.3 |
| 19-Dec-2021 |
riastradh | KMEM_CACHE, SLAB_TYPESAFE_BY_RCU
|
1.2 |
| 19-Dec-2021 |
riastradh | Define kmem_cache_shrink = pool_cache_reclaim.
|
1.1 |
| 27-Aug-2018 |
riastradh | branches: 1.1.2; 1.1.6; gfp.h and slab.h are now used in kernel.h, so move to common.
|
1.1.6.2 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.1.6.1 |
| 27-Aug-2018 |
christos | file slab.h was added on branch phil-wifi on 2019-06-10 22:07:44 +0000
|
1.1.2.2 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.1.2.1 |
| 27-Aug-2018 |
pgoyette | file slab.h was added on branch pgoyette-compat on 2018-09-06 06:56:08 +0000
|