mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
Merge branch 'for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu
Pull percpu updates from Dennis Zhou: "Baoquan was nice enough to run some clean ups for percpu" * 'for-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu: mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS mm/percpu.c: remove the lcm code since block size is fixed at page size mm/percpu: replace the goto with break mm/percpu: add comment to state the empty populated pages accounting mm/percpu: Update the code comment when creating new chunk mm/percpu: use list_first_entry_or_null in pcpu_reclaim_populated() mm/percpu: remove unused pcpu_map_extend_chunks
This commit is contained in:
@@ -37,11 +37,10 @@
|
||||
/*
|
||||
* Percpu allocator can serve percpu allocations before slab is
|
||||
* initialized which allows slab to depend on the percpu allocator.
|
||||
* The following two parameters decide how much resource to
|
||||
* preallocate for this. Keep PERCPU_DYNAMIC_RESERVE equal to or
|
||||
* larger than PERCPU_DYNAMIC_EARLY_SIZE.
|
||||
* The following parameter decide how much resource to preallocate
|
||||
* for this. Keep PERCPU_DYNAMIC_RESERVE equal to or larger than
|
||||
* PERCPU_DYNAMIC_EARLY_SIZE.
|
||||
*/
|
||||
#define PERCPU_DYNAMIC_EARLY_SLOTS 128
|
||||
#define PERCPU_DYNAMIC_EARLY_SIZE (20 << 10)
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user