Re: [PATCH] mm: add sys_madvise2 and MADV_NAME to name vmas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 05, 2013 at 12:40:50PM -0700, Colin Cross wrote:
> On Thu, Jul 4, 2013 at 1:22 PM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> > On 07/03, Colin Cross wrote:
> >>
> >> The names of named anonymous vmas are shown in /proc/pid/maps
> >> as [anon:<name>].  The name of all named vmas are shown in
> >> /proc/pid/smaps in a new "Name" field that is only present
> >> for named vmas.
> >
> > And this is the only purpose, yes?
> 

The heuristics used for the thread stack annotation is not working always:

https://lkml.org/lkml/2013/6/26/256

Maybe we can get rid of the heuristic if there is an explicit interface to
mark vma's?

OTOH, a new flag bit instead of a string would be enough to mark the thread
stacks correctly.

--Jan

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]