All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: "David S. Miller" <davem@redhat.com>, torvalds@transmeta.com
Cc: davidm@hpl.hp.com, anton@samba.org, linux-kernel@vger.kernel.org,
	zippel@linux-m68k.org
Subject: Re: thread_info implementation
Date: Tue, 12 Feb 2002 13:21:10 +0000	[thread overview]
Message-ID: <23729.1013520070@warthog.cambridge.redhat.com> (raw)
In-Reply-To: Message from "David S. Miller" <davem@redhat.com> of "Mon, 11 Feb 2002 18:51:00 PST." <20020211.185100.68039940.davem@redhat.com>


"David S. Miller" <davem@redhat.com> wrote:
>    OK, so back to square one: why am I supposed to do all this work for
>    something that will likely slow things slightly down and, at best,
>    doesn't hurt performance?  The old set up works great and as far as
>    I'm concerned, is not broken.
>
> It keeps your platform the same, and it does help other platforms.
> It is the nature of any abstraction change we make in the kernel
> that platforms have to deal with.

It wasn't all that big a change for the i386 arch either. Most of the changes
to assembly actually involved cleaning up and various assembly sources and
sharing constants (something that should probably have been done a lot
earlier).

What might be worth doing is to move the task_struct slab cache and
(de-)allocator out of fork.c and to stick it in the arch somewhere. Then archs
aren't bound to have the two separate. So for a system that can handle lots of
memory, you can allocate the thread_info, task_struct and supervisor stack all
on one very large chunk if you so wish.

David

  parent reply	other threads:[~2002-02-12 13:21 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-11 21:08 thread_info implementation Roman Zippel
2002-02-11 20:50 ` Anton Blanchard
2002-02-12  0:46   ` David S. Miller
2002-02-12  0:57     ` Roman Zippel
2002-02-12  0:57       ` David S. Miller
2002-02-12  1:10         ` Roman Zippel
2002-02-12 13:01         ` Bjorn Wesen
2002-02-12 13:49           ` David S. Miller
2002-02-12  1:01     ` David Mosberger
2002-02-12  1:07       ` David S. Miller
2002-02-12  1:21         ` David Mosberger
2002-02-12  1:32           ` David S. Miller
2002-02-12  1:36             ` David Mosberger
2002-02-12  1:41               ` David S. Miller
2002-02-12  1:53                 ` David Mosberger
2002-02-12  2:22                   ` David S. Miller
2002-02-12  2:30                     ` David Mosberger
2002-02-12  2:36                       ` David S. Miller
2002-02-12  2:46                         ` David Mosberger
2002-02-12  2:51                           ` David S. Miller
2002-02-12  3:01                             ` David Mosberger
2002-02-12  3:04                               ` David S. Miller
2002-02-12  3:18                                 ` David Mosberger
2002-02-12  3:23                                   ` David S. Miller
2002-02-12  3:32                                     ` David Mosberger
2002-02-12  3:42                                       ` David S. Miller
2002-02-12  4:16                                         ` David Mosberger
2002-02-12  4:21                                           ` David S. Miller
2002-02-12  4:33                                             ` David Mosberger
2002-02-12  5:26                                       ` Richard Henderson
2002-02-12  5:32                                         ` David S. Miller
2002-02-12  5:50                                           ` David Mosberger
2002-02-12  5:57                                           ` Richard Henderson
2002-02-13 11:18                                         ` Anton Blanchard
2002-02-12 17:14                                 ` Pavel Machek
2002-02-13  0:46                                   ` David S. Miller
2002-02-13  1:30                                     ` Roman Zippel
2002-02-12  9:12                             ` Roman Zippel
2002-02-12  9:30                               ` Jeff Garzik
2002-02-12 10:14                                 ` Roman Zippel
2002-02-12 13:21                             ` David Howells [this message]
2002-02-12 19:15                               ` David Mosberger
2002-02-12 19:38                                 ` David Howells
2002-02-12  2:49                       ` Davide Libenzi
2002-02-12  0:01 ` Roman Zippel
2002-02-12  0:10   ` David Howells
2002-02-12  0:22     ` Roman Zippel
  -- strict thread matches above, loose matches on Subject: below --
2002-02-11 17:39 Arkadiy Chapkis - Arc
2002-02-11 20:19 ` Robert Love
2002-02-11 20:42   ` Luigi Genoni
2002-02-11 20:48     ` Robert Love
2002-02-11 23:37       ` Jeff Garzik
2002-02-11 23:49         ` Richard Henderson
2002-02-12  0:09           ` Dave Jones
2002-02-12  0:20             ` Jeff Garzik
2002-02-12  0:24               ` Dave Jones

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=23729.1013520070@warthog.cambridge.redhat.com \
    --to=dhowells@redhat.com \
    --cc=anton@samba.org \
    --cc=davem@redhat.com \
    --cc=davidm@hpl.hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    --cc=zippel@linux-m68k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.