Speed-up pack1 (only for Linux, no protection defines in code):
1) Get frequencies from procfs, don't find out them using TSC.
2) Get frequencies only once at extension initialization.
3) Add protection against empty frequencies array.
4) Do prealloc of free entries.
5) Remove unnecessary setting CPU affinity.