[PATCH v16 6/6] ring-buffer/selftest: Add ring-buffer mapping test