public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Andrew Morton <akpm@osdl.org>
Cc: cloos@jhcloos.com, linux-kernel@vger.kernel.org
Subject: Re: something funny about tty's on 2.6.4-rc1-mm1
Date: Tue, 02 Mar 2004 18:29:20 -0800	[thread overview]
Message-ID: <40454300.4080803@zytor.com> (raw)
In-Reply-To: <20040302140809.6b0ef6f8.akpm@osdl.org>

Andrew Morton wrote:
> "H. Peter Anvin" <hpa@zytor.com> wrote:
> 
>>>Will patching in the old behavior wrt re-use, while not disrupting
>>>the other improvements, be a lot of work?  I've looked thru the src, 
>>>but haven't yet spotted the point where the new pis number is chosen.
>>
>>Not a lot of work, but the performance would suffer big time.
> 
> The (untested) first-fit patch I proposed uses a radix tree, so it should
> in fact be faster than the old code.
> 
> Are you now thinking that we might need to change the pty allocator?
> 

I don't; I think this is a total joke.  The utmp issue is a more severe 
one; it might be reason to stick to the old behaviour at least for 2.6.

Linear scan of utmp and not removing entries on logout is clearly bad 
chicken.  Effectively utmp seems to be tied to the current structure, 
mostly because it tries to go beyond it -- it's so bad at doing so that 
it actually *causes* problems!

	-hpa

  reply	other threads:[~2004-03-03  2:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-01 18:45 something funny about tty's on 2.6.4-rc1-mm1 Nuno Monteiro
2004-03-01 19:09 ` Richard B. Johnson
2004-03-02  5:47 ` H. Peter Anvin
2004-03-02 14:52   ` James H. Cloos Jr.
2004-03-02 15:02     ` Richard B. Johnson
2004-03-02 17:47       ` James H. Cloos Jr.
2004-03-02 16:54     ` H. Peter Anvin
2004-03-02 22:08       ` Andrew Morton
2004-03-03  2:29         ` H. Peter Anvin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-03-02 19:04 Albert Cahalan
2004-03-02 19:54 ` H. Peter Anvin
2004-03-02 22:46 ` Edgar Toernig
2004-03-02 23:59   ` H. Peter Anvin
2004-03-03  4:12 Albert Cahalan

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=40454300.4080803@zytor.com \
    --to=hpa@zytor.com \
    --cc=akpm@osdl.org \
    --cc=cloos@jhcloos.com \
    --cc=linux-kernel@vger.kernel.org \
    /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