diff options
| author | Kirill A. Shutemov <[email protected]> | 2015-06-25 22:02:19 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-06-26 00:00:40 +0000 |
| commit | 9d2a8da006fcbf2dea663c095f0a0088dfbbec15 (patch) | |
| tree | 822753e767183c408f675b3f274a0c6601102727 /lib/string.c | |
| parent | bitmap: remove explicit newline handling using scnprintf format string (diff) | |
| download | kernel-9d2a8da006fcbf2dea663c095f0a0088dfbbec15.tar.gz kernel-9d2a8da006fcbf2dea663c095f0a0088dfbbec15.zip | |
radix-tree: replace preallocated node array with linked list
Currently we use per-cpu array to hold pointers to preallocated nodes.
Let's replace it with linked list. On x86_64 it saves 256 bytes in
per-cpu ELF section which may translate into freeing up 2MB of memory for
NR_CPUS==8192.
[[email protected]: fix comment, coding style]
Signed-off-by: Kirill A. Shutemov <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
