On Wed, Jul 24, 2013 at 2:40 AM, Jan Glauber <jan.glauber@xxxxxxxxx> wrote: > 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. I noticed this possibility when looking at the stack naming code, but I didn't have any evidence that it actually happens. As my patch is written (as well as the new version, see http://permalink.gmane.org/gmane.linux.kernel.mm/103228) it will ignore any vma that found a name any other way, but it could be changed to override the automatic stack naming. -- 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>