Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Neil Brown <neilb@xxxxxxx>
- Date: Tue, 24 Apr 2007 10:50:25 +1000
On Monday April 23, clameter@xxxxxxx wrote:
On Tue, 24 Apr 2007, Neil Brown wrote:
On Monday April 23, clameter@xxxxxxx wrote:
Would this work? Contains a solution somewhat along the lines of your
thoughts on the subject.
Concept seems sound.
Code needs a kfree of the name returned by create_unique_id, and I
think ID_STR_LENGTH needs to be at least 34.
Sysfs copies the string?
kobject_set_name copies the string, either into a small char array in
the kobject, or into kmalloced space.
kobject_set_name actually takes a format and arbitrary args and uses
vsnprintf, so it has to make it's own copy.
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Christoph Lameter
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- References:
- SLUB: kmem_cache_destroy doesn't - version 2.
- From: Neil Brown
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Christoph Lameter
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Neil Brown
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Christoph Lameter
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Neil Brown
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Christoph Lameter
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Neil Brown
- Re: SLUB: kmem_cache_destroy doesn't - version 2.
- From: Christoph Lameter
- SLUB: kmem_cache_destroy doesn't - version 2.
- Prev by Date: Re: SLUB: kmem_cache_destroy doesn't - version 2.
- Next by Date: Re: Update the list information for kexec and kdump
- Previous by thread: Re: SLUB: kmem_cache_destroy doesn't - version 2.
- Next by thread: Re: SLUB: kmem_cache_destroy doesn't - version 2.
- Index(es):
Relevant Pages
|
Loading