Re: [alsa-devel] [RFC PATCH 00/13] Introduce first class virtual address spaces
On Wed, 15 Mar 2017, Till Smejkal wrote:
On Wed, 15 Mar 2017, Andy Lutomirski wrote:
VAS segments on the other side would provide a functionality to achieve the same without the need of any mounted filesystem. However, I agree, that this is just a small advantage compared to what can already be achieved with the existing functionality provided by the Linux kernel.
I see this "small advantage" as "resource leak and security problem".
I don't agree here. VAS segments are basically in-memory files that are handled by the kernel directly without using a file system. Hence, if an
Why do we need yet another mechanism to represent something which looks like a file instead of simply using existing mechanisms and extend them?
Thanks,
tglx
On Thu, 16 Mar 2017, Thomas Gleixner wrote:
Why do we need yet another mechanism to represent something which looks like a file instead of simply using existing mechanisms and extend them?
You are right. I also recognized during the discussion with Andy, Chris, Matthew, Luck, Rich and the others that there are already other techniques in the Linux kernel that can achieve the same functionality when combined. As I said also to the others, I will drop the VAS segments for future versions. The first class virtual address space feature was the more interesting part of the patchset anyways.
Thanks Till
On Thu, 16 Mar 2017, Till Smejkal wrote:
On Thu, 16 Mar 2017, Thomas Gleixner wrote:
Why do we need yet another mechanism to represent something which looks like a file instead of simply using existing mechanisms and extend them?
You are right. I also recognized during the discussion with Andy, Chris, Matthew, Luck, Rich and the others that there are already other techniques in the Linux kernel that can achieve the same functionality when combined. As I said also to the others, I will drop the VAS segments for future versions. The first class virtual address space feature was the more interesting part of the patchset anyways.
While you are at it, could you please drop this 'first class' marketing as well? It has zero technical value, really.
Thanks,
tglx
On Thu, 16 Mar 2017, Thomas Gleixner wrote:
On Thu, 16 Mar 2017, Till Smejkal wrote:
On Thu, 16 Mar 2017, Thomas Gleixner wrote:
Why do we need yet another mechanism to represent something which looks like a file instead of simply using existing mechanisms and extend them?
You are right. I also recognized during the discussion with Andy, Chris, Matthew, Luck, Rich and the others that there are already other techniques in the Linux kernel that can achieve the same functionality when combined. As I said also to the others, I will drop the VAS segments for future versions. The first class virtual address space feature was the more interesting part of the patchset anyways.
While you are at it, could you please drop this 'first class' marketing as well? It has zero technical value, really.
Yes of course. I am sorry for the trouble that I caused already.
Thanks Till
participants (2)
-
Thomas Gleixner
-
Till Smejkal