Re: Real time application programming - sched_setattr() fails if I set CPU affinity using sched_setaffinity().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 20/11/17 22:03, bhargavb wrote:
> I have used that call/macro, CPU_SET, prior to calling
> sched_setaffinity(), I missed mentioning that in earlier post.. sorry
> for that.

Sorry if I wasn't clear, but I meant that you've got to use the cpuset
interface (not the CPU_SET macro), instead of calling setaffinity, to achieve
what you need. You can find an example here:
https://elixir.free-electrons.com/linux/latest/source/Documentation/scheduler/sched-deadline.txt#L627

Best,

Juri
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux