Files
Linux/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.

[[email protected]: rename init_id_cache() to idr_init_cache()]
[[email protected]: fix alpha build]
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-04-29 08:06:25 -07:00
..
2008-02-14 21:13:33 -08:00
2008-02-11 17:43:54 +01:00
…