lkml.org 
[lkml]   [2012]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] Mark thread stack correctly in proc/<pid>/maps
    From
    On Fri, Feb 24, 2012 at 1:52 AM, Andrew Morton
    <akpm@linux-foundation.org> wrote:
    > Looks OK to me, thanks.  I doubt if those interface changes will cause
    > significant disruption.
    >

    I just found one breakage due to this patch: `cat /proc/self/maps`
    does not always get the stack marked right. I think this is because it
    gets the $esp a little to early, even before the vma is sent to its
    randomized space. That is why /proc/self/smaps works just ok as it
    always wins the race due to the sheer volume of data it prints.
    Similarly numa_maps always fails since its write volume is lower than
    maps. I'll try to fix this.

    --
    Siddhesh Poyarekar
    http://siddhesh.in
    --
    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: 2012-02-24 14:07    [W:0.020 / U:5.488 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site