idea to enhance get_pid()

From: lenny lv (lennylv@hotmail.com)
Date: Sat Apr 20 2002 - 04:15:15 EST


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/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:25 EST