Want a means to set the umem mtbf at runtine
libumem today has a private means of injecting failures into a program via the memory allocator. It would be great if we had a way to set this at run-time from a program so we can properly test the out of memory failure paths in various programs and routines without using allocator-specific kludges like trying to map right above the brk and eating up all of the memory, which would then make it harder to continue.
This adds a function
umem_setmtbf which allows one to update the already existing umem functionality.
Updated by Electric Monk over 3 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 1470234269f4edea4cbf270cb2475e4988b788d5 Author: Robert Mustacchi <email@example.com> Date: 2020-03-26T07:42:53.000Z 12359 Want a means to set the umem mtbf at runtine Reviewed by: John Levon <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>