linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Is there no vmalloc() for PPC kernel?
@ 2001-10-25  9:37 John Francis
  2001-11-01 16:42 ` Alex Zeffertt
  0 siblings, 1 reply; 2+ messages in thread
From: John Francis @ 2001-10-25  9:37 UTC (permalink / raw)
  To: linuxppc-embedded


I need to allocate more than page worth of memory in
kernel. Some documentation that I looked at indicated
I should be using vmalloc() , so I tried using it for
PPC kernel and it couldn't find this symbol. Looked
through the code ( 2.4.4 ) and I didn't see it.

What is the best way to allocate "fairly" large memory
pool for use within the kernel by the driver?

John


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

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

* Re: Is there no vmalloc() for PPC kernel?
  2001-10-25  9:37 Is there no vmalloc() for PPC kernel? John Francis
@ 2001-11-01 16:42 ` Alex Zeffertt
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Zeffertt @ 2001-11-01 16:42 UTC (permalink / raw)
  To: John Francis; +Cc: linuxppc-embedded


I've written a resident driver which calls vmalloc.

If you're writing a module which calls vmalloc you'll need to make sure EXPORT_SYMBOL(vmalloc)
appears in

linux/arch/$(ARCH)/kernel/$(ARCH)_ksyms.c:

... otherwise insmod will fail.

Alex

John Francis wrote:
>
> I need to allocate more than page worth of memory in
> kernel. Some documentation that I looked at indicated
> I should be using vmalloc() , so I tried using it for
> PPC kernel and it couldn't find this symbol. Looked
> through the code ( 2.4.4 ) and I didn't see it.
>
> What is the best way to allocate "fairly" large memory
> pool for use within the kernel by the driver?
>
> John
>

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

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

end of thread, other threads:[~2001-11-01 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-25  9:37 Is there no vmalloc() for PPC kernel? John Francis
2001-11-01 16:42 ` Alex Zeffertt

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).