idea to enhance get_pid()

lenny lv (lennylv@hotmail.com)
Sat, 20 Apr 2002 09:15:15 +0000


Hi there,

I've got an idea to speed up linux/kernel/fork.c/get_pid(). Why not use
bitmap to alloc/free the pids? Is it because 4KB(32K/8) memory scanning is
slower than the current get_pid() version? Does anyone benchmark them?

Thanks,
Lenny

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/