From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexhoppus111@gmail.com (alexhoppus) Date: Tue, 9 Feb 2016 21:12:23 +0300 Subject: Why there is no GPU swap support in linux based systems? Message-ID: <56BA2C07.3080409@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org (The things below are mainly related to arm mali systems) Hi. Actually i want to know - why there is no GPU Swap support in Linux based systems? It seems that the GPU works with graphical contexts in the same fashion as CPU handle things. I mean there are page faults, GPU have its own MMU, the memory used by GPU devices allocated via trivial page_alloc mechanism. You would say that performance is a reason, but there are some swap backends like zram: they use in-memory compression instead of disk swapping. Moreover, i think there would be a GPU data which could be swapped without significant drawbacks, because it accessed very rare. Thank you.