android_kernel_xiaomi_sm8350/init
Akinobu Mita 199f0ca514 idr: create idr_layer_cache at boot time
Avoid a possible kmem_cache_create() failure by creating idr_layer_cache
unconditionary at boot time rather than creating it on-demand when idr_init()
is called the first time.

This change also enables us to eliminate the check every time idr_init() is
called.

[akpm@linux-foundation.org: rename init_id_cache() to idr_init_cache()]
[akpm@linux-foundation.org: fix alpha build]
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-29 08:06:25 -07:00
..
calibrate.c calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
do_mounts_initrd.c
do_mounts_md.c init: fix integer as NULL pointer warnings 2008-04-28 17:29:18 -07:00
do_mounts_rd.c init: fix integer as NULL pointer warnings 2008-04-28 17:29:18 -07:00
do_mounts.c Use struct path in fs_struct 2008-02-14 21:13:33 -08:00
do_mounts.h
initramfs.c directly use kmalloc() and kfree() in init/initramfs.c 2008-04-29 08:06:06 -07:00
Kconfig sysctl: allow embedded targets to disable sysctl_check.c 2008-04-29 08:06:22 -07:00
main.c idr: create idr_layer_cache at boot time 2008-04-29 08:06:25 -07:00
Makefile kbuild: fix make V=1 2008-02-11 17:43:54 +01:00
noinitramfs.c
version.c