Hi!
In general I'm for this patch. Some time ago I was working on a patchrelated to shared memory and noticedno reason to have reset_shared() function.
-- Best regards,Maxim Orlov.