Re: [PATCH] mm: add arch-independent testcases for RODATA

2017-01-20 Thread Mark Rutland
On Fri, Jan 20, 2017 at 03:49:46PM +0900, park jinbum wrote: > Where is the best place for common test file in general?? > > kernel/rodata_test.c > include/rodata_test.h => Is it fine?? I had assumed you would use mm/rodata_test.c, as you do in this patch (i.e. a *new* common file). That seems

Re: [PATCH] mm: add arch-independent testcases for RODATA

2017-01-19 Thread Mark Rutland
On Thu, Jan 19, 2017 at 11:51:14PM +0900, Jinbum Park wrote: > This patch adds arch-independent testcases for RODATA. > Both x86 and x86_64 already have testcases for RODATA, > But they are arch-specific because using inline assembly directly. > > and cacheflush.h is not suitable location for roda

[PATCH] mm: add arch-independent testcases for RODATA

2017-01-19 Thread Jinbum Park
This patch adds arch-independent testcases for RODATA. Both x86 and x86_64 already have testcases for RODATA, But they are arch-specific because using inline assembly directly. and cacheflush.h is not suitable location for rodata-test related things. Since they were in cacheflush.h, If someone cha