From: Andries.Brouwer@cwi.nl
To: tytso@MIT.EDU
Cc: linux-kernel@vger.kernel.org
Subject: struct tty_driver
Date: Tue, 11 Feb 2003 15:44:07 +0100 (MET) [thread overview]
Message-ID: <UTC200302111444.h1BEi7106413.aeb@smtp.cwi.nl> (raw)
Ted, I wondered:
Looking at 2.5.60 I see
struct tty_struct {
int magic;
struct tty_driver driver;
...
and it looks like this struct tty_driver is never modified.
Since it is rather large, why not replace it by
struct tty_driver *driver;
?
As it is now, the initialization in init_dev() does
tty->driver = *driver;
just duplicating constant data.
Is this a historical relict, or does this duplication have a function?
Andries
next reply other threads:[~2003-02-11 14:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-11 14:44 Andries.Brouwer [this message]
2003-02-12 18:52 ` Theodore Ts'o
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=UTC200302111444.h1BEi7106413.aeb@smtp.cwi.nl \
--to=andries.brouwer@cwi.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@MIT.EDU \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®