Patch for incorrect return value checking when acquiring realtime

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

 



'Twas brillig, and Scott Reeves at 21/01/11 00:06 did gyre and gimble:
> It appears the return values for set_scheduler and set_nice are not
> correctly checked in the case where the initial request failed. This
> caused pa_make_realtime to incorrectly log that real time status was
> achieved (albeit one level lower than requested) when it actually was
> not. Painful as it covered up an incorrectly configured rtkit setup
> on a system.
> 
> The attached patch fixes the problem.

Good catch. Thanks Scott.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux