Hello,
I think
vastart += 2*1024*1024;
is weird.
if we look /proc/$ip/segment in share(), we will have better solution.
but I am not convinced we should apply the solution.
because we seldom needs shared segment.
I haven’t had any trouble with telnetd.
I needed shared segment for special purpose in my program (Pegasus).
thanks
2014/09/14 12:17、[email protected] のメール:
> why? segattach() gets an explicit address here and
> it should round va down and va+len up as neccesary
> to make them page aligned. but the initial passed
> range should be covered by the created segment
> in any case.
>
> do you have any trouble with telnet that is fixed
> by your change?
>
> --
> cinap
>