Re: [PATCH v9] mm: kasan: Initial memory quarantine implementation

2016-05-17 Thread Alexander Potapenko
Hello Alexey, On Tue, May 17, 2016 at 12:03 AM, Alexey Klimov wrote: > Hi Alexander, > > On Wed, May 11, 2016 at 6:18 PM, Alexander Potapenko > wrote: >> Quarantine isolates freed objects in a separate queue. The objects are >> returned to the

Re: [PATCH v9] mm: kasan: Initial memory quarantine implementation

2016-05-17 Thread Alexander Potapenko
Hello Alexey, On Tue, May 17, 2016 at 12:03 AM, Alexey Klimov wrote: > Hi Alexander, > > On Wed, May 11, 2016 at 6:18 PM, Alexander Potapenko > wrote: >> Quarantine isolates freed objects in a separate queue. The objects are >> returned to the allocator later, which helps to detect

Re: [PATCH v9] mm: kasan: Initial memory quarantine implementation

2016-05-16 Thread Alexey Klimov
Hi Alexander, On Wed, May 11, 2016 at 6:18 PM, Alexander Potapenko wrote: > Quarantine isolates freed objects in a separate queue. The objects are > returned to the allocator later, which helps to detect use-after-free > errors. > > Freed objects are first added to per-cpu

Re: [PATCH v9] mm: kasan: Initial memory quarantine implementation

2016-05-16 Thread Alexey Klimov
Hi Alexander, On Wed, May 11, 2016 at 6:18 PM, Alexander Potapenko wrote: > Quarantine isolates freed objects in a separate queue. The objects are > returned to the allocator later, which helps to detect use-after-free > errors. > > Freed objects are first added to per-cpu quarantine queues. >

[PATCH v9] mm: kasan: Initial memory quarantine implementation

2016-05-11 Thread Alexander Potapenko
Quarantine isolates freed objects in a separate queue. The objects are returned to the allocator later, which helps to detect use-after-free errors. Freed objects are first added to per-cpu quarantine queues. When a cache is destroyed or memory shrinking is requested, the objects are moved into

[PATCH v9] mm: kasan: Initial memory quarantine implementation

2016-05-11 Thread Alexander Potapenko
Quarantine isolates freed objects in a separate queue. The objects are returned to the allocator later, which helps to detect use-after-free errors. Freed objects are first added to per-cpu quarantine queues. When a cache is destroyed or memory shrinking is requested, the objects are moved into