Three level memory hierarchy using write and share flags | AMiner