smalloc: Remove Valgrind instrumentation
authorJens Axboe <axboe@kernel.dk>
Thu, 22 Mar 2018 17:29:25 +0000 (11:29 -0600)
committerBart Van Assche <bart.vanassche@wdc.com>
Fri, 23 Mar 2018 15:50:13 +0000 (08:50 -0700)
commit5457259f57c651d41f6cb5ee4a7af49ff05a9aed
treeb8fc8105f64dfd65f313f9d46599fcab03df3ffe
parent87c6f22bf24da4679849ccf778451b8432c2b368
smalloc: Remove Valgrind instrumentation

Since it can happen that memory allocated with smalloc() is freed by
a child process and since Valgrind's memory tracking is per process
the smalloc()/sfree() instrumentation leads to incorrect Valgrind
reports. Hence remove that instrumentation again.

Fixes: 0ffccc21fcd6 ("Improve Valgrind instrumentation of memory allocations")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
smalloc.c