[PATCH v21 5/5] ring-buffer/selftest: Add ring-buffer mapping test