drm: Update file owner during use
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
linux (Ubuntu) | Status tracked in Noble | |||||
Jammy |
Invalid
|
Undecided
|
Unassigned | |||
Mantic |
Fix Released
|
Undecided
|
AceLan Kao | |||
Noble |
Fix Released
|
Undecided
|
AceLan Kao | |||
linux-oem-6.5 (Ubuntu) | Status tracked in Noble | |||||
Jammy |
Fix Released
|
Undecided
|
AceLan Kao | |||
Mantic |
Invalid
|
Undecided
|
Unassigned | |||
Noble |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Our testing tools need to check the app runs on which GPU, and now it only shows the processes as Xorg or XWayland
$ cat /sys/kernel/
[Fix]
The commit from v6.7-rc1 fixes the issue
$ cat /sys/kernel/
[Test case]
1. check processes by 'cat /sys/kernel/
2. runs glxgears(specify the GPU if needed)
3. check the precesses again and there should be a 'glxgears' process
[Where problems could occur]
This commit added some protections on read/write and only changes the process' pid, the worst case is that the process got the wrong pid as its owner.
Changed in linux (Ubuntu Jammy): | |
status: | New → Invalid |
Changed in linux (Ubuntu Mantic): | |
status: | New → Incomplete |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Noble): | |
status: | New → In Progress |
Changed in linux-oem-6.5 (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux-oem-6.5 (Ubuntu Mantic): | |
status: | New → Invalid |
Changed in linux-oem-6.5 (Ubuntu Noble): | |
status: | New → Invalid |
Changed in linux (Ubuntu Mantic): | |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux (Ubuntu Noble): | |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux-oem-6.5 (Ubuntu Jammy): | |
assignee: | nobody → AceLan Kao (acelankao) |
Changed in linux-oem-6.5 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Mantic): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-jammy-linux-oem-6.5 verification-done-mantic-linux removed: verification-needed-jammy-linux-oem-6.5 verification-needed-mantic-linux |
SRU for oem-6.5 - https:/ /kernel. ubuntu. com/gitea/ kernel/ jammy-linux- oem/pulls/ 122 /lists. ubuntu. com/archives/ kernel- team/2023- December/ 147674. html
SRU for Mantic/Noble - https:/