[PATCH] proc: Rewrite the proc dentry flush on exit optimization