From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753200AbYIHN0N (ORCPT ); Mon, 8 Sep 2008 09:26:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752080AbYIHNZ6 (ORCPT ); Mon, 8 Sep 2008 09:25:58 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:56287 "EHLO gprs189-60.eurotel.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751504AbYIHNZ6 (ORCPT ); Mon, 8 Sep 2008 09:25:58 -0400 Date: Mon, 8 Sep 2008 15:27:16 +0200 From: Pavel Machek To: Arjan van de Ven Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, dwmw2@infradead.org, drepper@redhat.com, mingo@elte.hu, tglx@tglx.de Subject: Re: [PATCH 12/13] hrtimer: create a "timer_slack" field in the task struct Message-ID: <20080908132713.GA18486@elf.ucw.cz> References: <20080901160343.75a89ec9@infradead.org> <20080901161423.59ebf2fc@infradead.org> <20080902100439.GA11383@elf.ucw.cz> <20080902060323.70245b83@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080902060323.70245b83@infradead.org> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > and this makes really ugly interface. > > prctl() is ugly? for something like this... yes. > > > > ...plus it bloats task struct. > > > > ...where did the sys_indirect proposals go? We created new syscalls, > > right? > > ... which nobody uses today. > It's not just new syscalls, it's a new glibc api as well at that point. ...and new applications, yes. I believe applications should explicitely enable slacking timers. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html