[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-mm
Subject:    Re: bigphysarea in 2.2
From:       "Stephen C. Tweedie" <sct () dcs ! ed ! ac ! uk>
Date:       1998-04-21 21:28:00
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic