From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH] Initial support for struct vfs_cred [0/1] Date: Sat, 31 Aug 2002 12:36:04 -0700 (PDT) Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: References: <1030820234.4408.119.camel@ldb> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: trond.myklebust@fys.uio.no, Linux FSdevel , Linux Kernel Return-path: To: Luca Barbieri In-Reply-To: <1030820234.4408.119.camel@ldb> List-Id: linux-fsdevel.vger.kernel.org On 31 Aug 2002, Luca Barbieri wrote: > > But aren't credential changes supposed to be infrequent? > > If so, isn't it faster to put the fields directly in task_struct, keep a > separate shared structure and copy them on kernel entry? But that makes us copy them every time, even though they practically never change.. Much better to only copy them in the extremely rare cases when they do change. Linus