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 about 2 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 1470234269f4edea4cbf270cb2475e4988b788d5 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2020-03-26T07:42:53.000Z 12359 Want a means to set the umem mtbf at runtine Reviewed by: John Levon <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>