* Re: bigphysarea in 2.2
[not found] <199804101746.KAA15720@halibut.imedia.com>
@ 1998-04-11 10:56 ` David Mentre
[not found] ` <199804202157.WAA03987@dax.dcs.ed.ac.uk>
1998-04-21 21:28 ` Stephen C. Tweedie
0 siblings, 2 replies; 3+ messages in thread
From: David Mentre @ 1998-04-11 10:56 UTC (permalink / raw)
To: pmonta; +Cc: steve, linux-kernel, torvalds, linux-mm,
Peter Monta <pmonta@halibut.imedia.com> writes:
> > Is it too late to ask that the bigphysarea patch be included in the
> > 2.1-and-soon-to-be-2.2 kernel?
>
> Seconded. Thanks for offering to maintain it.
With the new kernel memory manager, and if the defragmenting code which
is under development works, wouldn't it be more useful to use standard
kernel memory allocation. Static allocation like in bigphysarea is more
a work-around that a real solution.
Maybe we should ask the memory kernel hackers (Stephen, Ben, Rick,
Werner?) to support big allocations. I personally need 512 Kbytes
contiguous blocks for a direct-from/to-memory network card. A possible
problem is that those blocks should 512 Kbytes aligned (Argh!! !*%&@
hardware).
Is it doable with current code in 2.1 (due to feature freeze) ? On the
other side, I agree that at least a work-around like bigphysarea should
be included in 2.2. More and more PCI cards make direct access to memory
for big transfers.
Regards,
d.
--
David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/
== GNU & Linux: Change _our_ world ==
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bigphysarea in 2.2
[not found] ` <199804202157.WAA03987@dax.dcs.ed.ac.uk>
@ 1998-04-21 6:44 ` David Mentre
0 siblings, 0 replies; 3+ messages in thread
From: David Mentre @ 1998-04-21 6:44 UTC (permalink / raw)
To: Stephen C. Tweedie; +Cc: pmonta, steve, linux-kernel, linux-mm,
"Stephen C. Tweedie" <sct@dcs.ed.ac.uk> writes:
> me:
> > With the new kernel memory manager, and if the defragmenting code which
> > is under development works, wouldn't it be more useful to use standard
> > kernel memory allocation. Static allocation like in bigphysarea is more
> > a work-around that a real solution.
>
> Unfortunately, the current code simply doesn't grok areas larger than
> 128KB, and even if it did, it is unlikely that it could be made to
> work well in that case --- the existance of just one non-pagable
> allocation (slab, kmalloc, page table etc.) in any 512K block would
> render that entire region unreclaimable by the swapper. If you need
> such large physically contiguous regions, then bigphysarea is still
> a better option.
Ok, I have understood. The last problem is that driver using the
bigphysarea need a patched kernel. It's annoying (at least for a
production kernel). But it seems from recent discussions that a lobbying
group tries to incorporate it in the mainstream kernel. ;) I vote for
it, as this patch is more and more necessary (and because it seems to be
_the_ solution for big allocations).
Regards,
d.
--
David.Mentre@irisa.fr -- Perso : http://www.irisa.fr/prive/dmentre/
== GNU et Linux : Ameliorer _notre_ monde ==
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bigphysarea in 2.2
1998-04-11 10:56 ` bigphysarea in 2.2 David Mentre
[not found] ` <199804202157.WAA03987@dax.dcs.ed.ac.uk>
@ 1998-04-21 21:28 ` Stephen C. Tweedie
1 sibling, 0 replies; 3+ messages in thread
From: Stephen C. Tweedie @ 1998-04-21 21:28 UTC (permalink / raw)
To: David Mentre; +Cc: pmonta, steve, linux-kernel, torvalds, linux-mm,
Hi,
On 11 Apr 1998 12:56:10 +0200, David Mentre <David.Mentre@irisa.fr> said:
> Peter Monta <pmonta@halibut.imedia.com> writes:
>> > Is it too late to ask that the bigphysarea patch be included in the
>> > 2.1-and-soon-to-be-2.2 kernel?
>>
>> Seconded. Thanks for offering to maintain it.
> With the new kernel memory manager, and if the defragmenting code which
> is under development works, wouldn't it be more useful to use standard
> kernel memory allocation. Static allocation like in bigphysarea is more
> a work-around that a real solution.
> Maybe we should ask the memory kernel hackers (Stephen, Ben, Rick,
> Werner?) to support big allocations. I personally need 512 Kbytes
> contiguous blocks for a direct-from/to-memory network card. A possible
> problem is that those blocks should 512 Kbytes aligned (Argh!! !*%&@
> hardware).
Unfortunately, the current code simply doesn't grok areas larger than
128KB, and even if it did, it is unlikely that it could be made to
work well in that case --- the existance of just one non-pagable
allocation (slab, kmalloc, page table etc.) in any 512K block would
render that entire region unreclaimable by the swapper. If you need
such large physically contiguous regions, then bigphysarea is still
a better option.
--Stephen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-04-21 21:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <199804101746.KAA15720@halibut.imedia.com>
1998-04-11 10:56 ` bigphysarea in 2.2 David Mentre
[not found] ` <199804202157.WAA03987@dax.dcs.ed.ac.uk>
1998-04-21 6:44 ` David Mentre
1998-04-21 21:28 ` Stephen C. Tweedie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox