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

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



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?

Samuel


Reply to: