linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: vmalloc limits in PPC kernels ?
@ 2003-02-14 17:32 vinai
  2003-02-14 17:49 ` Matt Porter
  0 siblings, 1 reply; 4+ messages in thread
From: vinai @ 2003-02-14 17:32 UTC (permalink / raw)
  To: Matt Porter; +Cc: LinuxPPC Developers' List


Matt,

Thanks much for the information you provided below.  Are there any
pointers/references as to why these changes were actually implemented,
or is it really a case of "the source being the guide" ?  As I said,
this issue is really troubling for us, and I want to see if there is
a "clean" way to circumvent that limit without screwing up the MM
subsystem (at least not too badly :) ...

cheers
vinai

On Thu, 13 Feb 2003, Matt Porter wrote:

> All architectures have a limit.  Its size is defined by
> VMALLOC_END-VMALLOC_START and further limited by the size of each
> preceding allocation (+ a PAGE_SIZE pad) before the allocation in
> question.  Allocations also include ioremaps and on some architectures
> consistent memory allocations absorb vmalloc space.
>
> You can see the constraints in asm-ppc/pgtable.h.  On PPC, it is possible
> to change the default parameters in order to expand the amount of vmalloc
> space available.  This is accomplished via config options under the
> advanced kernel options menu.  With PAGE_OFFSET at 0x40000000 and highmem,
> I've run a system with nearly 3GB of vmalloc space.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* vmalloc limits in PPC kernels ?
@ 2003-02-13 20:19 vinai
  2003-02-13 22:40 ` Matt Porter
  0 siblings, 1 reply; 4+ messages in thread
From: vinai @ 2003-02-13 20:19 UTC (permalink / raw)
  To: LinuxPPC Developers' List


Hey Folks,

I've been doing a little work trying to update an in-house custom driver
for x86.  We acquired fairly large chunks of data, and we can't afford
to lose any of it. To do this, we reserve a fairly large chunk of memory
in which the data can be stored, as we can't afford system latencies
when writing to disk.  We were able to this in 2.2 without any problems,
but in 2.4, a new "feature" was introduced to x86 that limited how much
memory one can "vmalloc".  I did a quick check, but didn't find anything
in the ppc asm directory.  Do we have such a limit ?

cheers
vinai

"I can't understand people who hate other people based on things like race,
 religion, or sexual orientation.  When you really do get to know a person,
 aren't there so many more worthwhile reasons for despising them ?"

                                        Dennis Miller

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-14 17:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 17:32 vmalloc limits in PPC kernels ? vinai
2003-02-14 17:49 ` Matt Porter
  -- strict thread matches above, loose matches on Subject: below --
2003-02-13 20:19 vinai
2003-02-13 22:40 ` Matt Porter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).