Messages in this thread |  | | Date | Sat, 31 Aug 2002 12:36:04 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH] Initial support for struct vfs_cred [0/1] |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |