Re: [PATCH] Use flush tlb last level when change protection

2019-02-25 Thread kbuild test robot
Hi Xuefeng, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0-rc8 next-20190225] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] Use flush tlb last level when change protection

2019-02-25 Thread kbuild test robot
Hi Xuefeng, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0-rc8 next-20190225] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] Use flush tlb last level when change protection

2019-02-24 Thread Catalin Marinas
On Sat, Feb 23, 2019 at 02:47:27PM +0800, Xuefeng Wang wrote: > The protection attributes are only kept in last level tlb, so > protection changing only need invalidate last level tlb, exclude > the PWC entries. > > Signed-off-by: Xuefeng Wang > --- > mm/mprotect.c | 2 +- > 1 file changed, 1

[PATCH] Use flush tlb last level when change protection

2019-02-22 Thread Xuefeng Wang
The protection attributes are only kept in last level tlb, so protection changing only need invalidate last level tlb, exclude the PWC entries. Signed-off-by: Xuefeng Wang --- mm/mprotect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mprotect.c b/mm/mprotect.c index