Messages in this thread | ![/](/images/icornerl.gif) | | Date | Tue, 07 Oct 2003 09:33:45 -0500 | From | Dave McCracken <> | Subject | Re: [PATCH] dump read-only anonymous memory in core files |
| |
--On Tuesday, October 07, 2003 02:06:34 -0700 Linus Torvalds <torvalds@osdl.org> wrote:
> What about shared mappings (that test should be VM_MAYSHARE)? > > My inclination would be to not dump them if they are backed by a file, > even if the mmap is writable.
All shared areas are 'file backed' but some of them are only backed by shmfs. I think we should at least dump those areas since they can't be retrieved later. I agree it'd be reasonable to not dump areas backed by real files, but it'd require a simple way to distinguish them from shmfs-backed areas.
Dave McCracken
====================================================================== Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059 dmccr@us.ibm.com T/L 678-3059
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |