Re: [PATCH v4 3/9] slab: sheaf prefilling for guaranteed allocations

2025-05-15 Thread Vlastimil Babka
On 5/7/25 11:15, Harry Yoo wrote: > On Fri, Apr 25, 2025 at 10:27:23AM +0200, Vlastimil Babka wrote: >> Add functions for efficient guaranteed allocations e.g. in a critical >> section that cannot sleep, when the exact number of allocations is not >> known beforehand, but an upper limit can be calc

Re: [PATCH v4 3/9] slab: sheaf prefilling for guaranteed allocations

2025-05-07 Thread Harry Yoo
On Wed, May 07, 2025 at 06:15:34PM +0900, Harry Yoo wrote: > On Fri, Apr 25, 2025 at 10:27:23AM +0200, Vlastimil Babka wrote: > > Add functions for efficient guaranteed allocations e.g. in a critical > > section that cannot sleep, when the exact number of allocations is not > > known beforehand, bu

Re: [PATCH v4 3/9] slab: sheaf prefilling for guaranteed allocations

2025-05-07 Thread Harry Yoo
On Fri, Apr 25, 2025 at 10:27:23AM +0200, Vlastimil Babka wrote: > Add functions for efficient guaranteed allocations e.g. in a critical > section that cannot sleep, when the exact number of allocations is not > known beforehand, but an upper limit can be calculated. > > kmem_cache_prefill_sheaf()

Re: [PATCH v4 3/9] slab: sheaf prefilling for guaranteed allocations

2025-05-06 Thread Suren Baghdasaryan
On Fri, Apr 25, 2025 at 1:28 AM Vlastimil Babka wrote: > > Add functions for efficient guaranteed allocations e.g. in a critical > section that cannot sleep, when the exact number of allocations is not > known beforehand, but an upper limit can be calculated. > > kmem_cache_prefill_sheaf() returns

[PATCH v4 3/9] slab: sheaf prefilling for guaranteed allocations

2025-04-25 Thread Vlastimil Babka
Add functions for efficient guaranteed allocations e.g. in a critical section that cannot sleep, when the exact number of allocations is not known beforehand, but an upper limit can be calculated. kmem_cache_prefill_sheaf() returns a sheaf containing at least given number of objects. kmem_cache_a