lkml.org 
[lkml]   [2003]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: TASK_UNMAPPED_BASE & stack location
    >>>> 128Mb of it? The bottom page, or even a few Mb, sure ... 
    >>>> but 128Mb seems somewhat excessive ..
    >>>
    >>> Considering that your process space is 4gig, and that that 128Mb doesn't
    >>> really exist anywhere (no RAM, no page table entries, nothing), it's
    >>> really not excessive.
    >>
    >> I need the virtual space.
    >
    > As far as I know, you're perfectly free to move the stack whereever you
    > feel like, as long as you map the space first, copy the contents and set
    > %esp. mremap() is useful for this.

    Right ... I was just suggesting changing it by default. Was wondering if
    anyone knew of anything it'd break. Your issue with NULL pointers is
    interesting, but I'm not sure this would really affect that much ... the
    stack is normally tiny in comparison.

    M.

    -
    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:35    [W:0.031 / U:0.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site