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

2013-09-15 Thread Samuel Thibault
Justus Winter, le Mon 05 Aug 2013 12:11:30 +0200, a écrit : > This makes killall5 actually kill any processes not marked as > important. Applied, thanks! Samuel

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

2013-08-29 Thread Samuel Thibault
Richard Braun, le Thu 29 Aug 2013 12:23:54 +0200, a écrit : > On Thu, Aug 29, 2013 at 12:05:30PM +0200, Justus Winter wrote: > > Quoting Samuel Thibault (2013-08-29 00:24:59) > > > Mmm, I'm not sure whether we really want to introduce > > > proc_set_code/proc_get_code just for killall5. We could j

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

2013-08-29 Thread Richard Braun
On Thu, Aug 29, 2013 at 12:05:30PM +0200, Justus Winter wrote: > Quoting Samuel Thibault (2013-08-29 00:24:59) > > Mmm, I'm not sure whether we really want to introduce > > proc_set_code/proc_get_code just for killall5. We could just put > > 0x0800 / 0x0900 values for non-essential process

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

2013-08-29 Thread Justus Winter
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 > > +

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

2013-08-28 Thread Samuel Thibault
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 > + p

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

2013-08-05 Thread Justus Winter
This makes killall5 actually kill any processes not marked as important. * process.c (process_file_gc_stat): Fix {start,end}_code. --- process.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/process.c b/process.c index c5ef7d8..269a18b 100644 --- a