This patch introduces an sysfs interface '/sys/kernel/fadump_release_mem' toinvalidate the last fadump registration, invalidate '/proc/vmcore', releasethe reserved memory for general use and re-register for future kernel dump.Once the dump is copied to the disk, the userspace tool will echo 1 to'/sys/kernel/fadump_release_mem'.