RfC: hpux-like sysconf variables in glibc, cpu affinity
While helping to port the hpux PI performance monitoring stuff to Linux, I came across several sysconf calls that appear to be supported by hpux but not under Linux. Would like to get your opinions on how best to support these:
variable: sample output
===================================================================_SC_CPU_VERSION CPU_PA_RISC2_0_SC_CPU_CHIP_TYPE bitfield describing cpu type and rev_SC_PSET_SUPPORT 1/0, see more below
there's also a call to confstr(_CS_MACHINE_MODEL) which is also not supported by glibc.