2015-01-31 2:16 GMT+03:00 Andrew Morton :
> On Sat, 31 Jan 2015 03:11:55 +0400 Andrey Ryabinin
> wrote:
>
>> >> > kasan_disable_local/kasan_enable_local are also undocumented doesn't
>> >> > help.
>> >> >
>> >>
>> >> Ok, How about this?
>> >>
>> >> /*
>> >> * This hooks separate payload access f
On Sat, 31 Jan 2015 03:11:55 +0400 Andrey Ryabinin
wrote:
> >> > kasan_disable_local/kasan_enable_local are also undocumented doesn't
> >> > help.
> >> >
> >>
> >> Ok, How about this?
> >>
> >> /*
> >> * This hooks separate payload access from metadata access.
> >> * Useful for memory checkers
2015-01-31 0:42 GMT+03:00 Andrew Morton :
> On Fri, 30 Jan 2015 20:05:13 +0300 Andrey Ryabinin
> wrote:
>
>> >> --- a/mm/slub.c
>> >> +++ b/mm/slub.c
>> >> @@ -467,13 +467,23 @@ static int slub_debug;
>> >> static char *slub_debug_slabs;
>> >> static int disable_higher_order_debug;
>> >>
>> >>
On Fri, 30 Jan 2015 20:05:13 +0300 Andrey Ryabinin
wrote:
> >> --- a/mm/slub.c
> >> +++ b/mm/slub.c
> >> @@ -467,13 +467,23 @@ static int slub_debug;
> >> static char *slub_debug_slabs;
> >> static int disable_higher_order_debug;
> >>
> >> +static inline void metadata_access_enable(void)
> >
On 01/30/2015 02:12 AM, Andrew Morton wrote:
> On Thu, 29 Jan 2015 18:11:50 +0300 Andrey Ryabinin
> wrote:
>
>> Wrap access to object's metadata in external functions with
>> metadata_access_enable()/metadata_access_disable() function calls.
>>
>> This hooks separates payload accesses from metad
On Thu, 29 Jan 2015 18:11:50 +0300 Andrey Ryabinin
wrote:
> Wrap access to object's metadata in external functions with
> metadata_access_enable()/metadata_access_disable() function calls.
>
> This hooks separates payload accesses from metadata accesses
> which might be useful for different che
Wrap access to object's metadata in external functions with
metadata_access_enable()/metadata_access_disable() function calls.
This hooks separates payload accesses from metadata accesses
which might be useful for different checkers (e.g. KASan).
Signed-off-by: Andrey Ryabinin
---
mm/slub.c | 1
7 matches
Mail list logo