[PATCH] drm/amdgpu: add flag for high priority contexts

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

 



Andres,

I have on rather generic design question:

Why we want to restrict it to CAP_SYS_ADMIN?

+       if (priority == AMD_SCHED_PRIORITY_HIGH && !capable(CAP_SYS_ADMIN))
+               return -EACCES;

Should we make it generic? My understanding is that If we follow "nice" semantic
then it will not require such privilege. 

Sincerely yours,
Serguei Sagalovitch

    


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

  Powered by Linux