From: "David S. Miller" <davem@redhat.com>
To: andrea@suse.de
Cc: ink@jurassic.park.msu.ru, ezolt@perf.zko.dec.com,
axp-list@redhat.com, rth@twiddle.net, Jay.Estabrook@compaq.com,
linux-kernel@vger.kernel.org, clinux@zk3.dec.com,
wcarr@perf.zko.dec.com, linux-alpha@vger.kernel.org
Subject: Re: mm->context[NR_CPUS] and pci fix check [was Re: Alpha SCSI error on 2.4.0-test11]
Date: Fri, 1 Dec 2000 10:19:44 -0800 [thread overview]
Message-ID: <200012011819.KAA02951@pizda.ninka.net> (raw)
In-Reply-To: <20001201151842.C30653@athlon.random> (message from Andrea Arcangeli on Fri, 1 Dec 2000 15:18:42 +0100)
Date: Fri, 1 Dec 2000 15:18:42 +0100
From: Andrea Arcangeli <andrea@suse.de>
I'm still left the #ifdef __alpha__ around the context[NR_CPUS] to
avoid breakage of other archs but that should be probably removed:
any CPU with per-CPU ASNs like alpha needs per-CPU per-MM context
information to avoid wasting ASNs when the task migrate CPU or with
threads.
I would instead suggest to declare 'context' to be of an arch-specific
defined type, much like "thread_struct" is.
For example, I don't need NR_CPUS contexts in the mm_struct on
sparc64, my allocation just works differently, so I shouldn't eat
all the space.
Later,
David S. Miller
davem@redhat.com
next prev parent reply other threads:[~2000-12-01 18:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-30 20:02 Alpha SCSI error on 2.4.0-test11 Phillip Ezolt
2000-11-30 20:37 ` Peter Rival
2000-11-30 21:40 ` Ivan Kokshaysky
2000-11-30 22:26 ` Phillip Ezolt
[not found] ` <20001130233742.A21823@athlon.random>
2000-12-01 11:56 ` Ivan Kokshaysky
[not found] ` <20001201151842.C30653@athlon.random>
2000-12-01 18:19 ` David S. Miller [this message]
[not found] ` <20001201201444.A2098@inspiron.random>
[not found] ` <20001215164626.C16586@inspiron.random>
2000-12-15 17:11 ` mm->context[NR_CPUS] and pci fix check [was Re: Alpha SCSI error on 2.4.0-test11] David S. Miller
[not found] ` <20001215185528.C17781@inspiron.random>
2000-12-15 17:44 ` David S. Miller
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox