[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130610183300.GA14379@redhat.com>
Date: Mon, 10 Jun 2013 20:33:00 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
John Stultz <johnstul@...ibm.com>,
Tomas Janousek <tjanouse@...hat.com>,
Tomas Smetana <tsmetana@...hat.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] de_thread() should update ->real_start_time
1/3 is the obvious bugfix, 2 and 3 are minor cleanups
I am wondering, can't we kill task->real_start_time? What if we
simply change copy_process
- do_posix_clock_monotonic_gettime(&p->start_time);
+ get_monotonic_boottime(&p->start_time);
?
Afaics, this will only affect do_acct_process() and bacct_add_tsk(),
but do we really want to exclude the suspended time in this case?
Another user of ->start_time is cgroup.c and it looks wrong... But
the change above should not make any difference.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists