Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1351830
| From | Dave Hansen <dave.hansen@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI) |
| Date | 2016-03-07 18:40 +0100 |
| Message-ID | <ra7iq-5Vi-23@gated-at.bofh.it> (permalink) |
| References | <r8lIT-4R2-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 03/02/2016 12:39 PM, Khalid Aziz wrote:
> +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?
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI) Dave Hansen <dave.hansen@intel.com> - 2016-03-07 18:40 +0100 Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI) Khalid Aziz <khalid.aziz@oracle.com> - 2016-03-07 19:20 +0100 Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI) David Miller <davem@davemloft.net> - 2016-03-07 20:10 +0100
csiph-web