Thread (62 messages) 62 messages, 8 authors, 2016-03-08

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

From: David Miller <davem@davemloft.net>
Date: 2016-03-07 19:07:03
Also in: linux-arch, linux-mm, lkml, sparclinux

From: Dave Hansen <redacted>
Date: Mon, 7 Mar 2016 09:35:57 -0800
On 03/02/2016 12:39 PM, Khalid Aziz wrote:
quoted
+long enable_sparc_adi(unsigned long addr, unsigned long len)
+{
+	unsigned long end, pagemask;
+	int error;
+	struct vm_area_struct *vma, *vma2;
+	struct mm_struct *mm;
+
+	if (!ADI_CAPABLE())
+		return -EINVAL;
...

This whole thing with the VMA splitting and so forth looks pretty darn
arch-independent.  Are you sure you need that much arch-specific code
for it, or can you share more of the generic VMA management code?
This is exactly what I have suggested to him, and he has agreed to pursue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help