TOMOYO: Remove memory pool for string data.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Mon, 4 Jan 2010 21:39:00 +0000 (06:39 +0900)
committerJames Morris <jmorris@namei.org>
Sun, 10 Jan 2010 22:27:38 +0000 (09:27 +1100)
Currently, TOMOYO allocates memory for string data from memory pool allocated
by kmalloc(PAGE_SIZE). But that makes it difficult to kfree() when garbage
collector is added. Thus, remove memory pool and use kmalloc(strlen()).

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found