Re: [RFC/PATCH RESEND -next 10/21] mm: slab: share virt_to_cache() between slab and slub

2014-07-15 Thread Andrey Ryabinin
On 07/15/14 09:53, Joonsoo Kim wrote: > On Wed, Jul 09, 2014 at 03:30:04PM +0400, Andrey Ryabinin wrote: >> This patch shares virt_to_cache() between slab and slub and >> it used in cache_from_obj() now. >> Later virt_to_cache() will be kernel address sanitizer also. > > I think that this patch

Re: [RFC/PATCH RESEND -next 10/21] mm: slab: share virt_to_cache() between slab and slub

2014-07-15 Thread Andrey Ryabinin
On 07/15/14 09:53, Joonsoo Kim wrote: On Wed, Jul 09, 2014 at 03:30:04PM +0400, Andrey Ryabinin wrote: This patch shares virt_to_cache() between slab and slub and it used in cache_from_obj() now. Later virt_to_cache() will be kernel address sanitizer also. I think that this patch won't be

Re: [RFC/PATCH RESEND -next 10/21] mm: slab: share virt_to_cache() between slab and slub

2014-07-14 Thread Joonsoo Kim
On Wed, Jul 09, 2014 at 03:30:04PM +0400, Andrey Ryabinin wrote: > This patch shares virt_to_cache() between slab and slub and > it used in cache_from_obj() now. > Later virt_to_cache() will be kernel address sanitizer also. I think that this patch won't be needed. See comment in 15/21. Thanks.

Re: [RFC/PATCH RESEND -next 10/21] mm: slab: share virt_to_cache() between slab and slub

2014-07-14 Thread Joonsoo Kim
On Wed, Jul 09, 2014 at 03:30:04PM +0400, Andrey Ryabinin wrote: This patch shares virt_to_cache() between slab and slub and it used in cache_from_obj() now. Later virt_to_cache() will be kernel address sanitizer also. I think that this patch won't be needed. See comment in 15/21. Thanks. --

[RFC/PATCH RESEND -next 10/21] mm: slab: share virt_to_cache() between slab and slub

2014-07-09 Thread Andrey Ryabinin
This patch shares virt_to_cache() between slab and slub and it used in cache_from_obj() now. Later virt_to_cache() will be kernel address sanitizer also. Signed-off-by: Andrey Ryabinin --- mm/slab.c | 6 -- mm/slab.h | 10 +++--- 2 files changed, 7 insertions(+), 9 deletions(-) diff

[RFC/PATCH RESEND -next 10/21] mm: slab: share virt_to_cache() between slab and slub

2014-07-09 Thread Andrey Ryabinin
This patch shares virt_to_cache() between slab and slub and it used in cache_from_obj() now. Later virt_to_cache() will be kernel address sanitizer also. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com --- mm/slab.c | 6 -- mm/slab.h | 10 +++--- 2 files changed, 7 insertions(+),