From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757943AbXGAQZt (ORCPT ); Sun, 1 Jul 2007 12:25:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755216AbXGAQZm (ORCPT ); Sun, 1 Jul 2007 12:25:42 -0400 Received: from wx-out-0506.google.com ([66.249.82.232]:50331 "EHLO wx-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754621AbXGAQZm (ORCPT ); Sun, 1 Jul 2007 12:25:42 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y4FmkNO2EAAQundS62NRV0XULa/v8ZloiZwXebsFxUy+5OkhhB2Z2ErU2tRsBZ0Nw+Vszq9v3bHw/FOiPQ8AvLHXPEnB9oEXQC3rmXfdoI7ilB46eGYraGZvpUP/C8vnwKA+ljlKOSzk93Z5hxHWLh9Jl1Eb9Cz3b6bY+bkOt2k= Message-ID: Date: Sun, 1 Jul 2007 09:25:40 -0700 From: "Ulrich Drepper" To: "Davide Libenzi" Subject: Re: [patch 0/6] sys_indirect RFC - sys_indirect introduction Cc: "Linux Kernel Mailing List" , "Andrew Morton" , "Linus Torvalds" , "Ingo Molnar" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 6/30/07, Davide Libenzi wrote: > This is how all those overloaded syscalls looks like, BTW: > [...] > How would you do that with a single shared strcture, w/out adding in all > signal paths the knowledge of the structure? You said it yourself: each individual wrapper would look like this. Generalization really isn't possible, you'll have each wrapper syscall looking different. This means there is no reason to try coming up with some overly complicated data structure which would only be useful if the processing of that data structure could be centralized.