In a Debian OpenVZ container, I'm trying to use taskset to pin a process to a core, but it doesn't work:
root@foo:/# taskset -c -p 0 1754
pid 1754's current affinity list: 0-7
pid 1754's new affinity list: 0-7
The exact same thing works on the host.