lkml.org 
[lkml]   [2003]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.341 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site