[Top][All Lists]

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

Re: [PATCH] Make start_code and end_code available in /proc/*/stat

From: Justus Winter
Subject: Re: [PATCH] Make start_code and end_code available in /proc/*/stat
Date: Thu, 29 Aug 2013 12:05:30 +0200
User-agent: alot/0.3.4

Quoting Samuel Thibault (2013-08-29 00:24:59)
> Justus Winter, le Mon 05 Aug 2013 12:11:30 +0200, a écrit :
> > +      if (essential)
> > +     start_code = end_code = 0; /* To make killall5.c consider it a
> > +                                   kernel process that is to be
> > +                                   left alone.  */
> > +      else
> > +     proc_get_code (p, &start_code, &end_code);
> Mmm, I'm not sure whether we really want to introduce
> proc_set_code/proc_get_code just for killall5.  We could just put
> 0x08000000 / 0x09000000 values for non-essential processes.  What do you
> think?

To be honest, I spent most of the time on that part, thinking that the
chances of getting this merged without discussion would improve if I
just implement this instead of providing wrong values to appease
killall5. Also, providing the correct values aligns our procfs more
closely with the Linux one, and that is one of the points of our
procfs, isn't it?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]