Kasan tests: make tests safer by replacing most writes with reads
Merge branch 'kasan' of https://github.com/google/kasan into kasan
mm/slub: memory quarantine

Quarantine isolates freed objects for some  period of time in place of
reusing  them instantly.  It  helps in  catching vague  use-after-free
bugs, especially when combined with kernel address sanitizer.

This patch adds quarantine for slub. Like other slub debug features it
might be enabled in command line: slub_debug=Q or in runtime via sysfs
for individual slabs. All freed  objects goes into quarantine and then
completely  quarantined slubs  might be  reclaimed by  memory shinker.
Thus quarantine consumes all available  memory and doesn't require any
tuning.

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
Merge pull request #20 from steelannelida/kasan

Kasan