Displaying 1 result from an estimated 1 matches for "my_ii_cach".
Did you mean:
my_ii_cache
2004 Oct 07
1
kmem_cache_destroy: Can't free all objects
...de functions alloc_inode() &
destroy_inode().
The problem causes when destroying slab cache at removing my module (rmmod).
kmem_cache_destroy: Can't free all objects
What I do:
- install my module (insmod)
- Mount filesystem
- list the mountpoint with ls -i
- cat /proc/slabinfo shows:
my_ii_cache 1 7 512 1 1 1
- I make umnount
- cat /proc/slabinfo shows:
my_ii_cache 4 14 512 1 2 1
Where did 4 came from?
I believe it should be 0.
- Then I remove module (rmmod):
when callong function kmem_cache_destroy() I receive an error:...