Re: [PATCH 1/3] Protectable memory support

2017-07-10 Thread kbuild test robot
Hi Igor, [auto build test WARNING on linus/master] [also build test WARNING on v4.12 next-20170710] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 1/3] Protectable memory support

2017-07-10 Thread kbuild test robot
Hi Igor, [auto build test WARNING on linus/master] [also build test WARNING on v4.12 next-20170710] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 1/3] Protectable memory support

2017-07-10 Thread Igor Stoppa
On 07/07/17 21:48, Jerome Glisse wrote: > I believe there is enough unuse field that for vmalloc pages that > you should find one you can use. Just add some documentation in > mm_types.h so people are aware of alternate use for the field you > are using. I ended up using page->private and the

Re: [PATCH 1/3] Protectable memory support

2017-07-10 Thread Igor Stoppa
On 07/07/17 21:48, Jerome Glisse wrote: > I believe there is enough unuse field that for vmalloc pages that > you should find one you can use. Just add some documentation in > mm_types.h so people are aware of alternate use for the field you > are using. I ended up using page->private and the

Re: [PATCH 1/3] Protectable memory support

2017-07-07 Thread Jerome Glisse
On Fri, Jul 07, 2017 at 11:42:09AM +0300, Igor Stoppa wrote: > On 06/07/17 19:27, Jerome Glisse wrote: > > On Wed, Jul 05, 2017 at 04:46:26PM +0300, Igor Stoppa wrote: [...] > > Yet another way is to use some of the free struct page fields ie > > when a page is allocated for vmalloc i think most

Re: [PATCH 1/3] Protectable memory support

2017-07-07 Thread Jerome Glisse
On Fri, Jul 07, 2017 at 11:42:09AM +0300, Igor Stoppa wrote: > On 06/07/17 19:27, Jerome Glisse wrote: > > On Wed, Jul 05, 2017 at 04:46:26PM +0300, Igor Stoppa wrote: [...] > > Yet another way is to use some of the free struct page fields ie > > when a page is allocated for vmalloc i think most

Re: [PATCH 1/3] Protectable memory support

2017-07-07 Thread Igor Stoppa
On 06/07/17 19:27, Jerome Glisse wrote: > On Wed, Jul 05, 2017 at 04:46:26PM +0300, Igor Stoppa wrote: [...] >> diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h >> index 6b5818d..acc0723 100644 >> --- a/include/linux/page-flags.h >> +++ b/include/linux/page-flags.h >> @@

Re: [PATCH 1/3] Protectable memory support

2017-07-07 Thread Igor Stoppa
On 06/07/17 19:27, Jerome Glisse wrote: > On Wed, Jul 05, 2017 at 04:46:26PM +0300, Igor Stoppa wrote: [...] >> diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h >> index 6b5818d..acc0723 100644 >> --- a/include/linux/page-flags.h >> +++ b/include/linux/page-flags.h >> @@

Re: [PATCH 1/3] Protectable memory support

2017-07-06 Thread Jerome Glisse
On Wed, Jul 05, 2017 at 04:46:26PM +0300, Igor Stoppa wrote: > The MMU available in many systems running Linux can often provide R/O > protection to the memory pages it handles. > > However, the MMU-based protection works efficiently only when said pages > contain exclusively data that will not

Re: [PATCH 1/3] Protectable memory support

2017-07-06 Thread Jerome Glisse
On Wed, Jul 05, 2017 at 04:46:26PM +0300, Igor Stoppa wrote: > The MMU available in many systems running Linux can often provide R/O > protection to the memory pages it handles. > > However, the MMU-based protection works efficiently only when said pages > contain exclusively data that will not

Re: [PATCH 1/3] Protectable memory support

2017-06-26 Thread kbuild test robot
Hi Igor, [auto build test WARNING on mmotm/master] [also build test WARNING on v4.12-rc7 next-20170626] [cannot apply to linus/master linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 1/3] Protectable memory support

2017-06-26 Thread kbuild test robot
Hi Igor, [auto build test WARNING on mmotm/master] [also build test WARNING on v4.12-rc7 next-20170626] [cannot apply to linus/master linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 1/3] Protectable memory support

2017-06-26 Thread kbuild test robot
Hi Igor, [auto build test WARNING on mmotm/master] [also build test WARNING on v4.12-rc7 next-20170626] [cannot apply to linus/master linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 1/3] Protectable memory support

2017-06-26 Thread kbuild test robot
Hi Igor, [auto build test WARNING on mmotm/master] [also build test WARNING on v4.12-rc7 next-20170626] [cannot apply to linus/master linux/master] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: