Re: [PATCH] gnumach: kern: kalloc optimization for constant size requests

2011-03-29 Thread Maksym Planeta
I'm very sorry, this patch doesn't work. I've sent it by mistake. I'll resend it later. -- Thanks, Maksym Planeta

[PATCH] gnumach: kern: kalloc optimization for constant size requests

2011-03-29 Thread Maksym Planeta
If request's object size is know at compile time than zone where it will be placed can be determined at this time. There was added a wrapper which determines, whether size is constant or variable. It works similarly to linux's kmalloc in linux/slab_def.h To some of variables which don't change th